Search code examples
javaeclipsejakarta-eewebsphereibm-rad

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


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?


Solution

  • 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.