Just to let you know: I've reported this as a (small) bug and it has already
been fixed. The default value for servlet-webdir is /servlet in all of the
documentation, global-web-application and all generated orion-web.xml files.
Marcel
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> Marcel Schutte
> Sent: Tuesday, May 29, 2001 4:29 PM
> To: Orion-Interest
> Subject: RE: Setting up a new web-application
>
>
> You're right. In the online documentation it says /servlets
> but when you
> look at global-web-application.xml(in both 1.4.5 and 1.5.1) it says
> /servlet.
>
> Marcel
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> Kevin Jones
> > Sent: Tuesday, May 29, 2001 3:17 PM
> > To: Orion-Interest
> > Subject: RE: Setting up a new web-application
> >
> >
> > BTW
> >
> > > According to the 1.4.5 documentation the default web
> > directory mapping for
> > > servlets is /servlets, mind the plural
> >
> > this can't be right.
> >
> > Try browsing to
> >
> > http://localhost/servlet/SnoopServlet
> >
> > and
> >
> > http://localhost/servlets/SnoopServlet
> >
> > only the first URL works,
> >
> >
> > Kevin Jones
> > DevelopMentor
> > www.develop.com
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Marcel Schutte
> > > Sent: 29 May 2001 11:47
> > > To: Orion-Interest
> > > Subject: RE: Setting up a new web-application
> > >
> > >
> > > Hi,
> > >
> > > According to the 1.4.5 documentation the default web
> > directory mapping for
> > > servlets is /servlets, mind the plural
> > > (http://www.orionserver.com/docs/orion-web.xml.html). But since
> > > none of the
> > > classes in WEB-INF/classes are found there might be yet
> > another problem.
> > > Could you perhaps post a zip of your
> orion\applications\addressbook
> > > directory tree, I'll try it out and see what I can find.
> > >
> > > Marcel
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Kevin Jones
> > > > Sent: Tuesday, May 29, 2001 11:20 AM
> > > > To: Orion-Interest
> > > > Subject: Setting up a new web-application
> > > >
> > > >
> > > > I have a web application that works fine on Tomcat 4.0b5. I'm
> > > > trying to run
> > > > it on Orion as a proof of concept but I can't get much
> > working! I've
> > > > followed the 'atm' example in the notes and have the
> > > > following structure
> > > >
> > > > orion\applications\addressbook
> > > > orion\applications\addressbook\META-INF
> > > > orion\applications\addressbook\AddressBook
> > > > orion\applications\addressbook\AddressBook\WEB-INF
> > > > orion\applications\addressbook\AddressBook\WEB-INF\classes
> > > > orion\applications\addressbook\AddressBook\WEB-INF\lib
> > > >
> > > > I've updated server.xml (with this "<application
> > name="AddressBook"
> > > > path="../applications/AddressBook/" /> ")
> > > > and default-web-site.xml (with this "<web-app
> > > > application="AddressBook"
> > > > name="AddressBook" root="/AddressBook" />".
> > > >
> > > > I can browse to http:\\localhost:8080\AddressBook and it
> > picks up the
> > > > welcome-file.
> > > > I can browse to a simple JSP (that has no beans etc.)
> > > > I can't browse to any servlet, so
> > > > http://localhost:8080/AddressBook/servlet/com.develop.ewebjava
> > > .lab.Browse
> > > and
> > > http://localhost:8080/AddressBook/servlet/SimpleServlet
> > >
> > > both return "404 Not Found Resource
> > /AddressBook/servlet/SimpleServlet not
> > > found on this server"
> > >
> > > but both classes are in
> > > "orion\applications\addressbook\AddressBook\WEB-INF\classes"
> > >
> > > I can't browse to a JSP that uses beans that are in
> > > "orion\applications\addressbook\AddressBook\WEB-INF\classes"
> > >
> > > And I can't get Orion to load an application listener that
> > is also in
> > > "orion\applications\addressbook\AddressBook\WEB-INF\classes"
> > >
> > > Orion obviously can't find classes in
> > > "orion\applications\addressbook\AddressBook\WEB-INF\classes" but
> > > this should
> > > be automatically added to the classpath for this application.
> > >
> > > What am I missing? I assume it must be configuration
> > setting but I can't
> > > find anything in the docs,
> > >
> > > Kevin Jones
> > > DevelopMentor
> > > www.develop.com
> > >
> > >
> > >
> >
> >
>
>