3 Replies Latest reply on May 19, 2004 8:10 AM by adrian.brock

    Deployment of an lib jar fails on Solaris

    microbiotic

      Hi,

      I' ve a problem on deploying a rar with an embedded lib.

      Always when I deploy the rar on Solaris 8/Jboss 3.2.3 I get an Exception during deployment of my ear and the whole ear won't deploy.

      "Could not read dd; - nested throwable: (java.net.SocketException: Network is unreachable)".

      I don't know why jboss tries to deploy this jar in ./lib/commons-net-1.1.0.jar. On my Windows machine I don't get this Exception. Am I missing something? Well there is no deployment descriptor (is this the meaning of "dd" in the exception message?) in the jar but why does Jboss try to deploy this jar? I don' t know if its necessary. The manifest of the rar looks like this:

      Manifest-Version: 1.0
      Ant-Version: Apache Ant 1.6.0
      Created-By: 1.4.2_04-b05 (Sun Microsystems Inc.)
      Class-Path: lib/commons-net-1.1.0.jar

      Thanks a lot for help!

      Greets,
      Marcel

      The deployment output here:

      2004-05-15 22:57:58,805 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/opt/jboss-3.2.3/server/default/deploy/vmdb-dc-0.1.ear
      [...]
      2004-05-15 22:58:05,597 INFO [org.jboss.resource.RARDeployer] nested deployment: file:/opt/jboss-3.2.3/server/default/tmp/deploy/tmp33277vmdb-dc-0.1.ear-contents/vmdb/jca/FTPResourceAdaptor.rar-contents/META-INF/ftpra-ds.xml
      2004-05-15 22:58:05,682 INFO [org.jboss.resource.RARDeployer] nested deployment: file:/opt/jboss-3.2.3/server/default/tmp/deploy/tmp33277vmdb-dc-0.1.ear-contents/vmdb/jca/FTPResourceAdaptor.rar-contents/commons-net-1.1.0.jar
      2004-05-15 22:58:05,872 INFO [org.jboss.resource.RARDeployer] nested deployment: file:/opt/jboss-3.2.3/server/default/tmp/deploy/tmp33277vmdb-dc-0.1.ear-contents/vmdb/jca/FTPResourceAdaptor.rar-contents/lib/commons-net-1.1.0.jar
      2004-05-15 22:58:06,223 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deloyment: file:/opt/jboss-3.2.3/server/default/deploy/vmdb-dc-0.1.ear
      org.jboss.deployment.DeploymentException: Could not read dd; - nested throwable: (java.net.SocketException: Network is unreachable)
      at org.jboss.deployment.XSLSubDeployer.findDd(XSLSubDeployer.java:272)
      at org.jboss.deployment.XSLSubDeployer.init(XSLSubDeployer.java:192)