4 Replies Latest reply on Sep 15, 2003 5:51 AM by eranhovav

    operate servlet & EJB with jboss-3.2.1_tomcat-4.1.24

    eranhovav Newbie

      Hi all,

      I'm using jboss-3.2.1_tomcat-4.1.24 and trying to operate servlet that call an EJB. I have an EJB that works fine with a standalone client, so I changed the client to be servlet. I made a .ear file with the following content:

      application.xml
      HelloWorld.jar
      HelloWorld.war
      Menifest.mf

      The ear file was copied to %JBOSS_HOME%/server/default/deploy and the server did deploy it :

      13:29:18,287 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.1_tomcat-
      4.1.24/server/default/deploy/HelloWorld.ear

      When I'm trying to run the servlet by typing in my browser :

      http://localhost:8080/HelloWorld it shows me the following message:

      Directory Listing For /

      Filename Size Last Modified

      Apache Tomcat/4.1.24-LE-jdk14

      If I put a war file with a servlet file only, it shows the content of the war file (but I want to make it run...).
      What is wrong? Is there a problem in my security properties? Why it doesn't show my the content of the ear file?

      thankx in advanced