|
From: Andreas K. <ku...@tr...> - 2014-05-28 11:54:34
|
Hi sara, take a look into the jboss server log.I would guess it did not start correctly ... Greetings, Andreas > Hi > i am trying to install ejbca 6.0.4 with mariadb and jboss 7.1.1 final. The > "ant deploy" step worked fine but when i run "ant install" i get the > following error: > > 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] JNDI name lookup error > [java] javax.naming.NamingException: Failed to create remoting > connection [Root exception is java.lang.RuntimeException: > javax.security.sasl.SaslException: Authentication failed: all available > authentication mechanisms failed] > [java] at > org.jboss.naming.remote.client.ClientUtil.namingException(ClientUtil.java:36) > [java] at > org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:121) > [java] at > javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684) > [java] at > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:305) > [java] at javax.naming.InitialContext.init(InitialContext.java:240) > [java] at javax.naming.InitialContext.<init>(InitialContext.java:192) > [java] at org.cesecore.jndi.JndiHelper.getContext(JndiHelper.java:42) > [java] at > org.cesecore.jndi.JndiHelper.getRemoteSession(JndiHelper.java:71) > [java] at > org.cesecore.util.EjbRemoteHelper.getRemoteSession(EjbRemoteHelper.java:73) > [java] at > org.cesecore.util.EjbRemoteHelper.getRemoteSession(EjbRemoteHelper.java:49) > [java] at > org.ejbca.ui.cli.BaseCommand.parseUsernameAndPasswordFromArgs(BaseCommand.java:122) > [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] Caused by: java.lang.RuntimeException: > javax.security.sasl.SaslException: Authentication failed: all available > authentication mechanisms failed > [java] at > org.jboss.naming.remote.protocol.IoFutureHelper.get(IoFutureHelper.java:87) > [java] at > org.jboss.naming.remote.client.NamingStoreCache.getRemoteNamingStore(NamingStoreCache.java:56) > [java] at > org.jboss.naming.remote.client.InitialContextFactory.getOrCreateCachedNamingStore(InitialContextFactory.java:166) > [java] at > org.jboss.naming.remote.client.InitialContextFactory.getOrCreateNamingStore(InitialContextFactory.java:139) > [java] at > org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:104) > [java] ... 13 more > > > > > > > > > the jboss is runing just fine and i placed module.xml file and > mariadb-java-client-1.1.5 in jboss_home/modules/org/mariadb/main and this > is my module.xml file: > > > <module name="org.mariadb"><resources><resource-root > path="mariadb-java-client-1.1.5.jar"/></resources><dependencies><module > name="javax.api"/><module > name="javax.transaction.api"/></dependencies></module> > > > > and this is ejbca/conf/jndi.properties.jboss7 file > > > # JBoss 7 > java.naming.factory.url.pkgs=org.jboss.ejb.client.naming > # To run remote EJB you also need jboss-ejb-client.properties in your > classpath# jndi.properties > # > ejb:java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory > ejb:java.naming.factory.url.pkgs=org.jboss.ejb.client.naming > ejb:java.naming.provider.url=remote://localhost:4447 > ejb:java.naming.security.principal=remote > ejb:java.naming.security.credentials=remotepwd > > > > > can you help me figuring the error out ? > > best regards, > SARA > > > > ------------------------------------------------------------------------------ > 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 -- Andreas Kühne phone: +49 177 293 24 97 mailto: ku...@tr... Trustable Ltd. Niederlassung Deutschland Ströverstr. 18 - 59427 Unna Amtsgericht Hamm HRB 5868 Directors Andreas Kühne, Heiko Veit Company UK Company No: 5218868 Registered in England and Wales |