geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Collins <Russell.Coll...@mclaneat.com>
Subject RE: Class Loader Problem
Date Wed, 18 Mar 2009 17:04:46 GMT
Here is what I have done.  I have deleted my old Enterprise project and started over.  It seems
as though that has cleared up things for the time being.  I am trying a different approach
by not including the web archives in the Enterprise archive.  I think that is the way we want
it designed anyway.  As I am piecing things together one very slowing, everything is starting
to come together cleanly.  Thanks for your help.


From: Rex Wang [mailto:rwonly@gmail.com]
Sent: Wednesday, March 18, 2009 12:51 AM
To: user@geronimo.apache.org
Subject: Re: Class Loader Problem

Can you provide your EAR project's directory structure, or give us your code for us to try?

Rex.
2009/3/18 Russell Collins <Russell.Collins@mclaneat.com<mailto:Russell.Collins@mclaneat.com>>

I think I changed it.  It was at default and now it is mds.  Same errors however.







From: Rex Wang [mailto:rwonly@gmail.com<mailto:rwonly@gmail.com>]
Sent: Tuesday, March 17, 2009 1:00 AM

To: user@geronimo.apache.org<mailto:user@geronimo.apache.org>
Subject: Re: Class Loader Problem



why in your log shows loading "default/ecommerce/1.0/car",  but in your plan specified:

        <dep:moduleId>

            <dep:groupId>mds</dep:groupId>

            <dep:artifactId>ecommerce</dep:artifactId>

            <dep:version>2.0</dep:version>

            <dep:type>car</dep:type>

        </dep:moduleId>

Is there a "default/ecommerce/1.0/ecommerce-1.0.car" in your <Geronimo_home>'s repository?


Rex

2009/3/15 Russell Collins <Russell.Collins@mclaneat.com<mailto:Russell.Collins@mclaneat.com>>

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






Mime
View raw message