Are the servlets defined inside your
WEB-INF/web.xml
?
- Original Message -
From: Kevin Jones <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 5:20 PM
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 " path="../applications/AddressBook/" /> ")
> and default-web-site.xml (with this " 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
>
>