0 Replies Latest reply on Aug 19, 2004 5:48 PM by ryano

    Setting EnableTransformer Causes Numerous Stack Traces On St

    ryano Newbie

      Hello,

      I'm attempting to deploy a simple stateless session bean with an interceptor. I've tried my own example and I also grabbed the jboss-head and tried using the new injboss example as a guide. I'm not having much luck. I'm using JBoss RC 1. Specifically, I stopped the server and modified the jboss/server/default/conf/jboss-service.xml by setting the EnableTransformer to true. When I restart the server I get quite a few stack traces, see a small sample at the bottom of this post. Can these be ignored or are they real issues? When I deployed the injboss sample ear I received the following error which seems to indicate the startup errors must be real issues. Am I doing something wrong?


      undeploy-wait:
      [echo] Waiting for undeploy to take effect...

      deploy-ear-aop:
      [copy] Copying 1 file to C:\jboss-4.0.0RC1\server\default\deploy
      [echo] =============================================================
      [echo] Classes have not been aop'ed - run JBoss with enable transformations = true
      [echo] Deploying ear containing a lib.aop file containing the jboss-aop.xml file
      [echo] =============================================================


      Sample stack trace:
      ================

      15:39:48,391 INFO [WebService] Using RMI server codebase: http://caseylou2:8083/
      15:39:48,751 INFO [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=50, bindAdd
      ress=null, Client SocketFactory=null, Server SocketFactory=null
      15:39:50,803 ERROR [STDERR] [warn] AOP Instrumentor failed to transform org.jboss.webservi
      ce.AxisService
      15:39:50,803 ERROR [STDERR] java.lang.RuntimeException: ***** trying to convertReferences
      of class: org.jboss.webservice.AxisService of ref org.jboss.webservice.deployment.ServiceD
      escription
      15:39:50,803 ERROR [STDERR] at org.jboss.aop.instrument.Instrumentor.convertReferences
      (Instrumentor.java:485)
      15:39:50,803 ERROR [STDERR] at org.jboss.aop.instrument.Instrumentor.transform(Instrum
      entor.java:518)
      15:39:50,803 ERROR [STDERR] at org.jboss.aop.AspectManager.translate(AspectManager.jav
      a:509)
      15:39:50,834 ERROR [STDERR] at org.jboss.aop.AspectManager.transform(AspectManager.jav
      a:463)
      15:39:50,834 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.findClass(Re
      positoryClassLoader.java:573)
      15:39:50,834 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      15:39:50,834 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassLoc
      ally(RepositoryClassLoader.java:160)
      15:39:50,834 ERROR [STDERR] at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(Cl
      assLoadingTask.java:119)
      15:39:50,850 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:38
      5)
      15:39:50,881 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImp
      l(RepositoryClassLoader.java:469)
      15:39:50,881 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(Re
      positoryClassLoader.java:374)
      15:39:50,881 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      15:39:50,881 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanSe
      rverImpl.java:1180)
      15:39:50,881 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanSe
      rverImpl.java:269)
      15:39:50,881 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanSe
      rverImpl.java:327)
      15:39:51,006 ERROR [STDERR] at org.jboss.system.ServiceCreator.install(ServiceCreator.
      java:98)
      15:39:51,038 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.internalInstall(Se
      rviceConfigurator.java:149)
      15:39:51,038 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.install(ServiceCon
      figurator.java:114)
      15:39:51,038 ERROR [STDERR] at org.jboss.system.ServiceController.install(ServiceContr
      oller.java:200)
      15:39:51,038 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Met
      hod)