EJBCA 6.0.3 "ant install" failed on Windows 7

Help
merryo
2014-03-17
2014-04-02
  • merryo

    merryo - 2014-03-17

    Hi folks, I am getting error when running ant install on windows 7 64 bit machine.
    Error details are as follows: Please Help.

    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 'SuperAdm
    in'...

     [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.c
    

    lient.EJBClientInvocationContext@156cce6
    [java] at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584)
    [java] at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119)
    [java] at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.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:104)
    [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown Source)
    [java] at org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.java: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.c
    lient.EJBClientInvocationContext@579615
    [java] at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584)
    [java] at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119)
    [java] at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.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:104)
    [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown Source)
    [java] at org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.java: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.c
    lient.EJBClientInvocationContext@579615
    [java] at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584)
    [java] at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119)
    [java] at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.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:104)
    [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown Source)
    [java] at org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.java:123)
    [java] at org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPasswordCommand.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.c
    lient.EJBClientInvocationContext@9dd62a
    [java] at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584)
    [java] at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119)
    [java] at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.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:104)
    [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown Source)
    [java] at org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.java: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.c
    lient.EJBClientInvocationContext@9dd62a
    [java] at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584)
    [java] at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119)
    [java] at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.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:104)
    [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown Source)
    [java] at org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.java: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.c
    lient.EJBClientInvocationContext@579615
    [java] at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584)
    [java] at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119)
    [java] at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.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:104)
    [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown Source)
    [java] at org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.java:123)
    [java] at org.ejbca.ui.cli.ra.SetCleartextPasswordCommand.execute(SetCleartextPasswordCommand.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.c
    lient.EJBClientInvocationContext@579615
    [java] at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:584)
    [java] at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:119)
    [java] at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.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:104)
    [java] at com.sun.proxy.$Proxy0.getCachedConfiguration(Unknown Source)
    [java] at org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.java: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
    C:\EJBCA\ejbca_ce_6_0_3\build.xml:60: The following error occurred while executing this line:
    C:\EJBCA\ejbca_ce_6_0_3\build.xml:66: The following error occurred while executing this line:
    C:\EJBCA\ejbca_ce_6_0_3\bin\cli.xml:96: The following error occurred while executing this line:
    C:\EJBCA\ejbca_ce_6_0_3\bin\cli.xml:137: Batch generation failed!

     
  • merryo

    merryo - 2014-03-17

    I tried "ant install" one more time after the above mentioned post and got stuck at CA creation for very long time with following details which i got on jboss console.

    11:22:39,748 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "ejbca.ear" was rolled back with failure message Operation cancelled

    11:22:39,749 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [1000 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.

    11:22:39,825 INFO [org.jboss.as.webservices] (MSC service thread 1-1) JBAS015540: Stopping service jboss.ws.endpoint."ejbca.ear"."ejbca-ws-ejb.jar".EjbcaWS

    I had to cancel the "ant install" job.

     
    • ejbca-support

      ejbca-support - 2014-03-17

      Try 6.0.4, it has a fix for Windows

      Anders

      On 2014-03-17 08:19, merryo wrote:

      I tried "ant install" one more time after the above mentioned post and got stuck at CA creation for very long time with following details which i got on jboss console.

      11:22:39,748 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "ejbca.ear" was rolled back with failure message Operation cancelled

      11:22:39,749 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [1000 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.

      11:22:39,825 INFO [org.jboss.as.webservices] (MSC service thread 1-1) JBAS015540: Stopping service jboss.ws.endpoint."ejbca.ear"."ejbca-ws-ejb.jar".EjbcaWS

      I had to cancel the "ant install" job.


      EJBCA 6.0.3 "ant install" failed on Windows 7 https://sourceforge.net/p/ejbca/discussion/123123/thread/4b1fa5ee/?limit=25#b426


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/ejbca/discussion/123123/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • merryo

    merryo - 2014-04-02

    Its Done successfully with little tweaks with 6.0.4

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks