Category Archives: Websphere

Multiple Persistence Units – Websphere v7, OpenJPA

Want to do something exotic like specifying two persistence units in your persistence.xml file? Perhaps one local and one JTA managed. Maybe even go whole hog and do that to write unit tests? In Websphere v7 (RAD 7.5) when you have multiple PUs in persistence.xml it barfs like this:

Here is IBM’s “help”: […]

Also posted in JPA | Tagged , , | Leave a comment

Using log4j in Websphere

Server configuration WSAD already has an implementation of commons-logging that uses JRas as the implementation instead of log4j. This is in the server classpath which is loaded before your applications. So if you want to use log4j instead you have to change the server classpath. Open the Server Perspective. Double click on your server in […]

Posted in Websphere | Tagged , , | Leave a comment