Advertisement

07.17.2008 at 02:25PM PDT, ID: 23575019
[x]
Attachment Details

Where are the intermediate java files generated when Weblogic 10 compiles JSPs?

Asked by dbeachy1 in BEA WebLogic Application Server

Tags: BEA, Weblogic, 10

I am porting our webapp from Tomcat 6 to Weblogic 10, and I am trying to figure out how to view the java files generated by Weblogic when the JSP files are compiled.  After Googling around I found some documentation for setting 'keepgenerated=true' by editing weblogic.xml as follows:

<jsp-descriptor>
    <precompile>false</precompile>
    <precompile-continue>false</precompile-continue>
    <keepgenerated>true</keepgenerated>
    <verbose>true</verbose>
    <working-dir>c:/temp/bea</working-dir>
  </jsp-descriptor>

The file I edited was C:\bea\wlserver_10.0\server\lib\consoleapp\webapp\WEB-INF\weblogic.xml.

However,when I then bring up Weblogic the class files are still being compiled to its internal work directory (instead of c:\temp\bea), and no JSP java files are being preserved.  I have confirmed that I am editing the correct weblogic.xml because when I deliberately introduce a syntax error in it I get an error on startup.  However, I don't understand why 'working-dir' and 'keepgenerated' are not working.  I am running the default 'sample' instance under Weblogic 10; here is the command I use to start it:

C:\bea\wlserver_10.0\samples\domains\wl_server\startWebLogic.cmd

So, in a nutshell, what file and setting do I need to edit in order for Weblogic to preserve the java files?  It is very difficult to debug stack traces in JSPs without those files.

Any help would be appreciated!
Start Free Trial
 
Loading Advertisement...
 
[+][-]07.22.2008 at 03:09PM PDT, ID: 22064183

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 04:04PM PDT, ID: 22084476

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 04:18PM PDT, ID: 22084586

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.25.2008 at 10:15AM PDT, ID: 22090459

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.25.2008 at 02:33PM PDT, ID: 22092480

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.26.2008 at 01:05PM PDT, ID: 22096073

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: BEA WebLogic Application Server
Tags: BEA, Weblogic, 10
Sign Up Now!
Solution Provided By: greensunie
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628