1 Reply Latest reply on Jul 16, 2002 6:06 AM by Bruce Scharlau

    JBoss.net deployment stopped by java.lang.LinkageError

    Matt Munz Newbie

      JBoss.net folks,

      Could you take a look at the following and help me figure out what's going on? Is there a problem with tt-bytecode.jar?

      - Matt

      Setup: w2k, jdk1.4.1, build from latest source. I made a copy of the default configuration and renamed it "terminology". I then droped jboss-net.sar into the deploy folder.

      Output:

      16:59:31,456 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@48288517
      { url=file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.1.0alpha/server/terminology/deploy/jboss-net.sar, deployedLastMod
      ified=0 }
      org.jboss.deployment.DeploymentException: Could not create deployment: file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.
      1.0alpha/server/terminology/deploy/jboss-net.sar; - nested throwable: (java.lang.LinkageError: duplicate class definition: com/tec
      htrader/modules/tools/bytecode/Code)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:821)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:634)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:599)
      at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:381)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:576)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:449)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:187)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:197)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:177)
      Caused by: java.lang.LinkageError: duplicate class definition: com/techtrader/modules/tools/bytecode/Code
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
      at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java:226)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
      at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoader.java:234)
      at org.jboss.mx.loading.UnifiedLoaderRepository.loadClassFromRepository(UnifiedLoaderRepository.java:507)
      at org.jboss.mx.loading.UnifiedLoaderRepository.loadClass(UnifiedLoaderRepository.java:179)
      at org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoader.java:283)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
      at org.apache.axis.AxisEngine.init(AxisEngine.java:182)
      at org.apache.axis.AxisEngine.(AxisEngine.java:174)
      at org.apache.axis.server.AxisServer.(AxisServer.java:121)
      at org.jboss.net.axis.server.AxisService.ensureService(AxisService.java:231)
      at org.jboss.net.axis.server.AxisService.startService(AxisService.java:263)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
      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:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:948)
      at $Proxy9.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:383)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy5.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:297)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:804)
      ... 15 more
      16:59:36,474 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@48288517 { url=file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.1.0alpha/server/ter
      minology/deploy/jboss-net.sar }
      deployer: org.jboss.deployment.SARDeployer@17ce4e7
      status: Deployment FAILED reason: duplicate class definition: com/techtrader/modules/tools/bytecode/Code
      watch: file:/D:/programs/jboss-src/jboss-all/build/output/jboss-3.1.0alpha/server/terminology/deploy/jboss-net.sar
      lastDeployed: 1026766771076
      lastModified: 1026766770224
      mbeans:
      jboss.net:service=Axis state: Starting
      jboss.net:service=Adaptor state: Stopped
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.net:service=Adaptor
      state: CREATED
      I Depend On: jboss.net:service=Axis

      Depends On Me: ]