Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting exception running visualgc

rita_7856Mar 6 2015 — edited Mar 6 2015

Hi Everyone,

I Installed jvmstat and setup environment variables, and when I try to run:

$ visualgc 4117

Exception in thread "main" java.lang.NullPointerException

    at com.sun.jvmstat.tools.visualgc.MonitoredVmModel.getPermUsed(MonitoredVmModel.java:302)

    at com.sun.jvmstat.tools.visualgc.GCSample.<init>(GCSample.java:139)

    at com.sun.jvmstat.tools.visualgc.VisualGC.main(VisualGC.java:128)

Has anyone face this type of problem before?

Thanks

RR

Comments

Jonathan Hult

Can you use a web server (such as Apache or nginx) to front-end WebCenter Content? If so, you can very easily make this happen with URL rewrites (instead of WebUrlMaps).

Jonathan

http://jonathanhult.com

shwetha nayak-Oracle

Thanks for your quick reply Jonathan. But we will not be able to use a web server to front end WebCenter content.

We will be invoking the jsp present in web center content from our application using  WebUrlMaps i.e  http://rws60121rems.us.oracle.com:16203/contentstorage/Ucm Folder1/helloWorld.jsp and we want the jsp to be executed, inorder to refer other files in that folder("UCM Folder1") relative to the jsp. So this is not achievable?

Thanks,

Shwetha

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 3 2015
Added on Mar 6 2015
0 comments
1,313 views