Edward,

If you look at 

JBoss-2.4.3_Jetty-3.1.1-1/jboss/conf/jetty/jetty.xml

(perhaps you were looking at
jboss/conf/default/jetty.xml - this is not used and I
should remove it).

you will find all these entries have now been
commented out.

I used to ship JBoss/Jetty with the Jetty demo webapps
and servlets ready installed, but then recently I
realised that this may interfere with deployment of a
users webapps and be confusing (especially apps being
deployed into the '/' context).

Look again at the latest release. I will be surprised
if:

1. The demo stuff is not commented out in your
jetty.xml.

2. Deployment onto a vanilla installation gives you
the same problem again.

Cheers,


Jules



 --- "Edward Q. Bridges" <[EMAIL PROTECTED]> wrote:
> 
> after some poking around, it turns out that the
> problem is with
> $JBOSS_HOME/conf/jetty/jetty.xml
> 
> here is the entire file:
> 
> <?xml version="1.0"  encoding="ISO-8859-1"?>
> <!DOCTYPE Configure PUBLIC "-//Mort Bay
> Consulting//DTD Configure 1.1//EN"
> "http://jetty.mortbay.com/configure_1_1.dtd";>
> 
> <Configure class="org.mortbay.http.HttpServer">
>   <Call name="addListener">
>     <Arg>
>       <New class="org.mortbay.http.SocketListener">
>         <Set name="Port">8080</Set>
>         <Set name="MinThreads">5</Set>
>         <Set name="MaxThreads">255</Set>
>         <Set name="MaxIdleTimeMs">60000</Set>
>         <Set name="MaxReadTimeMs">60000</Set>
>       </New>
>     </Arg>
>   </Call>
> 
>   <Call name="addWebApplication">
>     <Arg>/pix/*</Arg>
>    
>
<Arg>C:/JBoss-2.4.1_Jetty-3.1.RC9-1/jboss/deploy/pix.war</Arg>
>     <Arg><SystemProperty name="jetty.home"
> default="."/>/etc/webdefault.xml</Arg>
>     <Arg type="boolean">true</Arg>
>   </Call>
> 
> </Configure>
> 
> The problem seems to come from the call to
> addWebApplication.  when that is
> present, and i deploy to
> $JBOSS_HOME/deploy/<mywarfile>, then java:comp/env
> entries specified in WEB-INF/web.xml don't get
> created.  when i comment it
> out, they do get created.
> 
> this also happens with the JBoss-2.4.3_Jetty-3.1.1-1
> distro.
> 
> is this a problem?  or should it just be part of
> configuring a .war to use
> with jboss/jetty that there is no need to edit the
> jetty.xml file?
> 
> thanks
> --e--
> 
> 
> On Tue, 02 Oct 2001 23:44:11 +0100, Julian Gosnell
> wrote:
> 
> >I am having reports of another JNDI related problem
> with this release.
> >
> >Would it be possible for you to drop back to the
> 2.4.0/3.1.RC8 release and let
> >me know if that works, or shows the same problem ?
> >
> >Thanks,
> >
> >
> >Jules
> 
> 
> --------------------------------------------
> <argo_tec gmbh>
>      ed.q.bridges
>      tel. 089-368179.552
>      fax 089-368179.79
>      osterwaldstra�e 10
>      (haus F eingang 21)
>      80805 m�nchen
> </argo_tec gmbh>
> --------------------------------------------
> 
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-user 

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to