geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick McGuire <rick...@gmail.com>
Subject Re: Setting up TSSConfig via JMX
Date Fri, 29 Oct 2010 16:41:33 GMT
On 10/29/2010 11:43 AM, Andriy Pepenin wrote:
> Hello Rick,
>
> Sorry for delay with reply to your message.
>
> I tried to snapshot part Geronimo's configuration state, and restore it
> later.
> Now my prototype are able to snapshot\udpate almost all aspects of
> Geronimo's configuration state except TSSConfig.
>
> I've created a number of TSSConfig under different configuration modules and
> tried to set up new value via JMX, but result was identical.
This is not really much more information than you gave before.  How are 
you attempting to set this via JMX?  Can you show a code sample showing 
what you are doing.  The classloader identified in the stack trace does 
not have the corba support as one of its dependencies, so its not 
surprising that this error occurs, but we'd need a more concrete example 
of what you're doing to determine where the root cause of the error lies.

Rick
> Here is full stack trace:
>
> java.lang.ClassNotFoundException:
> org.apache.geronimo.corba.security.config.tss.TSSConfig in classloader
> org.apache.geronimo.framework/j2ee-security/2.2/car (no security manager:
> RMI class loader disabled)
>
> 	at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)
>
> 	at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
>
> 	at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
>
> 	at
> org.apache.geronimo.kernel.rmi.RMIClassLoaderSpiImpl.loadClass(RMIClassLoaderSpiImpl.java:53)
>
> 	at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
>
> 	at
> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
>
> 	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
>
> 	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
>
> 	at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
>
> 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>
> 	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
>
> 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
>
> 	at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>
> 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>
> 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
>
> 	at java.rmi.MarshalledObject.get(MarshalledObject.java:142)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl$6.run(RMIConnectionImpl.java:1513)
>
> 	at java.security.AccessController.doPrivileged(Native Method)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl.unwrap(RMIConnectionImpl.java:1505)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl.access$500(RMIConnectionImpl.java:72)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl$7.run(RMIConnectionImpl.java:1548)
>
> 	at java.security.AccessController.doPrivileged(Native Method)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl.unwrap(RMIConnectionImpl.java:1544)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl.setAttribute(RMIConnectionImpl.java:670)
>
> 	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 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)
> Oct 29, 2010 6:20:26 PM org.codehaus.groovy.runtime.StackTraceUtils sanitize
>
> WARNING: Sanitizing stacktrace:
>
> java.rmi.UnmarshalException: java.lang.ClassNotFoundException:
> org.apache.geronimo.corba.security.config.tss.TSSConfig in classloader
> org.apache.geronimo.framework/j2ee-security/2.2/car (no security manager:
> RMI class loader disabled); nested exception is:
> 	java.lang.ClassNotFoundException:
> org.apache.geronimo.corba.security.config.tss.TSSConfig in classloader
> org.apache.geronimo.framework/j2ee-security/2.2/car (no security manager:
> RMI class loader disabled)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl$6.run(RMIConnectionImpl.java:1515)
>
> 	at java.security.AccessController.doPrivileged(Native Method)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl.unwrap(RMIConnectionImpl.java:1505)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl.access$500(RMIConnectionImpl.java:72)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl$7.run(RMIConnectionImpl.java:1548)
>
> 	at java.security.AccessController.doPrivileged(Native Method)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl.unwrap(RMIConnectionImpl.java:1544)
>
> 	at
> javax.management.remote.rmi.RMIConnectionImpl.setAttribute(RMIConnectionImpl.java:670)
>
> 	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 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)
>


Mime
View raw message