Where to find the translated JSP servlet code in Eclipse / RAD?

Niklas R. picture Niklas R. · Mar 9, 2012 · Viewed 16.6k times · Source

I'm using IBM RAD v7 which is based on Eclipse and I've got a NullPointerException in a compiled JSP that I want to troubleshoot. So I wonder where websphere / Eclipse (IBM RAD) stores the source for the compiled JSP that the error message is referring to?

Answer

McDowell picture McDowell · Mar 9, 2012

Locate your runtime directory. If this is an embedded runtime, it'll be something like:

/opt/IBM/SDP/runtimes/basev7

The servlets are usually compiled lazily to the profile's temp directory. This path will be of the form:

/profiles/profileName/temp/nodeName/serverName

The profile, node and server name are configuration dependent. Subdirectories will follow your EAR/WAR hierarchies.