JSF on Tomcat /4.1.31 and 4.1.36

Hi,
i have problems deploying my jsf-app from development Tomcat 4.1.31 to Tomcat 4.1.36:
/opt/jakarta_tomcat/work/Standalone/localhost/rnm/pages/login_jsp.java:8: cannot access javax.servlet.jsp.HttpJspPage
bad class file: /opt/jakarta_tomcat/webapps/rnm/WEB-INF/lib/jsp-api.jar(javax/servlet/jsp/HttpJspPage.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
public class login_jsp extends HttpJspBase {
       ^
1 error
     at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
     at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248)
     at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)
     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)
     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:627)
     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:306)
     at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
     at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261)
     at org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:994)
     at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:343)
     at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:553)
     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:211)
     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:445)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
     at java.lang.Thread.run(Thread.java:534)Is there a solution without upgrading Tomcat?
regards,
ak

class file has wrong version 49.0, should be 48.0The mentioned class was compiled with a newer javac version than the java version which is used to run this class.
E.g. compiled with JDK 1.5 and running with JDK 1.4 will cause this kind of error. The solution might be obvious: (re)compile it with same JDK as you want to run it with.

Similar Messages

  • Tomcat 6.0.9 and jsf 1.2 and jstl 1.2 using *.tag file error

    I using :tomcat 6.0.9 and jsf 1.2 and jstl 1.2
    My web.xml is at version 2.5 and I am using a custom tag (with the .tag extension). I am trying to use the http://java.sun.com/jsf/html library and values from my attribute. I'm new to this so I figure I must just me missing something.
    I am run http://192.168.1.1/test.jsf laster,view:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.loadTagFile(JspServletWrapper.java:212)
         org.apache.jasper.compiler.TagFileProcessor.loadTagFile(TagFileProcessor.java:576)
         org.apache.jasper.compiler.TagFileProcessor.access$000(TagFileProcessor.java:50)
         org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:627)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.TagFileProcessor$TagFileLoaderVisitor.visit(TagFileProcessor.java:631)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
         org.apache.jasper.compiler.TagFileProcessor.loadTagFiles(TagFileProcessor.java:645)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:190)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:414)
         com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:455)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:139)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.9 logs.
    if go to /WEB-INF/tags/test.tag ,delete line: <h:outputText id="test" value="hello!" />
    run http://192.168.1.1/test.jsf is OK!(no error),So I guess error for "<h:outputText id="test" value="hello!" />" line ,why in test.tag file do can't use the "http://java.sun.com/jsf/html " library,please help me.......
    Here is file WEB-INF/web.xml content:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements. See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License. You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
    version="2.5">
    <display-name>Welcome to Tomcat</display-name>
    <description>
    Welcome to Tomcat
    </description>
    <!-- Faces Servlet -->
    <servlet>
         <servlet-name>Faces Servlet</servlet-name>
         <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
         <load-on-startup> 1 </load-on-startup>
    </servlet>
    <!-- Faces Servlet Mapping -->
    <servlet-mapping>
         <servlet-name>Faces Servlet</servlet-name>
         <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    </web-app>
    Here is file /test.jsp code:
    <%@ page contentType="text/html;charset=UTF-8" %>
    <%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <f:view>
    <html>
    <head>
    <title>test</title>
    </head>
    <body>
    <!-- body start -->
    <h:outputText id="myinfo" value="test success" />
    <tags:test/>
    <!-- body end -->
    </body>
    </html>
    </f:view>
    Here is file /WEB-INF/tags/test.tag code:
    <%@tag pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <h:outputText id="test" value="hello!" />
    Thanks for any help.

    Don't know if it's important, but there is no schema avaiable at: http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd
    I found the right one at: http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
    /perty
    Message was edited by:
    perajonsson

  • Wsdeploy problem on jdk1.5 with tomcat 4.1.2 and jwsdp 1.0.0.1

    We're trying to upgrade to jdk1.5 from 1.4.0. We're running tomcat 4.1.2 and jwsdp 1.0.0.1. When running wsdeploy, we're receiving the following error:
    [echo] Running wsdeploy...
    [echo] /db/dbdev/jwsdp-1_0_01/bin/wsdeploy.sh -tmpdir build/wsdeploy-generated -o dist/cpws.war dist/cpws-portable.war -verbose
    [exec] Note: sun.tools.javac.Main has been deprecated.
    [exec] 1 warning
    [exec] error: javax.xml.transform.TransformerException: java.io.FileNotFoundException: file:/export/home/dnassirp/RIDE/Profiler/build/wsdeploy-generated/jaxrpc-deploy-a64a8e/WEB-INF/web.xml (No such file or directory)
    [exec] javax.xml.transform.TransformerException: java.io.FileNotFoundException: file:/export/home/dnassirp/RIDE/Profiler/build/wsdeploy-generated/jaxrpc-deploy-a64a8e/WEB-INF/web.xml (No such file or directory)
    [exec] at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:1043)
    [exec] at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:934)
    The original web.xml file does exist (but in it's original location). There is a web-before.xml in the wsdeploy-generated directory but no web.xml (we're execting that wsdeploy should generate this).
    Has anyone else had this problem? Any suggestions?
    Thanks.

    I'm seeing exactly the same thing in Netbeans.
    I upgraded to Netbeans 5.0 today and used a JDK1.5 (1.5.0_06) that I already had installed as the JDK for it.
    I see exactly the same problem (web.xml not found) with an ant build script that does a wscompile first and which works fine with my previous Netbeans 4.1 install. My Netbeans 4.1 was using a 1.4.2_02 JDK.

  • Tomcat 4.0.4 and Win2k Installation

    I've installed Tomcat 4.0 on different systems and have never had a problem before, but I seem to be having a problem when trying to install it on my Windows 2000 Server machine.
    I installed the J2RE 1.4.0 and then Tomcat 4.0.4 and also set the appropriate Environment Variables (CATALINA_HOME and JAVA_HOME).
    The installation, at first, appeared to work just fine. I could start up the server and pull up the sample sites without any problems... except for any JSP page. When I try to open a JSP page (even the sample JSPs that come with the installation) I get the following error:
    ============================================
    exception
    javax.servlet.ServletException: sun/tools/javac/Main
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:481)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    root cause
    java.lang.NoClassDefFoundError: sun/tools/javac/Main
         at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:272)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    ============================================
    After being very confused for a day, I have uninstalled and re-installed several times and have recently noticed that there IS a problem with the installation. Near the beginning of the install, in the log window that it displays during installation, I see a line that says:
    ============================================
    Copy to: C:\apache\Apache Tomcat 4.0\common\lib
    Copy failed
    ============================================
    Has anyone run into this problem? I can't figure out why this is happening. (or even WHAT the problem is exactly!)
    There are files that are in the directory that is specified, so it's definitely not a permissions problem.
    I haven't seen any other error or warning messages in the log, so I'm assuming this is the problem. (But I suppose it could be something entirely unrelated.)
    Any ideas? Anyone? Anyone?

    Well, thank you.
    (Sometimes I guess you just need someone else to look at the problem.)
    I downloaded the RE instead of the SDK. (Clicked on the link in the left column on the download page instead of the right column. DUH!)
    I guess I just figured that since Tomcat installed correctly, my java install was fine.
    I'll try it over again, but I'm sure it's fine now.
    Thanks again!

  • [svn:bz-trunk] 18538: Remove apache-tomcat-6.0.14 and apache-tomcat-6.0. 26 versions from trunk

    Revision: 18538
    Revision: 18538
    Author:   [email protected]
    Date:     2010-11-11 09:59:23 -0800 (Thu, 11 Nov 2010)
    Log Message:
    Remove apache-tomcat-6.0.14 and apache-tomcat-6.0.26 versions from trunk
    checkintests: passed
    Ticket Links:
        http://bugs.adobe.com/jira/browse/tomcat-6
        http://bugs.adobe.com/jira/browse/tomcat-6
    Removed Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.14/
        blazeds/trunk/servers/apache-tomcat-6.0.26/

    I haven't studied your problem in detail and don't actually use Tomcat 6, but in earlier versions of Tomcat the handling of JNDI leaves a lot to be desired. If you search this forum for posts about Tomcat and JNDI, you will find some useful information.
    One thing I found was that you really need to use the context.xml file in your Meta-inf directory, putting the datasource anywhere else gets into one kind of trouble or another. I tried using server.xml, a context file for the application and the web-inf file.

  • How does *.jsf extension map to *.jsp extension and where it is mapped

    Hi ,
    How does *.jsf extension map to *.jsp extension and where it is mapped ?
    Thanks

    How does *.jsf extension map to *.jsp extension and where it is mapped ?It is mapped in the web.xml.
    If you add the following in your web.xml:
    <context-param>
    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
    <param-value>.xhtml</param-value>
    </context-param>
    The *.jsf will be mapped to the file with the same name, but xhtml as extention.
    if you the javax.faces.DEFAULT_SUFFIX is not defined in the web.xml, the default suffix comes from the one of the constant of javax.faces.application.ViewHandler . This constant names DEFAULT_SUFFIX and equals to ".jsp"
    Look at:
    http://java.sun.com/j2ee/javaserverfaces/1.1/docs/api/constant-values.html
    Sergey : http://jsfTutorials.net

  • Tomcat 4.1.12 and custom tags with body

    Hi,
    I had deployed one application in tomcat 3.3.1 which used custom tags with body, and it worked fine, However recently I upgraded that application to tomcat-4.1.12
    and the tags with body stopped giving expected behaviour, however the tags without body are giving expected behaviour, I had a look at generated jsp file...
    I am pasting the generated output here
    jp.co.nttdata.sk._webtier.tagext.FormTag jspxth_sk_form_0 = (jp.co.nttdata.sk._webtier.tagext.FormTag) jspxtagPool_sk_form_action.get(jp.co.nttdata.sk._webtier.tagext.FormTag.class);
    jspxth_sk_form_0.setPageContext(pageContext);
    jspxth_sk_form_0.setParent(null);
    jspxth_sk_form_0.setAction(SKScreenDefinition.SK_I0100 );
    int jspxeval_sk_form_0 = jspxth_sk_form_0.doStartTag();
    if (_jspx_eval_sk_form_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
    if (_jspx_eval_sk_form_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
    javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
    _bc.clear();
    out = _bc;
    jspxth_sk_form_0.setBodyContent(_bc);
    jspxth_sk_form_0.doInitBody();
    do {
    out.write("\r\n<input type=\"hidden\" name=\"rpt_no\" value=\"<%= rpt_no %>\">\r\n<input type=\"hidden\" name=\"optnOpen\" value=\"0\">\r\n<table border=0 cellspacing=0 cellpadding=0 class=\"bdsyl\">\r\n<tr>\r\n<td class=\"innframe\">\r\n\r\n\t<table border=0 cellspacing=0 cellpadding=5 class=\"bgcol_1\">\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������E/td>\r\n\t<td>\r\n\t\t\t<select name=\"rptDivCombo\">\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOskCodeNameRptDiv != null) nLen = arrOskCodeNameRptDiv.length;\r\n%>\r\n<%\r\n\tfor(int i=0;i<nLen;i++) \r\n\t{\r\n\t\tString cd = arrOskCodeNameRptDiv.getCode();\r\n\t\tString nm = arrOskCodeNameRptDiv[i].getName();\r\n\t\tString value = cd + SKConstants.SEPARATOR + nm;\r\n\r\n\t\tstrSelected = \"\";\r\n\t\tif(cd.equals(rpt_div)) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%=value%>\"><%= nm%></option>\r\n<%\r\n\t}//for loop\r\n%>\r\n\t\t\t</select>\r\n\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ��� ���E���</td>\r\n\t<td>\r\n\t\r\n\t\t\t<select name=\"prortyCombo\">\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOskCodeNameProrty != null) nLen = arrOskCodeNameProrty.length;\r\n");
    out.write("%>\r\n<%\r\n\tfor(int i=0;i<nLen;i++) \r\n\t{\r\n\t\tString cd = arrOskCodeNameProrty[i].getCode();\r\n\t\tString nm = arrOskCodeNameProrty[i].getName();\r\n\t\tString value = cd + SKConstants.SEPARATOR + nm;\r\n\r\n\t\tstrSelected = \"\";\r\n\t\tif(cd.equals(prorty)) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= value %>\"><%= nm %></option>\r\n<%\r\n\t}//for loop\r\n%>\r\n\t\t\t</select>\r\n\t\r\n\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������E/td>\r\n\t<td><input type=\"text\" size=4 maxlength=4 name=\"rpt_dt_yyyy\" value=\"<%= rpt_dt_yyyy %>\">��� <input type=\"text\" size=2 maxlength=2 name=\"rpt_dt_mm\" value=\"<%= rpt_dt_mm %>\">���E<input type=\"text\" size=2 name=\"rpt_dt_dd\" maxlength=2 value=\"<%= rpt_dt_dd %>\">��� <input type=\"text\" maxlength=2 size=2 name=\"rpt_dt_hh\" value=\"<%= rpt_dt_hh %>\">���E<input type=\"text\" size=2 maxlength=2 name=\"rpt_dt_mi\" value=\"<%= rpt_dt_mi %>\">���E<span class=\"fsyl_2\">�E����������������E/span></td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ��� ���E���E</td>\r\n\t<td><input type=\"text\" size=20 name=\"rpt_user\" value=\"<%= Util.forHidden(rpt_user) %>\"></td>\r\n");
    out.write("\t</tr>\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���������������E/td>\r\n\t<td>\r\n\t\r\n\t\t\t<select name=\"rptRegiUserCombo\">\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOfUserName != null) nLen = arrOfUserName.length;\r\n\r\n\tfor(int i=0;i<nLen;i++){\r\n\t\tString[] arrTemp = UzUtil.extractTokens(arrOfUserName[i], SKConstants.SEPARATOR);\r\n\t\t\r\n\t\tstrSelected = \"\";\r\n\t\tif(arrTemp[0].equals(rpt_regi_user)) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= arrOfUserName[i] %>\"><%= arrTemp[1] %></option>\r\n<%\r\n\t}//for loop\r\n%>\r\n\t\t\t</select>\r\n\r\n\t\r\n\t</td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������������</td>\r\n\t<td><input type=\"text\" size=70 name=\"rpt_title\" value=\"<%= UzString.forHidden(rpt_title)%>\"> <span class=\"fsyl_2\">�E�E00���E�����E/span></td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ��������E���</td>\r\n\t<td nowrap><textarea wrap=\"physical\" rows=10 cols=72 name=\"rpt_txt\"><%= UzString.htmlEncodeForHidden(rpt_txt) %></textarea> <span class=\"fsyl_2\">�E�E000���E�����E/span>      </td>\r\n");
    out.write("\t</tr>\r\n\t<tr>\r\n\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���������E��</td>\r\n\t<td><textarea rows=5 cols=72 name=\"rpt_effct_lmt\"><%= UzString.htmlEncodeForHidden(rpt_effct_lmt) %></textarea> <span class=\"fsyl_2\">�E�E00���E�����E/span></td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���E��� ���</td>\r\n\t<td><textarea rows=5 cols=72 name=\"reappr_cnd\"><%= UzString.htmlEncodeForHidden(reappr_cnd)%></textarea> <span class=\"fsyl_2\">�E�E00���E�����E/span></td>\r\n\t</tr>\r\n\t<tr>\r\n\t<td nowrap class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������������E/td>\r\n\t<td><input type=\"text\" size=4 name=\"rply_prf_dt_yyyy\" maxlength=4 value=\"<%= rply_prf_dt_yyyy %>\">��� <input type=\"text\" size=2 name=\"rply_prf_dt_mm\" maxlength=2 value=\"<%= rply_prf_dt_mm %>\">���E<input type=\"text\" maxlength=2 size=2 name=\"rply_prf_dt_dd\" value=\"<%= rply_prf_dt_dd %>\">��� <input type=\"text\" maxlength=2 size=2 name=\"rply_prf_dt_hh\" value=\"<%= rply_prf_dt_hh %>\">���E<input type=\"text\" maxlength=2 size=2 name=\"rply_prf_dt_mi\" value=\"<%= rply_prf_dt_mi %>\">���E<span class=\"fsyl_2\">�E����������������E/span></td>\r\n");
    out.write("\t</tr>\r\n\t<tr>\r\n\t<td>���</td>\r\n\t<td align=right><input type=\"button\" value=\"���������������\" onClick=\"openOptn()\"></td>\r\n\t</tr>\r\n<!---- ��������������������������������������� ----->\r\n\t<tr id=\"com\" style=\"display:none\">\r\n\t<td colspan=2>\r\n\t\t<table border=0 cellspacing=0 cellpadding=5>\r\n\t\t<tr>\r\n\t\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���������������E/td>\r\n\t\t<td>\r\n\t\t\t<select name=\"crrspndUserCombo\">\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOfUserName != null) nLen = arrOfUserName.length;\r\n\r\n\tif(crrspnd_user.equals(\"\")) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= SKConstants.NOTSPECIFIED %>\">���������������������E/option>\r\n<%\r\n\tfor(int i=0;i<nLen;i++){\r\n\t\tString[] arrTemp = UzUtil.extractTokens(arrOfUserName[i], SKConstants.SEPARATOR);\r\n\t\t\r\n\t\tstrSelected = \"\";\r\n\t\tif(arrTemp[0].equals(crrspnd_user)) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= arrOfUserName[i] %>\"><%= arrTemp[1] %></option>\r\n<%\r\n\t}//for loop\r\n%>\r\n\t\t\t</select>\r\n\t\t\r\n\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������������E/td>\r\n");
    out.write("\t\t<td>\r\n\t\t\t<select name=\"fndngDivCombo\">\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOskCodeNameFndngDiv != null) nLen = arrOskCodeNameFndngDiv.length;\r\n\r\n\tif(fndng_div.equals(\"\")) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= SKConstants.NOTSPECIFIED %>\">���������������������E/option>\r\n<%\r\n\tfor(int i=0;i<nLen;i++) \r\n\t{\r\n\t\tString cd = arrOskCodeNameFndngDiv[i].getCode();\r\n\t\tString nm = arrOskCodeNameFndngDiv[i].getName();\r\n\t\tString value = cd + SKConstants.SEPARATOR + nm;\r\n\r\n\t\tstrSelected = \"\";\r\n\t\tif(cd.equals(fndng_div)) strSelected = \"selected\";\r\n%>\r\n\t\t\t\t<option <%= strSelected %> value=\"<%= value %>\"><%= nm %></option>\r\n<%\r\n\t}//for loop\r\n%>\r\n\t\t\t</select>\r\n\t\t\r\n\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������E��������</td>\r\n\t\t<td><input type=\"text\" maxlength=4 size=4 name=\"crrspnd_fin_pln_dt_yyyy\" value=\"<%= crrspnd_fin_pln_dt_yyyy %>\">��� <input type=\"text\" maxlength=2 size=2 name=\"crrspnd_fin_pln_dt_mm\" value=\"<%= crrspnd_fin_pln_dt_mm %>\">���E<input maxlength=2 type=\"text\" size=2 name=\"crrspnd_fin_pln_dt_dd\" value=\"<%= crrspnd_fin_pln_dt_dd %>\">��� <span class=\"fsyl_2\">�E����������������E/span></td>\r\n");
    out.write("\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������E��</td>\r\n\t\t<td><input type=\"text\" maxlength=4 size=4 name=\"crrspnd_fin_dt_yyyy\" value=\"<%= crrspnd_fin_dt_yyyy %>\">��� <input type=\"text\" maxlength=2 size=2 name=\"crrspnd_fin_dt_mm\" value=\"<%= crrspnd_fin_dt_mm %>\">���E<input type=\"text\" size=2 maxlength=2 name=\"crrspnd_fin_dt_dd\" value=\"<%= crrspnd_fin_dt_dd %>\">��� <span class=\"fsyl_2\">�E����������������E/span></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������</td>\r\n\t\t<td><textarea rows=8 cols=72 name=\"cause_txt\"><%= UzString.htmlEncodeForHidden(cause_txt) %></textarea> <span class=\"fsyl_2\">�E�E000���E�����E/span></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���������E��</td>\r\n\t\t<td><textarea rows=10 cols=72 name=\"crrspnd_txt\"><%= UzString.htmlEncodeForHidden(crrspnd_txt) %></textarea> <span class=\"fsyl_2\">�E�E000���E�����E/span></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ���������������E/td>\r\n\t\t<td><textarea rows=8 cols=72 name=\"rlps_prvnt_schm\"><%= UzString.htmlEncodeForHidden(rlps_prvnt_schm) %></textarea> <span class=\"fsyl_2\">�E�E000���E�����E/span></td>\r\n");
    out.write("\t\t</tr>\r\n\t\t</table>\r\n\t</td>\r\n\t</tr>\r\n<!---- ��������������������������������������� ���E----->\r\n\t<tr>\r\n\t<td valign=top class=\"fsyl_1\"><font class=\"fsyl_6\">���</font> ������������������E/td>\r\n\t<td>\r\n\t\t<table border=0 cellspacing=0 cellpadding=0>\r\n\t\t<tr valign=top>\r\n\t\t<td><input type=\"radio\" name=\"mail_sendto_div_radio\" checked onClick=\"mailCheck(true)\" value=\"<%= SKConstants.CD_ONE + SKConstants.SEPARATOR + \"������\" %>\">��������������� <input type=\"radio\" name=\"mail_sendto_div_radio\" onClick=\"mailCheck(false)\" value=\"<%= SKConstants.CD_ZERO + SKConstants.SEPARATOR + \"���������E��\" %>\">���������E��Enbsp; </td>\r\n\t\t<td>\r\n<%\r\n\tstrSelected = \"\";\r\n\tnLen = 0;\r\n\tif(arrOskCodeNameGroup != null) nLen = arrOskCodeNameGroup.length;\r\n\tint nExtra = (nLen/2) + (nLen%2);\r\n%>\r\n<%\r\n\tfor(int i=0;i<nLen;i++) \r\n\t{\r\n\t\tString cd = arrOskCodeNameGroup[i].getCode();\r\n\t\tString nm = arrOskCodeNameGroup[i].getName();\r\n\t\tString value = cd + SKConstants.SEPARATOR + nm;\r\n%>\r\n\t\t\t\t<input type=\"checkbox\" name=\"send_mail\" value=\"<%= value %>\"><%= nm %><br>\r\n<%\r\n\t\tif((i+1) == nExtra)\r\n\t\t{\r\n%>\r\n\t\t\t</td>\r\n\t\t\t<td>    </td>\r\n");
    out.write("\t\t\t<td>\r\n<%\r\n\t\t}\r\n\t}//for loop\r\n%>\r\n\t\t</td>\r\n\t\t</tr>\r\n\t\t</table>\r\n\t</td>\r\n\t</tr>\r\n\t<td>���</td>\r\n\t<td align=right><br><input type=\"submit\" value=\"������������\" name=\"saveReport\">���<input type=\"submit\" value=\"���������������������\" name=\"regReport\"></td>\r\n\t</tr>\r\n\t</table>\r\n\r\n</td>\r\n</tr>\r\n</table>\r\n");
    int evalDoAfterBody = jspxth_sk_form_0.doAfterBody();
    if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
    break;
    } while (true);
    if (_jspx_eval_sk_form_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
    out = pageContext.popBody();
    What I found out that scriptlets are also encluded in string however they should not be enclosed.
    Is it a bug? or do I need to change my taghandler class...?
    Any suggestion, any help ll be really helpful
    Regards,
    Susheel

    Hi,
    I am able to resolve it,
    Actually I was using the body content as tagdependent instead of jsp.
    However the body content tagdependent works in Tomcat 3.3.1 and weblogic 5.1, 6.0.
    Anyway...

  • Tomcat 4.1.18 and Firewall e.g. ZoneAlarm

    Can someone tell me if there are any known problems / conflicts between Tomcat 4.1.18 and a firewall such as ZoneAlarm by Zone Lab? My Tomcat installation on Win2000 went smoothly, and it seemed to have started when I ran "startup" from "\ApacheGroup\Tomcat4.1\bin", (and I am using all default configuration under "%TOMCAT_HOME%\conf"), but the browsers (IE5 and Netscape 7) can't access "http://localhost:8080" - it returned "This page cannot be displayed".
    When I try running "shutdown" it threw the folloing Exception :
    Using CATALINA_BASE: d:\ApacheGroup\Tomcat4.1
    Using CATALINA_HOME: d:\ApacheGroup\Tomcat4.1
    Using CATALINA_TMPDIR: d:\ApacheGroup\Tomcat4.1\temp
    Using JAVA_HOME: C:\jdk1.2.2
    Bootstrap: Class loader creation threw exception
    java.lang.IllegalMonitorStateException: current thread not owner
    at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(
    StandardClassLoader.java, Compiled Code)
    at org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLo
    ader.java, Compiled Code)
    at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Clas
    sLoaderFactory.java, Compiled Code)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled C
    ode)
    Is there another popular firewall I should be using instead of ZoneAlarm?
    Please Help!

    Please dont be offeneded if I am stating the very obvious, but have you made sure that port 8080 is unlocked in the firewall software?
    If you want you can modify the listening port of tomcat from 8080 to 80. Just search through the server.xml file in the conf directory till you fing 8080 and replace it with 80.
    Firewall software usually allows access to port 80.
    J

  • Tomcat 4.1.12 and Tag Libraries

    I had tomcat 4.04 working great with a webapp, I changed to tomcat 4.1.12 and there are a lot of Custom Tags that stoped working.
    Does anybody knows what might be happening and how to solve it ???
    The Exception I am getting is the following:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 34 in the jsp file: /jsps/alumno/tareas/mistareas.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    E:\JBuilder6\jakarta-tomcat-4.1.12\Tomcat 4.1\work\Standalone\localhost\_\jsps\alumno\tareas\mistareas_jsp.java:289: unreachable statement
    out.write("\r\n ");
    ^
    1 error
    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:313)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:324)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
    at java.lang.Thread.run(Thread.java:536)
    Apache Tomcat/4.1.12-LE-jdk14

    I have also had this problem. I had a number of JSP pages which used various tag librarys. They all worked perfectly with tomcat 4.04LE (for jdk1.4.1). I then updated to 4.1.12LE and started getting the errors mentioned above.
    From looking at the errors in the tomcat log I could see the problem was due to the generated servlet code (jspname_jsp.java) not being able to find the classes required for compilation...I ensured all the classpaths were correctly set, and I manually compiled the generated jspname_jsp.java files with no problem.
    I am pretty sure this is a bug in Tomcat.
    Paterico

  • Tomcat 4.0.x and JAXB

    Hi,
    I am trying to use JAXB 1.0 early-access with Tomcat 4.0.x Has anyone got this to work? My trouble began with a strange "ClassNotFound" exception on a class that was clearly there (javax.xml.bind.MarshallableRootElement") -- I could load other classes in the same jar but not that one. From there I dug into the source code for the class loader (had a stack trace, what the hell) and noticed that some package names are on the "not to load" list (javax.xml.bind. is close but not one of them).
    When I fiddled with the classpath used by catalina in the batch file I started getting a "sealing violation" on catalina startup when I tried to put the JAXB classes in the path.
    So now I'm stuck, I can't believe that JAXB wouldn't work with Tomcat 4.0.x and I'm hoping somebody will prove me wrong.
    Any info is appreciated,
    Shane Ruman

    Eventually, that is what I am trying to do. However, at this point I am unable to even get a class.forName(javax.xml.bind.MarshallableRootElement") to succeed (although class.forName's on other classes only located in jaxb-1.0-ea.jar succeed) to work. It seems that Tomcat is simply refusing to load that class.

  • Dreamweaver cs4 or mx2004 may built .war or .jar files for deployment in a jsp server (Tomcat) ? If no, and use Dreamweaver  how do these files ?

    Dreamweaver cs4 or mx2004 may built .war or .jar files for deployment in a jsp server (Tomcat) ? If no, and use Dreamweaver  how do these files ?

    if I use Eclipse IDE for compilation[make *.war & *.jar files from *.java like claimBeans.java], I must use also Eclipse for upload/deploy ? Or for upload ONLY I may use and dreamweaver ? The jsp section of dreamweaver, is for app not require compilation, like from Code from:JSP STANDARD TAG LIBRARY , only ?
    Basically whatever I may do with "JavaBeans", "Servlets" etc (*.java files) needed to get compiled, I may also do it with JSP STANDARD TAG LIBRARY etc NOT NEEDED Compilation, so if I do not understand how to compile&deploy *.war & *.jar files , I may use instead the latter way ?

  • JSF on tomcat 5

    i want to deploy a JSF project on tomcat 5 tell me how?

    plz com[are all the used jars properly and the EnvContext for Sun as Well as TomCat that you are using.                                                                                                                                                                                                               

  • JSF Error Tomcat NullPointer restart

    I have developed an application in Tomcat55 and JSF, everything goes well
    when I start for the first time Tomcat, the problem comes when a new update
    on unemployment Tomcat, I introduce a new war in the webapp and restarted
    the tomcat, reload does well but when I ask the web, I get this error.
    [http-81-Processor25] ERROR
    org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[SitioWeb].[j
    sp]
    - Servlet.service() para servlet jsp lanz� excepci�n
    java.lang.NullPointerException
    at
    org.ajax4jsf.framework.ajax.AjaxViewHandler.createView(AjaxViewHandler.java:
    78)
    at
    org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:14
    4)
    at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
    FilterChain.java:269)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
    ain.java:188)
    at
    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
    java:691)
    at
    org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
    patcher.java:469)
    at
    org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
    er.java:403)
    at
    org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
    java:301)
    at
    org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:686
    at
    org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:656)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
    31)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
    FilterChain.java:269)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
    ain.java:188)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
    va:213)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
    va:174)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
    :108)
    at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    at
    org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
    onnection(Http11BaseProtocol.java:665)
    at
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
    a:528)
    at
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
    rkerThread.java:81)
    at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
    a:689)
    at java.lang.Thread.run(Thread.java:595)
    State and looking information and are no longer what might happen.
    Edited by: Scra on Dec 17, 2007 9:37 AM

    Doesn't look like a Sun JSF RI issue to me. Post this issue at the forum/mailinglist of Ajax4jsf.

  • JSF under tomcat 5 ??/

    in the JSFin actions it says : "JSF can work on every standad container like tomcat etc"...
    in my tomcat ver 5.5.29 when i put jsf in some dir and try to open some jsp ...
    it says :opening... and nothink happens .. ideas ?
    the war file is a simple war file created with Sun Studio Creator

    under 5.5.9 there is exceptoin :
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: javax.servlet.jsp.JspException
    Cannot find FacesContext
    Possible Source of Error:
    Class Name: javax.faces.webapp.UIComponentTag
    File Name: UIComponentTag.java
    Method Name: doStartTag
    Line Number: 399
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack trace:
    javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:399)
    com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
    org.apache.jsp.Page1_jsp._jspx_meth_f_view_0(org.apache.jsp.Page1_jsp:83)
    org.apache.jsp.Page1_jsp._jspService(org.apache.jsp.Page1_jsp:61)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)

  • Tomcat single sign-on and reloading session parameters

    Hello,
    I am planning to write three web applications that will run under tomcat 5.5. I am planning to implement single signon capability by using Realms and Form-based login.
    Right after a user log's in, I want to query the database and load some frequently used information into Session as parameters, so that I don't have to query the database over and over again to get the same information.
    All three webapplication are going to put the same information in Session for each user, so I was wondering if there is a way to share this information across the three web applications? Do I need to query the database everytime the user moves from one application to another or is there a better/easier way?

    yeah, create a class to put it all in then put it in the session.
    session.setAttribute("myobject", object);
    use the web.xml to point the applications to a welcome page, that will check if this value in the session is null, and if it is gets the information, and if it isn't doens't do anything with it.

Maybe you are looking for

  • Payment Plan

    My membership renews June 11, 2014.  I pay monthly, presently, but I want to pay annually, if it is cheaper.  How do I proceed?

  • OBIEE and Oracle Portal

    Hi. does anyone to tell me if is possible put a Dashboard or report OBIEE or Report Publisher in Oracle Portal? If the portal is a free version because included in Technology Foundation Jde, you must have a license to integrate a report OBIEE/Publish

  • Change in behaviour in the extension  mechanism in 1.1

    I am using the Georaptor extension, which adds an item in the contextual menu in the explorer window. Practically speaking: I right-click on a table, and the resulting menu includes a "Georaptor" option that then leads to further options. This mechan

  • Buttons suddenly stop working!

    Hi all, For some odd reason, out of nowhere, some of my buttons that I have created decide to stop working. As an example, I have a button that takes the user to slide 56 when quit. The action i have on this button is "On Enter Jump to slide 56" It h

  • Special Purpose Ledger & Special General Ledger

    Hi Experts Is there any difference between Special Purpose Ledger & Special General Ledger. If so please give me some real time examples. Points will be rewarded. Sincerely, Ali Abidi