Exception in thread "main" org.signserver.cli.spi.UnexpectedCommandFailureException: javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB StatelessEJBLocator for "signserver/SignServer-ejb/GlobalConfigurationSessionBean", view is interface org.signserver.ejb.interfaces.GlobalConfigurationSessionRemote, affinity is None
at org.signserver.admin.cli.defaultimpl.WSAdminsCommand.execute(WSAdminsCommand.java:256)
at org.signserver.cli.CommandLineInterface.execute(CommandLineInterface.java:97)
at org.signserver.admin.cli.AdminCLI.main(AdminCLI.java:52)
Caused by: javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB StatelessEJBLocator for "signserver/SignServer-ejb/GlobalConfigurationSessionBean", view is interface org.signserver.ejb.interfaces.GlobalConfigurationSessionRemote, affinity is None
Last edit: BSamontanes 2019-11-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks like the application server has not deployed SignServer. Please check the server log. There should be a SignServer startup log entry near the end if everything is okey otherwise it is likely a configuration issue of the application server.
Cheers,
Markus
PrimeKey Solutions
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm seeing this from WildFly:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"signserver.ear\".\"SignServer-ejb.jar\".component.StartupSingletonBean.START" => "java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
Caused by: javax.ejb.EJBException: Refusing to create initial database structure as the folder is not empty: /"}}
Thanks for the feedback; could you please advise where these logs located? Sorry I'm not familiar with your platform.
Cheers!
Bernard
Last edit: BSamontanes 2019-11-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For WildFly the location is:
APPSRV_HOME/standalone/log/server.log
Refusing to create initial database structure as the folder is not empty: /
The error indicates that you are setting up SignServer with the "NoDB" option. In that case you need to make sure your conf/signserver_deploy.properties has a path to an empty folder where SignServer will put its data:
database.nodb.location=/opt/signserver/nodb
After changing this file you will need to deploy SignServer again:
bin/antdeploy
Cheers,
Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Any issue on this? Appreciate your suggestion.
bin/signserver getstatus brief all
Exception in thread "main" org.signserver.cli.spi.UnexpectedCommandFailureException: javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB StatelessEJBLocator for "signserver/SignServer-ejb/GlobalConfigurationSessionBean", view is interface org.signserver.ejb.interfaces.GlobalConfigurationSessionRemote, affinity is None
at org.signserver.admin.cli.defaultimpl.WSAdminsCommand.execute(WSAdminsCommand.java:256)
at org.signserver.cli.CommandLineInterface.execute(CommandLineInterface.java:97)
at org.signserver.admin.cli.AdminCLI.main(AdminCLI.java:52)
Caused by: javax.ejb.NoSuchEJBException: EJBCLIENT000079: Unable to discover destination for request for EJB StatelessEJBLocator for "signserver/SignServer-ejb/GlobalConfigurationSessionBean", view is interface org.signserver.ejb.interfaces.GlobalConfigurationSessionRemote, affinity is None
Last edit: BSamontanes 2019-11-14
Hi BSamontanes,
Looks like the application server has not deployed SignServer. Please check the server log. There should be a SignServer startup log entry near the end if everything is okey otherwise it is likely a configuration issue of the application server.
Cheers,
Markus
PrimeKey Solutions
Hi Markus,
I'm seeing this from WildFly:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"signserver.ear\".\"SignServer-ejb.jar\".component.StartupSingletonBean.START" => "java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
Caused by: javax.ejb.EJBException: Refusing to create initial database structure as the folder is not empty: /"}}
Thanks for the feedback; could you please advise where these logs located? Sorry I'm not familiar with your platform.
Cheers!
Bernard
Last edit: BSamontanes 2019-11-17
Hi Bernard,
For WildFly the location is:
APPSRV_HOME/standalone/log/server.log
The error indicates that you are setting up SignServer with the "NoDB" option. In that case you need to make sure your conf/signserver_deploy.properties has a path to an empty folder where SignServer will put its data:
After changing this file you will need to deploy SignServer again:
Cheers,
Markus
Hi Markus,
I'm facing the above same issue but the error in server.log if different.
Can you please share some updates, as I'm stuck here.
Operating System: Red Hat Enterprise Linux 8.7 (Ootpa)
Thanks in advance.
Regards,
Sanawar
Hi Sanawar,
That looks like a different issue.
Note that we have moved to https://github.com/Keyfactor/signserver-ce/discussions/ as forum.
Consider posting a question there instead.
Cheers,
Markus