Hi,
I have set the -javaagent in the run.bat (set JAVA_OPTS=%JAVA_OPTS%
-javaagent:%JBOSS_ENDORSED_DIRS%\pluggable-instrumentor.jar), But i have got following
exception.Please help.
2008-05-05 05:30:40,515 INFO [org.jboss.naming.NamingService:349] JNDI bootstrap
JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server
SocketFactory=class org.jboss.net.sockets.Defaul
2008-05-05 05:30:44,515 INFO [org.apache.catalina.startup.Embedded:94] Catalina naming
disabled
2008-05-05 05:30:44,937 ERROR [STDERR:152] [warn] AOP Instrumentor failed to transform
org.apache.catalina.core.StandardServer
2008-05-05 05:30:44,937 ERROR [STDERR:152]
org.jboss.aop.instrument.TransformationException: Failed to aspectize class
org.apache.catalina.core.StandardServer. Could not find class it references
org.apache.catal
not be in your classpath and you may not be getting field and constructor weaving for
this class.
2008-05-05 05:30:44,937 ERROR [STDERR:152] at
org.jboss.aop.instrument.Instrumentor.convertReferences(Instrumentor.java:619)
2008-05-05 05:30:44,937 ERROR [STDERR:152] at
org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:673)
2008-05-05 05:30:44,937 ERROR [STDERR:152] at
org.jboss.aop.AspectManager.translate(AspectManager.java:970)
2008-05-05 05:30:44,937 ERROR [STDERR:152] at
org.jboss.aop.AspectManager.transform(AspectManager.java:882)
2008-05-05 05:30:44,953 ERROR [STDERR:152] at
org.jboss.aop.standalone.AOPTransformer.aspectTransform(AOPTransformer.java:88)
2008-05-05 05:30:44,953 ERROR [STDERR:152] at
org.jboss.aop.standalone.AOPTransformer.transform(AOPTransformer.java:75)
2008-05-05 05:30:44,953 ERROR [STDERR:152] at
sun.instrument.TransformerManager.transform(TransformerManager.java:122)
2008-05-05 05:30:44,953 ERROR [STDERR:152] at
sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155)
2008-05-05 05:30:44,953 ERROR [STDERR:152] at
java.lang.ClassLoader.defineClass1(Native Method)
2008-05-05 05:30:44,953 ERROR [STDERR:152] at
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
2008-05-05 05:30:44,953 ERROR [STDERR:152] at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
2008-05-05 05:30:44,968 ERROR [STDERR:152] at
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
2008-05-05 05:30:44,968 ERROR [STDERR:152] at
java.net.URLClassLoader.access$100(URLClassLoader.java:56)
2008-05-05 05:30:44,968 ERROR [STDERR:152] at
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
2008-05-05 05:30:44,968 ERROR [STDERR:152] at
java.security.AccessController.doPrivileged(Native Method)
2008-05-05 05:30:44,968 ERROR [STDERR:152] at
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
2008-05-05 05:30:44,968 ERROR [STDERR:152] at
org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672)
2008-05-05 05:30:44,968 ERROR [STDERR:152] at
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652)
2008-05-05 05:30:44,968 ERROR [STDERR:152] at
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
2008-05-05 05:30:44,968 ERROR [STDERR:152] at
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
2008-05-05 05:30:44,968 ERROR [STDERR:152] at
org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
2008-05-05 05:30:44,968 ERROR [STDERR:152] at
org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
2008-05-05 05:30:44,984 ERROR [STDERR:152] at
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517)
2008-05-05 05:30:44,984 ERROR [STDERR:152] at
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
2008-05-05 05:30:44,984 ERROR [STDERR:152] at
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
2008-05-05 05:30:44,984 ERROR [STDERR:152] at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
2008-05-05 05:30:45,000 ERROR [STDERR:152] at java.lang.Class.forName0(Native
Method)
2008-05-05 05:30:45,000 ERROR [STDERR:152] at
java.lang.Class.forName(Class.java:164)
2008-05-05 05:30:45,000 ERROR [STDERR:152] at
org.apache.catalina.startup.Catalina.class$(Catalina.java:73)
2008-05-05 05:30:45,000 ERROR [STDERR:152] at
org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:262)
2008-05-05 05:30:45,000 ERROR [STDERR:152] at
org.apache.catalina.startup.Catalina.load(Catalina.java:440)
2008-05-05 05:30:45,000 ERROR [STDERR:152] at
org.apache.catalina.startup.Catalina.start(Catalina.java:543)
2008-05-05 05:30:45,000 ERROR [STDERR:152] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2008-05-05 05:30:45,000 ERROR [STDERR:152] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2008-05-05 05:30:45,000 ERROR [STDERR:152] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2008-05-05 05:30:45,015 ERROR [STDERR:152] at
java.lang.reflect.Method.invoke(Method.java:585)
2008-05-05 05:30:45,015 ERROR [STDERR:152] at
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
2008-05-05 05:30:45,015 ERROR [STDERR:152] at
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
2008-05-05 05:30:45,015 ERROR [STDERR:152] at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2008-05-05 05:30:45,015 ERROR [STDERR:152] at
org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:405)
2008-05-05 05:30:45,015 ERROR [STDERR:152] at
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
2008-05-05 05:30:45,015 ERROR [STDERR:152] at
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
2008-05-05 05:30:45,015 ERROR [STDERR:152] at
sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
2008-05-05 05:30:45,015 ERROR [STDERR:152] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2008-05-05 05:30:45,015 ERROR [STDERR:152] at
java.lang.reflect.Method.invoke(Method.java:585)
2008-05-05 05:30:45,015 ERROR [STDERR:152] at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2008-05-05 05:30:45,031 ERROR [STDERR:152] at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2008-05-05 05:30:45,031 ERROR [STDERR:152] at
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
2008-05-05 05:30:45,031 ERROR [STDERR:152] at
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2008-05-05 05:30:45,031 ERROR [STDERR:152] at
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
2008-05-05 05:30:45,031 ERROR [STDERR:152] at
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
2008-05-05 05:30:45,031 ERROR [STDERR:152] at
org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124)
2008-05-05 05:30:45,031 ERROR [STDERR:152] at
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:109)
2008-05-05 05:30:45,031 ERROR [STDERR:152] at
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
2008-05-05 05:30:45,031 ERROR [STDERR:152] at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2008-05-05 05:30:45,031 ERROR [STDERR:152] at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
2008-05-05 05:30:45,046 ERROR [STDERR:152] at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
2008-05-05 05:30:45,046 ERROR [STDERR:152] at $Proxy0.start(Unknown Source)
2008-05-05 05:30:45,046 ERROR [STDERR:152] at
org.jboss.system.ServiceController.start(ServiceController.java:417)
2008-05-05 05:30:45,046 ERROR [STDERR:152] at
org.jboss.system.ServiceController.start(ServiceController.java:435)
2008-05-05 05:30:45,046 ERROR [STDERR:152] at
sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
2008-05-05 05:30:45,046 ERROR [STDERR:152] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2008-05-05 05:30:45,046 ERROR [STDERR:152] at
java.lang.reflect.Method.invoke(Method.java:585)
2008-05-05 05:30:45,046 ERROR [STDERR:152] at
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
2008-05-05 05:30:45,062 ERROR [STDERR:152] at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
2008-05-05 05:30:45,062 ERROR [STDERR:152] at
org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
2008-05-05 05:30:45,062 ERROR [STDERR:152] at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
2008-05-05 05:30:45,140 ERROR [STDERR:152] at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148567#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...