geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Kurjanowicz" <mkurj...@cc.gatech.edu>
Subject mx4j with RMI of JRMP
Date Thu, 02 Oct 2003 13:17:38 GMT
I re-checked out the source a few days ago and noticed that the JRMP
adaptor for mx4j is no longer started in boot-services.xml, and when I
uncomment the ode block, I get the following Class Not Found error:
(note: at end of message)

Did we disable JRMP for some reason, or is this just a bug on my system?
WinXP Pro, j2sdk1.4.2_01, maven-1.0-rc1-SNAPSHOT

Is there an alternative yet for talking to the JMX kernel remotely?
Thanks,
Matt
Mkurjano at cc.gatech.edu

    [java] 08:12:14,359 WARN  [DeploymentController] Unable to deploy
URL file:C
:/projects/geronimo/INCUBA~1/target/geronimo-DEV/etc/boot-service.xml
    [java] org.apache.geronimo.kernel.deployment.DeploymentException:
javax.mana
gement.RuntimeErrorException: null nested error is
java.lang.NoClassDefFoundErro
r: org.apache.geronimo.rmi.RMIClassLoaderSpiImpl
    [java]      at
org.apache.geronimo.kernel.deployment.task.StartMBeanInstance
.perform(StartMBeanInstance.java:103)
    [java]      at
org.apache.geronimo.kernel.deployment.DeploymentPlan.execute(
DeploymentPlan.java:105)
    [java]      at
org.apache.geronimo.kernel.deployment.DeploymentController.ex
ecutePlans(DeploymentController.java:310)
    [java]      at
org.apache.geronimo.kernel.deployment.DeploymentController.de
ploy(DeploymentController.java:231)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [java]      at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
    [java]      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:324)
    [java]      at
mx4j.server.ReflectedMBeanInvoker.invokeImpl(ReflectedMBeanIn
voker.java:117)
    [java]      at
mx4j.server.ReflectedMBeanInvoker.invoke(ReflectedMBeanInvoke
r.java:55)
    [java]      at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(
InvokerMBeanServerInterceptor.java:241)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(
DefaultMBeanServerInterceptor.java:128)
    [java]      at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke
(SecurityMBeanServerInterceptor.java:86)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(
DefaultMBeanServerInterceptor.java:128)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(
DefaultMBeanServerInterceptor.java:128)
    [java]      at
mx4j.server.interceptor.ContextClassLoaderMBeanServerIntercep
tor.invoke(ContextClassLoaderMBeanServerInterceptor.java:161)
    [java]      at
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1068)

    [java]      at org.apache.geronimo.kernel.Main.run(Main.java:166)
    [java]      at java.lang.Thread.run(Thread.java:534)
    [java] Caused by: javax.management.RuntimeErrorException: null
nested error
is java.lang.NoClassDefFoundError:
org.apache.geronimo.rmi.RMIClassLoaderSpiImpl

    [java]      at
mx4j.server.ReflectedMBeanInvoker.invokeImpl(ReflectedMBeanIn
voker.java:123)
    [java]      at
mx4j.server.ReflectedMBeanInvoker.invoke(ReflectedMBeanInvoke
r.java:55)
    [java]      at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(
InvokerMBeanServerInterceptor.java:241)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(
DefaultMBeanServerInterceptor.java:128)
    [java]      at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke
(SecurityMBeanServerInterceptor.java:86)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(
DefaultMBeanServerInterceptor.java:128)
    [java]      at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(
DefaultMBeanServerInterceptor.java:128)
    [java]      at
mx4j.server.interceptor.ContextClassLoaderMBeanServerIntercep
tor.invoke(ContextClassLoaderMBeanServerInterceptor.java:161)
    [java]      at
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1068)

    [java]      at
org.apache.geronimo.kernel.deployment.task.StartMBeanInstance
.perform(StartMBeanInstance.java:101)
    [java]      ... 18 more
    [java] Caused by: java.lang.NoClassDefFoundError:
org.apache.geronimo.rmi.RM
IClassLoaderSpiImpl
    [java]      at
java.rmi.server.RMIClassLoader.initializeProvider(RMIClassLoa
der.java:679)
    [java]      at
java.rmi.server.RMIClassLoader.access$000(RMIClassLoader.java
:93)
    [java]      at
java.rmi.server.RMIClassLoader$1.run(RMIClassLoader.java:103)

    [java]      at java.security.AccessController.doPrivileged(Native
Method)
    [java]      at
java.rmi.server.RMIClassLoader.<clinit>(RMIClassLoader.java:1
00)
    [java]      at
sun.rmi.server.MarshalOutputStream.annotateClass(MarshalOutpu
tStream.java:78)
    [java]      at
java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStre
am.java:1147)
    [java]      at
java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.
java:1100)
    [java]      at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputSt
ream.java:1241)
    [java]      at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.ja
va:1052)
    [java]      at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.jav
a:278)
    [java]      at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown
Source)
    [java]      at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContex
t.java:111)
    [java]      at
com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContex
t.java:122)
    [java]      at
javax.naming.InitialContext.bind(InitialContext.java:355)
    [java]      at mx4j.adaptor.rmi.RMIAdaptor.bind(RMIAdaptor.java:541)
    [java]      at
mx4j.adaptor.rmi.jrmp.JRMPAdaptor.start(JRMPAdaptor.java:62)
    [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [java]      at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
    [java]      at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
    [java]      at java.lang.reflect.Method.invoke(Method.java:324)
    [java]      at
mx4j.server.ReflectedMBeanInvoker.invokeImpl(ReflectedMBeanIn
voker.java:117)
    [java]      ... 27 more
    [java] 08:12:14,562 ERROR [Geronimo] Error starting Server
    [java] javax.management.MBeanException: null nested exception is
org.apache.
geronimo.kernel.deployment.DeploymentException:
javax.management.RuntimeErrorExc
eption: null nested error is java.lang.NoClassDefFoundError:
org.apache.geronimo
.rmi.RMIClassLoaderSpiImpl
    [java] org.apache.geronimo.kernel.deployment.DeploymentException:
javax.mana
gement.RuntimeErrorException: null nested error is
java.lang.NoClassDefFoundErro
r: org.apache.geronimo.rmi.RMIClassLoaderSpiImpl
..and almost the same stack trace again (when trying to load the JRMP
adaptor).

Then the server shuts down cleanly.

--
Matt Kurjanowicz
Mkurjano at cc.gatech.edu



Mime
View raw message