From: Didier C. <di...@co...> - 2005-12-07 10:53:02
|
Thomas, > You don't say which database you are using. My suspicion is that you are > using a > database and there is problem with the connectivity between JBoss and your > database. I use the default database: hsqldb > The answer will be in the server.log in > JBOSS_HOME/server/default/log/server.log. Well, the log file is huge but I catch a stack trace in: 2005-12-06 17:37:35,659 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException in method: public abstract se.anatom.ejbca.authorization.IAuthorizationSessionRemote se.anatom.ejbca.authorization.IAuthorizationSessionHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException: javax.ejb.EJBException: Could not instantiate bean at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:180) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:78) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:116) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613) at org.jboss.ejb.Container.invoke(Container.java:894) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:595) Could this help? Btw, the hsqldb files are created. I'm still digging in logs. Thanks Didier > Cheers, > Tomas Gustavsson > PrimeKey Solutions AB > http://www.primekey.se/ > > > Didier CONCHAUDRON wrote: >> Hi all, >> >> I'm trying to install lastest stable ejbca eg. 3.1.3 on windows and I >> get >> an error while "ant install" 'ing ejbca. >> >> Here's the error: >> >> ejbca:install: >> [echo] Initializing CA with AcmeCA 'CN=AcmeCA,O=EJBCA Sample,C=SE' >> 2048 365 >> 0 null ... >> [echo] ca init AcmeCA "CN=AcmeCA,O=EJBCA Sample,C=SE" 2048 3650 >> null >> [java] Initializing CA >> [java] Generating rootCA keystore: >> [java] CA name: AcmeCA >> [java] DN: CN=AcmeCA,O=EJBCA Sample,C=SE >> [java] Keysize: 2048 >> [java] Validity (days): 3650 >> [java] Policy ID: null >> [java] Initalizing Temporary Authorization Module. >> [java] java.rmi.ServerException: RemoteException occurred in server >> thread; >> nested exception is: >> [java] java.rmi.ServerException: EJBException:; nested >> exception is: >> [java] javax.ejb.EJBException: Could not instantiate bean >> >> I googled a little but did not find anything I can understand, well I'm >> a >> beginner ;-) >> >> Any hint? >> >> Cheers, >> >> Didier >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through log >> files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >> _______________________________________________ >> Ejbca-develop mailing list >> Ejb...@li... >> https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > |