You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Delos Dai (JIRA)" <ji...@apache.org> on 2010/09/07 05:48:57 UTC
[jira] Closed: (GERONIMODEVTOOLS-671) cannot start geronimo after
adding javaagent arguements
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Delos Dai closed GERONIMODEVTOOLS-671.
--------------------------------------
Resolution: Fixed
Thanks, Han Hong Fang! Since it's an issue of server, let's close it
> cannot start geronimo after adding javaagent arguements
> -------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-671
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-671
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 3.0
> Environment: OS:windows xp
> Eclipse :3.6
> Geronimo :3.0
> Reporter: Lu Jiang
> Assignee: Delos Dai
> Priority: Minor
> Attachments: jpa.jar
>
>
> Add something like -javaagent:"D:/jpa.jar" to Server VM arguements in eclipse.
> Then geronimo will fail to start for the following error:
> java.lang.reflect.InvocationTargetException
> 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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323)
> at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
> Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at org.apache.openjpa.enhance.PCEnhancerAgent.premain(PCEnhancerAgent.java:127)
> ... 6 more
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.exception.NestableRuntimeException
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> ... 19 more
> Exception in thread "main" FATAL ERROR in native method: processing of -javaagent failed
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.