|
From: Markus K. <ma...@pr...> - 2016-04-23 16:10:02
|
>> On 04/13/2016 11:37 AM, Konstantinos Dimkas wrote: >>> Hi all, >>> >>> I am new to PKI and EJBCA and i am trying to set up SignServer to >>> timestamp documents. I followed the manual from sign server.org >>> <http://server.org> >>> <http://server.org> and there were no problems at the setup, but when i >>> run the command /signserver reload 1,/ i get the error “No EJB receiver >>> available for handling” as described here: >>> https://developer.jboss.org/message/747360?_sscc=t. I added the >>> following two lines as described in the solution >>> ( jndiProps.put("jboss.naming.client.ejb.context", >>> true); jndiProps.put(Context.URL_PKG_PREFIXES, >>> "org.jboss.ejb.client.naming”); ) at the signclient executable that is >>> located at sign server/bin/signclient but the error is still there. >>> Could it be another problem, or i have to add it to another file? >>> >>> Thanks for your time, >>> Konstantinos Dimkas >>> >> >> Hi Konstantinos, >> You should not have to do any changes to signclient. >> >> The "No EJB recevier available for handling" means that the CLI >> (signclient) was not able to talk to SignServer within the application >> server. >> >> There are a number of possible reasons for this like: >> a) If the application server is not running. Check in output/log that >> the applications server has started correctly >> b) If the SignServer application failed to deploy within the application >> server (or was not deployed). Check in the output/log that SignServer >> has started and that there is not other error messages. >> c) If the right application server is not pointed out. Typically you >> would set the APPSRV_HOME environment variable and point it to the >> correct application server. >> d) If you are using WildFly you would need to change the port the CLI is >> using from the default 4447 to 8080 by editing the following file: >> conf/jboss7/jboss-ejb-client.properties >> >> >> Cheers, >> Markus >> PrimeKey Solutions >> >> Save time and money with an Enterprise support subscription. Please see >> www.primekey.se <http://www.primekey.se> for more information. >> https://www.primekey.se/technologies/products-overview/ >> https://www.primekey.se/service-support/support/ On 04/20/2016 10:46 AM, Konstantinos Dimkas wrote: > Hi Markus, > > Sorry for the late response, but i was flooded with tasks last week. > > I am working at the EJBCA VM and i only downloaded signserver. So i > suppose that JBoss should work OK, as i did not have to make any changes. > As for the variable, it has the following value: $APPSRV_HOME = /opt/jboss > And i am not using wildfly > What should i try in order to get it working? > > > Thank you for your time, > I Really appreciate your help! > > Konstantinos Dimkas > >> On 13 Apr 2016, at 13:52, Markus Kilås <ma...@pr... >> <mailto:ma...@pr...>> wrote: >> Hi Konstantinos, You need to check a) and b) from above, i.e. check for errors in the application server log. Also it might not be possible to run both EJBCA and SignServer at the same time in the same application server. This might only work for certain combinations of EJBCA and SignServer versions and are in generally not something that we support. Cheers, Markus PrimeKey Solutions |