4 Replies Latest reply on Jul 23, 2003 12:00 AM by olof

    Error when deploy .jar

    olof Newbie

      Hi,

      I'm new to JBoss and to J2EE. I follow a tutorial and create a simple EJB session (HelloWorld).

      I package it in .jar and drop this .jar in the deploy directory.

      I receive this message (only 10 first lines) :

      16:12:11,721 INFO [MainDeployer] Starting deployment of package: file:/C:/java/
      jboss-3.2.1/server/default/deploy/HelloServer.jar
      16:12:32,705 ERROR [MainDeployer] could not create deployment: file:/C:/java/jbo
      ss-3.2.1/server/default/deploy/HelloServer.jar
      org.jboss.deployment.DeploymentException: Connection timed out: connect; - neste
      d throwable: (java.net.ConnectException: Connection timed out: connect)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:316)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.jav
      a:219)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:137)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:433)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)


      I use JBoss 3.2.1.

      Any idea ? More informations ?

      Thank you !!