2 Replies Latest reply on Feb 19, 2004 2:57 PM by jacklyn

    [NestedThrowable] Duplicate throwable nesting of same base t

    jacklyn

      Ok, first of all, I've got:

      Eclipse 2.1.2
      Lomboz 2.1.2
      JBoss 3.2.3

      Can anybody help me with the "jboss323all.server" configuration?

      My "jboss323all.server":

      <serverDefinition
       name="JBOSS 3.2.3 ALL"
       ejbModules="true"
       webModules="true"
       earModules="true">
      <property id="serverRootDirectory"
       label="Application Server Directory:"
       type="directory"
       default="C:/jboss-3.2.3" />
      <property id="serverAddress"
       label="Address:"
       type="string"
       default="127.0.0.1" />
      <property id="serverPort"
       label="Port:"
       type="string"
       default="8080" />
      <property id="classPathVariableName"
       label="Classpath Variable Name:"
       type="string"
       default="JBOSS323" />
      <property id="classPath"
       label="Classpath Variable:"
       type="directory"
       default="C:/jboss-3.2.3" />
      <serverHome></serverHome>
      <webModulesDeployDirectory>/server/all/deploy</webModulesDeployDirectory>
      <ejbModulesDeployDirectory>/server/all/deploy</ejbModulesDeployDirectory>
      <earModulesDeployDirectory>/server/all/deploy</earModulesDeployDirectory>
      <jndiInitialContextFactory>org.jnp.interfaces.NamingContextFactory</jndiInitialContextFactory>
      <jndiProviderUrl>jnp://:1099</jndiProviderUrl>
      <startClass>org.jboss.Main</startClass>
      <startWorkingDirectory>/bin</startWorkingDirectory>
      <startVmParameters></startVmParameters>
      <startProgramArguments>-c all</startProgramArguments>
      <stopClass>org.jboss.Shutdown</stopClass>
      <stopWorkingDirectory>/bin</stopWorkingDirectory>
      <stopVmParameters></stopVmParameters>
      <stopProgramArguments> </stopProgramArguments>
      <serverClassPath>
       <jar type="variable">JDK_TOOLS</jar>
       <jar type="variable">/bin/run.jar</jar>
       <jar type="variable">/bin/shutdown.jar</jar>
       <jar type="variable">/client/jboss-j2ee.jar</jar>
       <jar type="variable">/server/all/lib/javax.servlet.jar</jar>
       <jar type="variable">/lib/commons-httpclient.jar</jar>
       <jar type="variable">/lib/concurrent.jar</jar>
       <jar type="variable">/lib/getopt.jar</jar>
       <jar type="variable">/lib/gnu-regexp.jar</jar>
       <jar type="variable">/lib/jboss-boot.jar</jar>
       <jar type="variable">/lib/jboss-common.jar</jar>
       <jar type="variable">/lib/jboss-jmx.jar</jar>
       <jar type="variable">/lib/jboss-system.jar</jar>
       <jar type="variable">/lib/jdom.jar</jar>
       <jar type="variable">/lib/log4j-boot.jar</jar>
       <jar type="variable">/lib/webdavlib.jar</jar>
       <jar type="variable">/lib/xercesImpl.jar</jar>
       <jar type="variable">/lib/xml-apis.jar</jar>
       <jar type="variable">/server/all/lib/bcel.jar</jar>
       <jar type="variable">/server/all/lib/hsqldb.jar</jar>
       <jar type="variable">/server/all/lib/hsqldb-plugin.jar</jar>
       <jar type="variable">/server/all/lib/jboss.jar</jar>
       <jar type="variable">/server/all/lib/jbossha.jar</jar>
       <jar type="variable">/server/all/lib/jboss-j2ee.jar</jar>
       <jar type="variable">/server/all/lib/jboss-jaas.jar</jar>
       <jar type="variable">/server/all/lib/jboss-jsr77.jar</jar>
       <jar type="variable">/server/all/lib/jboss-management.jar</jar>
       <jar type="variable">/server/all/lib/jbossmq.jar</jar>
       <jar type="variable">/server/all/lib/jbosssx.jar</jar>
       <jar type="variable">/server/all/lib/jboss-transaction.jar</jar>
       <jar type="variable">/server/all/lib/jgroups.jar</jar>
       <jar type="variable">/server/all/lib/jnpserver.jar</jar>
       <jar type="variable">/server/all/lib/jpl-pattern.jar</jar>
       <jar type="variable">/server/all/lib/jpl-util.jar</jar>
       <jar type="variable">/server/all/lib/jsse.jar</jar>
       <jar type="variable">/server/all/lib/jts.jar</jar>
       <jar type="variable">/server/all/lib/log4j.jar</jar>
      </serverClassPath>
      <clientClassPath>
       <jar type="variable">/client/jboss-j2ee.jar</jar>
       <jar type="variable">/client/jnp-client.jar</jar>
       <jar type="variable">/client/jboss-client.jar</jar>
       <jar type="variable">/client/jboss-common-client.jar</jar>
       <jar type="variable">/client/jbosssx-client.jar</jar>
       <jar type="variable">/client/log4j.jar</jar>
       <jar type="variable">/client/jnet.jar</jar>
       <jar type="variable">/client/jaas.jar</jar>
      </clientClassPath>
      <projectClassPath>
       <jar type="variable">JDK_TOOLS</jar>
       <jar type="variable">/bin/run.jar</jar>
       <jar type="variable">/bin/shutdown.jar</jar>
       <jar type="variable">/client/jboss-j2ee.jar</jar>
       <jar type="variable">/server/all/lib/javax.servlet.jar</jar>
       <jar type="variable">/lib/commons-httpclient.jar</jar>
       <jar type="variable">/lib/concurrent.jar</jar>
       <jar type="variable">/lib/getopt.jar</jar>
       <jar type="variable">/lib/gnu-regexp.jar</jar>
       <jar type="variable">/lib/jboss-boot.jar</jar>
       <jar type="variable">/lib/jboss-common.jar</jar>
       <jar type="variable">/lib/jboss-jmx.jar</jar>
       <jar type="variable">/lib/jboss-system.jar</jar>
       <jar type="variable">/lib/jdom.jar</jar>
       <jar type="variable">/lib/log4j-boot.jar</jar>
       <jar type="variable">/lib/webdavlib.jar</jar>
       <jar type="variable">/lib/xercesImpl.jar</jar>
       <jar type="variable">/lib/xml-apis.jar</jar>
       <jar type="variable">/server/all/lib/bcel.jar</jar>
       <jar type="variable">/server/all/lib/hsqldb.jar</jar>
       <jar type="variable">/server/all/lib/hsqldb-plugin.jar</jar>
       <jar type="variable">/server/all/lib/jboss.jar</jar>
       <jar type="variable">/server/all/lib/jbossha.jar</jar>
       <jar type="variable">/server/all/lib/jboss-j2ee.jar</jar>
       <jar type="variable">/server/all/lib/jboss-jaas.jar</jar>
       <jar type="variable">/server/all/lib/jboss-jsr77.jar</jar>
       <jar type="variable">/server/all/lib/jboss-management.jar</jar>
       <jar type="variable">/server/all/lib/jbossmq.jar</jar>
       <jar type="variable">/server/all/lib/jbosssx.jar</jar>
       <jar type="variable">/server/all/lib/jboss-transaction.jar</jar>
       <jar type="variable">/server/all/lib/jgroups.jar</jar>
       <jar type="variable">/server/all/lib/jnpserver.jar</jar>
       <jar type="variable">/server/all/lib/jpl-pattern.jar</jar>
       <jar type="variable">/server/all/lib/jpl-util.jar</jar>
       <jar type="variable">/server/all/lib/jsse.jar</jar>
       <jar type="variable">/server/all/lib/jts.jar</jar>
       <jar type="variable">/server/all/lib/log4j.jar</jar>
      </projectClassPath>
      </serverDefinition>


      My problem: When I right click on my JBOSS icon in Lomboz J2EE View, and select option "Debug Server", in the console I
      keep getting:

      ...
      13:02:27,653 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
      13:02:27,663 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.3/server/all/deploy/jboss-net.sar/
      org.jboss.deployment.DeploymentException: create operation failed for package file:/C:/jboss-3.2.3/server/all/deploy/jboss-net.sar/; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
       at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy6.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
       at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:394)
       at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy5.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
       at org.jboss.Main.boot(Main.java:150)
       at org.jboss.Main$1.run(Main.java:395)
       at java.lang.Thread.run(Unknown Source)
      Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
       at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139)
       at org.jboss.system.ServiceController.install(ServiceController.java:225)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy4.install(Unknown Source)
       at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
       ... 49 more


      What is this WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException ?

        • 1. Re: [NestedThrowable] Duplicate throwable nesting of same ba

          Eh? I think you might be in the wrong forum... I haven't a clue what this is about and it doesn't look like anything in the "Getting Started" docs.

          Luke.

          • 2. Re: [NestedThrowable] Duplicate throwable nesting of same ba
            jacklyn

            Maybe...But I'm new at JBoss/Eclipse and someone recommended: "Tutorial for building J2EE Application using JBoss and Eclipse": http://www.tusc.com.au/tutorial/html

            I'm at the beginning of the tutorial and after adding a Web Module and a EJB Module, following the instructions at the tutorial, I need to start the server. It starts without halting, but at the console there is some warnings that I posted here. I've had other problems initializing before and it was all corrected in the jboss323.server file, adding some classpaths, so I supposed the errors I'm getting now is related to this file.

            I just want to know what to put in this file.