1 Reply Latest reply on Aug 1, 2003 8:43 AM by juraj

    EJB Invocation fails

    juraj Newbie



      <![CDATA[]]>

      <ejb-name>BANFEJB</ejb-name>

      com.tsystems.ik.ejb.sap.banf.BANFEJBHome
      com.tsystems.ik.ejb.sap.banf.BANFEJB
      <local-home>com.tsystems.ik.ejb.sap.banf.BANFEJBLocalHome</local-home>
      com.tsystems.ik.ejb.sap.banf.BANFEJBLocal
      <ejb-class>com.tsystems.ik.ejb.sap.banf.BANFEJB</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>

        • 1. Re: EJB Invocation fails
          juraj Newbie

          sorry wrong message.

          Hi,

          after I request an EJb via JNDI, I get this exception. I have no idea what this means. Any ideas?

          juraj

          ejb-jar.xml:


          <![CDATA[]]>

          <ejb-name>BANFEJB</ejb-name>

          com.tsystems.ik.ejb.sap.banf.BANFEJBHome
          com.tsystems.ik.ejb.sap.banf.BANFEJB
          <local-home>com.tsystems.ik.ejb.sap.banf.BANFEJBLocalHome</local-home>
          com.tsystems.ik.ejb.sap.banf.BANFEJBLocal
          <ejb-class>com.tsystems.ik.ejb.sap.banf.BANFEJB</ejb-class>
          <session-type>Stateless</session-type>
          <transaction-type>Container</transaction-type>



          jboss.xml:
          <?xml version="1.0" encoding="UTF-8"?>
          <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.1//EN" "http://www.jboss.org/j2ee/dtd/jboss_3_1.dtd">



          <enterprise-beans>

          <!--
          To add beans that you have deployment descriptor info for, add
          a file to your XDoclet merge directory called jboss-beans.xml that contains
          the , and <message-driven></message-driven>
          markup for those beans.
          -->


          <ejb-name>BANFEJB</ejb-name>
          <jndi-name>ejb/sap/ek/BANFEJB</jndi-name>
          <local-jndi-name>ejb/sap/ek/local/BANFEJB</local-jndi-name>


          </enterprise-beans>

          <resource-managers>
          </resource-managers>




          Exception:

          $ 16:28:02,031 WARN [NestedThrowable] Duplicate throwable nesting of same base
          type: class org.jboss.deployment.DeploymentException is assignable from: class o
          rg.jboss.deployment.DeploymentException
          16:28:02,031 WARN [NestedThrowable] Duplicate throwable nesting of same base ty
          pe: class org.jboss.deployment.DeploymentException is assignable from: class org
          .jboss.deployment.DeploymentException
          16:28:02,031 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
          .scanner.URLDeploymentScanner$DeployedURL@e0c570fd{ url=file:/D:/dev/server/jbos
          s-3.2.1/server/default/deploy/IKEJB.ear, deployedLastModified=0 }
          org.jboss.deployment.DeploymentException: exception in init of file:/D:/dev/serv
          er/jboss-3.2.1/server/default/deploy/IKEJB.ear; - nested throwable: (org.jboss.d
          eployment.DeploymentException: exception in init of file:/D:/dev/server/jboss-3.
          2.1/server/default/tmp/deploy/server/default/deploy/IKEJB.ear/31.IKEJB.ear-conte
          nts/SAPBANF.jar; - nested throwable: (org.jboss.deployment.DeploymentException:
          Operation timed out: connect; - nested throwable: (java.net.ConnectException: Op
          eration timed out: connect)))
          at org.jboss.deployment.MainDeployer.init(MainDeployer.java:720)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
          at java.lang.reflect.Method.invoke(Native Method)
          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
          nDispatcher.java:284)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy7.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
          tScanner.java:302)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
          canner.java:476)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          doScan(AbstractDeploymentScanner.java:200)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          loop(AbstractDeploymentScanner.java:211)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          run(AbstractDeploymentScanner.java:190)
          + nested throwable:
          org.jboss.deployment.DeploymentException: exception in init of file:/D:/dev/serv
          er/jboss-3.2.1/server/default/tmp/deploy/server/default/deploy/IKEJB.ear/31.IKEJ
          B.ear-contents/SAPBANF.jar; - nested throwable: (org.jboss.deployment.Deployment
          Exception: Operation timed out: connect; - nested throwable: (java.net.ConnectEx
          ception: Operation timed out: connect))
          at org.jboss.deployment.MainDeployer.init(MainDeployer.java:720)
          at org.jboss.deployment.MainDeployer.init(MainDeployer.java:714)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
          at java.lang.reflect.Method.invoke(Native Method)
          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
          nDispatcher.java:284)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy7.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
          tScanner.java:302)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
          canner.java:476)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          doScan(AbstractDeploymentScanner.java:200)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          loop(AbstractDeploymentScanner.java:211)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          run(AbstractDeploymentScanner.java:190)
          + nested throwable:
          org.jboss.deployment.DeploymentException: Operation timed out: connect; - nested
          throwable: (java.net.ConnectException: Operation timed out: connect)
          at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:316)
          at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
          at org.jboss.ejb.EJBDeployer.init(EJBDeployer.java:388)
          at org.jboss.deployment.MainDeployer.init(MainDeployer.java:694)
          at org.jboss.deployment.MainDeployer.init(MainDeployer.java:714)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
          at java.lang.reflect.Method.invoke(Native Method)
          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
          nDispatcher.java:284)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy7.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
          tScanner.java:302)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
          canner.java:476)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          doScan(AbstractDeploymentScanner.java:200)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          loop(AbstractDeploymentScanner.java:211)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          run(AbstractDeploymentScanner.java:190)
          + nested throwable:
          java.net.ConnectException: Operation timed out: connect
          at java.net.PlainSocketImpl.socketConnect(Native Method)
          at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
          at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
          at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
          at java.net.Socket.(Socket.java:268)
          at java.net.Socket.(Socket.java:95)
          at sun.net.NetworkClient.doConnect(NetworkClient.java:45)
          at sun.net.www.http.HttpClient.openServer(HttpClient.java:334)
          at sun.net.www.http.HttpClient.openServer(HttpClient.java:520)
          at sun.net.www.http.HttpClient.(HttpClient.java:270)
          at sun.net.www.http.HttpClient.(HttpClient.java:280)
          at sun.net.www.http.HttpClient.New(HttpClient.java:292)
          at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
          .java:417)
          at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
          nection.java:510)
          at java.net.URL.openStream(URL.java:793)
          at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.
          java:740)
          at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManag
          er.java:700)
          at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScanner
          Impl.java:258)
          at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(
          XMLDocumentScannerImpl.java:811)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
          LDocumentFragmentScannerImpl.java:333)
          at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardP
          arserConfiguration.java:529)
          at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardP
          arserConfiguration.java:585)
          at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
          at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:221)
          at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.
          java:201)
          at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)
          at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
          at org.jboss.ejb.EJBDeployer.init(EJBDeployer.java:388)
          at org.jboss.deployment.MainDeployer.init(MainDeployer.java:694)
          at org.jboss.deployment.MainDeployer.init(MainDeployer.java:714)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
          at java.lang.reflect.Method.invoke(Native Method)
          at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
          nDispatcher.java:284)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
          at $Proxy7.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
          tScanner.java:302)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
          canner.java:476)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          doScan(AbstractDeploymentScanner.java:200)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          loop(AbstractDeploymentScanner.java:211)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
          run(AbstractDeploymentScanner.java:190)