geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Han Hong Fang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMODEVTOOLS-671) cannot start geronimo after adding javaagent arguements
Date Thu, 26 Aug 2010 07:16:53 GMT

    [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902757#action_12902757
] 

Han Hong Fang commented on GERONIMODEVTOOLS-671:
------------------------------------------------

I can successfully start Geronimo in eclipse and outside eclilpse using -javaagent argument
 pointing to a dummy agent which does nothing except prints a greeting message.

Can you upload your jpa.jar for problem reproducing?

Regards,

Han Hong Fang

> 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
>
> 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.


Mime
View raw message