Hi Russell,

I've never seen this particular problem before and so far can't imagine how it arose. Could you tell us...

- which geronimo version
- the commands you used to get to this point
- the geronimo plan you deployed with

Hopefully this will give a clue about where to look.

thanks
david jencks

On Mar 14, 2009, at 5:56 PM, Russell Collins wrote:

When trying to deploy an EAR file, I get the error down below. It ultimately says that there is not class not found. How do I correct this error?


16:20:44,728 WARN [ConfigurationUtil] Could not load gbean default/ ecommerce/1.0/car?J2EEApplication=default/ecommerce/1.0/ car,j2eeType=RoleMapper,name=RoleMapper org.apache.geronimo.gbean.InvalidConfigurationException: Could not load GBeanInfo class from classloader: [org.apache.geronimo.kernel.classloader.JarFileClassLoader id=default/ecommerce/1.0/car] className = org .apache .geronimo .security .jacc.mappingprovider.ApplicationPrincipalRoleConfigurationManager at org .apache .geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:229) at org .apache.geronimo.kernel.basic.BasicKernel.loadGBean(BasicKernel.java: 354) at org .apache .geronimo .kernel .config .ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java: 441) at org .apache .geronimo .kernel .config .KernelConfigurationManager.start(KernelConfigurationManager.java:188) at org .apache .geronimo .kernel .config .SimpleConfigurationManager .startConfiguration(SimpleConfigurationManager.java:562) at org .apache .geronimo .kernel .config .SimpleConfigurationManager .startConfiguration(SimpleConfigurationManager.java:543)
      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:597)
at org .apache .geronimo .gbean .runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java: 34) at org .apache .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) at org .apache .geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java: 239) at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
      at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source)
at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
at org .apache .geronimo .gbean .runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java: 34) at org .apache .geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) at org .apache .geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java: 239) at org .apache .geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java: 172) at com .sun .jmx .interceptor .DefaultMBeanServerInterceptor .invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at javax .management .remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426) at javax.management.remote.rmi.RMIConnectionImpl.access $200(RMIConnectionImpl.java:72) at javax.management.remote.rmi.RMIConnectionImpl $PrivilegedOperation.run(RMIConnectionImpl.java:1264)
      at java.security.AccessController.doPrivileged(Native Method)
at javax .management .remote .rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java: 1366) at javax .management .remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
      at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
      at sun.rmi.transport.Transport$1.run(Transport.java:159)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java: 535) at sun.rmi.transport.tcp.TCPTransport $ConnectionHandler.run0(TCPTransport.java:790) at sun.rmi.transport.tcp.TCPTransport $ConnectionHandler.run(TCPTransport.java:649) at java.util.concurrent.ThreadPoolExecutor $Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassNotFoundException: org .apache .geronimo .security .jacc.mappingprovider.ApplicationPrincipalRoleConfigurationManager in classloader default/ecommerce/1.0/car at org .apache .geronimo .kernel .config .MultiParentClassLoader .loadOptimizedClass(MultiParentClassLoader.java:436) at org .apache .geronimo .kernel .config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java: 278)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org .apache .geronimo.gbean.runtime.GBeanInstance.<init>(GBeanInstance.java:227)
      ... 43 more


Reply via email to