Putting Orbeon Jars in a location other than WEB-INF/lib

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Putting Orbeon Jars in a location other than WEB-INF/lib

Daniel E. Renfer
I'm sorry if this is a rather basic Java question, but I can't find the
information I am looking for on Google, and I don't quite see what I am
doing wrong.

Normally, all of Orbeon's jar files would go in WEB-INF/lib. Everything
was working fine when I had it set up that way. I have libs from several
different libraries in my project, and seeing as I haven't gotten the
hang of using Maven or anything like that, I wanted to create a
subfolder inside WEB-INF/lib for each of the different projects. (eg.
All of
Orbeon's jars are now in WEB-INF/lib/orbeon)

I moved all of the jars, updated my buildpath, and rebuilt Orbeon. Now I
am getting all sorts of ClassNotFoundException's. Is there something in
Orbeon that is assuming that those files would be located in lib/ or is
that just a standard convention and as long as I point to those files
properly, I should be good?

Can anyone think of anything else I could be missing to get those
errors? If I can't put them into a different folder, can anyone suggest
a better way to keep all of my libraries organized?

Daniel E. Renfer
http://kronkltd.net/




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

signature.asc (258 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Putting Orbeon Jars in a location other than WEB-INF/lib

Hank Ratzesberger

Daniel,

At runtime, this is a part of the Servlet API specification.

In my brief check, I didn't see how you can modify this at
runtime or in the deployment descriptor, although I suppose
there likely is a way.

At build time, I'm sure the ant file build.xml also assumes
this path structure.

Best,
Hank

On Jan 15, 2008, at 8:36 AM, Daniel E. Renfer wrote:

> I'm sorry if this is a rather basic Java question, but I can't find  
> the
> information I am looking for on Google, and I don't quite see what  
> I am
> doing wrong.
>
> Normally, all of Orbeon's jar files would go in WEB-INF/lib.  
> Everything
> was working fine when I had it set up that way. I have libs from  
> several
> different libraries in my project, and seeing as I haven't gotten the
> hang of using Maven or anything like that, I wanted to create a
> subfolder inside WEB-INF/lib for each of the different projects.  
> (eg. All of
> Orbeon's jars are now in WEB-INF/lib/orbeon)
>
> I moved all of the jars, updated my buildpath, and rebuilt Orbeon.  
> Now I am getting all sorts of ClassNotFoundException's. Is there  
> something in Orbeon that is assuming that those files would be  
> located in lib/ or is that just a standard convention and as long  
> as I point to those files properly, I should be good?
>
> Can anyone think of anything else I could be missing to get those  
> errors? If I can't put them into a different folder, can anyone  
> suggest a better way to keep all of my libraries organized?
>
> Daniel E. Renfer
> http://kronkltd.net/
>
>
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Putting Orbeon Jars in a location other than WEB-INF/lib

Alessandro Vernet
Administrator
On Jan 15, 2008 9:20 AM, Hank Ratzesberger <[hidden email]> wrote:
> At runtime, this is a part of the Servlet API specification.

Yes exactly. As far as I know jar file need to be directly under
WEB-INF/lib for the application server to pick them up.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws