Title: RE: Including jar files in my web app ?
xalan and xerces are in the root dir of orion
 
if you have these jar files in your velocity.jar rather replace the orion ones or use the orion ones.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Carter, Shane
Sent: 05 April 2001 14:05
To: Orion-Interest
Subject: RE: Including jar files in my web app ?

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(XMLDocumentScanner.java:1831)
        at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.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:61)
        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$
> > -----------------
>
>
>


_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Control Centre. For further information visit
http://www.messagelabs.com/stats.asp

Reply via email to