Thanks for the feedback guys.

Apearantly some people have problems including jar files.
To me it's not clear what the problem is, but to solve it I need to know
where Orion looks for jar files.
Can someone please tell me that or tell me how to enable Orion to output his
search locations/paths ?? Pleeeeaaase?

Resume:
If I just put my jar file in the lib, my web-app can't find it.
If I include the jar file in a tablib entry, neither does it find it (but I
think this isn't the way as the jar is not for JSP usage).

I have tried about everyting, but ...nothing... and it's hard searching the
problem if Orion doesn't tell me where he searches.

Eddie.





>From: "Carter, Shane" <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: RE: Including jar files in my web app ?
>Date: Thu, 5 Apr 2001 08:04:51 -0500
>
>I'm having the same problem with Orion.  I'm getting NoSuchMethodError when
>I run this class in Orion.  It works fine outside of Orion.  I think Orion
>is picking up another package elsewhere.  Below is the error message I'm
>getting.
>
>java.lang.NoSuchMethodError
>       at org.jdom.input.SAXHandler.startElement(SAXBuilder.java:607)
>       at
>org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1289)
>       at
>org.apache.xerces.framework.XMLParser.callStartElement(XMLParser.java:1922)
>       at
>org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanne
>r.java:1831)
>       at
>org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
>LDocumentScanner.java:1223)
>       at
>org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
>java:381)
>       at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)
>       at org.jdom.input.SAXBuilder.build(SAXBuilder.java:302)
>       at org.jdom.input.SAXBuilder.build(SAXBuilder.java:373)
>       at org.jdom.input.SAXBuilder.build(SAXBuilder.java:354)
>       at
>com.psg.blkjck.control.RequestParser.loadNodeCollection(RequestParser.java:6
>1)
>       at
>com.psg.blkjck.control.RequestParser.<clinit>(RequestParser.java:44)
>       at com.psg.blkjck.control.NavController.doGet(NavController.java:98)
>       at
>com.psg.blkjck.control.NavController.doPost(NavController.java:56)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:204)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:302)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:329)
>       at com.evermind.server.http.d3.sw(JAX)
>       at com.evermind.server.http.d3.su(JAX)
>       at com.evermind.server.http.ef.s1(JAX)
>       at com.evermind.server.http.ef.do(JAX)
>       at com.evermind.util.f.run(JAX)
>
>
>-----Original Message-----
>From: Eddie [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, April 05, 2001 5:47 AM
>To: Orion-Interest
>Subject: Re: Including jar files in my web app ?
>
>
>Thanks court but it doesn't work with me.
>
>I did what you suggested, put the velocity.jar file in the classes dir,
>removed the lib, unpacked it in the classes dir, put the org dir  in the
>same package dir as where the java file is located, but no luck. Maybe
>because my class file is located in a package and I call it through a 
>sevlet
>reference.
>
>It keeps on giving me that classDefnotFound error. I also validated my
>web.xml file, but nothing.
>
>Can someone please tell me where Orion looks ?? or how to debug this ?? as
>this is getting a bit fru...
>I also tried some debug options as explained on the site, but can't find 
>one
>which shows where Orion looks !
>
>Hope to get some help here as I am a bit stuck!
>Eddie
>
>
>
>----- Original Message -----
>From: Court Demas <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Sent: Thursday, April 05, 2001 9:36 AM
>Subject: Re: Including jar files in my web app ?
>
>
> > I just had a similar problem.  Orion saw classes *either* in
>WEB-INF/classes
> > *or* in WEB-INF/lib.
> >
> > My solution was to either unpack all classes into WEB-INF/classes
>(removing the
> > lib directory), or create one huge JAR file in WEB-INF/lib (removing the
> > classes directory).
> >
> > I hope there's a better solution!
> >
> > court
> >
> >
> > Eddie wrote:
> >
> > > I don't seem be able to tell Orion 1.4.7 te read my bla.jar that is
>located
> > > in the WEB-INF/lib ??
> > >
> > > To me it's not really clear how to do that. The bla.jar is there but 
>it
> > > keeps giving an ClassDefNotFound error.
> > > I also tried it with tablib (which is basically for JSP only not ???)
>but
> > > that neither worked:
> > > ---
> > >         <taglib>
> > >          <taglib-uri>bla</taglib-uri>
> > >          <taglib-location>/WEB-INF/lib/bla.jar</taglib-location>
> > >         </taglib>
> > > ---
> > >
> > > What am I doing wrong ? and how can I see more in detail where is
>looking ??
> > >
> > > Ahhhh,
> > > Eddie
> > >
> > > ----
> > > bash-2.04$ pwd
> > > /home/development/sgs/web/WEB-INF/lib
> > > bash-2.04$ ll
> > > total 428
> > > -rwxr--r--    1 program  users      369846 Apr  4 17:01 bla.jar
> > > bash-2.04$
> > > -----------------
> >
> >
> >

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Reply via email to