Thread: EJBCA in EC2
apologies ahead of time if wrong forum.
has been able install ejbca in amazon ec2? seem having trouble elastic ip nating regard jndi naming.
i'm using 12.04 lts ami (ami-3fec7956 in eastern region), , i'm using ejbca 4.0.14 , jboss 5.1.0.ga (which seems latest version supported ejbca.org).
ant bootstrap completes without errors.
relevant failure ant install:
[java] initalizing temporary authorization module caid=-996733751 , superadmin cn 'tempsuperadmin'.
[java]
[java] javax.naming.namenotfoundexception: ejbca not bound
[java] @ org.jnp.server.namingserver.getbinding(namingserve r.java:771)
[java] @ org.jnp.server.namingserver.getbinding(namingserve r.java:779)
[java] @ org.jnp.server.namingserver.getobject(namingserver .java:785)
[java] @ org.jnp.server.namingserver.lookup(namingserver.ja va:396)
[java] @ sun.reflect.nativemethodaccessorimpl.invoke0(nativ e method)
[java] @ sun.reflect.nativemethodaccessorimpl.invoke(native methodaccessorimpl.java:57)
[java] @ sun.reflect.delegatingmethodaccessorimpl.invoke(de legatingmethodaccessorimpl.java:43)
[java] @ java.lang.reflect.method.invoke(method.java:616)
[java] @ sun.rmi.server.unicastserverref.dispatch(unicastse rverref.java:322)
[java] @ sun.rmi.transport.transport$1.run(transport.java:1 77)
[java] @ java.security.accesscontroller.doprivileged(native method)
[java] @ sun.rmi.transport.transport.servicecall(transport. java:173)
[java] @ sun.rmi.transport.tcp.tcptransport.handlemessages( tcptransport.java:553)
[java] @ sun.rmi.transport.tcp.tcptransport$connectionhandl er.run0(tcptransport.java:808)
[java] @ sun.rmi.transport.tcp.tcptransport$connectionhandl er.run(tcptransport.java:667)
[java] @ java.util.concurrent.threadpoolexecutor.runworker( threadpoolexecutor.java:1146)
[java] @ java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:615)
[java] @ java.lang.thread.run(thread.java:679)
[java] @ sun.rmi.transport.streamremotecall.exceptionreceiv edfromserver(streamremotecall.java:273)
[java] @ sun.rmi.transport.streamremotecall.executecall(str eamremotecall.java:251)
[java] @ sun.rmi.server.unicastref.invoke(unicastref.java:1 60)
[java] @ org.jnp.server.namingserver_stub.lookup(unknown source)
[java] @ org.jnp.interfaces.namingcontext.lookup(namingcont ext.java:726)
[java] @ org.jnp.interfaces.namingcontext.lookup(namingcont ext.java:686)
[java] @ javax.naming.initialcontext.lookup(initialcontext. java:409)
[java] @ org.ejbca.core.ejb.jndihelper.getremotesession(jnd ihelper.java:57)
[java] @ org.ejbca.core.model.util.ejbremotehelper.getadmin groupsession(ejbremotehelper.java:94)
[java] @ org.ejbca.ui.cli.ca.basecaadmincommand.initauthori zationmodule(basecaadmincommand.java:161)
[java] @ org.ejbca.ui.cli.ca.cainitcommand.execute(cainitco mmand.java:207)
[java] @ org.ejbca.ui.cli.ejbcaejbcli.executecommand(ejbcae jbcli.java:118)
[java] @ org.ejbca.ui.cli.ejbcaejbcli.main(ejbcaejbcli.java :80)
[java] not run execute method class class org.ejbca.ui.cli.ca.cainitcommand
[java] org.ejbca.ui.cli.erroradmincommandexception: java.lang.nullpointerexception
[java] @ org.ejbca.ui.cli.ca.cainitcommand.execute(cainitco mmand.java:312)
[java] @ org.ejbca.ui.cli.ejbcaejbcli.executecommand(ejbcae jbcli.java:118)
[java] @ org.ejbca.ui.cli.ejbcaejbcli.main(ejbcaejbcli.java :80)
[java] caused by: java.lang.nullpointerexception
[java] @ org.ejbca.ui.cli.ca.basecaadmincommand.initauthori zationmodule(basecaadmincommand.java:161)
[java] @ org.ejbca.ui.cli.ca.cainitcommand.execute(cainitco mmand.java:207)
[java] ... 2 more
thanks!
sorry last error not representative of see. more it:
[java] initalizing temporary authorization module caid=-996733751 , superadmin cn 'tempsuperadmin'.
[java]
[java] javax.naming.namenotfoundexception: admingroupsessionremote not bound
[java] @ org.jnp.server.namingserver.getbinding(namingserve r.java:771)
[java] @ org.jnp.server.namingserver.getbinding(namingserve r.java:779)
[java] @ org.jnp.server.namingserver.getobject(namingserver .java:785)
[java] @ org.jnp.server.namingserver.lookup(namingserver.ja va:443)
[java] @ org.jnp.server.namingserver.lookup(namingserver.ja va:399)
[java] @ sun.reflect.nativemethodaccessorimpl.invoke0(nativ e method)
[java] @ sun.reflect.nativemethodaccessorimpl.invoke(native methodaccessorimpl.java:57)
[java] @ sun.reflect.delegatingmethodaccessorimpl.invoke(de legatingmethodaccessorimpl.java:43)
[java] @ java.lang.reflect.method.invoke(method.java:616)
[java] @ sun.rmi.server.unicastserverref.dispatch(unicastse rverref.java:322)
[java] @ sun.rmi.transport.transport$1.run(transport.java:1 77)
[java] @ java.security.accesscontroller.doprivileged(native method)
[java] @ sun.rmi.transport.transport.servicecall(transport. java:173)
[java] @ sun.rmi.transport.tcp.tcptransport.handlemessages( tcptransport.java:553)
[java] @ sun.rmi.transport.tcp.tcptransport$connectionhandl er.run0(tcptransport.java:808)
[java] @ sun.rmi.transport.tcp.tcptransport$connectionhandl er.run(tcptransport.java:667)
[java] @ java.util.concurrent.threadpoolexecutor.runworker( threadpoolexecutor.java:1146)
[java] @ java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:615)
[java] @ java.lang.thread.run(thread.java:679)
[java] @ sun.rmi.transport.streamremotecall.exceptionreceiv edfromserver(streamremotecall.java:273)
[java] @ sun.rmi.transport.streamremotecall.executecall(str eamremotecall.java:251)
[java] @ sun.rmi.server.unicastref.invoke(unicastref.java:1 60)
[java] @ org.jnp.server.namingserver_stub.lookup(unknown source)
[java] @ org.jnp.interfaces.namingcontext.lookup(namingcont ext.java:726)
[java] @ org.jnp.interfaces.namingcontext.lookup(namingcont ext.java:686)
[java] @ javax.naming.initialcontext.lookup(initialcontext. java:409)
[java] @ org.ejbca.core.ejb.jndihelper.getremotesession(jnd ihelper.java:57)
[java] @ org.ejbca.core.model.util.ejbremotehelper.getadmin groupsession(ejbremotehelper.java:94)
[java] @ org.ejbca.ui.cli.ca.basecaadmincommand.initauthori zationmodule(basecaadmincommand.java:161)
[java] @ org.ejbca.ui.cli.ca.cainitcommand.execute(cainitco mmand.java:207)
[java] @ org.ejbca.ui.cli.ejbcaejbcli.executecommand(ejbcae jbcli.java:118)
[java] @ org.ejbca.ui.cli.ejbcaejbcli.main(ejbcaejbcli.java :80)
[java] not run execute method class class org.ejbca.ui.cli.ca.cainitcommand
[java] org.ejbca.ui.cli.erroradmincommandexception: java.lang.nullpointerexception
[java] @ org.ejbca.ui.cli.ca.cainitcommand.execute(cainitco mmand.java:312)
[java] @ org.ejbca.ui.cli.ejbcaejbcli.executecommand(ejbcae jbcli.java:118)
[java] @ org.ejbca.ui.cli.ejbcaejbcli.main(ejbcaejbcli.java :80)
[java] caused by: java.lang.nullpointerexception
[java] @ org.ejbca.ui.cli.ca.basecaadmincommand.initauthori zationmodule(basecaadmincommand.java:161)
[java] @ org.ejbca.ui.cli.ca.cainitcommand.execute(cainitco mmand.java:207)
[java] ... 2 more
Forum The Ubuntu Forum Community Ubuntu Specialised Support Virtualisation [ubuntu] EJBCA in EC2
Ubuntu
Comments
Post a Comment