Weblogic.servlet.jsp.StaleChecker cannot be applied

Hi,
I am getting the following error when i try to access the web application deployed
on the weblogic 8.1 sp2 application server. The same works fine on weblogic 7.1.
Please let me know if any of you came across this problem.
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_rttm_rttm\jsp_servlet\__login.java:49:
isResourceStale(java.lang.String,long,java.lang.String) in weblogic.servlet.jsp.StaleChecker
cannot be applied to (java.lang.String,long,java.lang.String,java.lang.String)
(No more information available, probably caused by another error.
Thanks in advance
-Nagaraju

May be the weglogic.jar used in your web application is differ with the current
bea home's.
"Nagaraju" <[email protected]> wrote:
>
Hi,
I am getting the following error when i try to access the web application
deployed
on the weblogic 8.1 sp2 application server. The same works fine on weblogic
7.1.
Please let me know if any of you came across this problem.
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_rttm_rttm\jsp_servlet\__login.java:49:
isResourceStale(java.lang.String,long,java.lang.String) in weblogic.servlet.jsp.StaleChecker
cannot be applied to (java.lang.String,long,java.lang.String,java.lang.String)
(No more information available, probably caused by another error.
Thanks in advance
-Nagaraju

Similar Messages

  • 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
              

  • Javax.servlet.jsp.JspException: Cannot find FacesContext

    Hello All,
    I was trying to create a simple JSF page (Welcome.jspx )(please find code bellow) .But it is always giving the following error:
    javax.servlet.jsp.JspException: Cannot find FacesContext
    The error appears though i am calling the page with the faces servlet (http://128.128.5.64:8989/GradeEntry/faces/Infrastructure/Welcome.jspx)!!
    I have searched all possible forums on the Internet and tried their suggestions with no luck...My web.xml configuration contains the right Faces Servlet Mapping :
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    Bear in mind that i can run from the project pages that are generated from Oracle Jheadstart...But i just can't run this welcome page that i've created with JDeveloper.
    Please find bellow the code for Welcome.jspx:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:fmt="http://java.sun.com/jsp/jstl/fmt">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>tt</title>
    </head>
    <body><h:form></h:form></body>
    </html>
    </f:view>
    </jsp:root>
    You help is very appreciated!!

    Hi,
    actually this mapping only identifies those requests to be handled by teh JSF servlet. Its not a redirect.
    I see several namespace definitions in your page, but no taglib reference. Wondering how this is supposed to work
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    I assume the next crash you will see is when you add JSF components to
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>tt</title>
    </head>
    <body><h:form></h:form></body>
    </html>
    </f:view>
    Note that mixing HTML elements with JSF is not a recommended approach
    Frank

  • ADF Security: javax.servlet.jsp.JspException: Cannot find FacesContext

    Hi,
    In my ADF Application, new users are to be allowed to Register by clicking a button in login page. The Application is based on ADF Security Wizard and I have created default pages for Login and Error, so the application's login page is login.html.
    Now when I’m trying to navigate to 'NewUserRegistrationPage.jspx' Im getting javax.servlet.jsp.JspException: Cannot find FacesContext error.
    I thought the issue might be from calling a .jspx from .html so I created a 'NewLogin.jspx' Page with below code and specified this page in ADF Security Wizard for Login Page.
    Please advice me some way of calling the 'newRegistrationpage.jspx' from my login page.
    Im using JDeveloper 10.1.3.4.
    Page Code:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <html>
    <head>
    <title>Login</title>
    </head>
    <body><form method="POST" action="j_security_check">
    <font face="Verdana" color="Navy">
    <table cellspacing="2" cellpadding="3" border="0" align="center">
    <tr>
    <th>Username:</th>
    <td>
    <input type="text" name="j_username"/>
    </td>
    </tr>
    <tr>
    <th>Password:</th>
    <td>
    <input type="password" name="j_password"/>
    </td>
    </tr>
    </table>
    </font>
    <p align="center">
    <input type="submit" name="submit" value="Submit"/>
    <input type="button" name="" value="Request Password"/>
    <input type="button" name="" value="New User Registration"/>
    </p>
    </form></body>
    </html>
    </f:view>
    </jsp:root>
    Error::
    javax.servlet.jsp.JspException: Cannot find FacesContext     at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:427)     at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:125)     at webpages.REACHLoginPage_jspx._jspService(_REACHLoginPage_jspx.java:47)     [WebPages/REACHLoginPage.jspx]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.FormHttpAuthenticator.reject(FormHttpAuthenticator.java:83)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.checkAuthenticationAndAuthorize(HttpApplication.java:6435)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3030)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:738)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)
    Edited by: Manasa Tadi on Jul 1, 2009 11:52 PM

    Hi Branislav,
    Thanks a lot for your suggestion through which now Im able to navigate to NewRegistration page from login.html.
    In my application login.html is under public_html folder where as the NewRegistration page in public_html/WebPages.
    Code I used:
    New User Registration
    But the issue now is, the NewUserRegistrationPage was also under the ADFSecurity, so inorder to navigate to it again the user had to provide authentication. So, I have removed this particular page from Security and it has started to work.
    But the issue now I face is something else. In the NewUserRegistrationPage I have a selection to be made by user about the type of user he is and based on the selection he would be navigated to next page, This next page has a VO on it as a 'create form', through which he can directly fill the form and submit his details to database table.
    But as I have removed these pages from ADF Security and authentication, the form fields/attributes in the VO are not getting binded, Im getting this Exception:
    500 Internal Server Error
    javax.faces.el.PropertyNotFoundException: Error testing property 'inputValue' in bean of type null
    For testing purpose when I have provided link from application page to NewRegistrationPage the flow is working properly, able to navigate to second page and submit the filled form to database, I think this is working because we have entered the application after providing the login credentials.'
    Help in this greatly needed.
    Thanks,
    Manasa.

  • Problem wth weblogic.servlet.jsp.jspstub

    hai,
              i have three pages in my application iam calling a login page which verifies the user and gets the data from the database
              and iam showing the results in the secod page and logging from there.
              This process iam doing with a stress tool repeatedly.
              iam observing the created objects in the heapinspector the name of the product is optimiztit.
              iam observing the following contents are increasing on each login process.
              The objects which are increasing are as follows.
              weblogic.servlet.jsp.config,
              weblogic.servlet.jsp.jspstub,
              weblogic.socket.IoRecord,
              weblogic.rmi.internal.dgc.DGCServerHelper,
              java.lang.security.exceptions
              and some other weblogic related objects.
              and once they reach the max heap memory my application is runnig outofmemory exception.
              do i need to follow any configration setting to arrest the above object increments.
              can any body give some help to over come this.it would be a great help for me if i get any healp.
              Any ideas/pointers would be welcome. Thanks for your help.
              Thanks,
              gangadhar
              

    Hi,
              It's peculiar that you're seeing JspStub and jsp.config instances
              increasing. Can you convert your application to a stand alone app that
              doesn't do any database access and send me the application with instructions
              on how to run it. If so, I can look into it quickly - otherwise, I can only
              guess and that is a waste of time for both of us.
              Alex
              "gangadhar" <[email protected]> wrote in message
              news:[email protected]...
              > hai,
              >
              > i have three pages in my application iam calling a login page which
              verifies the user and gets the data from the database
              > and iam showing the results in the secod page and logging from there.
              >
              > This process iam doing with a stress tool repeatedly.
              >
              > iam observing the created objects in the heapinspector the name of the
              product is optimiztit.
              >
              > iam observing the following contents are increasing on each login process.
              >
              > The objects which are increasing are as follows.
              >
              > weblogic.servlet.jsp.config,
              > weblogic.servlet.jsp.jspstub,
              > weblogic.socket.IoRecord,
              > weblogic.rmi.internal.dgc.DGCServerHelper,
              > java.lang.security.exceptions
              > and some other weblogic related objects.
              >
              > and once they reach the max heap memory my application is runnig
              outofmemory exception.
              >
              > do i need to follow any configration setting to arrest the above object
              increments.
              >
              > can any body give some help to over come this.it would be a great help for
              me if i get any healp.
              >
              > Any ideas/pointers would be welcome. Thanks for your help.
              >
              > Thanks,
              > gangadhar
              

  • Weblogic.servlet.jsp.JspException

    I am using WLServer6.1, and keep gettingg this error:
              Error: translation of /my.jsp failed:
              weblogic.servlet.jsp.JspException: (line 1): a variable named
              "sessionbean" was previously declared at line 1 of /my.jsp
              Error: [jspc]: 1 file(s) failed:
              /my.jsp
              Here is line one:
              <jsp:useBean id="sessionbean" scope="session"
              class="com.mycom.beans.session.MySessionBean" />
              Now, if I change sessionbean to Asessionbean:
              <jsp:useBean id="_A_sessionbean" scope="session"
              class="com.mycom.beans.session.MySessionBean" />
              same error:
              [jspc] parsing /my.jsp:
              Error: translation of /my.jsp failed:
              weblogic.servlet.jsp.JspException: (line 1): a variable named
              "_A_sessionbean" was previously declared at line 1 of /my.jsp
              Error: [jspc]: 1 file(s) failed:
              /my.jsp
              All these displays perfect with JRun and iPlanet.
              Any idea?
              Thanks.
              -Frank
              

    Thanks for the reply. I have already opened up the BEA Support Case and they have provided me the latest JRockit rolling patch (1.4.2_08). After installing and pointing JAVA_HOME to this latest JRockit version, the javax.servlet.jsp.JspException problem got resolved. I have seen that most of the times JRockit related problems get resolved with latest rolling patch of JRockit.
              - Satya

  • Javax.servlet.jsp.JspException: Cannot find bean: "org.apache.struts.taglib

    Hi
    i have a form from which i am gettin values and i am using struts to get those values and perform actions in my DAO,
    i am able to retrieve values from DAO but the value is not gettin printed in front end.. its throwing
    "javax.servlet.jsp.JspException: Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope" error
    got any suggestions
    thankx

    Got the solution,. i had closed my <html:form> before closing one of my <html:form>
    thankx

  • Javax.servlet.jsp.JspException: Cannot forward a response that is already committed at

              Hello,
              Went through the article
              http://dev2dev.bea.com/articles/platform7_feature.jsp
              I thought if you have a workaround for the following issue.
              Any help to solve this issue is much appreciated.
              thx,
              -Sujatha.
              I am using JATO framework and have developed JSP's.
              Running an application on top of weblogic 6.1 sp4 container.
              The OS is Solaris 5.8.
              Every time i access the jsp's, getting the following exception.
              java.lang.IllegalStateException: Cannot forward a response that is
              already committed
              at
              weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:132)
              at
              com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:346)
              at
              com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:267)
              at
              com.iplanet.am.console.base.ConsoleServletBase.onUncaughtException(ConsoleServletBase.java:240)
              at
              com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1023)
              at
              com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:469)
              at
              com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:324)
              at
              com.iplanet.jato.ApplicationServletBase.doGet(ApplicationServletBase.java:294)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:262)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:198)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2637)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2359)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              

    sorry, but just to make a additional note.
    the <c:import > tag library is from JSTL taglib <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    regards,
    Junecello

  • Error parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta name="generator" content="HTML Tidy for Java (vers. 26 Sep 2004), see www.w3.org">
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Transform</title>
    <link type="text/css" rel="stylesheet" href="css/CascadeMenu.css">
    </head>
    <body id="Bdy">
    Hello all, I've run into a perplexing problem with a new and unexptected error on a web application that resides in a JDeveloper 11g environment. I just run it from JDeveloper on my laptop. No deployement other than to the default server at run time Integratedweblogicserver. I am doing an XML transform using XSLT and it has been working fine until I tried to use the page yesterday. I get the following error. javax.servlet.ServletException: javax.xml.transform.TransformerConfigurationException: XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:417) at jsp_servlet.__transform._jspService(__transform.java:109) at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: javax.xml.transform.TransformerConfigurationException: XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). at oracle.xml.jaxp.JXSAXTransformerFactory.reportConfigException(JXSAXTransformerFactory.java:759) at oracle.xml.jaxp.JXSAXTransformerFactory.newTemplates(JXSAXTransformerFactory.java:371) at oracle.xml.jaxp.JXSAXTransformerFactory.newTransformer(JXSAXTransformerFactory.java:272) at weblogic.xml.jaxp.RegistryTransformerFactory.newTransformer(RegistryTransformerFactory.java:209) at org.apache.taglibs.standard.tag.common.xml.TransformSupport.doStartTag(TransformSupport.java:145) at jsp_servlet.__transform._jsp__tag2(__transform.java:223) at jsp_servlet.__transform._jspService(__transform.java:102) ... 25 more Caused by: java.lang.ClassCastException: weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser at oracle.xml.jaxp.JXSAXTransformerFactory.newTemplates(JXSAXTransformerFactory.java:357) ... 30 more ------------------------------------------------ I changed no code or moved any XML or XSLT file. I do see an error in the log regarding a bad URL ----------------------------------------------- XML-22108: (Error) Invalid Source - URL format is incorrect. XML-22000: (Fatal Error) Error while parsing XSL file (weblogic.xml.jaxp.RegistryXMLReader cannot be cast to oracle.xml.parser.v2.SAXParser). &lt;[ServletContext@10343785[app:QSBQAR module:QSBQAR-QSBQAR-context-root path:/QSBQAR-QSBQAR-context-root spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@699744[ GET /QSBQAR-QSBQAR-context-root/Transform.jsp?reqtype=1 HTTP/1.1 Accept: image/gif, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* Accept-Language: en-us User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; . ------------------------------ Here is the XML ------------------------------ <?xml version="1.0" encoding="windows-1252" standalone="no"?>
    ACME Bird Seed Co. Capture the Road Runner using a boulder, rope and bird seed. Quinn Brian 00 00 00 00 00 00 00 00 00 11 08 08 08 08 00 43 43 Hours have been approved. APPROVED Smart Jean 00 00 00 00 00 00 00 00 00 Hours approved. APPROVED --------------------------------------------------------------------------------------- Here is the XSL --------------------------------------------------------------------------------------- <?xml version="1.0" encoding="windows-1252"?>
    <!-- Root template -->
    <h2>Project Hours Worked</h2>
    ----------------------------------------------------------------------------------------- Here is the JSP with the transform ----------------------------------------------------------------------------------------
    <table>
    <tr>
    <td>Week Ending Date:--</td>
    </tr>
    <tr>
    <td></td>
    </tr>
    <tr>
    <th>Client</th>
    <td></td>
    <th>Project</th>
    <td></td>
    </tr>
    <tr>
    <td></td>
    </tr>
    <tr>
    <td></td>
    </tr>
    <tr>
    <th>Last Name</th>
    <th>First Name</th>
    <th>Task</th>
    <th>---</th>
    <th>Sun</th>
    <th>Mon</th>
    <th>Tue</th>
    <th>Wed</th>
    <th>Thu</th>
    <th>Fri</th>
    <th>Sat</th>
    <th>---</th>
    <th>Ttl</th>
    </tr>
    <tr>
    <td></td>
    <td></td>
    </tr>
    <tr>
    <td>---</td>
    <td>---</td>
    <td></td>
    <td>---</td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td>---</td>
    <td></td>
    </tr>
    <tr>
    <td>Total Hours: </td>
    <td></td>
    <td></td>
    </tr>
    <%@ page contentType="text/html;charset=windows-1252"%><%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %></table>
    <script type="text/javascript" src="scripts/CascadeMenu.js">
    </script>
    <% int bad = 1; %>
    <div id="menuBar" class="menuBar">
    <div id="Bar1" class="Bar">Home</div>
    <div id="Bar3" class="Bar">Accounting</div>
    <div id="Bar4" class="Bar">Help</div>
    </div>
    <div style="background:#84ffff; color:Aqua; "><br>
    <br>
    <p style="color:Orange; font-size:x-large; font-style:italic; font-weight:bold;
    font-family:Arial, Helvetica, sans-serif; "><img src="images/logoqsq.jpg" style="border:1" height="120" width="120" alt="Q Squared">
    </p>
    </div>
    <div>
    <p style="color:Black; font-size:x-large; font-style:italic; font-weight:bold; font-family:Arial, Helvetica, sans-serif;"><img src="images/dilbert.gif" alt="Dilbert" height="100" width="100">
    ? ? Welcome to Q Squared-Brian Quinn Consulting - Manager Time Approval</p>
    </div>
    <div>
    <table width="100%" class="table1">
    <tr>
    <td style="width:15%; border-width:medium; background-color:silver ">
    <h3>Contractor Resources</h3>
    <ul style="list-style-type:circle; ">
    <li>Time Entry</li>
    <li>Profile</li>
    </ul>
    <h3>Manager Resources</h

    LOL - I didn't think about the forum message area having trouble displaying my XML XSLT problem
    It seemed to mix the code with the site XML.
    Oh brother
    The deal is this.
    The XML XSLT transform was working and now it is not and I think it has something to do with
    the HTTP links for either the Oracle core and/or XML TAGLIBs. Either that or the W3.org has
    outdated XSLT http links.
    Anyone know if changes have been made to any of these taglib links?
    This in the JSP
    <!--
    <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <c:import url="HoursWorked.xml" var="xmlHoursWorked" charEncoding="windows-1252"/>
    <c:import url="./HoursWorked3.xsl" var="xslt" charEncoding="windows-1252"/>
    <x:transform xml="${xmlHoursWorked}" xslt="${xslt}" />
    -->
    This in the XSL
    <!--
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    -->
    And the other JSP having the same problem.
    <!--
    <%@ page contentType="text/html;charset=windows-1252"
    import="java.util.List, qsbqar.XMLHandler, org.w3c.dom.NodeList,
    javax.xml.transform.*, javax.xml.transform.stream.*,
    org.w3c.dom.Node, oracle.xml.parser.v2.*, java.io.File,
    java.io.FileReader " %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x" %>
    <xsl:param name="employeeID" value="2"/>
    <%session.setAttribute("employee_ID", request.getParameter("consultantID")); %>
    <c:import url="HoursWorked.xml" var="xmlHoursWorked" charEncoding="windows-1252"/>
    <c:import url="./HoursWorked4.xsl" var="xslt" charEncoding="windows-1252"/>
    <x:transform xml="${xmlHoursWorked}" xslt="${xslt}">
    <x:param name="employeeID" value="${sessionScope.employee_ID }"/>
    </x:transform>
    -->
    Edited by: B of Carbon on Dec 19, 2010 12:25 AM

  • Javax.servlet.jsp.el.ELParseException in WLS 9.1

    I have a spring/hibernate application working fine on Tomcat. I am trying to make it work on weblogic 9.1 and get javax.servlet.jsp.el.ELParseException. Does anyone know what could be wrong? Thanks.

    I am using a 2.3 web.xml. The first line in my web.xml is:
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
              The error I get is:
              Error 500--Internal Server Error
              javax.servlet.jsp.el.ELParseException: Error occured while trying to parse 'command.listHolder.source[${results.firstElementOnPage + forStatus.count - 1}].selected'
                   at javelin.jsp.el.ExpressionEvaluatorImpl.parseEL(ExpressionEvaluatorImpl.java:113)
                   at javelin.jsp.el.ExpressionEvaluatorImpl.parseExpression(ExpressionEvaluatorImpl.java:82)
                   at javelin.jsp.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:73)
                   at org.springframework.web.util.ExpressionEvaluationUtils$Jsp20ExpressionEvaluationHelper.evaluate(ExpressionEvaluationUtils.java:216)
                   at org.springframework.web.util.ExpressionEvaluationUtils.evaluateString(ExpressionEvaluationUtils.java:150)
                   at org.springframework.web.servlet.tags.BindTag.doStartTagInternal(BindTag.java:104)
                   at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:68)
                   at jsp_servlet._web_45_inf._pages._templates.__td_45_pick._jspService(__td_45_pick.java:3618)
                   at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
                   at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
                   at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
                   at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
                   at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
                   at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
              .....

  • Javax.servlet.jsp.JspException: Exception creating bean of class ProdFormFB

    Hi I am trying to deploy a struts based web application using "DynaActionForms"
    When I am trying to access the jsp page I am getting the following error.
    I am providing as much as details as it can help full to u.
    Thank u.
    FormBean class ProdFormFB.java
    ========================================================================
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import org.apache.struts.action.*;
    public class ProdFormFB extends DynaActionForm
    public void reset(ActionMapping mapping, HttpServletRequest request)
         System.out.println("reset() called. . . . ");
    set("prodId", new Integer(10));
         set("prodName", new String("XYZ"));
         set("price", new Float(22.25));
    public ActionErrors validate(ActionMapping mappings, HttpServletRequest request)
    System.out.println("=== validate() called ===");
    ActionErrors aes=new ActionErrors();
         System.out.println("aes.size() ===> "+aes.size());
         String prodName = (String)get("prodName");
         if( prodName==null || prodName.equals("") )
              System.out.println("Adding prodName.req error . . . . . . .");
              aes.add("prodName",new ActionError ("prodName.req.error"));
    return aes;
    ========================================================================
    Action Class ProdAction.java
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import org.apache.struts.action.*;
    public class ProdAction extends Action
       public ActionForward execute(ActionMapping mapping,ActionForm form, HttpServletRequest request,HttpServletResponse response)throws Exception
          ProdFormFB fb = (ProdFormFB)form;
          System.out.println("fb.get('prodId')==> "+fb.get("prodId"));
          System.out.println("fb.get('prodName')==> "+fb.get("prodName"));
          System.out.println("fb.get('price')==> "+fb.get("price"));
           return mapping.findForward("dres");
    }========================================================================
    jsp page : npform.jsp
    <%@ taglib uri = "/tags/struts-html" prefix="html"%>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <html:html>
      <head>
         <title>Product Form</title>
      </head>
      <body>
              <html:form action="/pAction">
              <center>
                <br><br>
                <center> <font color="green" style="bold" size=5>Product Form using Struts</font></center><br><br>
                <table>
                <tr>
                   <td>
                          <b> Product ID : </b>  <html:text property="prodId"/> </td><td><font color="red" style="bold"><html:errors property="prodId"/> </font>
                 </td>
             </tr>
               <tr>
                   <td>
                          <b> Prod Name : </b> <html:text property="prodName"/>  </td><td> <font color="red" style="bold"> <html:errors property="prodName"/> </font>
                 </td>
              </tr>
    <!--           <tr>
                   <td>
                          <b> Price : </b> <html:text property="price"/>  </td><td> <font color="red" style="bold"> <html:errors property="price"/> </font>
                 </td>
              </tr> -->
               <tr  colspan="2" align="center">
                   <td>
                      <html:submit property="submit" value="Store"/>
                </td>
              </tr>
              </table>
                          </center>
           </html:form>
      </body>
    </html:html>========================================================================
    Configuration in struts-config.jsp
        <form-beans>
             <form-bean name="NewProdForm" type="ProdFormFB">
                  <form-property name="prodId" type="java.land.Integer"/>
                    <form-property name="prodName" type="java.land.String"/>
                  <form-property name="price" type="java.land.Float"/>
            </form-bean>
    </form-beans>
    <action-mappings>
           <action name="NewProdForm" path="/pAction" type="ProdAction" input="/npform.jsp" validate="true" scope="request">
                  <forward name="dres" path="/dres.jsp"/>
           </action>
    </action-mappings>========================================================================
    After deploying successfully I am I am entering the following URL
    http://localhost:7001/oursapp/npform.jsp
    The following Exception on Browser: and also on the server console ......
    javax.servlet.jsp.JspException: Exception creating bean of class ProdFormFB: {1}
         at org.apache.struts.taglib.html.FormTag.initFormBean(FormTag.java:463)
         at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:433)
         at jsp_servlet.__npform._jspService(__npform.java:178)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)     
    Plz... Help me out is solving the problem .......
    my email :   [email protected]

    I never used DynaActionForm, what I have noticed here is, don't you need to declare the form bean? I may be wrong.
    <form-beans>
    <form-bean name="newProdForm" type="com.package.form.NewProdForm"></form-bean>
    </form-beans>

  • Root cause of ServletException.javax.servlet.jsp.JspException:

    Hi guys, hope you all can help me on this.
    I have added this repeater netui tag into my jsp page and always get this servletException
    error, not very sure why. when i remove this repeater tag everything seems alright.
    anyone can give me any hints or clue on this? the checkbox repeater tag is wrong,
    i need to ask you guys on that the next posting! thanks!
    The Repeater tag in my jsp
    <netui-data:callPageFlow method="getFunctionHashtable" resultId="funcNamehashtable"/>
    <netui-data:repeater dataSource="{actionForm.functionHashtable}">
    <netui-data:repeaterHeader>
    <table border="1">
    <tr>
    <td><b>Functions</b></td>
    <td><b>Assign/Unassign</b></td>
    </tr>
    </netui-data:repeaterHeader>
    <netui-data:repeaterItem>
    <tr>
    <td>
    <netui:label value="{container.item}" />
    </td>
    <td>
    <netui:checkBox dataSource="{pageFlow.initchecked}" onClick="checkFunctions();"/>
    </td>
    </tr>
    </netui-data:repeaterItem>
    <netui-data:repeaterFooter>
    </table>
    </netui-data:repeaterFooter>
    </netui-data:repeater>
    and here's the exception error i have got.
    id=16240211,name=RapidWeb,context-path=/RapidWeb)] Root cause of ServletExceptio
    n.
    javax.servlet.jsp.JspException: Input/output error: java.net.SocketException:
    Co
    nnection reset by peer: socket write error
    at org.apache.struts.util.ResponseUtils.write(ResponseUtils.java:160)
    at com.bea.wlw.netui.tags.html.Html.doEndTag(Html.java:282)
    at jsp_servlet._assignunassignfunctions.__getrole._jspService(getRole.js
    p:78)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:402)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:27)
    at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(PageFlowJspFilt

    Hi
    The message java.net.SocketException: Connection reset by peer is caused by network problem or even forced closure of IE browser.
    This should not affect functionality and is harmless.
    If the page process is too long, the user closed the browser or the user reloaded the page, this error could happen. Reloading a page or closing the browser is very common, and so we should not log this message.
    BEA has a known issue CR219602 where we catch the SocketException and ignore the logging in the doEndTag() method.
    If this error message is annonying please contact BEA Support to get a patch.
    Thanks
    Vimala

  • Javax.servlet.jsp.JspException: Can't insert page '/common/MenuFiles.jsp' :

    Hi,
    I am using WebLogic 11g.
    In my application am getting following exception in my console
    ####<Jun 4, 2012 2:03:47 AM CDT> <Error> <HTTP> <cuscmas1.hillscte.com> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1338793427049> <BEA-101017> <[ServletContext@2141448872[app:amsatms module:/paws path:/paws spec-version:null]] Root cause of ServletException.
    javax.servlet.jsp.JspException: Can't insert page '/common/MenuFiles.jsp' : Connection reset
    at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.processException(InsertTag.java:956)
    at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:884)
    at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
    at jsp_servlet._tdms._common.__tdmspage._jsp__tag1(__tdmspage.java:530)
    at jsp_servlet._tdms._common.__tdmspage._jspService(__tdmspage.java:427)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    Previously I was used OC4J, in that I didnt get any error.
    My MenuFiles.jsp is
    <%@ page import="com.hillspet.atms.common.constants.IATMSConstants" %>
    <%@ page import="com.hillspet.atms.common.constants.AnimalConstants" %>
    <%@ page import="com.hillspet.atms.common.constants.IATMSAccessConstants" %>
    <%@ page import="com.hillspet.atms.collectionkit.util.ICollectionKitConstants" %>
    <%@ page import="com.cte.common.IConstants" %>
    <%@ page import="com.cte.common.dto.UserDTO,com.hillspet.atms.common.util.ATMSUtil" %>
    <%@ page import="java.util.ArrayList" %>
    <%@page import="com.hillspet.ahms.animal.util.IAHMSAccessConstants,com.hillspet.admin.common.util.HillspetUtil, com.hillspet.ahms.animal.dto.AnimalBaseDTO"%>
    <%@page import="com.hillspet.ahms.animal.util.IAHMSAccessConstants,com.hillspet.admin.common.util.HillspetUtil, com.hillspet.ahms.animal.dto.AnimalBaseDTO"%>
    <%@ page import="com.cte.common.dto.UserDTO, com.cte.common.IConstants,     com.hillspet.admin.common.util.HillspetUtil, java.util.ArrayList, com.cte.common.ums.dto.RoleListEntryDTO,java.util.Arrays,java.util.Collections"%>
    <%@page import="com.hillspet.tdms.common.util.ITLMSAccessConstants,com.hillspet.admin.common.util.HillspetUtil"%>
    <%
    boolean isInternal = false;
    if(session.getAttribute("ANIMAL_BASE_DTO")!=null ){
         AnimalBaseDTO animalSummaryDetailsDTO = (AnimalBaseDTO) session.getAttribute("ANIMAL_BASE_DTO");
         if(animalSummaryDetailsDTO.getIsExternal()==0){
              isInternal = true;
    %>
    <%
    UserDTO dto = (UserDTO) session.getAttribute(IConstants.USER_OBJECT);
         ArrayList userPermissionsList = dto.getUserPermissionList();
    boolean isAdmin = dto.getRoleList().contains("" + IATMSConstants.ATMS_ADMIN_ROLE_ID);
    //System.out.println("User Permission list is :" + dto.getUserPermissionList());
         java.util.ArrayList rolesList = dto.getRoleList();
         boolean isEUUser = HillspetUtil.checkEUAccess(request, dto);
         ArrayList atmsRolesList=new ArrayList(Arrays.asList ("126","125","109","108","107","106","105","114","103","102","101","100","99","98","97","96","95","93","90","89","88","87","86","67","111","85","83","73","84","116","113", "127","128","130","132","133","134","135","136"));
    boolean displayATMSMenus = !Collections.disjoint(rolesList, atmsRolesList);
    %>
    <script>
         var breadcrumb = "<%=IATMSConstants.SEARCH_AND_VIEW%>";
    Initialize and render the MenuBar when its elements are ready
    to be scripted.
    YAHOO.util.Event.onContentReady("vmenu", function () {
    Instantiate a MenuBar: The first argument passed to the
    constructor is the id of the element in the page
    representing the MenuBar; the second is an object literal
    of configuration properties.
    var oMenuBar = new YAHOO.widget.MenuBar("vmenu", {
    autosubmenudisplay: true,
    hidedelay: 750,
    lazyload: true });
    Define an array of object literals, each containing
    the data necessary to create a submenu.
    var aSubmenuData = [
                        <%
                                  if(rolesList.contains("67") || rolesList.contains("84") || rolesList.contains("118") || rolesList.contains("111") || rolesList.contains("90") || rolesList.contains("83") || rolesList.contains("85") || rolesList.contains("88") || rolesList.contains("82") || displayATMSMenus){
                        %>
    id: "Tab1",
    itemdata: [
    <%if(HillspetUtil.checkAccess(request,IAHMSAccessConstants.CREATE_ANIMNAL_PERMISSION)) {%>
    { text: "Add Animal", url: "addAnimalGeneralInfoAction.do" },
                                            <%}%>
                                                      <%if(HillspetUtil.checkAccess(request,IAHMSAccessConstants.CREATE_ANIMNAL_PERMISSION)) {%>
    { text: "Record Manual Feeding", url: "saveChangeDietAction.do?command=view",disabled:true },
                                                 <%}%>
                                                 <%if(HillspetUtil.checkAccess(request,IAHMSAccessConstants.SEARCH_ANIMNAL_PERMISSION)) {%>
                                       { text: "Search Animals", url: "animalSearchAction.do?command=view" },
                                            <%}%>
                                       <%if(HillspetUtil.checkAccess(request,IAHMSAccessConstants.SEARCH_IMAGES)) {%>
                                       { text: "Search Images",url: "animalImageSearchAction.do?command=view" },
                                       <%}%>
                                       <%if(HillspetUtil.checkAccess(request,IAHMSAccessConstants.SEARCH_IMAGES)) {%>
                                       { text: "Capture Images",url: "captureImageAction.do?command=view" },
                                       <%}
                                       if(!rolesList.contains("95") && !rolesList.contains("98")){ %>
                                            { text: "Animal Panels", url: "animalpanelList.do?command=view&searchFlag=fromMenu" },
    <% }
                                            if (dto.getUserPermissionList().contains(
    AnimalConstants.AR_RECOMMEND_ANIMALS_PERMISSION)|| dto.getUserPermissionList().contains(
    AnimalConstants.AR_VIEW_LIST_OF_RECOMMENDATION_PERMISSION)) {
    %>
                   { text: "Animal Recommendation",
    submenu: {
    id: "subtab11",
    itemdata: [
    <%
    if (dto.getUserPermissionList().contains(AnimalConstants.AR_RECOMMEND_ANIMALS_PERMISSION)) {
    %>
    { text: "Recommend Animals", url: "recommendedAnimal.do?command=view" },
    //{ text: "Reserve / Un-reserve", url: "../ATMS/reserveUnreserve.html"},
    <%}%>
    <%
                                            if (dto.getUserPermissionList().contains(
    AnimalConstants.AR_RECOMMEND_ANIMALS_PERMISSION)|| dto.getUserPermissionList().contains(
    AnimalConstants.AR_VIEW_LIST_OF_RECOMMENDATION_PERMISSION)) {
    %>
    { text: "View Recommendations", url: "recommendedAnimalList.do?command=view"},
    <%}%>
                        <%} else {%>
                             { text: "Animal Recommendation", url: "#" , disabled: true},
                             <%}%>
                                       { text: "Move Animal",
                                       submenu: {
    id: "subtab15",
    itemdata: [
                                                                <% if( isInternal ){%>
    { text: "Change Location", url: "manageAnimalLocationAction.do?command=viewHistory" },
                                                                <%}%>
    <%if(HillspetUtil.checkAccess(request,IAHMSAccessConstants.ANML_DISPOSITION_PERMISSION)) {%>
                                                                { text: "Adoption Record", url: "animalDispositionAction.do?command=view" },
                                                                <%}%>
    id: "Tab2",
    itemdata: [
                                       <%if(HillspetUtil.checkAccess(request,IAHMSAccessConstants.SCHEDULE_FMT)) {%>
    { text: "Schedule Facility Maintenance Task ", url: "scheduleFMTActionForward.do?command=forward", disabled: false },
                                            <%}%>
                                       <%if(HillspetUtil.checkAccess(request,IAHMSAccessConstants.SCHEDULE_GROUP_TASK) || rolesList.contains("99")) {%>
                                       { text: "Schedule Task", url: "groupTaskSearchAction.do?command=view" },
                                       <% } %>
                                       { text: "Daily Task List",
                                       submenu: {
    id: "subtab21",
    itemdata: [
                                                                { text: "Animal Care Task", url: "viewDailyTaskListAction.do?command=view&id=1&actSubTab=1"},
                                       <%if(userPermissionsList.contains(IATMSConstants.SMCL_VIEW_SAMPLES)){%>
                                                      <%if(userPermissionsList.contains(IATMSConstants.SMCL_VIEW_SAMPLES)){%>
                                                      { text: "Test Collections", url: "viewSMSmpleCollections.do?command=view&identifier=fromMenu" },
                                                      <% } %>
                                                      <%if(userPermissionsList.contains(IATMSConstants.SMCL_VIEW_SAMPLES)){%>
                                                      { text: "Health Collections", url: "viewBioHealthSmplCollections.do?command=view&identifier=fromMenu" },
                                                      <%}%>
                                       <%}%>
                                                           <%if(HillspetUtil.checkAccess(request,IAHMSAccessConstants.DAILY_TASK_LIST_MEDICAL_TESTS)) {%>
    { text: "Medical Test", url: "viewDailyTaskListAction.do?command=view&id=2"},
    <%}%>
                                                           <%if(HillspetUtil.checkAccess(request,IAHMSAccessConstants.DAILY_TASK_LIST_MEDICAL_EXAMS)) {%>
                                                                { text: "Medical Exams", url: "viewDailyTaskListAction.do?command=view&id=3"},
                                                                     <%}%>
                                                                { text: "Status Phenotype", url: "viewDailyTaskListAction.do?command=view&id=6"},
                                                                { text: "Surgery/Procedure", url: "viewDailyTaskListAction.do?command=view&id=4"},
                                                                { text: "Facility Maintenance ",submenu: {
                             id: "subtab777",itemdata: [
                                                                          { text: "Facility Maintenance Task",url: "viewDailyTaskListAction.do?command=view&id=5" },
                                                                          { text: "Search FMT Images",url: "searchFMTImageAction.do?command=view" }]
                                                                { text: "Record Group ACTs", url: "RecordWeightFecalScoreAction.do?command=view"},
                                       { text: "Administer Medication", url: "recordMedicationAdministrationAction.do?command=forward" },
                                            <%if(HillspetUtil.checkAccess(request,IAHMSAccessConstants.RECORD_OBSERVATION_PERMISSION)) {%>
                                       { text: "Observations",
                                                 submenu: {
    id: "subtab222",
    itemdata: [
                                                                { text: "Search Observations",url: "recordObservationsAction.do?command=view" },
                                                                { text: "Record Observations",url: "addAnimalObservationAction.do?command=add&page=record&source=monitor" },
                                       <%}%>
                                       { text: "Shared Feed Diet Assignment", url: "RecordWeightFecalScoreAction.do?command=viewDefaultDiet" },
                                       <%if(HillspetUtil.checkAccess(request,IATMSAccessConstants.TRCL_PRINT_LABELS_LIST) || HillspetUtil.checkAccess(request,IATMSAccessConstants.HRCL_PRINT_LABELS_LIST)) {%>
                                       { text: "Print Labels",
                                       submenu: {
    id: "subtab211",
    itemdata: [
                                                                <%if(HillspetUtil.checkAccess(request,IATMSAccessConstants.TRCL_PRINT_LABELS_LIST)) {%>
                                                                { text: "Test Collections", url: "printLabelsAction.do?command=viewTests"},
                                                                <%}%>
                                                                <%if(HillspetUtil.checkAccess(request,IATMSAccessConstants.HRCL_PRINT_LABELS_LIST)) {%>
    { text: "Health Collections", url: "printLabelsAction.do?command=viewHealthCols"},
                                                                <%}%>
                                       <%}%>
                                       //{ text: "Controlled Drug Inventory", url: "#" , disabled: true},
                             <%}%>
    <%if(HillspetUtil.checkAccess(request,IATMSAccessConstants.SM_RECIEVE_SAMPLES )||
                                       HillspetUtil.checkAccess(request,IATMSAccessConstants.SM_RECIEVE_HEALTH_SAMPLES) || dto.getRoleList().contains("85") || dto.getRoleList().contains("111") || !dto.getRoleList().contains("123") && !dto.getRoleList().contains("82") ) {%>
    id: "Tab3",
    itemdata: [
    { text: "Sample Management",
    submenu: {
    id: "subtab41",
    itemdata: [
                                       <%if(HillspetUtil.checkAccess(request,IATMSAccessConstants.SM_RECIEVE_SAMPLES )||
                                       HillspetUtil.checkAccess(request,IATMSAccessConstants.SM_RECIEVE_HEALTH_SAMPLES) || dto.getRoleList().contains("85") || dto.getRoleList().contains("111") || !dto.getRoleList().contains("131") ) {%>
    { text: "Samples Pending Receipt",
                                            submenu: {
                                                 id: "subtabRecieve",
                                                      itemdata: [
                                                           <%if(HillspetUtil.checkAccess(request,IATMSAccessConstants.SM_RECIEVE_SAMPLES)) {%>
                                                      { text: "Biological Test Collections", url: "fetchLabLocationDetailsAction.do?command=forward" , disabled: false},
                                                      <%}%>
                                                           <%if(HillspetUtil.checkAccess(request,IATMSAccessConstants.SM_RECIEVE_HEALTH_SAMPLES) || dto.getRoleList().contains("85") || dto.getRoleList().contains("111")) {%>
                                                      { text: "Biological Health Collections", url: "recieveTestSamplesAction.do?command=forward" , disabled: false},
                                                      <%}%>
                                                      <%if(!dto.getRoleList().contains("706")) {%>
                                                      { text: "Non Biological Collections", url: "receiveNonBiologicalSamplesAction.do?command=viewNBSamples"}
                                                      <% } %>
                                            <%}%>
    <%
    if(HillspetUtil.checkAccess(request,IATMSAccessConstants.LAB_SM_VIEW_RECEIVED_NON_BIO_SMPLS)||HillspetUtil.checkAccess(request,IATMSAccessConstants.SM_RECIEVED_HEALTH_SAMPLES) || HillspetUtil.checkAccess(request,IATMSAccessConstants.SM_RECIEVED_TEST_SAMPLES) || dto.getRoleList().contains("85") || dto.getRoleList().contains("111")) {%>
    { text: "Samples Received",
                                            submenu: {
                                                 id: "subtabRecieved",
                                                      itemdata: [
    <%
    if(HillspetUtil.checkAccess(request,IATMSAccessConstants.SM_RECIEVED_TEST_SAMPLES) || dto.getRoleList().contains("85") || dto.getRoleList().contains("111")) {%>
                                                      { text: "Biological Test Collections", url: "recievedTestSamplesAction.do?command=forward" , disabled: false},
    <%}%>
    <%
    if(HillspetUtil.checkAccess(request,IATMSAccessConstants.SM_RECIEVED_HEALTH_SAMPLES) || dto.getRoleList().contains("85") || dto.getRoleList().contains("111") ) {%>
                                                      { text: "Biological Health Collections", url: "receivedBioTestSamplesAction.do?command=forward" , disabled: false},
    <%}%>
    <%
    if(HillspetUtil.checkAccess(request,IATMSAccessConstants.LAB_SM_VIEW_RECEIVED_NON_BIO_SMPLS) ) {%>
                                                      { text: "Non Biological Collections", url: "receivedNonBiologicalSamplesAction.do?command=viewNBSamples"}
    <%}%>
    <%}%>
                                  <%if(HillspetUtil.checkAccess(request,"VIEW_SAMPLE_BATCHES") || dto.getRoleList().contains("85") || dto.getRoleList().contains("111")||dto.getRoleList().contains("706")) {%>
    { text: "Sample Batches", url: "viewSampleBatches.do?command=view" , disabled: false},
                                       <%}%>
                                       <%     if (dto.getUserPermissionList().contains("OUTSIDE_LAB_SAMPLES_LIST") || dto.getRoleList().contains("131") || dto.getRoleList().contains("706")){ %>
                   { text: "External Lab Samples", url: "outsideLabSamplesAction.do?command=view" , disabled: false},
                                       <% } %>
                             <%
                                            if (dto.getUserPermissionList().contains(
    ICollectionKitConstants.GENERATE_CK_TEMPLATE) ) { %>
                             { text: "Sample Collection Kits",
    submenu: {
    id: "subtab421",
    itemdata: [
                                       <%
                                            if (dto.getUserPermissionList().contains(
    ICollectionKitConstants.GENERATE_CK_TEMPLATE)){ %>
    { text: "Generate Collection Kits", url: "ckCreateTemplateAction.do?command=goToGenerateCkKits" , disabled: false},
                                       <% } %>
                             <%
                                            if (dto.getUserPermissionList().contains(
    ICollectionKitConstants.GENERATE_CK_TEMPLATE) ){ %>
                             { text: "Search & View", url: "ckCreateTemplateAction.do?command=goToCKSearch&fromMenu=true" },
                             <%}%>
                             <%}%>
    <%if(HillspetUtil.checkAccess(request,IATMSAccessConstants.SMIN_VIEW_SAMPLE_INVENTORY) ||
                                            HillspetUtil.checkAccess(request,IATMSAccessConstants.VIEW_FORMULA_INVENTORY) || dto.getRoleList().contains("85") || dto.getRoleList().contains("111") || dto.getRoleList().contains("131")) {%>
    { text: "Sample Information",
                                            submenu: {
                                                 id: "subtabSampleInventory",
                                                      itemdata: [
                                                      <%if(HillspetUtil.checkAccess(request,IATMSAccessConstants.SMIN_VIEW_SAMPLE_INVENTORY) || dto.getRoleList().contains("85") || dto.getRoleList().contains("111")) {%>
                                                      { text: "Biological Samples", url: "sampleInventoryAction.do?command=view" , disabled: false},
                                                      <%}%>
                                                      <%if(HillspetUtil.checkAccess(request,IATMSAccessConstants.VIEW_FORMULA_INVENTORY)) {%>
                                                      { text: "Non Biological Samples", url: "viewInventory.do?command=view&fromLab=Y" , disabled: false},
                                                      <%}%>
    <% if ( HillspetUtil.checkAccess(request,"PENDING_ANALYSIS_REQUEST_LIST") ||
              HillspetUtil.checkAccess(request,"PENDING_ANALYSIS_REQUEST_READ") ) {
    %>
    { text: "Collected Samples New Request", url: "pendingAnalysisReqAction.do?command=view" , disabled: false },
    <%}%>
                                       <%}%>
    ]

    Hi,
    actually this mapping only identifies those requests to be handled by teh JSF servlet. Its not a redirect.
    I see several namespace definitions in your page, but no taglib reference. Wondering how this is supposed to work
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    I assume the next crash you will see is when you add JSF components to
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>tt</title>
    </head>
    <body><h:form></h:form></body>
    </html>
    </f:view>
    Note that mixing HTML elements with JSF is not a recommended approach
    Frank

  • 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 ?

  • Weblogic servlet exception

    Hi
    I am getting below error . can you pls suggest how to resolve the same
    ####<Oct 11, 2010 3:07:03 PM EDT> <Error> <HTTP> <> <i03_MS2> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101017> <[ServletContext(id=8392620)] Root cause of ServletException.
    javax.servlet.jsp.JspTagException
    at com.qm.common.presentation.taglib.XsltTag.doEndTag(XsltTag.java:161)
    at jsp_servlet._jsp._common.__buttonbar._jspService(__buttonbar.java:265)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7051)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

    Hi,
    <BEA-101017> is a very generalized exception ... which is ommited by WLS if anything abnormal happens in the WebContainer specially woth any HTTP module Please see the description of this BEA Code:
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/messages/HTTP.html
    BEA-101017
    Error: [context] Root cause of ServletException.
    Description: [context] Root cause of ServletException, which the Web application container caught while servicing the request.
    Cause:The Web application container caught an unexpected exception.
    Action:Check the exception for the exact error message.
    The most important thing in the stack trace is...*"the Cause of Exception is your application only.....even the line number also mentioned which is causing this issue....So Only application development team can help u in this."*
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic/ (Middleware Magic Is Here)

Maybe you are looking for