|
From: Michael G. <mik...@ho...> - 2014-07-16 17:39:52
|
I fixed that. And JBOSS started without error. I cleaned it up and re-ran "ant deploy" which fails: Last ~10000 lines from debug: http://pastebin.com/dz5XQDnz BUILD FAILED/opt/ejbca_ce_6_2_0/build.xml:649: The following error occurred while executing this line:/opt/ejbca_ce_6_2_0/bin/jboss.xml:257: The following error occurred while executing this line:/opt/ejbca_ce_6_2_0/bin/jboss.xml:578: exec returned: 1 at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:646) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA ccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA ccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA ccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Si ngleCheckExecutor.java:38) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA ccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Defaul tExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) > Date: Wed, 16 Jul 2014 10:41:48 +0200 > From: to...@pr... > To: ejb...@li... > Subject: Re: [Ejbca-develop] ant install fails with JAVA return 1 > > > Hi, > > In your log you have this database error: > > Unable to fill pool: javax.resource.ResourceException: Could not create > connection > org.postgresql.util.PSQLException: FATAL: password authentication failed > for user "ejbca" > > You need to fix you database configuration. > > Always read the log file from top to bottom, in order to see the first > errors. > > Cheers, > Tomas > Save time and money with an Enterprise support subscription. Please see > www.primekey.se for more information. > http://www.primekey.se/Products/EJBCA+PKI/ > http://www.primekey.se/Services/Support/ > > > On 2014-07-15 21:54, Michael Green wrote: > > So I'm trying to deploy EJBCA 6.0.3 to JBOSS 7.1.1 with a Postgresql 9.1 > > backend on Wheezy. I've added the driver and created the datasource. But > > JBOSS gives this error at startup: > > > > 14:33:44,479 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"."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"."systemtests-ejb.jar".POST_MODULE: > > org.jboss.msc.service.StartException in service > > jboss.deployment.subunit."ejbca.ear"."systemtests-ejb.jar".POST_MODULE: > > Failed to process phase POST_MODULE of subdeployment > > "systemtests-ejb.jar" 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"."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" > > 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"."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" > > > > Full JBOSS log ---> http://pastebin.com/qzLfTMh2 > > > > ant deploy completed successfully but ant install errored out with "JAVA > > returned 1". > > > > > > > > ------------------------------------------------------------------------------ > > Want fast and easy access to all the code in your enterprise? Index and > > search up to 200,000 lines of code with a free copy of Black Duck > > Code Sight - the same software that powers the world's largest code > > search on Ohloh, the Black Duck Open Hub! Try it now. > > http://p.sf.net/sfu/bds > > > > > > > > _______________________________________________ > > Ejbca-develop mailing list > > Ejb...@li... > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop |