[jboss-dev-forums] [JBoss Profiler Development] - JBoss Profiler 2.0 not working from client

Sam M do-not-reply at jboss.com
Mon Aug 19 02:10:15 EDT 2013


Sam M [https://community.jboss.org/people/satvindermann] created the discussion

"JBoss Profiler 2.0 not working from client"

To view the discussion, visit: https://community.jboss.org/message/833003#833003

--------------------------------------------------------------
I have setup the jboss profilder 2.0 on JBoss server 6.0. The installation works fine, and it shows the profiler running on the server console. 

But, when I hit the command on the client, it throws me an error on the client:

C:\Users\Administrator\Downloads\jboss-profiler-2.0.0.Beta5\jboss-profiler-2.0.0
.Beta5>java -Xmx512m -Djboss-profiler-client.properties=jboss-profiler-client.pr
operties -jar jboss-profiler-client.jar -h 192.168.1.54 -P 5409 snapshot
2013-08-19 09:42:30,796 ERROR [org.jboss.remoting.transport.socket.SocketClientI
nvoker] Got marshalling exception, exiting
java.net.SocketException: end of file
        at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transpor
t(MicroSocketClientInvoker.java:624)
        at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientI
nvoker.java:122)
        at org.jboss.remoting.Client.invoke(Client.java:1634)
        at org.jboss.remoting.Client.invoke(Client.java:548)
        at org.jboss.remoting.Client.invoke(Client.java:536)
        at org.jboss.profiler.client.cmd.Client.main(Client.java:283)
2013-08-19 09:42:30,798 ERROR [org.jboss.profiler.client.cmd.Client] Failed to c
ommunicate.  Problem during marshalling/unmarshalling; nested exception is:
        java.net.SocketException: end of file
java.rmi.MarshalException: Failed to communicate.  Problem during marshalling/un
marshalling; nested exception is:
        java.net.SocketException: end of file
        at org.jboss.remoting.transport.socket.SocketClientInvoker.handleExcepti
on(SocketClientInvoker.java:127)
        at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transpor
t(MicroSocketClientInvoker.java:699)
        at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientI
nvoker.java:122)
        at org.jboss.remoting.Client.invoke(Client.java:1634)
        at org.jboss.remoting.Client.invoke(Client.java:548)
        at org.jboss.remoting.Client.invoke(Client.java:536)
        at org.jboss.profiler.client.cmd.Client.main(Client.java:283)
Caused by: java.net.SocketException: end of file
        at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transpor
t(MicroSocketClientInvoker.java:624)
        ... 5 more

While on the server I am getting the error:

2013-08-19 09:42:30,789 ERROR [ServerThread] failed to process invocation.
java.io.OptionalDataException
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1339)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
        at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.r
eceiveObject(JavaSerializationManager.java:128)
        at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read
(SerializableUnMarshaller.java:66)
        at org.jboss.remoting.transport.socket.ServerThread.processInvocation(Se
rverThread.java:350)
        at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
ava:398)
        at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
a:239)
2013-08-19 09:42:30,792 ERROR [ServerThread] failed to process invocation.
java.io.OptionalDataException
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1339)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
        at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.r
eceiveObject(JavaSerializationManager.java:128)
        at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read
(SerializableUnMarshaller.java:66)
        at org.jboss.remoting.transport.socket.ServerThread.processInvocation(Se
rverThread.java:350)
        at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
ava:398)
        at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
a:239)
2013-08-19 09:42:30,794 ERROR [ServerThread] failed to process invocation.
java.io.OptionalDataException
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1339)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
        at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.r
eceiveObject(JavaSerializationManager.java:128)
        at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read
(SerializableUnMarshaller.java:66)
        at org.jboss.remoting.transport.socket.ServerThread.processInvocation(Se
rverThread.java:350)
        at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
ava:398)
        at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
a:239)

Can someone please help and let me know where am I going wrong. This is kind of urgent, as my jboss server has been throwing memory leak errors, and we need to trace down the root cause asap.

Thanks in advance
Sam
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/833003#833003]

Start a new discussion in JBoss Profiler Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2138]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130819/df5e21bb/attachment.html 


More information about the jboss-dev-forums mailing list