Registration

Dear SCN Member,
In order to fully benefit from what SCN has to offer, please register at:
http://scn.sap.com/login.jspa
Thank you,
The SCN team
We are improving!
The SCN wiki will not be available for new content submission starting September 11th 6PM CET until September 14th 6PM CET. Please plan your SCN wiki tasks accordingly.
Skip to end of metadata
Go to start of metadata

JPicus is now on the github. As I/O analysis for SAP JVM has already been covered by SAP JVM Profiler, we decided to let the development of JPicus follow its own path as an open source project.

 

  1. Guest

    the link "JPicus update site to Eclipse" is broken.  maybe the server changed?

  2. Guest

    Hello~

    Hello~

    HELLO~

    Is there anyone here?

  3. Guest

    Yes ggaman,

    We are here. How could we assist you?

  4. Guest

     @quicksb, you should enterhttps://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus as the update site. Please tell us if you can not access it for any reason.

  5. Guest

    JDK 1.6.0_13 on WinXP w/Hibernate 3.2.

     Trying to instrument a SE application that runs perfectly fine (although a bit slow, this the interest in JPicus!!).

    I add -javaagent:/mydir/jpicus.jar to the command line and fire it up.  I get the following.  asm.jar as distributed w/Hibernate is included in the classpath.

    Exception in thread "main" java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V

    at net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)

    at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)

    at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)

    at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)

    at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)

    at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)

    at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)

    at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)

    at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)

    at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)

    at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)

    at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)

    at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)

    at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)

    at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)

    at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:302)

    at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)

    at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)

    at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)

    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)

    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300) 

  6. Hi kooknboo, 

    the problem that you are experiencing comes from the fact that JPicus also uses the ASM bytecode manipulation library. Thus, the version of ASM that JPicus uses, overrides the one on your classpath. Your application relies on an older version of ASM  (i.e. your app -> hibernate -> cglib -> ASM), in which the method in question still exists (versions up to 2.2.2). The version of ASM currently used in JPicus is 3.1. A solution that I would propose is to update your dependencies so that your app does not depend on old versions of ASM. You can do this only for the analysis if you don't want to switch your productive application to higher versions of hibernate, cglib and ASM.

    Best Regards,

    Pavel

  7. Guest

    I have problem accessing the update site, is there any alternative location (maybe you could provide a download link for local installation)?

  8. Guest

    Hi Fredrik L,

    What is the problem with accessing the update site? Is there an error dialog shown? Note that the update site is https:// not http://.

    If you try to access https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus from your browser you will get a 403 Forbidden error. But if you include this as an update site in your Eclipse Ganymede or Eclipse Galileo installation there should be no problem accessing it.

    The concern with separate download link for a local installation is that we should also specify (externally from the plugin - on this wiki) all the dependencies of JPicus (in terms of eclipse plugins). Something that might change in the near future. With Eclipse P2 installation through update site this concern is handled by Eclipse.

    Best Regards,

    Kiril

  9. Guest

    One more comment Fredrik L.

    If you are using a proxy, you could check your proxy configurations of Eclipse (Window->Preferences->General->Network Connections).

    Best Regards,

    Kiril

  10. Guest

    hi.

    i have a problem.
    here's a error log of eclipse "Software Updates and Add-Ons"

    -----------------------------------------------

    Problem Occurred
    No repository found at https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus
    See 'Details' fot more information.

    Details
    No repository found at https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus
      Error reading update site https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus.
      Unconnected Sockets not implemented

    ----------------------------------------------

    more infomation :
    i'm in korea.
    i'm not in firewall.
    i am not using a proxy.

    sorry about my poor english. (smile)

  11. Guest

    Thanks for the quick reply! However, I am using https (and not behind any proxy server). The received log is exactly the same as the one above (from ggaman, except I am in Sweden (wink)).

    Best Regards,
    Fredrik

  12. Guest

    Forgot to add that I am using Eclipse 3.4.1 (Ganymede).

  13. Hi Fredrik, ggaman

    can you try this URL in a browser, so that we can find out if this is something Eclipse specific or a general connectivity problem?

     https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus/site.xml

    If the connectivity is OK the browser shall display an XML file like:

    <site>
    <description>JPicus I/O Analysis Framework Update Server</description>
    <feature url="features/com.sap.tools.jpicus.feature_1.0.0.jar" id="com.sap.tools.jpicus.feature" version="1.0.0"> </feature>
    </site>

    Best Regards,

    Pavel

  14. Guest

    I can see the above xml file.

    and I can see the error message of eclipse also.

    can you tell me how can I use this plug-in by hand? 

  15. Guest

    Problem solved, thanks Hans!

  16. Guest

    Thanks Hans! (smile)

  17. Guest

    The tool is great but it is not working for the case I am trying to track down. I am trying to track down Socket leaks in an application that is using java.net.HttpUrlConnection objects. It seems JPicus is expecting sockets to be closed only by SocketInputStream where as in the case of HttpUrlConnection sockets are closed directly by HttpClient or by KeepAliveCache depending on whether keep-alive is on. Either ways the socket resource is closed and only the wrapper java.net.SocketInputStream is waiting for finalization. This is an acceptable situation and should not be reported as "still open". Inspection of a heapdump of the process validated this and I have a small test case.

  18. Guest

    Updating to1.6.0u14 resolved the error:

      Unconnected Sockets not implemented

    but I am still receiving:

    No repository found at https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus

    is anyone else still having trouble after updating to latest jre?

     I am able to see the site.xml file using the link

     https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus/site.xml

    I am using Eclipse Platform Version: 3.4.0
    Build id: I20080617-2000

  19. @fiazhossain - the socket tracking functionality is not really supported yet. It works partially by accident because Socket sreams use file streams internally. This functionality is expected in the next version of JPicus

    @mstrong - can you try it out with a newer version of Eclipse. As far as I remember there were some problems with 3.4.0 indeed. Eclipse 3.4.2 shall be fine.

  20. Guest

    Thanks Paul, 3.4.2 did the trick.

  21. Guest

    Hi. I was wondering if there is a way to export my JPicus snapshot to another format such as an xml file or text, etc. The results that I get are great, but I'm having a hard time filtering out the things I don't need. I'm hoping maybe I could get it into a format I could search on. As a future feature it would be nice to have some filtering or searching tools built into the eclipse plugin. Thanks for the great tool though!

  22. Guest

    Hi dhaworth,

    At first step we could implement a Copy functionality. This way you could select all the handles in the Handles view, Copy and paste in a text editor. Others, more comprehensive search techniques are also part of our plan. Thank you for your feedback.

  23. Dear community,

    since this section has grown a lot (which makes me very happy (smile) ) I encourage you to start using the Java Development  SDN forum. Feel free to open a new thread about a problem or an idea that you might have.

  24. Guest

    Cant download plugin for eclipse
    if i put URL to browser get 404
    if from eclipse get
    saved login details are not accepted
    Please provide login deteils for sdn.sap.com

    but name and password correct (before download agent)

  25. Guest

    I am also facing same issue. Even though the login info is correct, its showing login error messages.

    Please help me....

  26. Guest

    Anybody managed to resolve the login issues faced by valenpo and nikhilr . I am also facing similar issues and nothing seems to work. Please post a solution if any.

  27. Hi,

    Sorry for the delay. The problem that you are experiencing is due to the recently introduced incompatibility between the SDN servers and Eclipse 3.5. As a workaround you could install the JPicus feature to Eclipse 3.4 and then copy the plugins manually to Eclipse 3.5. I hope this helps.

    Best Regards,

    Pavel

  28. Guest

    Hi,

    This looks like a great tool, and I'm very eager to try it out. However, I'm having trouble installing it.

    I'm using Eclipse 3.4.2, Build id: M20090211-1700, with Java 1.6.0_20, but when I try to add the update site I get this error message:

    No repository found at https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus
      Error reading update site https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus.
      White spaces are required between publicId and systemId.

    I'm using the same username and password that I used to download the JAR file, so I think I'm doing that part correctly. This URL does not work for me when I load it in Firefox:

    https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus/site.xml
    

    Is something wrong with the update site? Thanks for your help.

    -Hans

  29. Hi Hans,

    I tried to reproduce the problem that you are having and got this message in Eclipse (Helios SR1) :

    HTTP Server 'Internal Error': https://downloads.sdn.sap.com/netweaver/previews/eclipse/340/jpicus/content.xml
    HTTP Server 'Internal Error': https://downloads.sdn.sap.com/netweaver/previews/eclipse/340/jpicus/content.xml
    HttpClient connection error response code 500.
    HTTP Server 'Internal Error': https://downloads.sdn.sap.com/netweaver/previews/eclipse/340/jpicus/content.xml

    HTTP Server 'Internal Error': https://downloads.sdn.sap.com/netweaver/previews/eclipse/340/jpicus/content.xml

    HttpClient connection error response code 500.

    I have forwarded this to our technical staff that is responsible for SDN and I am awaiting a response.

    Best Regards,

    Pavel

  30. Guest

    I would like to use JPicus but I can't download the plugin. I am using Eclipse Indigo and when I try to install the plugin from https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus

    I am asked to enter my username/password over and over. I made sure I am using my SDN user (my d-number in lowercase) and my sdn password. I can login to SDN with these credentials from within the SAP intranet. After login to SDN when I paste the URL https://www.sdn.sap.com/downloads/netweaver/previews/eclipse/340/jpicus/site.xml I do see the xml file content!

    Where can I get the plugin? Is there a zipped version somewhere?