3 Replies Latest reply: Nov 14, 2010 4:04 PM by Ludo Boda RSS

    Report creating from profiler's jps file crashes

    Ludo Boda Newbie

      Hallo,

       

      I got error when I am trying to create report from JBoss profiler jps file.

       

      Thanks for the help.

      Ludo

       

      Running on SLES 11+jdk1.6.0_20+jboss-5.1.0.GA

       

       

      My jboss-profiler.properties  :

      enable=yes
      precompiled=no
      cpu=yes
      memory=yes
      includes=com.xxxx.xxxx.*
      excludes=org.jboss.profiler.*
      visibility=private
      save=yes
      savelocation=/home/jboss/jboss-5.1.0.GA/server/test/profiler
      startup=yes
      repository=no
      remote=yes
      store=memory
      location=/home/jboss/jboss-5.1.0.GA/server/test/profiler
      host=jboss
      port=5400
      ejb=yes
      servlet=yes
      jsf=yes
      jmx=yes
      rmi=yes
      corba=yes
      plugin.1=org.jboss.profiler.plugins.Hibernate
      plugin.2=org.jboss.profiler.plugins.Seam

       

      x_reports.sh

      java -Xmx1024m -Djboss-profiler-client.properties=./jboss-profiler-client.properties -jar ./jboss-profiler-client.jar load /home/jboss/jboss-5.1.0.GA/server/test/profiler/20101112165735098-20101112170012733.jps reports

       

      2010-11-12 16:32:09,242 ERROR [org.jboss.profiler.client.cmd.Client] Unexpected end of ZLIB input stream
      java.io.IOException: Unexpected end of ZLIB input stream
      at org.jboss.profiler.shared.SnapshotHelper.load(SnapshotHelper.java:101)
      at org.jboss.profiler.client.cmd.Client.main(Client.java:330)
      Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
      at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:223)
      at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
      at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:92)
      at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2266)
      at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2279)
      at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2774)
      at java.io.ObjectInputStream.readHandle(ObjectInputStream.java:1431)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
      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.util.ArrayList.readObject(ArrayList.java:593)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      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.util.ArrayList.readObject(ArrayList.java:593)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      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.util.LinkedList.readObject(LinkedList.java:964)
      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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      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.util.ArrayList.readObject(ArrayList.java:593)
      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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
      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 org.jboss.profiler.shared.SnapshotHelper.load(SnapshotHelper.java:99)
      ... 1 more