|
From: Marcus C. <mar...@ne...> - 2014-06-02 09:37:26
|
I have just enroll a User using the RA->add end entity, when I click view certificate, it says there is no certificate in database, how can I add a certificate to this user? Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | Hard Disk Encryption | File Encryption | NAM Singpass Authentication | Netrust Digital Signer | Personal and Organization Certificates -----Original Message----- From: Marcus Cher [mailto:mar...@ne...] Sent: Monday, 2 June, 2014 3:50 PM To: 'ejb...@li...' Subject: RE: [Ejbca-develop] EJBCA ant instal fail Hi Tomas, I have successfully set up EJBCA,(please attached) I am curious where can I get the enrolment codes, if I want to issue "Certificate enrollment from a CSR"? is it from the RA? can I use a third party or a EJBCA RA? is there a installation guide to deploy an RA to get the Enrollment code codes? I am new to this. Thanks Warmest Regards, Marcus Cher NETRUST PTE LTD 70 Bendemeer Road #05-03 Luzerne Singapore 339940 Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net Products from Netrust: SSL| Code Signing Certificates |2 Factor Authentication | Email SSL| Encryption | Hard Disk Encryption | File Encryption | NAM Singpass SSL| Authentication | Netrust Digital Signer | Personal and Organization SSL| Certificates -----Original Message----- From: Tomas Gustavsson [mailto:to...@pr...] Sent: Friday, 30 May, 2014 3:14 PM To: ejb...@li... Subject: Re: [Ejbca-develop] EJBCA ant instal fail All looks good there. Cheers, Tomas ********** PrimeKey Solutions AB Anderstorpsvägen 16, 171 54 Solna, Sweden Mob: +46 (0)707421096 Internet: www.primekey.se Twitter: twitter.com/primekeyPKI ********** On 2014-05-30 08:57, Marcus Cher wrote: > Hi Tomas, > I have re-install everything from scractch and I got 2 terminal message in > attached belong to jboss and ejbca. > > Is this normal or considered successfully deployed and installed ejbca?. I > have completed step 9 of > (http://www.ejbca.org/docs/installation.html#JBoss%205). > > Thanks alot for your advice. > > Warmest Regards, > Marcus Cher > > NETRUST PTE LTD > 70 Bendemeer Road #05-03 Luzerne Singapore 339940 > Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net > > Products from Netrust: > SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption | > Hard Disk Encryption | File Encryption | NAM Singpass Authentication | > Netrust Digital Signer | Personal and Organization Certificates > > > -----Original Message----- > From: Tomas Gustavsson [mailto:to...@pr...] > Sent: Thursday, 29 May, 2014 9:36 PM > To: ejb...@li... > Subject: Re: [Ejbca-develop] EJBCA ant instal fail > > > If you are unexperienced I think you will have better luck going for the > Quick Install guide. > http://ejbca.org/docs/installation.html#Ubuntu%20quick%20start > > Adding MySQL to the mix will only make things more complicated for you. > > Are you sure the JBoss errors you get was not given before you run ant > install? Since your first message at ant install is "No EJB receiver > available" meaning there is no EJBCA on the server side. > > Perhaps you have errors during ant deploy? > > (note that you can not use a single core VM for installation as noted in > the quick start guide). > > You can also use the pre-installed virtual machine if you just want to > test things. > > /Tomas > > On 2014-05-29 15:10, Marcus Cher wrote: >> my jboss was running properly, something like >> 79 services running out of 200 services. >> after I uninstall i get this. >> I will be using this link to try again later. >> >> >> http://www.linux-tin.org/EJBCA+unter+Verwendung+von+MySQL >> >> it's in german , if I am not wrong, but it can be translated using >> google-translate. >> >> I am not sure if SQL is needed. >> because in the earlier installation attempt, I didn't install sql >> >> Thanks >> Warmest Regards, >> Marcus Cher >> >> NETRUST PTE LTD >> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >> >> Products from Netrust: >> SSL| Code Signing Certificates |2 Factor Authentication | Email Encryption > | >> Hard Disk Encryption | File Encryption | NAM Singpass Authentication | >> Netrust Digital Signer | Personal and Organization Certificates >> >> -----Original Message----- >> From: Tomas Gustavsson [mailto:to...@pr...] >> Sent: Thursday, 29 May, 2014 9:00 PM >> To: ejb...@li... >> Subject: Re: [Ejbca-develop] EJBCA ant instal fail >> >> >> Your JBoss did to start properly. Before trying to run 'ant install' you >> need to check the JBoss starts ok. You probably have better describing >> error message much earlier in the jboss log. >> >> Cheers, >> Tomas >> >> On 2014-05-29 11:54, Marcus Cher wrote: >>> Hi EJBCA, >>> >>> I am using >>> >>> ejbca_ce_6_0_3 >>> >>> jboss-as-7.1.1.Final >>> >>> my Jboss was running, >>> >>> I tried to install using the command "ant install". >>> >>> _The Jboss errors are as below:_ >>> >>> 02:27:27,107 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) >>> JBAS015870: Deploy of deployment "ejbca.ear" was rolled back with >>> failure message {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>> deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}} >>> >>> 02:27:27,220 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment publicweb.war in 108ms >>> >>> 02:27:27,221 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment status.war in 109ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment webdist.war in 110ms >>> >>> 02:27:27,222 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment healthcheck.war in 111ms >>> >>> 02:27:27,223 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment cmp.war in 112ms >>> >>> 02:27:27,224 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment doc.war in 113ms >>> >>> 02:27:27,225 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment clearcache.war in 113ms >>> >>> 02:27:27,226 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-1) JBAS015877: Stopped deployment scep.war in 114ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ejb.jar in 122ms >>> >>> 02:27:27,234 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-2) JBAS015877: Stopped deployment cesecore-ejb.jar in 123ms >>> >>> 02:27:27,238 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-5) JBAS015877: Stopped deployment ejbca-ws-ejb.jar in 126ms >>> >>> 02:27:27,264 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-4) JBAS015877: Stopped deployment adminweb.war in 152ms >>> >>> 02:27:27,296 INFO [org.jboss.as.server.deployment] (MSC service thread >>> 1-4) JBAS015877: Stopped deployment ejbca.ear in 185ms >>> >>> 02:27:27,301 INFO [org.jboss.as.controller] (DeploymentScanner-threads >>> - 2) JBAS014774: Service status report >>> >>> JBAS014775: New missing/unsatisfied dependencies: >>> >>> service jboss.naming.context.java.module.ejbca.adminweb (missing) >>> dependents: [service >>> jboss.naming.context.java.module.ejbca.adminweb.ValidatorFactory, >>> service jboss.naming.context.java.module.ejbca.adminweb.Validator] >>> >>> JBAS014777: Services which failed to start: service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."adminweb.war".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "adminweb.war" of >>> deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ejb.jar".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "ejbca-ejb.jar" of >>> deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."cesecore-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "cesecore-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."ejbca-ws-ejb.jar".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment "ejbca-ws-ejb.jar" >>> of deployment "ejbca.ear" >>> >>> service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: >>> org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit."ejbca.ear"."publicweb.war".POST_MODULE: Failed >>> to process phase POST_MODULE of subdeployment "publicweb.war" of >>> deployment "ejbca.ear" >>> >>> 02:27:27,316 ERROR [org.jboss.as.server.deployment.scanner] >>> (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed >>> and was rolled back. Steps that failed:" => {"Operation step-2" => >>> {"JBAS014671: Failed services" => >>> {"jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"adminweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"adminweb.war\" of >>> deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"ejbca-ejb.jar\" >>> of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"cesecore-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"cesecore-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\". >> POST_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"ejbca-ws-ejb.jar\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment >>> \"ejbca-ws-ejb.jar\" of deployment >>> >> > \"ejbca.ear\"","jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POS >> T_MODULE" >>> => "org.jboss.msc.service.StartException in service >>> jboss.deployment.subunit.\"ejbca.ear\".\"publicweb.war\".POST_MODULE: >>> Failed to process phase POST_MODULE of subdeployment \"publicweb.war\" >>> of deployment \"ejbca.ear\""}}}} >>> >>> _EJBCA errors below:_ >>> >>> ejbca:init: >>> >>> [echo] >>> >>> [echo] ------------------- CA Properties ---------------- >>> >>> [echo] ca.name : ManagementCA >>> >>> [echo] ca.dn : CN=ManagementCA,O=EJBCA > Sample,C=SE >>> >>> [echo] ca.tokentype : soft >>> >>> [echo] ca.keytype : RSA >>> >>> [echo] ca.keyspec : 2048 >>> >>> [echo] ca.signaturealgorithm : SHA1WithRSA >>> >>> [echo] ca.validity : 3650 >>> >>> [echo] ca.policy : null >>> >>> [echo] ca.tokenproperties : >>> >>> [echo] httpsserver.hostname : localhost >>> >>> [echo] httpsserver.dn : CN=localhost,O=EJBCA Sample,C=SE >>> >>> [echo] superadmin.cn : SuperAdmin >>> >>> [echo] superadmin.dn : CN=SuperAdmin >>> >>> [echo] superadmin.batch : true >>> >>> [echo] appserver.home : /home/marcus/jboss-as-7.1.1.Final >>> >>> [echo] >>> >>> ejbca:install: >>> >>> ejbca:initCA: >>> >>> [echo] Initializing CA with 'ManagementCA' >>> 'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' <ca.tokenpassword hidden> >>> '2048' 'RSA' '3650' 'null' 'SHA1WithRSA' -superadmincn 'SuperAdmin'... >>> >>> [java] Could not run execute method for class ca >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@18e5a5f >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.ca.CaInitCommand.execute(CaInitCommand.java:131) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:adminweb: >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1095fd3 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@cb560b >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [echo] batch tomcat >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@1866a29 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@19613a1 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.AddEndEntityCommand.execute(AddEndEntityCommand.java:79) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> [java] Could not run execute method for class ra >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@16c65a9 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPassword >> Command.java:45) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:105) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> ejbca:batchsuperadmin: >>> >>> [echo] batch superadmin >>> >>> [java] Could not run execute method for class null >>> >>> [java] java.lang.IllegalStateException: No EJB receiver available >>> for handling [appName:ejbca,modulename:ejbca-ejb,distinctname:] >>> combination for invocation context >>> org.jboss.ejb.client.EJBClientInvocationContext@723a14 >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.ja >> va:584) >>> >>> [java] at >>> >> > org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverIntercepto >> r.java:119) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocat >> ionContext.java:181) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :136) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java >> :121) >>> >>> [java] at >>> >> > org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:1 >> 04) >>> >>> [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown >>> Source) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.ja >> va:123) >>> >>> [java] at >>> org.ejbca.ui.cli.batch.BatchMakeP12.execute(BatchMakeP12.java:91) >>> >>> [java] at >>> >> > org.ejbca.ui.cli.CliCommandHelper.executeCommand(CliCommandHelper.java:147) >>> >>> [java] at >>> org.ejbca.ui.cli.CliCommandHelper.searchAndRun(CliCommandHelper.java:67) >>> >>> [java] at > org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:25) >>> >>> [java] Java Result: 1 >>> >>> BUILD FAILED >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:60: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/build.xml:66: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:96: The following error occurred >>> while executing this line: >>> >>> /home/marcus/ejbca_ce_6_0_3/bin/cli.xml:137: Batch generation failed! >>> >>> anyone encounter this before and how to solve this? I am stuck for days >>> >>> Thanks a lot. >>> >>> Warmest Regards, >>> >>> Marcus Cher >>> >>> *NETRUST PTE LTD* >>> >>> 70 Bendemeer Road #05-03 Luzerne Singapore 339940 >>> >>> Tel +65 6212 1388 | Fax +65 6212 1366 |Website http://www.netrust.net >>> <http://www.netrust.net/> >>> >>> *Products from Netrust:* >>> >>> SSL| Code Signing Certificates |2 Factor Authentication | Email >>> Encryption | Hard Disk Encryption | File Encryption | NAM Singpass >>> Authentication | Netrust Digital Signer | Personal and Organization >>> Certificates >>> >>> >>> >>> >> > ---------------------------------------------------------------------------- >> -- >>> Time is money. Stop wasting it! Get your web API in 5 minutes. >>> www.restlet.com/download >>> http://p.sf.net/sfu/restlet >>> >>> >>> >>> _______________________________________________ >>> Ejbca-develop mailing list >>> Ejb...@li... >>> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >>> >> >> > ---------------------------------------------------------------------------- >> -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> >> >> > ---------------------------------------------------------------------------- > -- >> Time is money. Stop wasting it! Get your web API in 5 minutes. >> www.restlet.com/download >> http://p.sf.net/sfu/restlet >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop >> > > ---------------------------------------------------------------------------- > -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > ---------------------------------------------------------------------------- -- > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > ---------------------------------------------------------------------------- -- Time is money. Stop wasting it! Get your web API in 5 minutes. www.restlet.com/download http://p.sf.net/sfu/restlet _______________________________________________ Ejbca-develop mailing list Ejb...@li... https://lists.sourceforge.net/lists/listinfo/ejbca-develop |