Hi Jules,

> -----Original Message-----
> From: Jules Gosnell [mailto:jules@;mortbay.com] 
> Sent: Wednesday, November 06, 2002 3:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war

> 1. where did you find this instruction ?
I found it in my copy of the JBoss Administration Documentation for
JBoss 3.0.
Chapter 9, section "Other Jetty Configuration Tips", page 337, as well
as on http://jetty.mortbay.org/jetty/tut/Server.html there root.war is
mentioned.

> 2. have you tried root.war ?
I am running JBoss on Windows, but I've tried root.war.
Here is the log output:

---------- console log output ----------------
16:36:40,978 INFO  [MainDeployer] Starting deployment of package:
file:/C:/alpha/jboss/server/xenon-jms/deploy/root.war
16:36:41,040 INFO  [jbossweb] Registered
jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/root
16:36:41,071 INFO  [jbossweb] Extract
jar:file:/C:/alpha/jboss/server/xenon-jms/tmp/deploy/server/xenon-jms/de
ploy/root.war/51.root.war!/ to
C:\DOCUME~1\shauer\LOCALS~1\Temp\Jetty_0_0_0_0_80__root\webapp
16:36:41,274 INFO  [jbossweb] Started
WebApplicationContext[/root,jar:file:/C:/alpha/jboss/server/xenon-jms/tm
p/deploy/server/xenon-jms/deploy/root.war/51.root.war!/]
16:36:41,290 INFO  [jbossweb] successfully deployed
file:/C:/alpha/jboss/server/xenon-jms/tmp/deploy/server/xenon-jms/deploy
/root.war/51.root.war to /root
16:36:41,306 INFO  [MainDeployer] Deployed package:
file:/C:/alpha/jboss/server/xenon-jms/deploy/root.war
-----------------------------------------------

I have tried this with a root.war file which had only a web.xml file but
no jboss-web.xml file.

Sebastian


> 
> Jules
> 
> Sebastian Hauer wrote:
> > Actually to answer my question.
> > I was able to bind ROOT.war to the / context using a jboss-web.xml 
> > file where I defined / as context. According to the current 
> > documentation I should have been able to do this without the 
> > jboss-web.xml setting though.
> > 
> > Sebastian
> > 
> > 
> >>-----Original Message-----
> >>From: Sebastian Hauer
> >>Sent: Wednesday, November 06, 2002 1:22 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: [JBoss-user] Jboss 3.0.4 with Jetty, ROOT.war
> >>
> >>
> >>
> >>Hi,
> >>
> >>Today I tried to bind a web application to the root context
> >>of Jetty running in Jboss 3.0.4. I followed the instructions 
> >>to create a tomcat style ROOT.war. Unfortunately it did not 
> >>work instead of getting bound to / the web app was bound to 
> >>/ROOT. What am I doing wrong?
> >>
> >>Here is the structure of the ROOT.war file:
> >>
> >>ROOT.war:
> >> /
> >> /index.html
> >> /WEB-INF
> >> /WEB-INF/web.xml
> >>
> >>
> >>And this my simple web.xml file:
> >>------------------------------------------------------------
> >><?xml version="1.0" encoding="UTF-8"?>
> >><!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web
> >>Application 2.3//EN' 
> > 
> > 'http://java.sun.com/dtd/web-app_2_3.dtd'>
> > <web-app>
> >     <welcome-file-list>
> >             <welcome-file>index.html</welcome-file>
> >     </welcome-file-list>
> > </web-app>
> > ------------------------------------------------------------
> > 
> > Any ideas?
> > 
> > Regards,
> > 
> > Sebastian
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by: See the NEW Palm
> > Tungsten T handheld. Power & Color in a compact size!
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by: See the NEW Palm
> > Tungsten T handheld. Power & Color in a compact size!
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm 
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to