aspose file tools
The moose likes Portals and Portlets and the fly likes Jars that can be included in /shared/app Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Jars that can be included in /shared/app" Watch "Jars that can be included in /shared/app" New topic
Author

Jars that can be included in /shared/app

Gaurav Sharma
Greenhorn

Joined: Jan 30, 2007
Posts: 28
Hi,

I am developing a module over WPS-5.1(Portal Server 5.1) using RAD6.0.
Some part of my application is not running because of the confliction between the jar files.
I am bit confused about the jars to be placed in WEB-INF/lib folder and jars to be placed in <PortalSuite>/shared/app folders.

Which jars to be placed where??

I need your humble sugessions.

Thanks,
Gaurav
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4967

You need a lesson on WebSphere classloaders.

It can get complicated, but when you start to understand how classloaders work, it begins to make sense.

Working with WebSphere Classloaders using WebSphere Portal Server

Basically, the stuff your web module uses directly, should be packaged in the lib of the war. But, when you get into common components and code, it gets a little bit more complicated.

-Cameron McKenzie


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
Gaurav Sharma
Greenhorn

Joined: Jan 30, 2007
Posts: 28
Thanks Cameron,

Your article cleared all my Ambiguities about classpath variables and jar files.

Regards,
Gaurav
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Jars that can be included in /shared/app
 
Similar Threads
Properties file in WAS?? URGENT!!
what is common and shared directory in tomcat folder , when use each of them
Third Party libraries in Tomcat
Problem with jasper reports
Applicatio jar files configuration on websphere protal server 6