3 Replies Latest reply on Jul 10, 2002 11:48 PM by Travis Bryant

    trying to deploy tomcat examples

    Travis Bryant Newbie

      Hello all -

      This is my first foray into app servers. I installed JBoss 3.0.0 with Tomcat 4.0.3. I started the server and everything loaded fine. I went to http://localhost:8083 and could see the console.

      My next step was to try and war the examples app in the catalina/webapps directory. I war'ed it using a command gathered from a previous posting. "jar -cvf example.war ." while I was in the /catalina/webapps/examples directory. I then copied the war file to the /server/default/deploy directory, and when jboss attempted to load the war file, it gave this exception:

      "23:27:48,487 ERROR [MainDeployer] could not start deployment: file:/C:/jbosstom/
      server/default/deploy/example.war
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: ejb/Account, no ejb-link match, use jndi-name in jboss-web.xml)"

      What the heck does this mean? I haven't a clue. Is there some sort of configuration that I can change to deploy the tomcat examples successfully? I've read a lot of postings that talk around this problem but never answer it.

      Also, is there a place that a novice can go to learn about creating their own web.xml files for new webapps that we want to deploy? Or can we just copy a web.xml file from another web app?

      Any help on these would be appreciated.

      Thanks,
      Travis