Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Java in General and the fly likes Shared Hosting Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Shared Hosting Problem" Watch "Shared Hosting Problem" New topic

Shared Hosting Problem

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1034
In a shared hosting situation where you only have one WEB-INF folder for all your Webapps under a given domain, the problem occurs that you could have too many files in your WEB-INF/lib folder which interfere with each other.

Would a good solution be to JAR-up the lib files for each Web app and then mention that Jar by name in the project?

I recently had this issue where due to all the files in the lib folder (not in jars), the web app didn't work correctly due to "some" confict.

Thanks in advance for any replies!!!

- Mike
Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1034
Of course, a possible complication to creating a jar file is that most, if not all, of the files in the lib folder are themselves jar files...
I agree. Here's the link:
subject: Shared Hosting Problem
Similar Threads
read jar from c:
error in eclipse IDE for struts application
struts with tomcat -not recognizing servlet.api.jar
Anyone know of a host for a JSF project?
Problem with Struts html Tags