Where does the je.jar file belong when loading within an application server?
It is important that je.jar and your application jar files—in particular the classes that are being serialized by SerialBinding—are loaded under the same class loader. For running in a servlet, this typically means that you would place je.jar and your application jars in the same directory. Additionally, it is important to not place je.jar in the extensions directory for your JVM. Instead place je.jar in the same location as your application jars. The extensions directory is reserved for privileged library code. One user with a WebSphere Studio (WSAD) application had a classloading problem because the je.jar was in both the WEB-INF/lib and the ear project. Removing the je.jar from the ear project resolved the problem.
Related Questions
- My application will consist of a client jar file and server jar file which share some common classes. How do I obfuscate it?
- Can I create an application in Flex, compile it into a stand-alone SWF file, and run it on a machine without the Flex server?
- how to download file to application server via SAP Query?