0 Replies Latest reply on May 12, 2005 10:11 PM by lnorth

    J2EE Bookstore Tutorial Deployment Problem

    lnorth

      I am using JBoss 1.0.4sp1 to learn J2EE by doing the Sun's J2EE tutorial (http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html). All was going well until the bookstore1 and bookstore2 tutorials in chapter 12. Each works if its WAR is deployed without the other's. If both WARs are deployed, only the first one deployed works. What I see happening is that, when the second WAR is deployed, the first servlet's ContextListerer is invoked, not the second's, which causes various problems because the servlet is not properly initialized. The deployment order does not matter, whichever WAR is deployed second does not work.

      Where should I look to fix this problem?