1 Reply Latest reply: Jun 10, 2012 4:47 PM by Tomaz Cerar RSS

    jboss-as-7.1.1.Final: EAR deployed: JSP not found

    ganesh jadhav Newbie


      I recently downloaded jboss-as-7.1.1.Final, and trying few things. We have application running on JBOSS 6.1.0, we are thinking of moving it to jboss 7.



      currently i am trying to deploy a EAR , with a WAR file only. The WAR contains a servlet and a jsp.







                                                       ------>lib (servlet code jar)





      I copied the ear in the folder :jboss-as-7.1.1.Final\standalone\deployments


      I started the app server using the : standalone.bat -Djboss.socket.binding.port-offset=100 -server-config=standalone-full-ha.xml


      the server console shows that the ear is deployed successfully.

      This is my web.xml















      <?xml version="1.0" encoding="UTF-8"?>
      <application version="5" xmlns="http://java.sun.com/xml/ns/javaee"

        <!-- <module>


      I can access this servlet using the link  :http://localhost:8180/QueueSender/QueueSenderServlet


      But when i try to access the 1.jsp   :http://localhost:8180/QueueSender/1.jsp

      it says 404, /QueueSender/1.jsp  resource not found.


      there is other observation, i created a web application only, WAR file (with 1.jsp),  and deployed only WAR, i could access the 1.jsp.


      Why 1.jsp is not found when it is part of the EAR. I am confused, please help.