Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1922

ejb-link fails with appl client

XMLWordPrintable

      Deploymet of this tests fails because, the ejb-link from application-client.xml cannot be reloved. This is not stricly a WS issue.

      $ ant -Dtest=org.jboss.test.webservice.ws4eesimple.ClientStubTestCase one-test
      Buildfile: build.xml
      Overriding previous definition of reference to xdoclet.task.classpath

      one-test:
      [delete] Deleting: D:\projects\jboss-branch\jboss-4.0.x\testsuite\output\log\test.log
      [junit] Running org.jboss.test.webservice.ws4eesimple.ClientStubTestCase
      [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 2.613 sec

      [junit] TEST org.jboss.test.webservice.ws4eesimple.ClientStubTestCase FAILED

      <application-client>

      <display-name>webservice client test</display-name>

      <ejb-ref>
      <ejb-ref-name>HelloClientEjb</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      <home>org.jboss.test.webservice.ws4eesimple.HelloHome</home>
      <remote>org.jboss.test.webservice.ws4eesimple.Hello</remote>
      <ejb-link>ws4ee-simple-client-ejb.jar#HelloClientEjb</ejb-link>
      </ejb-ref>

      ...

      </application-client>

      2005-04-19 12:47:54,901 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: ws4ee-simple-client-ejb.jar
      2005-04-19 12:47:54,901 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/d:/jboss-temp/deploy/tmp29898ws4ee-simple-client.ear-contents/ws4ee-simple-client.jar
      2005-04-19 12:47:54,941 DEBUG [org.jboss.deployment.ClientDeployer] Creating client ENC binding under: ws4ee-client
      2005-04-19 12:47:54,941 DEBUG [org.jboss.deployment.ClientDeployer] Binding an EJBReference HelloClientEjb
      2005-04-19 12:47:54,941 WARN [org.jboss.ejb.EjbUtil] Can't locate deploymentInfo for target: file:/D:/jboss-temp/deploy/tmp29898ws4ee-simple-client.ear-contents/ws4ee-simple-client-ejb.jar
      2005-04-19 12:47:54,941 DEBUG [org.jboss.deployment.ClientDeployer] Binding HelloClientEjb to ejb-link: ws4ee-simple-client-ejb.jar#HelloClientEjb -> null
      2005-04-19 12:47:54,941 WARN [org.jboss.util.NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
      2005-04-19 12:47:54,941 ERROR [org.jboss.deployment.MainDeployer] could not start deployment: file:/d:/jboss-temp/deploy/tmp29898ws4ee-simple-client.ear-contents/ws4ee-simple-client.jar
      org.jboss.deployment.DeploymentException: Failed to setup client ENC; - nested throwable: (org.jboss.deployment.DeploymentException: Failed to resolve ejb-link: ws4ee-simple-client-ejb.jar#HelloClientEjb make by ejb-name: HelloClientEjb)
      at org.jboss.deployment.ClientDeployer.start(ClientDeployer.java:156)

              starksm64 Scott Stark (Inactive)
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: