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.

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.

  • Bgm.ser and jaxb.properties not created

    Is there a particular reason to why the bgm.ser and jaxb.properties files are not created when a schema only consists of a simpletype and I run the binding compiler???
    The two files seem to be created when I include a 'dummy' complextype in the schema. Is a complextype needed in order for the files to be created?
    Cheers.
    Anders
    <simpleType name="Values">
        <restriction base="string">
            <enumeration value="ValueOne"/>
            <enumeration value="ValueTwo"/>
            <enumeration value="ValueThree"/>
            <enumeration value="ValueFour"/>
        </restriction>
    </simpleType>

    I've had the same exact problem! I had the property file in my JAR file properly, but the JAXBContext.newInstance( "package.name" ) call was failing - while at the same time I could load the property file via the ClassLoader just fine, by hand.
    I played around with source for the jaxb beta a bit and I think I found the problem. I recompiled the JAR file after changing the "fileSep" variable in the "searchforcontextPath" method from "file.separatorChar" to "/".
    This seemed to fix the problem. Well, the problem of it not finding the properties file that is... now I've got some kinda non-marshalable exception (but I haven't even spent 3 minutes on that problem yet, as opposed to the hours wasted on this bug).
    I'm not sure if this bug only cropped up when running under a Windows env or not (my test was running under JBoss on XP... though I was building/compiling under Linux).
    Anyway... to fix this just change that variable.. it's on line 228 (i think... i might have added some debug lines of my own in the code) of the javax/xml/bind/ContextFinder.java file. Then just re-jar it over the old JAR -- oh yeah, you'll need a few Message.property files from the jaxb-api.jar file for the new jar file to work (so make sure you unjar the old file 1st or back it up or whatnot).

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

  • 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

  • XML and JAXB

    Hi All,
    I am planning to use Oracle XML DB 10g for persistence of XML documents and JAXB for XML-Java conversions. I would like to know
    <ul><li>     Whether this is a good approach or any better approch exists. The aim is to allow manipulation of the XML documents in XML DB tables from Java layer. </li>
    <li>What is the best way to retrieve the XMLTYPE columns using the JDBC APIs for THIN driver?</li>
    </ul>
    Thanks,
    Ramesh

    It's a bit cumbersome, but I guess as a hack , after generating your xml file, you could try just reading the input file using a regular FileReader, then writing out just the lines that start with <!doctype & <? xml > (they should be at the top right, so you know the location in the output file). Of course the efficiency for this is terrible--you're reading & writing the file all over!
    That's an interesting analogy, heh. One of the surprising things I found about JAXB is that it doesn't validate enumerations (as far as I know).

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

  • JAXM and JAXB

    How can I use JAXM and JAXB togather to build an web service application?
    Actually, I don't know how to use XML exported by Marshaller method marshal() for JAXM.
    Can you give some sample code?
    Thanks.

    There's a huge tutorial (19 chapters and 7 appendices) with the JavaTM Web Services Developer Pack 1.1 - it includes masses of samples applications.
    All the best,
    Fergus.

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

  • Need to create service for Tomcat 5.0.28 and Analyzer 7.2.5.3

    <BR>I just installed Hyp. Analyzer 7.2.5.3 using Tomcat 5.0.28 (the default) as the web server. The script provided in this thread and the one found on the Hyperion eSupport knowledgebase did not work for 5.0.28. The primary things I found was paths are different between the version of Analyzer, also, 5.0.28 has a tomcat5.exe.<BR><BR>I modified this script so that the paths match the current environment, however the service is not being created. There are 2 messages displayed when the service installer runs:<BR><BR><BR>[2007-04-26 15:30:21] [349 prunsrv.c] [error] <BR>The operation completed successfully.<BR>[2007-04-26 15:30:21] [1037 prunsrv.c] [error] <BR>Load configuration failed<BR><BR><BR>These errors occur using the script from this thread and the one from the hyperion knowledgebase. I am copying here for reference with my modifications for 5.0.28. There are 3 jar files that are not found in the folders, that are in the 4.1.30 folders. <BR><BR><BR><BR>This is the original script:<BR><BR><BR><BR>/* START */<BR><BR>REM *************NAME THE SERVICE***************<BR>SET TOMCAT_SERVICE_NAME=Hyperion Analyzer7.2<BR><BR>REM *********MODIFY IF DEFAULT “ANALYZER” is NOT THE CORRECT DIRECTORY NAME********<BR>SET ANALYZER_DIRECTORY_NAME=Analyzer<BR>SET ANALYZER_DEPLOYMENT=%HYPERION_HOME%/%ANALYZER_DIRECTORY_NAME%\deployments<BR>SET ANALYZER_LOG=%ANALYZER_DEPLOYMENT%\logs<BR>pause<BR><BR>REM *********BELOW NO MODIFATION NECESSARY ********<BR>SET JAVA_HOME=%HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin\client<BR>SET SERVICE_PATH=%HYPERION_HOME%\common\ADM\7.2.0\Essbase\7.2.0\bin;%HYPERION_HOME%\common\JDK\Sun\1.4.2\lib\tools.jar;%HYPERION_HOME%\common\appServers\Tomcat\4.1.30\common\endorsed\dom.jar;%HYPERION_HOME%\common\CSS\2.6.0\bin;%HYPERION_HOME%\common\appServers\Tomcat\4.1.30\common\endorsed\sax.jar;%PATH%<BR><BR>pause<BR><BR>SET SERVICE_CLASSPATH=%HYPERION_HOME%\common\CSS\2.6.0\lib\css-2_6_0.jar<BR>pause<BR><BR>SET CATALINA_HOME=%HYPERION_HOME%\common\appServers\Tomcat\4.1.30<BR><BR>pause<BR><BR>"%CATALINA_HOME%\bin\tomcat" -install "%TOMCAT_SERVICE_NAME%" "%JAVA_HOME%\jvm.dll" -Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar;%HYPERION_HOME%\common\appServers\Tomcat\4.1.30\common\lib\jdom.jar;%HYPERION_HOME%\common\appServers\Tomcat\4.1.30\common\endorsed;%HYPERION_HOME%\common\JDK\Sun\1.4.2\lib\tools.jar;%HYPERION_HOME%\common\appServers\Tomcat\4.1.30\common\endorsed\sax.jar;%HYPERION_HOME%\common\appServers\Tomcat\4.1.30\common\endorsed\xmlParserAPIs.jar;%HYPERION_HOME%\common\appServers\Tomcat\4.1.30\common\endorsed\dom.jar;%HYPERION_HOME%\common\appServers\Tomcat\4.1.30\common\endorsed\xercesImpl.jar;\%HYPERION_HOME%/common/loggers/Log4j/1.2.8/lib/log4j-1.2.8.jar;%HYPERION_HOME%\common\appServers\Tomcat\4.1.30\common\lib;%SERVICE_CLASSPATH%" -Dcatalina.home="%CATALINA_HOME%" -Dcatalina.base="%ANALYZER_DEPLOYMENT%" -Xms128m -Xmx256m -Xss2m -start org.apache.catalina.startup.BootstrapService -method main -params start -stop org.apache.catalina.startup.BootstrapService -method main -params stop -out "%ANALYZER_LOG%\stdout.log" -err "%ANALYZER_LOG%\stderr.log" -current "%CATALINA_HOME%\bin" -path "%SERVICE_PATH%"<BR><BR>pause<BR>/* END */<BR><BR>This is the modified script<BR><BR>/* START */<BR>REM *************NAME THE SERVICE***************<BR>SET TOMCAT_SERVICE_NAME=Hyperion Analyzer7.2<BR>REM *********MODIFY IF DEFAULT “ANALYZER” is NOT THE CORRECT DIRECTORY NAME********<BR>SET ANALYZER_DIRECTORY_NAME=Analyzer72<BR>SET ANALYZER_DEPLOYMENT=%HYPERION_HOME%/%ANALYZER_DIRECTORY_NAME%\deployments<BR>SET ANALYZER_LOG=%ANALYZER_DEPLOYMENT%\logs<BR><BR>rem pause<BR>REM *********BELOW NO MODIFATION NECESSARY ********<BR>SET JAVA_HOME=%HYPERION_HOME%\common\JDK\Sun\1.4.2\jre\bin\client<BR>SET SERVICE_PATH=%HYPERION_HOME%\common\ADM\7.2.1\Essbase\7.2.1\bin;%HYPERION_HOME%\common\JDK\Sun\1.4.2\lib\tools.jar;%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\endorsed\dom.jar;%HYPERION_HOME%\common\CSS\2.6.0\bin;%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\endorsed\sax.jar;%PATH%<BR><BR>rem pause<BR>SET SERVICE_CLASSPATH=%HYPERION_HOME%\common\CSS\2.6.0\lib\css-2_6_0.jar<BR>rem pause<BR>SET CATALINA_HOME=%HYPERION_HOME%\common\appServers\Tomcat\5.0.28<BR>@echo.<BR>@echo.<BR>@echo Next command is the install<BR>rem pause<BR>"%CATALINA_HOME%\bin\tomcat5" -install "%TOMCAT_SERVICE_NAME%" "%JAVA_HOME%\jvm.dll" -Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar;%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\lib\jdom.jar;%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\endorsed;%HYPERION_HOME%\common\JDK\Sun\1.4.2\lib\tools.jar;%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\endorsed\sax.jar;%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\endorsed\xmlParserAPIs.jar;%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\endorsed\dom.jar;%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\endorsed\xercesImpl.jar;\%HYPERION_HOME%/common/loggers/Log4j/1.2.8/lib/log4j-1.2.8.jar;%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\lib;%SERVICE_CLASSPATH%" -Dcatalina.home="%CATALINA_HOME%" -Dcatalina.base="%ANALYZER_DEPLOYMENT%" -Xms128m -Xmx256m -Xss2m -start org.apache.catalina.startup.BootstrapService -method main -params start -stop org.apache.catalina.startup.BootstrapService -method main -params stop -out "%ANALYZER_LOG%\stdout.log" -err "%ANALYZER_LOG%\stderr.log" -current "%CATALINA_HOME%\bin" -path "%SERVICE_PATH%"<BR><BR>pause<BR>/* END */<BR><BR>The following jar files are not in the 5.0.28 pathing:<BR>%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\endorsed\sax.jar<BR>%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\endorsed\xmlParserAPIs.jar<BR>%HYPERION_HOME%\common\appServers\Tomcat\5.0.28\common\endorsed\dom.jar<BR><BR>Can these be copied from the 4.1.30 directories??<BR><BR>I hope someone can give me some direction with this.<BR><BR>thanks.,<BR>Rob Armstrong<hr></blockquote><BR><BR>

    hm, I just recognized something
    as I already installed my framework on different systems to try it I suddenly found something that differes from one installation to the other, namely in MySQL.
    As I installed XAMPP, I can easily access MySQL via phpMyAdmin. This software views the current available databases in a dropdown menu on the left site of the screen. Further I got two database including an underscore in their name.
    If I go into the rights tab of phpMyAdmin and go on to change the rights for my specific user (that generally has no rights, except for that one database, I try to connect to) then I can specify detailed rights for different databases.
    If I klick on that specific rights button then the names of my underscore including databases switch from DATABASE_NAME to DATABASE\_NAME (in other words I see a sort of escape sign before the underscore).
    Can this cause a problem? Because the name itself is available as a link to the database, which in case of "\_" including names is broken...
    I didn't see this in any other installation before, but I also just tried to acess the database via this name or via &#92; (its acsii sign instead).
    puh, its to early here for this sort of things ;)
    hth
    Tom

  • NOT WORKING - Tomcat 4.0.5 and IIS 5

    I'm trying to set up Tomcat to work with IIS 5 on windows 2000 server.
    I got everything working fine locally. I deployed my app and it's working fine on localhost:8080. Now I want to be able to see it from the outside and some files that I try to view from my domain come up with the actual source code.
    I ran with several tutorials that keep saying "Hey, you did it...it's was so easy wasn't it?" and they don't say anything when it all goes wrong. No one goes the extra step to help out when these easy instructions do nothing. I'm looking at this for far too long now and I'm losing my mind slowly.
    I have IIS running and restarted it with jakarta virtual directory that has a green arrow up. But localhost doesn't find the pages. So I'm not sure what could be wrong.
    I'm having a lot of trouble with the workers.properties file. If anyone could help me with that it would be great. The uriworkmap seems to be quite simple, and goes the same way as the web.xml server uri-mapping. But I'm not sure what could be wrong.
    I also tried to get tomcat to service jsp files and IIS everything else, but still nothing.
    Thanks in advance,
    Lior

    Well, something was wrong with my configurations of the registry amongst other things. Now I have everything in place and I played with the workers.prop file. However, it still doesn't work. I get the following in the isapi_redirect.log file:
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (806)]: Using registry.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (808)]: Using log file C:\tomcat\logs\iis_redirect.log.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (809)]: Using log level 0.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (810)]: Using extension uri /jakarta/isapi_redirect.dll.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (811)]: Using worker file C:\tomcat\conf\workers.properties.
    [Tue Oct 15 12:11:00 2002] [jk_isapi_plugin.c (812)]: Using worker mount file C:\tomcat\conf\uriworkermap.properties.
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (159)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (199)]: Into jk_uri_worker_map_t::uri_worker_map_open
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (217)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 5
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /refcoapp/.jsp=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /examples/.jsp=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/servlet/=ajp13 was added
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (302)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 4 rules
    [Tue Oct 15 12:11:00 2002] [jk_uri_worker_map.c (324)]: jk_uri_worker_map_t::uri_worker_map_open, done
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (82)]: Into wc_open
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (207)]: Into build_worker_map, creating 1 workers
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (213)]: build_worker_map, creating worker ajp12
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (138)]: Into wc_create_worker
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of ajp12
    [Tue Oct 15 12:11:00 2002] [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12
    [Tue Oct 15 12:11:00 2002] [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
    [Tue Oct 15 12:11:00 2002] [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact is localhost:8007
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (177)]: wc_create_worker, done
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (235)]: build_worker_map, done
    [Tue Oct 15 12:11:00 2002] [jk_worker.c (102)]: wc_open, done
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc started
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/jsp/num/numguess.jsp
    [Tue Oct 15 12:11:23 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
    [Tue Oct 15 12:11:23 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/localhost/examples/jsp/num/numguess.jsp'
    [Tue Oct 15 12:11:23 2002] [jk_uri_worker_map.c (416)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (617)]: HttpFilterProc [examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (639)]: HttpFilterProc check if [examples/jsp/num/numguess.jsp] is points to the web-inf directory
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started
    [Tue Oct 15 12:11:23 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13
    [Tue Oct 15 12:11:23 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (701)]: HttpExtensionProc could not get a worker for name ajp13
    [Tue Oct 15 12:11:23 2002] [jk_isapi_plugin.c (722)]: HttpExtensionProc error, could not get a worker for name ajp13
    I have no idea why it cannot get the worker. This is the prop file I have:
    workers.tomcat_home=c:\tomcat
    workers.java_home=c:\jdk1.3.1_04
    ps=\
    worker.list = ajp13
    worker.ajp13.type = ajp13
    worker.ajp13.host = localhost
    worker.ajp13.port = 8009
    Thanks.

Maybe you are looking for

  • My apple tv is not recognising my apple id and password

    My apple tv is not recognising my apple id and password after this new update. Netflix is also don't let me play any movies. I already reset the equipment, network is ok because some features of of apple tv are working fine such as renting from Itune

  • How to install iLife on an iBook without DVD drive

    Some time ago I bought iLife 8 only to find it was on a single DVD which I could not use on my twin-USB iBook with only a CD drive. Now a friend has suggested that the DVD could perhaps be copied to 6 Cds and loaded that way. Toast has a spanning fac

  • Dolby Digital in Flash CS4?

    Hi, does someone know if it's possible to work with dolby digital in Flash CS4. Can I import audio files with 5.1 information or is Flash able to distribute mono wav-files to the different 5.1 speakers? Or is there a way to import flv-files with 5.1

  • LSMW Cost Center

    I'm looking for a LSMW to upload the cost center from a xls-file or csv-file in the R/3 System. Which LSMW can I use for this?

  • My video will not show picture only sound? windows 8.1

    I did updates yesterday and now this is happening