I hope anyone has the answer as I had the same problem... I did put an class
file in the web-inf\lib web-inf\classes file that I use my servlets....>>
the servlets where not able to find them.

I resolved it the same way as you did -> put it in the lib of orion which
seems to work.....;(

Eddie
----- Original Message -----
From: Kevin Jones <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Sent: Tuesday, May 29, 2001 5:22 PM
Subject: RE: Setting up a new web-application


> I've found the problem with this and its taken me the best part of a day!
>
> In my applications\AddressBook\AddressBook\web-inf\lib directory I have a
> copy of Xalan.jar. This also exists in the top level directory of Orion.
The
> app uses the new(ish) TRaX APIs to do transforms so I need the latest
> version of Xalan. If I remove xalan.jar from the lib directory everything
> works OK (I can browse to a servlet) if I leave xalan.jar in there then no
> servlets work, in fact nothing in my web-inf\lib or web-inf\classes
> directory can be seen.
>
> This has to be a classloading problem! The 2.3 talks about this, my
> web-application's class loaders need to be separate from your
application's
> (i.e. Orion's) class loaders - I know Magnus knows this ( :-) ).
>
> So - is this a known problem?
> Is there a fix available?
> Can I (safely) delete Xalan.jar from my orion directory?
>
> 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
> >
> >
> >
>
>
>

Reply via email to