GeeCON Prague 2014*
The moose likes BEA/Weblogic and the fly likes getting error during precompilation of JSPs in weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "getting error during precompilation of JSPs in weblogic" Watch "getting error during precompilation of JSPs in weblogic" New topic
Author

getting error during precompilation of JSPs in weblogic

john jolta
Greenhorn

Joined: Aug 13, 2009
Posts: 1
Hi,
Since our JSP's are trying to load upto 2 MB of data, we are trying to load pre-compiled jsp's for BPM. For achieving this, we made the following changes to our weblogic.xml

<jsp-descriptor>
<jsp-param>
<param-name>precompile</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor>
<session-descriptor>
<session-param>
<param-name>CookieSecure</param-name>
<param-value>true</param-value>
</session-param>
</session-descriptor>

But the server failed to start up because of an error ( as shown below). After reverting the weblogic.xml back , the server started up properly.

<Error> <HTTP> <BEA-101045> <[ServletContext(id=24721556,name=portal,context-path=/portal)] translation of /1137webRoot/customJSP/QueryEventDetails.jsp failed: weblogic.servlet.jsp.JspException: (line 4): Could not parse deployment descriptor: java.io.IOException: cannot resolve 'http://www.springframework.org/tags' into a valid tag library> <Aug 6, 2009 5:23:35 PM EDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application portal due to error weblogic.management.ApplicationException: prepare failed for portal { Module Name: portal, Error: Could not load portal: weblogic.servlet.jsp.JspException: (line 4): Could not parse deployment descriptor: java.io.IOException: cannot resolve 'http://www.springframework.org/tags' into a valid tag library }.

we are using weblogic 8.1SP2 version

Can you please advise why this is happening?
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Are you using spring web flow tags ? It appears that the compiler is not able to recognize the tags. It is probable that before the TLD tag map was created for your app, the compiler is trying to compile your page and unable to find the related TLD.

Please provide more details that will help identify the problem. Some source code snippets, what lib you use for JSP page displays, its version, your JDK version.

BPM = Business process manager ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
GeeCON Prague 2014
 
subject: getting error during precompilation of JSPs in weblogic