History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRA-13234
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Saurabh Gupta
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JIRA

Precompilation fails when preparing WAR file for WebLogic

Created: 02/Aug/07 10:30 AM   Updated: 06/Dec/07 08:00 PM
Component/s: Deployment
Affects Version/s: 3.9.1
Fix Version/s: 3.13.x

Time Tracking:
Not Specified

Environment: WebLogic 8.1, JDK 1.4.2_13
Issue Links:
Duplicate
 
Reference
 

Participants: Anton Mazkovoi [Atlassian], Jed Wesley-Smith [Atlassian] and Saurabh Gupta
Since last comment: 32 weeks, 2 days ago
Labels:


 Description  « Hide
We using the weblogic.war target in the ANT script to generate a WAR file. But we are facing JSP precompilation issues and it seems like the precompilation of JSPs is failing because of the following error:

weblogic.precompile:
[echo] Precompiling JSPs (use -Dskip.precompile=true to skip)...
[java] Error: [jspc]: 1 file(s) failed:
[java] /500page.jsp
[java] Exception in thread "main"
[java] [Compilation errors : ]

[java] /export/vol01/enterprise-docs/jira/weblogic/src/jira/build/jira/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:1602: cannot resolve symbol
[java] symbol : variable level
[java] location: class org.apache.log4j.spi.LoggingEvent
[java] out.print(String.valueOf( loggingEvent.level )); //[ /500page.jsp; Line: 280]
[java] ^
[java] 1 error

[java] at weblogic.jspc.doCompile(jspc.java:861)
[java] at weblogic.jspc.runJspc(jspc.java:654)
[java] at weblogic.jspc.runBodyInternal(jspc.java:412)
[java] at weblogic.jspc.runBody(jspc.java:319)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:192)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:147)
[java] at weblogic.jspc.main(jspc.java:730)

[java] java.lang.Exception: [Compilation errors : ]

[java] /export/vol01/enterprise-docs/jira/weblogic/src/jira/build/jira/tmp/build/weblogic/WEB-INF/classes/jsp_servlet/__500page.java:1602: cannot resolve symbol
[java] symbol : variable level
[java] location: class org.apache.log4j.spi.LoggingEvent
[java] out.print(String.valueOf( loggingEvent.level )); //[ /500page.jsp; Line: 280]
[java] ^
[java] 1 error

[java] at weblogic.jspc.doCompile(jspc.java:864)
[java] at weblogic.jspc.runJspc(jspc.java:654)
[java] at weblogic.jspc.runBodyInternal(jspc.java:412)
[java] at weblogic.jspc.runBody(jspc.java:319)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:192)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:147)
[java] at weblogic.jspc.main(jspc.java:730)

[java] Java Result: 1



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Anton Mazkovoi [Atlassian] - 03/Aug/07 04:28 AM
Saurabh,

It appears that the 500page.jsp is the only one with the problem. It appears that we had several attempts at fixing this, but the problem seems to come back under certain conditions - JRA-5405. To help us with the problem, please let us know the exact version of WebLogic you are using, including the service pack.

Would it be possible to move this page away before precompilation and then put it back into the web app?

Cheers,
Anton


Jed Wesley-Smith [Atlassian] - 06/Dec/07 08:00 PM
The fix for this issue has not been able to make it into JIRA v3.12. We are hoping to incorporate it into v3.12.1. As of writing however, there are 163 items scheduled as Fix For v3.12.1. We will not be able to include all of them.