users@glassfish.java.net

Re: Jconsole error continues

From: Alejandro Murillo <Alejandro.Murillo_at_Sun.COM>
Date: Tue, 20 Feb 2007 11:05:46 -0700

Can you check if there's a firewall running on any of the systems?
I had similar problem and got connected after I disabled the firewall
that was running on the remote machine.


Alejandro

Kenneth Clark wrote:
> I can't test anything now unfortunately. I am not doing anything fancy
> though. entering the ip and port for the service (including username
> and password) it works on the other glassfish instance we are running
>
>
> Just as a recap
> OS Ubuntu 6.10
> Java 1.6
>
> The only difference is that the one giving trouble is running XWindows.
>
> Kenneth Clark
> Developer / Analyst
>
> Rabid Dog Laboratories ^(TM)
> Putting the art back into development
>
> *tel:* +27 11 475 7409
> *mobile:* +27 82 500 5090
> *e-mail:* kenneth_at_rabiddog.co.za
> *website:* http://www.rabiddog.co.za/
>
>
> Binod wrote:
>> I just tried the same and it works....
>>
>> The error below shows that you are getting a login exception.
>> However the exception (class) that has been thrown from the server
>> is not available in the client's classpath and since the security
>> manager'
>> is disabled RMI wont do dynamic classloading to show you the actual
>> error.
>>
>> I dont get this error when I give a wrong username/password.
>>
>> Are you sure that you are not doing any thing extra, right?
>>
>> Does your server.log contain anything interesting?
>>
>> thanks,
>> Binod.
>>
>>> I am trying to connect JConsole to glassfish on another server.
>>>
>>>
>>> Kenneth Clark
>>> Developer / Analyst
>>>
>>> Rabid Dog Laboratories ^(TM)
>>> Putting the art back into development
>>>
>>> *tel:* +27 11 475 7409
>>> *mobile:* +27 82 500 5090
>>> *e-mail:* kenneth_at_rabiddog.co.za
>>> *website:* http://www.rabiddog.co.za/
>>>
>>>
>>> Binod wrote:
>>>
>>>> What exactly are you trying to do get this error?
>>>>
>>>> As a temperory solution, can you try
>>>>
>>>> ||jconsole -J-Djava.security.manager and see of that works?
>>>>
>>>> - Binod.||
>>>>
>>>>
>>>>> new stack dump for all
>>>>>
>>>>> java.rmi.UnmarshalException: Error unmarshaling return; nested
>>>>> exception is:
>>>>> java.lang.ClassNotFoundException:
>>>>> com.sun.enterprise.security.LoginException (no security manager:
>>>>> RMI class loader disabled)
>>>>> at
>>>>> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:227)
>>>>>
>>>>> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
>>>>> at
>>>>> javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown
>>>>> Source)
>>>>> at
>>>>> javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2309)
>>>>>
>>>>> at
>>>>> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277)
>>>>>
>>>>> at sun.tools.jconsole.ProxyClient.tryConnect(ProxyClient.java:359)
>>>>> at sun.tools.jconsole.ProxyClient.connect(ProxyClient.java:297)
>>>>> at sun.tools.jconsole.VMPanel$2.run(VMPanel.java:279)
>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>> com.sun.enterprise.security.LoginException (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 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.readObject(ObjectInputStream.java:351)
>>>>> at
>>>>> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:225)
>>>>>
>>>>>
>>>>> Can someone please let me know what the heck is going on?
>>>>> --
>>>>> Kenneth Clark
>>>>> Developer / Analyst
>>>>>
>>>>> Rabid Dog Laboratories ^(TM)
>>>>> Putting the art back into development
>>>>>
>>>>> *tel:* +27 11 475 7409
>>>>> *mobile:* +27 82 500 5090
>>>>> *e-mail:* kenneth_at_rabiddog.co.za
>>>>> *website:* http://www.rabiddog.co.za/
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>>
>>>>
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>>
>>