java.lang.NoClassDefFoundError: org.apache.geronimo.system.rmi.RMIClassLoaderSpiImpl

2008-06-18 Thread pmavinakuli

Hello, All. 

We are facing a problem while starting "our" geronimo server , due to the
following problem. We have added the jar file name in metainf file. Still it
has not been able to start the geronimo without any problem. Any help would
be greatly appreciated. Thanks a lot in advance. 

Exception stack trace. 
Module 4/4 geronimo/j2ee-security/1.1.1/car  08:46:11,324 ERROR
[GBeanInstanceState] Error while starting; GBean is now in the FAILED state:
abstractName="geronimo/j2ee-security/1.1.1/car?ServiceModule=geronimo/j2ee-security/1.1.1/car,j2eeType=GBean,name=JMXService"

java.lang.NoClassDefFoundError:
org.apache.geronimo.system.rmi.RMIClassLoaderSpiImpl

at
java.rmi.server.RMIClassLoader.initializeProvider(RMIClassLoader.java:668)

at
java.rmi.server.RMIClassLoader.access$000(RMIClassLoader.java:93)

at java.rmi.server.RMIClassLoader$1.run(RMIClassLoader.java:103)

at java.security.AccessController.doPrivileged(Native Method)

at
java.rmi.server.RMIClassLoader.(RMIClassLoader.java:100)

at
sun.rmi.server.MarshalOutputStream.annotateClass(MarshalOutputStream.java:75)

at
java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1174)

at
java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1127)

at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)

at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)

at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)

at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)

at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:116)

at
com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)

at javax.naming.InitialContext.bind(InitialContext.java:359)

at
javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:635)

at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)

at
org.apache.geronimo.jmxremoting.JMXConnector.doStart(JMXConnector.java:190)

at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:977)

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:527)

at
com.businessobjects.framework.servers.common.fast.FastKernel.startRecursiveGBean(FastKernel.java:357)

at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)

at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)

at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)

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.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)

at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)

at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:804)

at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)

at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)

at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)

at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$2c9ea6a1.startConfiguration()

at
org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:297)

at org.apache.geronimo.system.main.Daemon.(Daemon.java:74)

at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)

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.ref

specifying the dependencies in the config file

2008-04-30 Thread pmavinakuli

Hello, All. 

I am novice to both Geronimo architecture[and Java] also. We are trying to
deploy one application as Gbean application. We are getting the problem
while deploying related to jar files [meaning it is not able to find out the
class definition]. Let me explain the problem completely. Assume A.jar has
the actual Gbean implementation and needs class in B.jar and C.jar; also
B.jar needs C.jar. What we understood is here in case, we need to ship all
of those 3 files as modules and B.jar and A.jar BOTH need to have dependency
on C.jar [apart from B.jar in A.config]. Is that understanding valid? if so,
our application needs around some 30 jars and we really don't know what is
the internal dependency - permutation and combination of those 30 file plan?
Or can any one help us to solve the above problem?

Thanks a lot and desperately waiting for your reply,
Prasanna. 
-- 
View this message in context: 
http://www.nabble.com/specifying-the-dependencies-in-the-config-file-tp16977011s134p16977011.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.