geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: reconstructing stack trace - but how?
Date Tue, 17 Oct 2006 08:55:53 GMT
This particular error is usually caused by missing classes from your  
application.  For some reason tomcat doesn't deign to tell you what  
the actual problem is, and a bit later throws this rather hard to  
interpret exception.  You might try geronimo-jetty and you will  
probably find out what the problem is much more easily.

Hope this helps
david jencks

On Oct 17, 2006, at 1:28 AM, Peter wrote:

> David Jencks <david_jencks@...> writes:
>
>>
>> Here's the culprit:
>>
>> Caused by:
>> org.apache.geronimo.kernel.repository.MissingDependencyException:
>> Unable to resolve dependency console.dbpool/InventoryPool//
>> 	at
>> org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolve 
>> InC
>> lassLoa
>> der(DefaultArtifactResolver.java:119)
>>
>> IIUC your first post said your pool was named TDB2.  I suspect
>> perhaps there's a name mismatch between the pool configuration and
>> the dependency on it?
>>
>> thanks
>> david jencks
>
> Sorry David, I posted an inappropriate stack trace. Now I want to  
> switch back
> from the Inventory sample to my web module DienststelleTest but  
> after removing
> (and uninstalling) the project, adding it to the server leads to a  
> different
> exception so I don't have the original stack trace yet. This new  
> stack trace
> is as follows. How can I proceed?
>
> !ENTRY org.apache.geronimo.st.core 4 0 2006-10-17 10:18:11.427
> !MESSAGE Starting of configuration failed.  See log for details.
> !STACK 0
> java.lang.Exception: start of Beispielanwendung/DienststelleTest/ 
> 1.0/car failed
> org.apache.geronimo.kernel.config.LifecycleException: start of
> Beispielanwendung/DienststelleTest/1.0/car failed
> 	at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration
> (SimpleConfigurationManager.java:544)
> 	at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration
> (SimpleConfigurationManager.java:508)
> 	at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$ 
> $FastClassByCGLIB$
> $ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke
> (FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke
> (GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
> (GBeanInstance.java:852)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.invoke
> (BasicKernel.java:239)
> 	at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java: 
> 338)
> 	at
> org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$ 
> $1cccefc9.invoke
> (<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke
> (FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke
> (GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
> (GBeanInstance.java:852)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.invoke
> (BasicKernel.java:239)
> 	at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke
> (MBeanGBeanBridge.java:168)
> 	at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke
> (InvokerMBeanServerInterceptor.java:221)
> 	at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke
> (DefaultMBeanServerInterceptor.java:120)
> 	at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke
> (SecurityMBeanServerInterceptor.java:84)
> 	at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke
> (DefaultMBeanServerInterceptor.java:120)
> 	at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke
> (DefaultMBeanServerInterceptor.java:120)
> 	at
> mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invok 
> e
> (ContextClassLoaderMBeanServerInterceptor.java:203)
> 	at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
> 	at mx4j.remote.rmi.RMIConnectionInvoker.invoke
> (RMIConnectionInvoker.java:219)
> 	at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at mx4j.remote.rmi.RMIConnectionProxy.invoke
> (RMIConnectionProxy.java:34)
> 	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain
> (RMIConnectionSubjectInvoker.java:99)
> 	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000
> (RMIConnectionSubjectInvoker.java:31)
> 	at mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run
> (RMIConnectionSubjectInvoker.java:90)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
> 	at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java: 
> 163)
> 	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke
> (RMIConnectionSubjectInvoker.java:86)
> 	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke
> (RMIConnectionSubjectInvoker.java:80)
> 	at $Proxy0.invoke(Unknown Source)
> 	at javax.management.remote.rmi.RMIConnectionImpl.invoke
> (RMIConnectionImpl.java:221)
> 	at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java: 
> 261)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:148)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
> 	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:534)
> Caused by:  
> org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
> start exception
> 	at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration 
> GBeans
> (ConfigurationUtil.java:440)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start
> (KernelConfigurationManager.java:187)
> 	at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration
> (SimpleConfigurationManager.java:527)
> 	... 47 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
> Configuration Beispielanwendung/DienststelleTest/1.0/car failed to  
> start due
> to the following reasons:
>   The service
> J2EEApplication=null,j2eeType=WebModule,name=Beispielanwendung/ 
> DienststelleTest
> /1.0/car did not start because the doStart method threw an exception.
> java.lang.NullPointerException
> 	at java.util.Hashtable.put(Hashtable.java:393)
> 	at org.apache.naming.resources.DirContextURLStreamHandler.bind
> (DirContextURLStreamHandler.java:233)
> 	at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart
> (TomcatWebAppContext.java:443)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance
> (GBeanInstance.java:981)
> 	at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:267)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start
> (GBeanInstanceState.java:102)
> 	at  
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive
> (GBeanInstanceState.java:124)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive
> (GBeanInstance.java:540)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean
> (BasicKernel.java:379)
> 	at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration 
> GBeans
> (ConfigurationUtil.java:374)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start
> (KernelConfigurationManager.java:187)
> 	at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration
> (SimpleConfigurationManager.java:527)
> 	at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
> iguration
> (SimpleConfigurationManager.java:508)
> 	at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager$ 
> $FastClassByCGLIB$
> $ce77a924.invoke(<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke
> (FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke
> (GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
> (GBeanInstance.java:852)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.invoke
> (BasicKernel.java:239)
> 	at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java: 
> 338)
> 	at
> org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$ 
> $1cccefc9.invoke
> (<generated>)
> 	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> 	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke
> (FastMethodInvoker.java:38)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke
> (GBeanOperation.java:122)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke
> (GBeanInstance.java:852)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.invoke
> (BasicKernel.java:239)
> 	at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke
> (MBeanGBeanBridge.java:168)
> 	at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke
> (InvokerMBeanServerInterceptor.java:221)
> 	at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke
> (DefaultMBeanServerInterceptor.java:120)
> 	at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke
> (SecurityMBeanServerInterceptor.java:84)
> 	at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke
> (DefaultMBeanServerInterceptor.java:120)
> 	at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke
> (DefaultMBeanServerInterceptor.java:120)
> 	at
> mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invok 
> e
> (ContextClassLoaderMBeanServerInterceptor.java:203)
> 	at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
> 	at mx4j.remote.rmi.RMIConnectionInvoker.invoke
> (RMIConnectionInvoker.java:219)
> 	at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at mx4j.remote.rmi.RMIConnectionProxy.invoke
> (RMIConnectionProxy.java:34)
> 	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain
> (RMIConnectionSubjectInvoker.java:99)
> 	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000
> (RMIConnectionSubjectInvoker.java:31)
> 	at mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run
> (RMIConnectionSubjectInvoker.java:90)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
> 	at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java: 
> 163)
> 	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke
> (RMIConnectionSubjectInvoker.java:86)
> 	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke
> (RMIConnectionSubjectInvoker.java:80)
> 	at $Proxy0.invoke(Unknown Source)
> 	at javax.management.remote.rmi.RMIConnectionImpl.invoke
> (RMIConnectionImpl.java:221)
> 	at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java: 
> 261)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:148)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
> 	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:534)
>
>
> 	at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration 
> GBeans
> (ConfigurationUtil.java:403)
> 	... 49 more
>
> 	at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doFail
> (GeronimoServerBehaviourDelegate.java:388)
> 	at  
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doDeploy
> (GeronimoServerBehaviourDelegate.java:326)
> 	at
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeComm 
> and
> (GeronimoServerBehaviourDelegate.java:286)
> 	at
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishMod 
> ule
> (GeronimoServerBehaviourDelegate.java:184)
> 	at
> org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModul 
> e
> (ServerBehaviourDelegate.java:676)
> 	at
> org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModul 
> es
> (ServerBehaviourDelegate.java:756)
> 	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish
> (ServerBehaviourDelegate.java:611)
> 	at org.eclipse.wst.server.core.internal.Server.doPublish
> (Server.java:862)
> 	at org.eclipse.wst.server.core.internal.Server.publish(Server.java: 
> 850)
> 	at org.eclipse.wst.server.core.internal.PublishServerJob.run
> (PublishServerJob.java:142)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
>
>


Mime
View raw message