1 Reply Latest reply on Feb 23, 2005 7:07 PM by taliz of TK

    org.jboss.deployment.DeploymentException: Connection timed o

    chris75be Newbie

      Hello,

      I have problems deploying a simple EJB.
      The error I get is the following:
      2004-06-09 14:24:06,596 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@ef80c59{ url=file:/C:/jboss-3.2.3/server/default/deploy/myEJB.jar, deployedLastModified=1086782907787 }
      org.jboss.deployment.DeploymentException: Connection timed out: connect; - nested throwable: (java.net.ConnectException: Connection timed out: connect)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:316)


      The ejb-jar.xml I have is like that:
      <?xml version="1.0"?>

      <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Entreprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">

      <ejb-jar>
      <enterprise-beans>

      <ejb-name>SayHello</ejb-name>
      myApps.myEJBs.SayHelloHome
      myAppsd.myEJBs.SayHelloRemote
      <ejb-class>myApps.myEJBs.SayHelloBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>

      </enterprise-beans>
      <assembly-descriptor>
      <security-role>
      main role
      <role-name>everyone</role-name>
      </security-role>
      <method-permission>
      <role-name>everyone</role-name>

      <ejb-name>SayHello</ejb-name>
      <method-name>*</method-name>

      </method-permission>
      <container-transaction>

      <ejb-name>SayHello</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      </assembly-descriptor>
      </ejb-jar>

      Where does this problem come from?
      Thank you
      Christophe