Weblogic 10 R3 jsp precompile-continue

Hello,
I have a requirement to precompile the jsps on startup, however, I want weblogic server to continue the compilation even if some of the jsp compilation fails. I have enabled the following config options in the weblogic.xml.
<precompile>true</precompile>
<precompile-continue>true</precompile-continue>
However, even with precompile-continue set to true, weblogic server aborts the compilation, when some of the jsps fail to compile.
Please let me know, if there is any other parameter, I need to enable, to achive my requirement in Weblogic 10 R3.
Thanks,
Namita

check this post on same topic.
Re: Problem upgrading EAR wls8.1 to wls10.3 precompiled jsp not found 404 error

Similar Messages

  • Jsp precompile

              Hi,
              I using weblogic 6.0 sp1 and struts to develop the web application, I deployed
              my web application by war file,I want precompile jsp when weblogic server starts
              up by defining the following context parameter in web.xml deployment descriptor:
              <context-param>
              <param-name>weblogic.jsp.precompile</param-name>
              <param-value>true</param-value>
              </context-param>
              but it failure to pre-compiling JSP's when weblogic server start. I visited
              weblogic newsgroup, and followed the info to try using directory struct to deploy
              (under .\config\mydomain\applications
              or outside of the .\applications directory), both of them had errors. the following
              is my web.xml file and error info. Could you give some idea to fix it?
              Thanks
              Judy
              <?xml version="1.0" encoding="ISO-8859-1"?>
              <!DOCTYPE web-app
              PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
              "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
              <web-app>
              <context-param>
              <param-name>weblogic.jsp.precompile</param-name>
              <param-value>true</param-value>
              </context-param>
              <!-- Action Servlet Configuration -->
              <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              <init-param>
              <param-name>application</param-name>
              <param-value>ApplicationResources</param-value>
              </init-param>
              <init-param>
              <param-name>config</param-name>
              <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <init-param>
              <param-name>debug</param-name>
              <param-value>2</param-value>
              </init-param>
              <init-param>
              <param-name>detail</param-name>
              <param-value>2</param-value>
              </init-param>
              <init-param>
              <param-name>validate</param-name>
              <param-value>true</param-value>
              </init-param>
              <load-on-startup>2</load-on-startup>
              </servlet>
              <servlet>
              <servlet-name>InitServlet</servlet-name>
              <servlet-class>ccd.web.misc.InitServlet</servlet-class>
              <load-on-startup>3</load-on-startup>
              </servlet>
              <!-- Action Servlet Mapping -->
              <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
              </servlet-mapping>
              <!-- The Welcome File List -->
              <welcome-file-list>
              <welcome-file>index.htm</welcome-file>
              </welcome-file-list>
              <!-- Application Tag Library Descriptor -->
              <taglib>
              <taglib-uri>/WEB-INF/tlds/app.tld</taglib-uri>
              <taglib-location>/WEB-INF/tlds/app.tld</taglib-location>
              </taglib>
              <!-- Struts Tag Library Descriptors -->
              <taglib>
              <taglib-uri>/WEB-INF/tlds/struts-bean.tld</taglib-uri>
              <taglib-location>/WEB-INF/tlds/struts-bean.tld</taglib-location>
              </taglib>
              <taglib>
              <taglib-uri>/WEB-INF/tlds/struts-html.tld</taglib-uri>
              <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location>
              </taglib>
              <taglib>
              <taglib-uri>/WEB-INF/tlds/struts-logic.tld</taglib-uri>
              <taglib-location>/WEB-INF/tlds/struts-logic.tld</taglib-location>
              </taglib>
              <!-- Security -->
              <security-constraint>
              <web-resource-collection>
              <web-resource-name>AdminPages</web-resource-name>
              <description>
              These pages are only accessible by authorised user.
              </description>
              <url-pattern>/misc/ccd.htm</url-pattern>
              <http-method>POST</http-method>
              <http-method>GET</http-method>
              </web-resource-collection>
              <auth-constraint>
              <description>
              These are the roles who have access
              </description>
              <role-name>
              CcdApp
              </role-name>
              </auth-constraint>
              <user-data-constraint>
              <description>
              This is how the user data must be transmitted
              </description>
              <transport-guarantee>NONE</transport-guarantee>
              </user-data-constraint>
              </security-constraint>
              <login-config>
              <auth-method>FORM</auth-method>
                   <form-login-config>
                   <form-login-page>/misc/login.jsp</form-login-page>
                   <form-error-page>/misc/fail_login.jsp</form-error-page>
              </form-login-config>
              </login-config>
              <security-role>
              <description>
              An administrator
              </description>
              <role-name>
              CcdApp
              </role-name>
              </security-role>
              </web-app>
              Error info for war file deployed:
              <May 9, 2001 11:20:23 AM EDT> <Error> <HTTP> <[WebAppServletContext(6040101,ccd)
              ] failure pre-compiling JSP's
              java.lang.NullPointerException
              at weblogic.servlet.jsp.Jsp2Java.makeReader(Jsp2Java.java:232)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:112)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:253
              at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:124)
              at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:44)
              at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppS
              ervletContext.java:2003)
              at weblogic.servlet.internal.dd.DescriptorLoader.initFromWebApp(Descript
              orLoader.java:741)
              at weblogic.servlet.internal.dd.DescriptorLoader.createServletContext(De
              scriptorLoader.java:358)
              at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:4
              98)
              at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
              at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
              at weblogic.j2ee.Application.addComponent(Application.java:126)
              at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
              oymentTarget.java:283)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
              oymentTarget.java:109)
              at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServe
              r.java:76)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              eanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              .java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              at $Proxy29.addWebDeployment(Unknown Source)
              at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDe
              ployment(WebServerMBean_CachingStub.java:985)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
              oymentTarget.java:269)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
              oymentTarget.java:109)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              eanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              .java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
              s(ConfigurationMBeanImpl.java:409)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:287)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMB
              eanImpl.java:866)
              at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMB
              eanImpl.java:853)
              at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.ja
              va:838)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              eanImpl.java:566)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              .java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              at $Proxy12.addTarget(Unknown Source)
              at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(Appli
              cationManager.java:486)
              at weblogic.management.mbeans.custom.ApplicationManager.addApplication(A
              pplicationManager.java:557)
              at weblogic.management.mbeans.custom.ApplicationManager.addApplication(A
              pplicationManager.java:504)
              at weblogic.management.mbeans.custom.ApplicationManager.poll(Application
              Manager.java:428)
              at weblogic.management.mbeans.custom.ApplicationManager.poll(Application
              Manager.java:380)
              at weblogic.management.mbeans.custom.ApplicationManager.update(Applicati
              onManager.java:152)
              at weblogic.management.mbeans.custom.ApplicationManager.startAdminManage
              r(ApplicationManager.java:205)
              at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
              nManager.java:120)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              eanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              .java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              at $Proxy2.start(Unknown Source)
              at weblogic.management.Admin.startApplicationManager(Admin.java:1034)
              at weblogic.management.Admin.finish(Admin.java:491)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
              at weblogic.Server.main(Server.java:35)
              >
              <May 9, 2001 11:20:23 AM EDT> <Error> <J2EE> <Error deploying application ccd:
              C
              ould not load ccd>
              <May 9, 2001 11:20:26 AM EDT> <Notice> <WebLogicServer> <WebLogic Server started
              >
              <May 9, 2001 11:20:26 AM EDT> <Notice> <WebLogicServer> <SSLListenThread listeni
              ng on port 7002>
              <May 9, 2001 11:20:26 AM EDT> <Notice> <WebLogicServer> <ListenThread listening
              on port 7001>
              Error info for directory deployed:
              <May 9, 2001 4:50:55 PM EDT> <Error> <HTTP> <[WebAppServletContext(6044546,ccd)]
              failure pre-compiling JSP's
              weblogic.servlet.jsp.JspException: (line 35): Non-matching extension tags
              at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:640)
              at weblogic.servlet.jsp.JspLexer.mCLOSE_EXTENSION_TAG(JspLexer.java:2076
              at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1676)
              at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1552)
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:893)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java:71)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:139)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:113)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:253
              at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:124)
              at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:44)
              at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppS
              ervletContext.java:2003)
              at weblogic.servlet.internal.dd.DescriptorLoader.initFromWebApp(Descript
              orLoader.java:741)
              at weblogic.servlet.internal.dd.DescriptorLoader.createServletContext(De
              scriptorLoader.java:358)
              at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:4
              98)
              at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
              at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
              at weblogic.j2ee.Application.addComponent(Application.java:126)
              at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
              oymentTarget.java:283)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
              oymentTarget.java:109)
              at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServe
              r.java:76)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              eanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              .java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              at $Proxy29.addWebDeployment(Unknown Source)
              at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDe
              ployment(WebServerMBean_CachingStub.java:985)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
              oymentTarget.java:269)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
              loymentTarget.java:233)
              at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
              ments(DeploymentTarget.java:194)
              at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
              DeploymentTarget.java:158)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              eanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              .java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              at $Proxy28.updateDeployments(Unknown Source)
              at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
              yments(ServerMBean_CachingStub.java:2299)
              at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
              er(ApplicationManager.java:240)
              at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
              nManager.java:122)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              eanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              .java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              at $Proxy21.start(Unknown Source)
              at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
              .start(ApplicationManagerMBean_CachingStub.java:435)
              at weblogic.management.Admin.startApplicationManager(Admin.java:1030)
              at weblogic.management.Admin.finish(Admin.java:491)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
              at weblogic.Server.main(Server.java:35)
              >
              <May 9, 2001 4:50:55 PM EDT> <Error> <J2EE> <Error deploying application ccd:
              Co
              uld not load ccd>
              <May 9, 2001 4:51:03 PM EDT> <Error> <HTTP> <[WebAppServletContext(466450,web)]
              failure pre-compiling JSP's
              java.lang.NullPointerException
              at weblogic.servlet.jsp.Jsp2Java.makeReader(Jsp2Java.java:232)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:112)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:253
              at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:124)
              at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:44)
              at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebAppS
              ervletContext.java:2003)
              at weblogic.servlet.internal.dd.DescriptorLoader.initFromWebApp(Descript
              orLoader.java:741)
              at weblogic.servlet.internal.dd.DescriptorLoader.createServletContext(De
              scriptorLoader.java:358)
              at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:4
              98)
              at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
              at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
              at weblogic.j2ee.Application.addComponent(Application.java:126)
              at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
              oymentTarget.java:283)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
              oymentTarget.java:109)
              at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServe
              r.java:76)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              eanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              .java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              at $Proxy29.addWebDeployment(Unknown Source)
              at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDe
              ployment(WebServerMBean_CachingStub.java:985)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
              oymentTarget.java:269)
              at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
              oymentTarget.java:109)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              eanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              .java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
              s(ConfigurationMBeanImpl.java:409)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:287)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMB
              eanImpl.java:866)
              at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMB
              eanImpl.java:853)
              at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.ja
              va:838)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              eanImpl.java:566)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              .java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              at $Proxy12.addTarget(Unknown Source)
              at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(Appli
              cationManager.java:486)
              at weblogic.management.mbeans.custom.ApplicationManager.addApplication(A
              pplicationManager.java:557)
              at weblogic.management.mbeans.custom.ApplicationManager.addApplication(A
              pplicationManager.java:504)
              at weblogic.management.mbeans.custom.ApplicationManager.poll(Application
              Manager.java:428)
              at weblogic.management.mbeans.custom.ApplicationManager.poll(Application
              Manager.java:380)
              at weblogic.management.mbeans.custom.ApplicationManager.update(Applicati
              onManager.java:152)
              at weblogic.management.mbeans.custom.ApplicationManager.startAdminManage
              r(ApplicationManager.java:205)
              at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
              nManager.java:120)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
              eanImpl.java:562)
              at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
              .java:548)
              at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
              ionMBeanImpl.java:285)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              55)
              at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
              23)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              at $Proxy2.start(Unknown Source)
              at weblogic.management.Admin.startApplicationManager(Admin.java:1034)
              at weblogic.management.Admin.finish(Admin.java:491)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
              at weblogic.Server.main(Server.java:35)
              >
              <May 9, 2001 4:51:04 PM EDT> <Error> <J2EE> <Error deploying application web:
              Co
              uld not load web>
              <May 9, 2001 4:51:18 PM EDT> <Notice> <WebLogicServer> <WebLogic Server started>
              <May 9, 2001 4:51:18 PM EDT> <Notice> <WebLogicServer> <SSLListenThread listenin
              g on port 7002>
              <May 9, 2001 4:51:18 PM EDT> <Notice> <WebLogicServer> <ListenThread listening
              o
              n port 7001>
              

    Trying adding this to your weblogic.xml file:
              <jsp-descriptor>     
                        <jsp-param>
                        <param-name>precompile</param-name>
                        <param-value>true</param-value>
                        </jsp-param>
                   </jsp-descriptor>
              

  • JSP Precompiler could not load class

              Has anyone come across this ?
              Thanks,
              MBI
              I am trying to have a generated jsp page load and this uses a generated bean class.
              The precompiler complains about not being able to load the class.
              <May 4, 2004 3:40:11 PM GMT-08:00> <Debug> <HTTP> <BEA-101158> <Exception thrown
              while loading /Testful: weblogic.servlet.jsp.JspException: (line 11): class 'co
              m.foo.test.TestfulJspBean' could not be loaded
              weblogic.servlet.jsp.JspException: (line 11): class 'com.foo.test.TestfulJspBean'
              could not be loaded
              More info
              at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:711)
              at weblogic.servlet.jsp.JspLexer.processBeanTag(JspLexer.java:1379)
              at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(JspLexer.java:3647)
              at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1931)
              at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1824)
              at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1752)
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:962)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java:105)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:228)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:120)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:25
              at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:191)
              at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:71)
              at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:82)
              at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebApp
              ontext.java:4916)
              

              Has anyone come across this ?
              Thanks,
              MBI
              I am trying to have a generated jsp page load and this uses a generated bean class.
              The precompiler complains about not being able to load the class.
              <May 4, 2004 3:40:11 PM GMT-08:00> <Debug> <HTTP> <BEA-101158> <Exception thrown
              while loading /Testful: weblogic.servlet.jsp.JspException: (line 11): class 'co
              m.foo.test.TestfulJspBean' could not be loaded
              weblogic.servlet.jsp.JspException: (line 11): class 'com.foo.test.TestfulJspBean'
              could not be loaded
              More info
              at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:711)
              at weblogic.servlet.jsp.JspLexer.processBeanTag(JspLexer.java:1379)
              at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(JspLexer.java:3647)
              at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1931)
              at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1824)
              at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1752)
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:962)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java:105)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:228)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:120)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:25
              at weblogic.servlet.jsp.Precompiler.compileOne(Precompiler.java:191)
              at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:71)
              at weblogic.servlet.jsp.Precompiler.compile(Precompiler.java:82)
              at weblogic.servlet.internal.WebAppServletContext.precompileJSPs(WebApp
              ontext.java:4916)
              

  • JSP Precompile - Doesnt Work

    Hi All,
              I am having serious trouble trying to precompile my JSP's and have the wl
              server recognise them (and not re-compile them for me). Im using WLS6.1 with
              SP2 installed.
              I am running the JSPC pre-compiler with -D ....WEB-INF\classes. The files
              get created as expected and then I put them into my WAR file. When I deploy
              the WAR file, WLS always recompiles. I have experimented at length with
              different settings in my weblogic.xml, but as yet have had no success. I
              have also read some previous posts, but these have not helped either.
              Any suggestions or advice are very welcome!
              Thanks,
              Mark
              

              The suggestion to register JSPs as servlets is not at all practical or acceptable
              to me. Across multiple applications, we have over 200 JSP files and there's no way
              I would even consider this approach. What needs to happen is BEA should fix the problem
              and be more forthcoming about such "bugs" instead of letting the customers serve
              as QA and having to "ask" for patches. Why is 6.1 SP3 not on the web site? Why aren't
              all the patches available online for download? For the amount of money BEA charges,
              especially for clustered licenses, this type of problem should not go unfixed.
              Sam Fowler
              "Ashok Madhavan" <[email protected]> wrote:
              >
              >hi,
              >for pre-compiling the jsps in production in .ear format we found a way of
              >doing it.
              >We treated all the jsps in the application as servlets. we precompiled all
              >the jsps
              >before-hand and in the web.xml we gave a servlet-name, sevlet-class etc
              >just as we
              >do for a normal servlet. The compiled classes were in WEB-INF/classes/jsp_servlet.
              >we used hte weblogic.jspc coming along with weblogic. we have weblogic 6.1
              >with SP
              >2.
              >
              >we then did a .war file of this as we do normally.
              >
              >now we deployed this war file and it did work. we didnt include even a single
              >jsp
              >file with our application, just compiled jsps as servlets.
              >
              >The main problem with this is all the jsp need to be pre-compiled and the
              >deployment
              >has to be .war/.ear. this is not suitable for development. for developement
              >there
              >are other easy ways of doing it though.
              >
              >regards
              >Ashok Madhavan
              >
              >"Eric Ma" <[email protected]> wrote:
              >>
              >>Simon:
              >>
              >>Can you do the community a service by posting the patched weblogic.servlet.jsp.Precompiler
              >>class? If it is not convenient to share the Java source file, how about
              >>just the
              >>.class file? I am sure a lot of people will great appreciate the help.
              >>
              >>Eric Ma
              >>
              >>
              >>"Simon Spruzen" <[email protected]> wrote:
              >>>
              >>>There's still a bug in WebLogic's precompile dependency checking in
              >6.1
              >>>SP1 and
              >>>SP2. It will always recompile every JSP in a war file on deployment
              >if
              >>>precompile
              >>>option is true because WebLogic incorrectly generates the mangled JSP
              >servlet
              >>>class
              >>>name. I just patched the appropriate class (weblogic.servlet.jsp.Precompiler)
              >>>and
              >>>all is cool - I precompile my JSPs, put the generated servlet classes
              >into
              >>>the war
              >>>file and deploy it. Much quicker.
              >>>
              >>>I have raised this as a bug with BEA (I sent them my fix too) and they're
              >>>going to
              >>>try and sort this out for SP3. (Judging by postings, this is still a bug
              >>>in 7.0)
              >>>
              >>>simon.
              >>>
              >>>Ryan Barker <[email protected]> wrote:
              >>>>I am having a similar problem. With sp1, the process we would do the
              >following:
              >>>>Unjar the application into exploded format
              >>>>start up the server using the exploded format with precompile turned
              >on
              >>>>copy the /WEB-INF/_tmp_war_..../jsp_servlets directory into the /WEB-INF/classes/jsp_servlets
              >>>>directory
              >>>>rejar up the application
              >>>>start up the server using the war file.
              >>>>
              >>>>Now when we do this process, it recompile all of the jsps into the .wlnotdelete
              >>>>directory.
              >>>>
              >>>>This is seriously annoying. In production we have to have the applications
              >>>>directory as read only due to security policies and jsps need to
              >>>>be pre-compiled. Also on a slightly different note, if the config.xml
              >>>file
              >>>>is set to readonly, weblogic sp1 complained very loudly every 30
              >>>>seconds, have not checked with sp2 yet, hope that this has been fixed.
              >>>>
              >>>>Ryan Barker
              >>>>
              >>>>ludovic le goff wrote:
              >>>>> Hello Mark,
              >>>>>
              >>>>> Please check that in the weblogic.xml file of your web application,
              >>you
              >>>>get
              >>>>> an entry like:
              >>>>>
              >>>>> <context-param>
              >>>>> <param-name>weblogic.jsp.precompile</param-name>
              >>>>> <param-value>true</param-value>
              >>>>> </context-param>
              >>>>>
              >>>>> With the WLS 6.1 SP2, a fix has been done ( 041729 ) and now, the
              >>>>> weblogic.servlet.jsp.Precompiler honors weblogic.xml parameters, like
              >>>>> workingdir, packagePrefix, etc., for the JSPs that it precompiles
              >>>>>
              >>>>> Hope this helps,
              >>>>> Ludovic
              >>>>> Developer Relations Engineer
              >>>>> BEA Support
              >>>>> "newsgroups.bea.com" <[email protected]> a écrit dans le message
              >>news:
              >>>>> [email protected]...
              >>>>>
              >>>>>>Hi All,
              >>>>>>
              >>>>>>I am having serious trouble trying to precompile my JSP's and have
              >the
              >>>>wl
              >>>>>>server recognise them (and not re-compile them for me). Im using WLS6.1
              >>>>>
              >>>>> with
              >>>>>
              >>>>>>SP2 installed.
              >>>>>>
              >>>>>>I am running the JSPC pre-compiler with -D ....WEB-INF\classes. The
              >>files
              >>>>>>get created as expected and then I put them into my WAR file. When
              >I
              >>>>>
              >>>>> deploy
              >>>>>
              >>>>>>the WAR file, WLS always recompiles. I have experimented at length
              >with
              >>>>>>different settings in my weblogic.xml, but as yet have had no success.
              >>>>I
              >>>>>>have also read some previous posts, but these have not helped either.
              >>>>>>
              >>>>>>Any suggestions or advice are very welcome!
              >>>>>>Thanks,
              >>>>>>Mark
              >>>>>>
              >>>>>>
              >>>>>
              >>>>>
              >>>>>
              >>>>
              >>>>
              >>>
              >>
              >
              

  • Jsp precompilation in weblogic 10.3

    I tried precompiling jspx and jsff files using weblogic.jspc.
    generated class files are copied to .war/web-inf/classes as i specified this path as destination directory.
    when i deploy the .war and try to access page, i get following error
    java.lang.IllegalStateException: <f:view> was not present on this page; tag [email protected]b8encountered without an <f:view> being processed.
    at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.setProperties(UIXComponentELTag.java:97)
    at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:613)
    at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1142)
    at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:72)
    at oracle.adfinternal.view.faces.taglib.region.IncludeTag.doStartTag(IncludeTag.java:179)
    at oracle.adfinternal.view.faces.taglib.region.DynamicIncludeTag.doStartTag(DynamicIncludeTag.java:109)
    at jsp_servlet._components.__domainpage_jspx._jspService(__domainpage_jspx.java:137)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    After precompiling, do i need to do any config step.
    Kindly suggest list of steps to precompile Jsp in .war using weblogic.jspc

    From the previous posts, I am assume that the desire is to have jsps precompile during the build process not when the app is deployed to the server. We build ours with Maven and have a command line call to invoke appc. [Jspc should not be used since it is depricated. |http://download.oracle.com/docs/cd/E14571_01/web.1111/e13749/utils.htm#ADMRF158]. Here is the [appc documentation|http://download.oracle.com/docs/cd/E14571_01/web.1111/e13706/splitbuild.htm#i1113244] and [more appc documentation|http://download.oracle.com/docs/cd/E14571_01/web.1111/e13719/appc_ejbc.htm#EJBPG1090] . To make appc run manually, you pretty much have to supply every library that your weblogic.xml references to the -library option. You also need enviroment variable set piror to calling. Anyhow this is what our bat file for calling appc looks like.
    set BEAWLS_HOME=%1
    set WAR=%2
    call %BEAWLS_HOME%\wlserver_10.3\server\bin\setWLSEnv.cmd
    call java weblogic.appc -verbose -librarydir %BEAWLS_HOME%\wlportal_10.3\portal-admin\lib\j2ee-modules -library %BEAWLS_HOME%\wlserver_10.3\common\deployable-libraries\jsf-1.2.war,%BEAWLS_HOME%\modules\com.bea.content.vcr_10.3.2.0\content-management-faces-web-lib.war -classpath %BEAWLS_HOME%\wlportal_10.3\light-portal\lib\system\netuix_common.jar %WAR%
    This is for Oracle Portal 10.3.2. The locations of the war moved around from Portal 10.3.0 to 10.3.2. BEAWLS is our the Oracle\Middleware (bea\home in older installs) folder from our Weblogic Portal install. WAR is the existing war file. I deleted most war libararies, since there are a lot to list making it really long. It takes our war and compiles all the jsps in it and then makes a new war in its place. The war is then packaged into an ear. Building with ant probably take care some of it for you, but this is what it looks like to call the command manually.

  • JSP PRECOMPILER IS NOT WORKING WITH WEBLOGIC 6.1 SERVICE PACK 5

              When i compile JSPs using JSP PreCompiler in weblogic 6.1
              ( Service Pack 4 ) , compilation is perfect.
              But when i precompile the same JSPs with weblogic 6.1 (Service Pack 5 )
              , i get compilation error.
              Variable Not Found error comes in service pack 5. But the same code works
              well with service pack 4.
              Could anyone help me ?
              [java] C:\CVSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WE
              NF\classes\jsp_servlet\_secure\__confirmation.java:280: cannot resolve symbol
              [java] symbol : variable yesLinkPageText
              [java] location: class jsp_servlet._secure.__confirmation
              [java] htmllink0.setPage(yesLinkPageText); //[ /secure/co
              rmation.jsp; Line: 32]
              [java] ^
              [java] C:\CVSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WE
              NF\classes\jsp_servlet\_secure\__confirmation.java:378: cannot resolve symbol
              [java] symbol : variable noLinkPageText
              [java] location: class jsp_servlet._secure.__confirmation
              [java] htmllink0.setPage(noLinkPageText); //[ /secure/con
              mation.jsp; Line: 37]
              [java] Error: compilation of jsp file /secure/confirmation.jsp (java file C
              VSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WEB-INF\classes
              p_servlet\_secure\__confirmation.java failed):
              [java] ^
              [java] null
              [java] 2 errors
              [java] Error: [jspc]: 1 file(s) failed:
              [java] /secure/confirmation.jsp
              [java] java.io.IOException: Compiler failed executable.exec(java.lang.String
              

    Can you post the jsp page or a example which doesnt compile in sp5. It seems
              difficult to guage what the problem could be from looking at the error.
              --Nagesh
              "george vargeese" <[email protected]> wrote in message
              news:40c56502$1@mktnews1...
              >
              > When i compile JSPs using JSP PreCompiler in weblogic 6.1
              > ( Service Pack 4 ) , compilation is perfect.
              >
              > But when i precompile the same JSPs with weblogic 6.1 (Service Pack
              5 )
              > , i get compilation error.
              >
              > Variable Not Found error comes in service pack 5. But the same code
              works
              > well with service pack 4.
              >
              > Could anyone help me ?
              >
              >
              > [java]
              C:\CVSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WE
              > NF\classes\jsp_servlet\_secure\__confirmation.java:280: cannot resolve
              symbol
              >
              > [java] symbol : variable yesLinkPageText
              > [java] location: class jsp_servlet._secure.__confirmation
              > [java] htmllink0.setPage(yesLinkPageText); //[
              /secure/co
              > rmation.jsp; Line: 32]
              > [java] ^
              > [java]
              C:\CVSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WE
              > NF\classes\jsp_servlet\_secure\__confirmation.java:378: cannot resolve
              symbol
              >
              > [java] symbol : variable noLinkPageText
              > [java] location: class jsp_servlet._secure.__confirmation
              > [java] htmllink0.setPage(noLinkPageText); //[
              /secure/con
              > mation.jsp; Line: 37]
              > [java] Error: compilation of jsp file /secure/confirmation.jsp (java
              file C
              >
              VSMessageRouter\platform-apps\2notify\webapp\consoleapp\.\web\WEB-INF\classe
              s
              > p_servlet\_secure\__confirmation.java failed):
              > [java] ^
              > [java] null
              > [java] 2 errors
              > [java] Error: [jspc]: 1 file(s) failed:
              > [java] /secure/confirmation.jsp
              > [java] java.io.IOException: Compiler failed
              executable.exec(java.lang.String
              >
              >
              

  • JSP Precompile Error in Weblogic 5.1 Server

    My application is running well in Weblogic 5.1 sp10 server. I am trying to run my application as NT service. The NT service installed and started with no problem. But I got following error messages when I try to access my JSP. Can anyboby help me out? Thanks in advance.
    James
    Compilation of ' D:\applica\middleware1\Server\lib\WEBINF\_tmp_war_paygo\jsp_servlet\_login.java' failed:
    Failed to parse compiler output:
    java.io.IOException: CreateProcess: javac -classpath d:\jdk1.3.1_02\jre\lib\rt.jar;d:\jdk1.3.1_02\jre\lib\i18n.jar;d:\jdk1.3.1_02\jre\lib\sunrsasign.jar;d:\jdk1.3.1_02\jre\classes;d:\rogers\weblogic51\weblogic510sp10\lib\weblogic510sp10boot.jar;d:\rogers\weblogic51\classes\boot;d:\rogers\weblogic51\eval\cloudscape\lib\cloudscape.jar;d:\applica\middleware1\lib\crimson.jar;d:\applica\middleware1\lib\xalan.jar;d:\applica\middleware1\lib\msbase.jar;d:\applica\middleware1\lib\mssqlserver.jar;d:\applica\middleware1\lib\msutil.jar;d:\applica\middleware1\lib\classes12_01.zip;d:\applica\middleware1\lib\mail.jar;d:\rogers\weblogic51\license;d:\rogers\weblogic51\weblogic510sp10\lib\weblogic510sp10.jar;d:\rogers\weblogic51\classes;d:\rogers\weblogic51\lib\weblogicaux.jar;d:\rogers\weblogic51\myserver\serverclasses;d:\applica\middleware1\itspServer\lib\paygo_server_classes.jar;d:\applica\middleware1\APILink\apiclasses.jar;d:\applica\middleware1\APILink\ejbInfra.jar;d:\applica\middleware1\APILink\ObjectManager.jar;d:\applica\middleware1\APILinD
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:551)
    at java.lang.Runtime.exec(Runtime.java:477)
    at java.lang.Runtime.exec(Runtime.java:443)
    at weblogic.utils.Executable.exec(Executable.java:170)
    at weblogic.utils.Executable.exec(Executable.java:107)
    at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:443)
    at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:249)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:366)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
    at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
    at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
    at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
    at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

    http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_solution&answerpage=solution&page=wls/S-10901.html

  • Weblogic.xml: jsp-descriptor element (working-dir)

    Hi all,
    In order to define correct deployment directory, we want to modify the weblogic.xml with jsp-descriptor as followed (e.g.):
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
    <security-role-assignment>
    <role-name>PrivilegedUser</role-name>
    <principal-name>Administrators</principal-name>
    </security-role-assignment>
    <jsp-descriptor>
    <page-check-seconds>60</page-check-seconds>
    <precompile>false</precompile>
    <precompile-continue>false</precompile-continue>
    <keepgenerated>true</keepgenerated>
    <verbose>true</verbose>
    *<working-dir>D:\Oracle\Middleware</working-dir>*
    </jsp-descriptor>
    <charset-params>
    <input-charset>
    <resource-path>/*</resource-path>
    <java-charset-name>UTF-8</java-charset-name>
    </input-charset>
    </charset-params>
    </weblogic-web-app>
    My questions:
    1- Is the solution (using weblogic.xml and modify working-dir) correct?
    2- What is the best approach:
    a- preparing <working-dir>D:\Oracle\Middleware</working-dir> via development phase and responsiblity of developer team?
    b- adjust and modify application(s) via adminstrators
    3- I find the following doc:
    http://docs.tpu.ru/docs/Oracle/en/fmw/11.1.1.6.0/web.1111/e13712/weblogic_xml.htm#i1038490
    Is there more doc/sample/info available regarding this matter?
    Regards,
    Moh

    Hi all,
    In order to define correct deployment directory, we want to modify the weblogic.xml with jsp-descriptor as followed (e.g.):
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
    <security-role-assignment>
    <role-name>PrivilegedUser</role-name>
    <principal-name>Administrators</principal-name>
    </security-role-assignment>
    <jsp-descriptor>
    <page-check-seconds>60</page-check-seconds>
    <precompile>false</precompile>
    <precompile-continue>false</precompile-continue>
    <keepgenerated>true</keepgenerated>
    <verbose>true</verbose>
    *<working-dir>D:\Oracle\Middleware</working-dir>*
    </jsp-descriptor>
    <charset-params>
    <input-charset>
    <resource-path>/*</resource-path>
    <java-charset-name>UTF-8</java-charset-name>
    </input-charset>
    </charset-params>
    </weblogic-web-app>
    My questions:
    1- Is the solution (using weblogic.xml and modify working-dir) correct?
    2- What is the best approach:
    a- preparing <working-dir>D:\Oracle\Middleware</working-dir> via development phase and responsiblity of developer team?
    b- adjust and modify application(s) via adminstrators
    3- I find the following doc:
    http://docs.tpu.ru/docs/Oracle/en/fmw/11.1.1.6.0/web.1111/e13712/weblogic_xml.htm#i1038490
    Is there more doc/sample/info available regarding this matter?
    Regards,
    Moh

  • JSP precompilation and my .java files compilation issues /  building WAR file using ANT

    Hello.
    I am new to working with WAR files and the whole process of it. A little
    background on what we are using. We are using, WLS 6.1 SP3. I am using the
    ant.bat that is supplied in the bin directory of the WLS install.
    I am trying to work with ANT and getting it to build the file. I am making
    progress, but at a point where I am having trouble getting my java code
    files to compile using ant. I am having one issue and looking to do one
    other item.
    1) I would like to precompile the JSPs if possible prior to putting into the
    WAR file. Not sure if this is done or not, but there was a utility when I
    was working with ibm's app server that gave us the ability to do a batch
    complile. Was thinking that maybe a similair concept is possibly here.
    2) Having issue getting ant to compile code properly. In the compile
    section of the build.xml file for ant, I tell it where the source files are,
    and the destionation folder for the compiled class files. I then try to set
    the classpath so that it finds the .jar files that are necessary for my
    source files to complile. But, it won't find them. And not sure how come.
    I may be going about this all wrong, but dont know. Here is the compile
    section of the build.xml I am using:
    <target name="compile" depends="prepare">
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    classpath="$(lib.home)"
    debug="on" optimize="on" deprecation="off"/>
    </target>
    One note, I've tried many different items in the classpath line, which
    don't work. if I do *.jar it fails at complie time, invalid argument. As
    well as if I use *.* and so on. if I list the explicit file names, it still
    doesn't seem to find them.
    I was wondering if anyone could help, if you need anymore information let me
    know, I can send the entire build.xml if necessary. I may be missing
    items, seeing that this is my first try at using ANT.
    Any help is appreciated and thanks in advance. Hopefully not sounding too
    off the wall. Hopefully get some clarification and understanding.
    Thank you.
    Kevin.

    Kevin Price wrote:
    Hello.
    I am new to working with WAR files and the whole process of it. A little
    background on what we are using. We are using, WLS 6.1 SP3. I am using the
    ant.bat that is supplied in the bin directory of the WLS install.
    I am trying to work with ANT and getting it to build the file. I am making
    progress, but at a point where I am having trouble getting my java code
    files to compile using ant. I am having one issue and looking to do one
    other item.
    1) I would like to precompile the JSPs if possible prior to putting into the
    WAR file. Not sure if this is done or not, but there was a utility when I
    was working with ibm's app server that gave us the ability to do a batch
    complile. Was thinking that maybe a similair concept is possibly here.you can use weblogic.jspc
    http://e-docs.bea.com/wls/docs70/jsp/reference.html#57794
    or just set the precompile flag in weblogic.xml
    You can configure WebLogic Server to precompile your JSPs when a Web
    Application is deployed or re-deployed or when WebLogic Server starts up
    by setting the precompile parameter to true in the <jsp-descriptor>
    element of the weblogic.xml deployment descriptor.
    >
    2) Having issue getting ant to compile code properly. In the compile
    section of the build.xml file for ant, I tell it where the source files are,
    and the destionation folder for the compiled class files. I then try to set
    the classpath so that it finds the .jar files that are necessary for my
    source files to complile. But, it won't find them. And not sure how come.
    I may be going about this all wrong, but dont know. Here is the compile
    section of the build.xml I am using:
    <target name="compile" depends="prepare">
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    classpath="$(lib.home)"
    debug="on" optimize="on" deprecation="off"/>
    </target>
    maybe because you are not using curly braces there on lib.home??
    if you do it the way above, you would have to list all your jars
    classpath="$(lib.home)\lib1.jar:$(lib.home)\lib2.jar"
    or you can nest
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    debug="on" optimize="on" deprecation="off">
         <classpath>
              <fileset dir="${lib.home}" includes="*.jar" />
         </classpath>
    </javac>
    One note, I've tried many different items in the classpath line, which
    don't work. if I do *.jar it fails at complie time, invalid argument. As
    well as if I use *.* and so on. if I list the explicit file names, it still
    doesn't seem to find them.
    I was wondering if anyone could help, if you need anymore information let me
    know, I can send the entire build.xml if necessary. I may be missing
    items, seeing that this is my first try at using ANT.
    Any help is appreciated and thanks in advance. Hopefully not sounding too
    off the wall. Hopefully get some clarification and understanding.
    Thank you.
    Kevin.

  • JSP Precompilation

              I have an interesting issue when deploying an EAR file, Weblogic appears to want
              to recompile JSP's at first request even though I have included compiled JSP code
              in the EAR and have added a couple of suggested parameters to the Weblogic.xml
              file (precompile=false, pageCheckSeconds=-1).
              The JSP's themselves are included in a WAR file under what appears to be a valid
              location :
              WEB-INF/classes/jsp_servlet/__simple1.class (simple1.jsp being the page in question)
              The WAR and subsequent EAR are created from a set of Ant build files and the JSP's
              are compiled using weblogic.jspc. I have seen a solution to this whereby you include
              a custom servlet (weblogic.servlet.JSPClassServlet) in the web.xml file and map
              any *.jsp requests to it. This appears to work although may have other implications
              in terms the app I am trying to deploy.
              I have been able to deploy a Struts demo WAR and achieve the desired results so
              am thinking it could be something to do with how our build creates it's WAR file
              but everything appears to be OK at first glance.
              That being the case - is there anything obvious from these limited details that
              I need to consider that will get WL to use the compiled code ?
              Thx in advance
              

    Ilya,
    If you haven't already seen it, perhaps this OJSPC Compilation problem may help.
    Good Luck,
    Avi.

  • JSP Precompile Error

    Hello,
    We are converting our application builds from Web Logic 8.1 to 10. As part of the build, we precompile the jsps to improve the rendering time and this has worked fine in WL 8.1 so far. However, when I changed the WL version to 10, I get the following error!
    [echo] **** jspc: Precompiling WEBLOGIC JSPs
    [java] Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/servlet/jsp/jspc20: weblogic/utils/compiler/Tool
    Surprisingly, I found the Tool.class in the weblogic.jar for 81 but not in 10.
    Could someone let me know where this class is residing now in WL10?
    Thank you
    SG

    I'm guessing you're very new at posting technical questions on the internet (at least I hope you're new at it).
              You need to provide specific details about what you're doing, what you're seeing, and what you expect to see. No one could possibly give you a useful answer without that.

  • Jsp precompile problem

    hi to you all (using WLS 6.1 sp1, win2000)
              until today I didn't use the prcompile flag in weblogic.xml and my jsps have
              been complied on access -> no problems whatsoever. today I wanted to try the
              precompile option and after having added this flag -BANG- no deploying
              possible anymore. this is ther log snipplet:
              <snip>
              ####<22.11.2001 14:10:35 CET> <Info> <HTTP> <ws-vep> <myserver> <Application
              Manager Thread> <> <> <101047>
              <[WebAppServletContext(51375,cyberibisng,/cyberibisng)] checking
              html/accountoverview.jsp:>
              ####<22.11.2001 14:10:36 CET> <Debug> <HTTP> <ws-vep> <myserver>
              <Application Manager Thread> <> <> <101158> <Exception thrown while loading
              cyberibisng: weblogic.servlet.jsp.JspException: (line 7): Could not parse
              deployment descriptor: java.io.IOException: cannot resolve 'webwork' into a
              valid tag library>
              weblogic.servlet.jsp.JspException: (line 7): Could not parse deployment
              descriptor: java.io.IOException: cannot resolve 'webwork' into a valid tag
              library
              </snip>
              and it happens because of this taglib definition:
              <%@ taglib uri="webwork" prefix="webwork" %>
              why is this happening and doesn't happen when I don't let it precompile??
              many thanks in advance!
              -paolo
              

    hi to you all (using WLS 6.1 sp1, win2000)
              until today I didn't use the prcompile flag in weblogic.xml and my jsps have
              been complied on access -> no problems whatsoever. today I wanted to try the
              precompile option and after having added this flag -BANG- no deploying
              possible anymore. this is ther log snipplet:
              <snip>
              ####<22.11.2001 14:10:35 CET> <Info> <HTTP> <ws-vep> <myserver> <Application
              Manager Thread> <> <> <101047>
              <[WebAppServletContext(51375,cyberibisng,/cyberibisng)] checking
              html/accountoverview.jsp:>
              ####<22.11.2001 14:10:36 CET> <Debug> <HTTP> <ws-vep> <myserver>
              <Application Manager Thread> <> <> <101158> <Exception thrown while loading
              cyberibisng: weblogic.servlet.jsp.JspException: (line 7): Could not parse
              deployment descriptor: java.io.IOException: cannot resolve 'webwork' into a
              valid tag library>
              weblogic.servlet.jsp.JspException: (line 7): Could not parse deployment
              descriptor: java.io.IOException: cannot resolve 'webwork' into a valid tag
              library
              </snip>
              and it happens because of this taglib definition:
              <%@ taglib uri="webwork" prefix="webwork" %>
              why is this happening and doesn't happen when I don't let it precompile??
              many thanks in advance!
              -paolo
              

  • Jsp precompile - does it work?

              Part of a weblogic.xml file. Now, it sets the precompile option to true, but if I deploy the app. or touch the redeploy the .jsp arent't precompiled. They are always compiled the first time they load. (And this often gives me a ClassCastException, that why I want to precompile them!!!)
              <.....snip.....>
              <jsp-descriptor>
              <jsp-param>
              <param-name>pageCheckSeconds</param-name>
              <param-value>-1</param-value>
              </jsp-param>
              <jsp-param>
              <param-name>precompile</param-name>
              <param-value>true</param-value>
              </jsp-param>
              <jsp-param>
              <param-name>verbose</param-name>
              <param-value>true</param-value>
              </jsp-param>
              <jsp-param>
              <param-name>keepgenerated</param-name>
              <param-value>true</param-value>
              </jsp-param>
              </jsp-descriptor>
              <.....snip.....>
              

    Hi.
              I have the same problem.
              I am using the default Application and have put the context parameter tag in
              the web.xml file as follows:
              <context-param>
              <param-name>weblogic.jsp.precompile</param-name>
              <param-value>true</param-value>
              </context-param>
              Still no good :( ..... Is BEA listening ???
              -Sandeep
              "Merg" <[email protected]> wrote in message
              news:3a766611$[email protected]..
              >
              > Part of a weblogic.xml file. Now, it sets the precompile option to true,
              but if I deploy the app. or touch the redeploy the .jsp arent't precompiled.
              They are always compiled the first time they load. (And this often gives me
              a ClassCastException, that why I want to precompile them!!!)
              >
              > <.....snip.....>
              > <jsp-descriptor>
              > <jsp-param>
              > <param-name>pageCheckSeconds</param-name>
              > <param-value>-1</param-value>
              > </jsp-param>
              > <jsp-param>
              > <param-name>precompile</param-name>
              > <param-value>true</param-value>
              > </jsp-param>
              > <jsp-param>
              > <param-name>verbose</param-name>
              > <param-value>true</param-value>
              > </jsp-param>
              > <jsp-param>
              > <param-name>keepgenerated</param-name>
              > <param-value>true</param-value>
              > </jsp-param>
              > </jsp-descriptor>
              > <.....snip.....>
              >
              

  • Weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri

    Previously my web app was running fine using eclipse 3.1
    When I upgraded my eclipse to 3.2 then built the same web app and deployed, upon running the url i got error
    weblogic.servlet.jsp.JspException: (line 1): Error in using tag library uri='/tags/css' prefix='css' : cannot find tag class
    Your help is appreciated.

              Hi Guys
              Problem is almost certainly because I've gone and defined the get as returning
              an int, (hence no property!)
              Apols
              J
              

  • Weblogic 10 jsp compliation thread block problem

    hi
    i am using weblogic 10 and jdk1.5.
    My application is deployed in ear format, with 2 wars, and 20 ejbs.
    The ear works ok with weblogic 8.1.
    In the application , one war passes the request to another war, that's the workflow....
    Now when the request is passed on the second war, a jsp is supposed to open....but the application get stuck there.
    The call is like this in a servlet....
         reqDisp = req.getRequestDispatcher("/newIndex.jsp");
    reqDisp.forward(req, res);
    The new index jsp is not opened....there is no problem with it it comiples ok....i check with weblogic appc...and it is working on weblogic 8.1.
    when i stop the server...the log gives me following exception info.
    "ExecuteThread: '12' for queue: 'default'" daemon prio=6 tid=0x2b8edad0 nid=0xc1
    0 in Object.wait() [0x2da1e000..0x2da1fb64]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x07f94608> (a javelin.client.JobWaiter)
    at java.lang.Object.wait(Object.java:474)
    at javelin.client.JobWaiter.blockUntilFinished(JobWaiter.java:45)
    - locked <0x07f94608> (a javelin.client.JobWaiter)
    at javelin.client.ClientUtilsImpl.build(ClientUtilsImpl.java:838)
    at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:248)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:200)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:164)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
    - locked <0x07ef8220> (a weblogic.servlet.jsp.JavelinxJSPStub)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
    at LCDisplayController.handleProcessing(Unknown Source)
    at DisplayControllerServlet.doPost(Unknown Source)
    at DisplayControllerServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:503)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
    at com.orbitech.workflow.servlet.WFAppListController.openWorkitem(WFAppListController.java:793)
    at com.orbitech.workflow.servlet.WFAppListController.processRequest(WFAppListController.java:102)
    at com.orbitech.workflow.servlet.WFAppController.doProcessRequest(WFAppController.java:97)
    at com.orbitech.workflow.servlet.WFAppController.doGet(WFAppController.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    i think the there is thread blocking and the jsp is not getting compiled or smthing....
    i am unable to understnd the exception....
    any help, suggestion ? thanks in advance.

    We are using jBPM and Hibernate in our application which runs fine on other java application servers. On Weblogic we were getting an error:
    org.hibernate.HibernateException: Errors in named queries: GraphSession...........
    By adding:
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    to our weblogic.xml, Weblogic used our Hibernate3 and antl-2.7.6 .jar files which resolved this issue but created multiple CompilationException errors in many .jsp's. (as follows)
    Error 500--Internal Server Error
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/jsp/struts/dashboards/portfolio_chart.jsp
    portfolio_chart.jsp:1:1: The validator class: "org.apache.taglibs.standard.tlv.JstlCoreTLV" has failed with the following exception: "java.lang.ClassCastException: weblogic.xml.jaxp.RegistrySAXParserFactory".
    <%@ taglib uri="/jstl-core" prefix="c" %>
    ^---------------------------------------^
    portfolio_chart.jsp:1:1: The validator class: "com.primavera.pvweb.taglib.JSMessageTagLibraryValidator" has failed with the following exception: "java.lang.ClassCastException: weblogic.xml.jaxp.RegistrySAXParserFactory".
    <%@ taglib uri="/jstl-core" prefix="c" %>
    ^---------------------------------------^
         at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:298)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:165)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
    Is this a Weblogic bug ?

Maybe you are looking for

  • Inventory Report for actuals  and  projected?

    Hi, currently i am doing APO-BI Project. I have a requirement to extract the Opening stock from ECC and Projected(Forecasted) Opening stock from APO. both are 2 different key figures 1 is from ECC and another one is from APO. I need to display in Bex

  • Why can't I download the updates?

    When i try to update my Adobe Premiere Pro, the updater tells me to turn off the program; I do, then it starts to download and then tells me again to turn off the program. It is already turned off though. Then i get an error message: Adobe CSXS Infra

  • P1606dn is set to manual, not dhcp.

    I needed to move a laserjet P1606 between buildings and put in another ip-address. I restored the factory settings (hold both buttons while its turning on..).   now the printer showes IPv4, subnet and gateway is 0.0.0.0  AND "IP counfigured by=manual

  • Can I uninstall 10.6.2 and go back to 10.5?

    I just got a 2 year old MacBook Pro for my classroom to use with my Smart Board. I upgraded the MacBook to 10.6.2 and installed the latest version of NoteBook 10 software. When I could not get the software to install properly I contacted SmartTech an

  • Future upgrading from current MBP express card 34 capability to54 possible?

    My MBP arrived this morning and (my bad) I just noticed lack of FW800 port. I came here to discussions before tearing the seal on the protective envelope in case I might need to return based on your answers: From reading here, I see people saying exp