2 Replies Latest reply on Oct 18, 2002 5:52 AM by Julian Gosnell

    target not found when deploying .war file

    Ignacio de Cordoba Novice

      Hi there,
      after some problems, I have managed to successfully deploy several EJBs in some .jar files.
      I am having now a problem with J2EE client, which is a war file.
      I try to deploy the .war file that my J2EE IDE creates (Pramati Studio) and get the following exception:

      01:10:30,813 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@2fa6d989{ url=file:/Volumes/iPod/Applications/jboss-3.0.3_tomcat-4.1.12/server/default/deploy/skiosWeb.war, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-local-ref: ejb/skios/UserManagerLocal, target not found, add valid ejb-link)


      Could anybody point me to any directions / examples where I can see what I have to insert into the jboss-web.xml file? Do I have to add a ejb-link tag in the web.xml or need a similar tag in the jboss-web.xml file?
      I can't find any info on this in the JBoss quick start guide nor anywhere else.

      Thanks for any help,
      Ignacio