David,

Thanks for this suggestion, Could you further explain #1.  I'd like to just
be able to use the war file for this, as the webapp doesn't use any ejb
right now.

The 2.4.x book gives no information on the context-root attribute except for
in the application.xml file.

The 3.0 getting started guide (in the jetty section) also mentions this
method using jboss-web  ("put a jboss-web.xml into your .war's WEB-INF
directory and specify the context root in that"),

I guess I really need an example on jboss-web that uses this method.

Thanks again

----- Original Message -----
From: "David Ward" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002 5:06 PM
Subject: Re: [JBoss-user] root webapp on jboss 3.x


> Root.war is very different than ROOT.war.  JBoss wants ROOT.war.
>
> Unfortunately, on Windoze, you cannot rename Root.war to ROOT.war in
> Windows Explorer.  Go to a cmd terminal (just to be safe), first rename
> it to foobar.war, than to ROOT.war.
>
> You do have two other methods, though.
>
> 1) Add a jboss-web.xml in your WEB-INF directory that specifies the
> context as /.
>
> 2) Instead of #1, put your war in an ear file and use the
> application.xml to map your war to /.
>
> David
>
> --
>
> display name wrote:
> > I am used to the tomcat way of deploying Root.war in the webapps
directory,
> > and accessing it at http://servername:8080  but when I put a war in the
> > default/deploy directly, as you know, I have to type
> > http://servername:8080/Root to get to it.  How do I implement a root
> > directory?  Is this in a conf file?  This would be nice to add in the
> > getting started documentation as well.
> >
> > Thanks,
> >
> > Brian
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Stuff, things, and much much more.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to