Solved

Failure while Precompiling JSPs: weblogic.servlet.jsp.CompilationException weblogic 11

Posted on 2010-11-15
13
1,905 Views
Last Modified: 2012-05-10
My JSP's are not compiling. I am in a tight situation. Desperately need help. Someone please help.
0
Comment
Question by:prsubject
  • 8
  • 5
13 Comments
 
LVL 40

Expert Comment

by:gurvinder372
ID: 34137805
what is compilation error that it throws?
0
 

Author Comment

by:prsubject
ID: 34137877
<Nov 15, 2010 11:45:41 AM EST> <Warning> <HTTP> <BEA-101212> <CustomerConnectWLS10:CustomerConnect Failure while Precompiling JSPs: weblogic.servlet.jsp.CompilationException: accountrequest.jsp:3:18: The type org.apache.commons.logging.Log cannot be resolved. It is indirectly referenced from required .class files
<%@ page import="com.genevarx.framework.servlets.PresentationServlet" %>
0
 

Author Comment

by:prsubject
ID: 34137883
It is weblogic 11
0
 

Author Comment

by:prsubject
ID: 34137885
It was working on friday evening. Now tomorrow I need to show the results.
0
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 34137896
have your added jars required for org.apache.commons.logging.Log in the WEB-INF/lib folder?
0
 

Author Comment

by:prsubject
ID: 34137902
I am using weblogic
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:prsubject
ID: 34137910
Log4j is in the build path of all the modules. I have totally 10 modules.
0
 
LVL 40

Assisted Solution

by:gurvinder372
gurvinder372 earned 500 total points
ID: 34137939
0
 

Author Comment

by:prsubject
ID: 34138002
In that case how would I compile the JSP's
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 34138015
it would be compiled first time they will be requested by any client
0
 

Author Comment

by:prsubject
ID: 34138096
I am finding n number of weblogic.xml The following three are in the server folder. I am pasting their locations. Please tell me which one you want me to update. I feel the one in bold applies. Let me open and see.

C:\bea\wlserver_10.3\server\lib\consoleapp\webapp\WEB-INF\weblogic.xml

C:\bea\wlserver_10.3\server\lib\consoleapp\consolehelp\WEB-INF\weblogic.xml

C:\bea\wlserver_10.3\server\lib\consoleapp\help\WEB-INF\weblogic.xml
0
 

Author Comment

by:prsubject
ID: 34138108
The jsp descriptor says. Do you want me to comment this whole thing and replace with the one below given in the url

  <jsp-descriptor>
    <keepgenerated>false</keepgenerated>
    <page-check-seconds>-1</page-check-seconds>
    <verbose>true</verbose>
    <debug>true</debug>
  </jsp-descriptor>

<jsp-descriptor>
      <jsp-param>
            <param-name>precompile</param-name>
            <param-value>false</param-value>
      </jsp-param>

      <jsp-param>
            <param-name>pageCheckSeconds</param-name>
            <param-value>30</param-value>
      </jsp-param>
</jsp-descriptor>
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 34138255
not sure, try with the one given in url first.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
firstChar challenge 13 106
Setting strict transport security header in header not working 1 78
custom annotations 9 28
servlet example issue 6 27
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now