aspose file tools*
The moose likes Websphere and the fly likes EAR deployment problem Weblogic Migration... additional resources needed on classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "EAR deployment problem Weblogic Migration... additional resources needed on classpath" Watch "EAR deployment problem Weblogic Migration... additional resources needed on classpath" New topic
Author

EAR deployment problem Weblogic Migration... additional resources needed on classpath

eric mcentee
Ranch Hand

Joined: May 02, 2001
Posts: 66
I am trying to migrate a weblogic application to Websphere 5.1. I have been able to use the Application Server Toolkit to build EJB jars, and an EAR file to deploy on WAS 5.1.
However, the Weblogic application I am trying to migrate has several resources that don't get bundled into the individual EJB jars. These are objects and properties files that need to be seen by the EAR class loader for the whole application.
I tried using the JAR dependency editor, and even importing the file system that contains these jars into my project, and I can see that they are in the EAR.
The application will not start due to missing resources that are in the jars.
My question is where do I put other jars, libraries, or property files in the WAS 5.1 directory structure so that they are visible on the classpath to my application? Should I dump them in the ..\WebSphere\AppServer\config\cells\<myserver name>\applications\<my application name> directory?
Thank you,
Eric McEntee
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30762
    
156

When you deploy to WAS, you can set the classpath to include any directory on the machine. After you have installed, you can adjust the classpath (for your application) in the admin console.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EAR deployment problem Weblogic Migration... additional resources needed on classpath