I created a small test.ear file that demonstrates the problem and have emailed that test case to your email address for your perusal.
Dustin -----Original Message----- From: Jules Gosnell [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 7:19 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Jetty war conf/deployment issue in 3.2.0RC1 Dustin, Is the ear too big/confidential to send to me (2mb or so tops).. Could you reduce the problem to a manageable testcase ? Jules Barlow, Dustin wrote: > I am attempting to move from Tomcat to Jetty and have run into a > conf/deployment issue that I am unable to solve and was hoping for some > tips. > > The ear file, which contains the war file, seems to deploy without any > errors on startup. The jboss.web section of the jmx-console shows that the > contextPath is set to /ntarget and the resourceBase is pointing to the > temporary directory where Jetty exploded the war file into. However when I > go to that contextPath in the browser, I get HTTP ERROR: 404 /ntarget not > found. I checked the temporary directory, and all the web app files do > exist and Jetty is pointing to that directory for the contextPath. > > Here is the output from the jmx-console jboss.web section: > > jboss.web > Jetty=0,JBossWebApplicationContext=2,context=/ntarget > Jetty=0,JBossWebApplicationContext=3,context=/ntargetqe > Code=0 > Jetty=0 > Jetty=0,AJP13Listener=0 > Jetty=0,JBossWebApplicationContext=0,context=/jmx-console > Jetty=0,NCSARequestLog=0 > Log=0 > Log=0,sink=0 > Jetty=0,SocketListener=0 > Jetty=0,JBossWebApplicationContext=1,context=/builders > service=JBossWeb > > The jmx-console works just fine. I also compared the settings for the > /jmx-console and /ntarget context paths in the jmx-console, and they are > pretty much identical other then the differences like contextPath and > resourceBase. > > The exact same ear file works fine in both JBoss-2.4.4_Tomcat-3.2.3 and > jboss-3.0.1RC1_tomcat-4.0.4, but not in jboss-3.2.0RC1 (not sure the Jetty > version). Is there a configuration difference for Tomcat and Jetty that I > could be missing on the JBoss side, or in the web.xml file? > > My application.xml file (which is bundled in the ear file containing the > war): > > <?xml version="1.0"?> > > <application> > <display-name>NTarget</display-name> > > <module> > <web> > <web-uri>NTarget.war</web-uri> > <context-root>/ntarget</context-root> > </web> > </module> > > </application> > > Any tips? > > Dustin Barlow > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
