Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
eric mcentee
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic