XDK on Tomcat 4.1

Hi, i already read the XDK for Java documentation, and I tried to install the Java Servlet on Tomcat 4.1, the paper has the instruction for Tomcat 3.1, i follow the steps but sometimes is different, (i write setclasspath.bat instead of tomcat.bat), then when I start the service it doesn`t work because it doesn`t find the classpath, but if I start the service manually (with starup.bat) then it works.
What can I do for solve this? ( i Want that the service(apache Tomcat) on XP start with the classpath.
Thanks for your help

Thanks for your reply. I use Oracle JDBC driver. The XSQLConfig.xml was changed to have the following setting:
<connection-manager>
<factory>oracle.xml.xsql.XSQLOracleDatasourceConnectionManager</factory>
</connection-manager>
I'm using Tomcat 4.1.x and Apache Commons DBCP Datasources with org.apache.commons.dbcp.BasicDataSourceFactory. The configuration file does set driverClassName to oracle.jdbc.driver.OracleDriver. All other queries embedded in .xsql files work great, I only have issues with queries containing CURSOR() statements. If I switch back to built-in database connectivity, by changing XSQLConfig.xml and connection parameters in .xsql files everything is working again. When I attempt to use DataSources, I get things like this "oracle.jdbc.driver.OracleResultSetImpl@15780d9" instead of nested XML. The non-nested portion of XML looks fine also, so it is retrieving the data from the database properly. Please let me know if I can provide any additional information that could help in resolving this. Thanks in advance!
-M-

Similar Messages

  • Xdk + Tomcat 4.1.18 + jdk 1.4.0_01

    To install xdk on Tomcat 4.1.18 on linux. Here are the steps I did:
    I had a working 8.1.7 rdbms which circa 2001. So these is basically an upgrade steps.
    1. I downloaded xdk_java_9_2_0_5_0_tar.gz to /u01/xdkjava and cd'd to that directory
    2. untar this file as such: tar xvzf xdk_java_9_2_0_5_0_tar.gz
    which created three directories lib/ xdk/ and bin/
    3. cd xdk/demo/java/xsql
    4. mkdir safe -- a safe xsql home directory
    5. cp xsqldemos.ear safe/
    6. cd safe
    7. jar xvf xsqldemos.ear -- I have to do this to unjar
    and pick out xsqldemos.war, reason being when I attempted to deploy xsqldemos.ear on jboss3, I could not get it to work. you should see xsqldemos.war in this directory.
    8. cd /u01/tomcat_home/webapps
    9. ln -s /u01/xdkjava/xdk/demo/java/xsql/safe/xsqldemos.war --this puts a symbolic link in the Tomcat webapps/ directory and I have Tomcat setup to autoexpandWAR="true".
    10. cd /u01/tomcat_home/shared/lib
    11. cp /u01/xdkjava/lib/xsu12.jar .
    cp /u01/xdkjava/lib/xmlparserv2.jar .
    cp /u01/xdkjava/lib/oraclexsql.jar .
    12. make sure a copy of classes12.jar is at /u01/tomcat_home/common/lib/
    13. Check to make sure connection parameters in /u01/tomcat_home/webapps/xsqldemos/WEB-INF/classes/XSQLConfig.xml are valid. What comes with the xdk kit may be different set-up so check specially username and password.
    14. start tomcat /u01/tomcat_home/bin/startup.sh
    15. point browser to http://localhost:8080/xsqldemos and this should display the index.html page. good luck

    This kind of errors often come from syntax error in
    the jsp page.
    Tomcat is not very friendly with this kind of errors.
    A trick is to open the java file under the 'work'
    directory and checkIsn't there any way to show the error on a page, just like a run-time error?
    Maybe changing some log setting?

  • Oracle.xml.sql.OracleXMLSQLException: Expected name instead of .

    Hi,
    I'm using XDK in Tomcat to execute queries and get the XML result in the browser. I have written many queries but now I'm having problems in one of them.
    The error output that I see in my browser is this one:
    <ROOT>
    <ERROR>
    oracle.xml.sql.OracleXMLSQLException: Expected name instead of <.
    </ERROR>
    </ROOT>:
    This error message is known as XML-20126 but it's not documented in the XML Developer's Kit Programmer's Guide, so I don't know what to do.
    My XSQL query is the following:
    <ROOT connection="xxxx_read" xmlns:xsql="urn:oracle-xsql">
    <xsql:query>
    SELECT XMLAGG(XMLELEMENT("NODE",
    XMLELEMENT("name", b.nodename),
    (SELECT XMLAGG(XMLELEMENT("SERVICE",
    XMLATTRIBUTES(a.serviceabbr AS "type")
    ORDER BY a.serviceabbr
    FROM service a, serviceinstance c
    WHERE c.isdeleted='N'
    AND a.serviceid=c.serviceid
    AND c.nodeid=b.nodeid
    ORDER BY b.nodename
    ) AS "NODES"
    FROM node b
    WHERE b.isdeleted='N'
    </xsql:query>
    </ROOT>
    That query executes fine in sqlplus, where I can see the XML result.
    I think my problem could be related to the size of the XML output. In sqlplus, the output has around 38000 bytes size, which is nothing, so I don't really know why that should be a problem. Do you have any idea?
    Thanks for your help,
    David

    So it seems there is a problem in fact:
    XDB FUNCTION RESULTS ARE TRUNCATED WHEN USING XSQL
    *** 02/25/04 08:28 am ***
    Problem Description
    There appears to be a limit on the content or characters that XSQL pages
    handle when being passed data from XDB functions such as XMLAGG() and
    XMLELEMENT().
    If you have a xsql page of the form
    < ?xml version="1.0"?>
    < xsql:query xmlns:xsql="urn:oracle-xsql" connection="demo" >
    select XMLAgg(XMLElement("Test", XMLAttributes(i.id as "Id_van_de_test",
    i.name as "Name_van_de_test"))) as "Tests" from problem_xml i
    < /xsql:query>
    If the number of rows (or amount of data) in the table is low, the result
    appears okay. However, if the data returned is large the data appears to
    truncate giving xml parsing errors as if the xml returned is not well formed.
    In the testcase provided, the error is as follows :-
    Results from 10.1.0.2
    < Line 2, Column 16354>: XML-20126: (Fatal Error) '< ' cannot appear in attribute value.
    < Line 2, Column 16366>: XML-20190: (Fatal Error) Whitespace required.
    < Line 2, Column 16366>: XML-20201: (Fatal Error) Expected name instead of 4.
    < ?xml version = '1.0'?>
    value.< /ERROR>
    Results from 9.2.0.6
    < Line 2, Column 16354>: XML-0126: (Fatal Error) '< ' cannot appear in attribute value.
    < Line 2, Column 16368>: XML-0190: (Fatal Error) Whitespace required.
    < Line 2, Column 16368>: XML-0201: (Fatal Error) Expected name instead of 3.
    < Line 2, Column 16371>: XML-0122: (Fatal Error) '=' missing in attribute.
    < Line 2, Column 16391>: XML-0190: (Fatal Error) Whitespace required.
    < Line 2, Column 16396>: XML-0122: (Fatal Error) '=' missing in attribute.
    < Line 2, Column 16397>: XML-0125: (Fatal Error) Attribute value should start with quote.
    < ?xml version = '1.0'?>
    value.< /ERROR>
    And the workaround:
    ======================================================
    The only workaround we have is to get the Document generated using
    DBMS_XMLQUERY [with expanded entities].
    _==Start===
    create or replace procedure Query2XML(QueryString varchar2 default
    'select col1 from xml_tab where r_id = ?') IS
    XMLCtx number;
    myXML clob;
    myXMLLength number;
    BEGIN
    XMLCtx := DBMS_XMLQUERY.NEWCONTEXT(QueryString);
    myXML := DBMS_XMLQUERY.GETXML(XMLCtx);
    myXMLLength := DBMS_LOB.GETLENGTH(myXML);
    DBMS_XMLQUERY.CLOSECONTEXT(XMLCtx);
    END Query2XMLFile;
    _==Start===
    Currently, XDB uses a DOM based model for XSLT evaluation. It is not
    possible to support disable-output-escaping constructs through this
    evaluation. This might be supported in a future release when a different
    model is implemented.
    =============================================================

  • Error : XDK 902b,  jdk 1.3.1_02, Tomcat 3.2.3, server can't  find XSQLConfig.xml

    Hi xml-folks :
    I am having a show stopping problem with my IBM NT server 4.0 s-pac 6 env. Error : XDK 902b with jdk 1.3.1_02 and Tomcat 3.2.3, server can't find XSQLConfig.xml file.
    Components : IIS 4.0, Tomcat 3.2.3, JDK 1.3.1_02, XDK 9.0.2b
    - all components were down loaded and installed from apache.org, sun.java and otn this week.
    ERROR : in Internet Explorer
    I type in ...
         Http://geoweb:8080/geoapp/helloworld/helloworld.xsql
    I recieve ...
         Oracle XSQL Servlet Page Processor 9.0.2.0.0(Beta)
         XSQL - 003 : Failed to find 'XSQLConfig.xml' in file server CLASSPATH.
    ( ... seems straight forward to fix, doesn't it.)
    - history IIS works, jakarta is up as a service, it's mapped as an IIS vritual directory, Tomcat serves the demo t-c JSP and Servlets from : Http://geoweb:8080/geoapp, the java env works (java, javac, jar, etc). I've done everything to try to get the CLASSPATH to recognized the XSQLConf file, jar'ed it, renamed it to zip. And of course the file still resides in my XDK home E:\xdk_java_902b\lib, I've tried that in the path too.
    < nt_system_variables >
    CLASSPATH=E:\Tomcat3.2.3
    \lib\XSQLConfig.jar;E:\xdk_java_902b\lib\classes12.zip;E:\xdk_java_902b\lib\classgen.jar;E:\xdk_java_902b\lib\oraclexsql.jar;E:\xdk_java_902b\lib\transx.zip;E:\xdk_java_902b\lib\xmlmesg.jar;E:\xdk_java_902b\lib\xmlparserv2.jar;E:\xdk_java_902b\lib\xschema.jar;E:\xdk_java_902b\lib\xsqlserializers.jar;E:\xdk_java_902b\lib\xsu12.jar;E:\xdk_java_902b\xdk\admin
    COMPUTERNAME=GEOWEB
    ComSpec=C:\WINNT\system32\cmd.exe
    DiskeeperIcon=C:\Program Files\Executive Software\DiskeeperServer\
    HOMEDRIVE=C:
    HOMEPATH=\
    INCLUDE=E:\Program Files\Mts\Include
    JAVA_HOME=e:\jdk1.3.1_02
    LIB=E:\Program Files\Mts\Lib
    LOGONSERVER=\\GEO3
    NUMBER_OF_PROCESSORS=4
    OS=Windows_NT
    Os2LibPath=C:\WINNT\system32\os2\dll;
    Path=E:\jdk1.3.1_02\bin;E:\Perl\bin\;E:\Oracle8i\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\PROGRA~1\IBM\UMS\DMI\bin;C:\Program Files\IBM\UMS;C:\WINNT\system32;C:\WINNT;E:\Program Files\Mts;C:\WINNT\System32\WBEM;C:\PROGRA~1\IBM\UMS\Director\Bin;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 1, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0a01
    PROMPT=$P$G
    SystemDrive=C:
    SystemRoot=C:\WINNT
    TEMP=C:\TEMP
    TMP=C:\TEMP
    TOMCAT_HOME=e:\Tomcat3.2.3
    UMS_DRIVE=C:
    UMS_HOME=C:\Program Files\IBM\UMS
    USERDOMAIN=GEO
    USERNAME=GEONETADMIN
    USERPROFILE=C:\WINNT\Profiles\geonetadmin
    WIN32DMIPATH=C:\PROGRA~1\IBM\UMS\DMI
    windir=C:\WINNT
    </ nt_system_variables >
    Anyone have any Ideas ?

    I should have included my wrappers.properties in the original part of the thread. Here it is with the working corrections.
    Once I added : wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    to my wrappers.properties file the XML-003 error went away, i.e. its working ... I can see the XSQLCOnfig.xml file now. I don't think this is the nornal way this should be fixed but literally nothing else I did worked. I tried things like adding a system variable XML_CONF=%XML_HOME%\lib and modified my CLASSPATH to simply poiint to the %TOMCAT_HOME%\lib ( where my XSQLConfig.xml file is located). those did not get this woring ... only by adding the "wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    " to my wrappers.properties file did it work.
    I hope this helps people, but I do believe this is very non-standard (this isn't the way this is supposed to be working). Everything I've read by Oracle OTN, Steve M. etc. and the boards here suggest this isn't supposed to be this hard. But it was for me.
    now I'm dealing with a XML-007 error, but thats very solvable, theres plenty of documentation on why your JDBC connection is failing, worse comes to worse I'll re-install the JDBC-Oracle 8i client software.
    E#
    # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v 1.2.2.1 2000/10/16 01:59:22 larryi Exp $
    # $Revision: 1.2.2.1 $
    # $Date: 2000/10/16 01:59:22 $
    # jk_service.properties - a bootstrup file for the Tomcat NT service.
    # This file provides jk_nt_service with the needed information to
    # start tomcat at a different process.
    # As a general note, the characters $( and ) are used internally to define
    # macros. Do not use them!!!
    # Whenever you see a set of lines such as:
    # x=value
    # y=$(x)\something
    # the final value for y will be value\something
    # Normaly all you will need to modify is the first two properties, i.e.
    # wrapper.tomcat_home and wrapper.java_home. Most of the configuration
    # is derived from these two.
    # wrapper.tomcat_home should point to the location where you
    # installed tomcat. This is where you have your conf, webapps and lib
    # directories.
    wrapper.tomcat_home=E:\Tomcat3.2.3
    # wrapper.java_home should point to your Java installation. Normally
    # you should have a bin and lib directories beneath it.
    wrapper.java_home=E:\jdk1.3.1_02
    #------ ADVANCED MODE ------------------------------------------------
    # Make sure that you read the how-to before making too many changes.
    # Defining where the service is going to put the standard
    # output of Tomcat. This is where System.out.println and
    # System.err.println goes to.
    wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
    wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr
    # Additions to the path. put here directories where you store DLLs for
    # native methods etc.
    wrapper.ld_path=e:\
    wrapper.ld_path=c:\
    # Defining the classpath. All the rows that belongs to the class_path
    # property are concatenated to create the classpath for Tomcat.
    # If you have additional locations that you would like to add to the
    # claspath you should add a new wrapper.class_path=<location> line.
    wrapper.class_path=$(wrapper.tomcat_home)\classes
    wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
    # Here we add the classes required for the xsql servlet and any
    # other apps.
    wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    wrapper.class_path=E:\xdk_java_902b\lib\classes12.jar
    wrapper.class_path=E:\xdk_java_902b\lib\classgen.jar
    wrapper.class_path=E:\xdk_java_902b\lib\oraclexsql.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xmlmesg.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xmlparserv2.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xschema.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xsqlserializers.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xsu12.jar
    wrapper.class_path=E:\xdk_java_902b\xdk\admin
    # This is where Javac is located in JDK1.3.x
    wrapper.class_path=$(wrapper.java_home)\lib\tools.jar
    # and a tribute to JDK1.1.x
    # wrapper.class_path=$(wrapper.java_home)\lib\classes.zip
    # This is the Java interpreter used for running Tomcat
    wrapper.javabin=$(wrapper.java_home)\bin\java.exe
    # This is Tomcat's startup class (the class that contains Tomcat's
    # starting point.
    wrapper.startup_class=org.apache.tomcat.startup.Tomcat
    # This is the location where tomcat's server.xml configuration file
    # is located.
    wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml
    # The NT service uses AJP12/AJP13 to shutdown Tomcat. The
    # wrapper.shutdown_port tells the service the identity of the port that
    # is used by AJP12/AJP13.
    wrapper.shutdown_port=8007
    # Can either be ajp12 or ajp13 depending on your configuration.
    # Default value is ajp12
    wrapper.shutdown_protocol=ajp12
    # This is the command line that is used to start Tomcat. You can add extra
    # parameters to it but you can not remove anything.
    wrapper.cmd_line=$(wrapper.javabin) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) -home $(wrapper.tomcat_home)

  • Trying to make oracle-xsql-servlet to work under tomcat

    I am trying setup Setup "oracle-xsql-servlet" to work under tomcat.
    #1. I have installed the xdk from orcale at "C:\xdk_nt_10_1_0_2_0_production"
    #2. I have installed "Apache Tomcat Version 6.0.14"
    #3.
    I have made the following changes to "catalina.bat"
    REM Added for Oracle XSQL Servlet
    REM -----------------------------
    set CLASSPATH=%CLASSPATH%;C:\xdk_nt_10_1_0_2_0_production\lib\xsu12.jar
    set CLASSPATH=%CLASSPATH%;C:\xdk_nt_10_1_0_2_0_production\lib\oraclexsql.jar
    set CLASSPATH=%CLASSPATH%;C:\xdk_nt_10_1_0_2_0_production\lib\xmlparserv2.jar
    set CLASSPATH=%CLASSPATH%;C:\xdk_nt_10_1_0_2_0_production\lib\classes111.zip
    set CLASSPATH=%CLASSPATH%;C:\xdk_nt_10_1_0_2_0_production\xdk\admin
    echo %CLASSPATH%
    #4 created a new folder under "C:\apache-tomcat-6.0.14\apache-tomcat-6.0.14\webapps" xdk
    and created a web.xml in it. Following are the entries is the web.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
         <description>
    XDK Examples.
    </description>
         <display-name>XDK Examples</display-name>
         <servlet>
              <servlet-name>oracle-xsql-servlet</servlet-name>
              <servlet-class>oracle.xml.xsql.XSQLServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>oracle-xsql-servlet</servlet-name>
              <url-pattern> *.xsql </url-pattern>
         </servlet-mapping>
    </web-app>
    PROBLEM. When I start up tomcat, I keep getting the following errors.
    SEVERE: Error deploying web application directory xdk
    java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)     
    OTHER APPLICATIONS such as Examples (provided by apache) work fine.
    Any ideas ?

    XSQL may be used with Tomcat 3.1 and 3.2.
    Refer to section Jakarta Tomcat 3.1 or 3.2
    http://www.oracle.com/technology/tech/xml/xdk/doc/production10g/doc/java/xsql/xsql_userguide.html#ID3386

  • More Tomcat 4.0.x with XSQLServlet  problems

    Hey there people, I have been following the discussion about Tomcat4.0 with the XDK package so now it is my turn to have a problem with it. Also Im not sure if anyone have configured this thing correctly?, or maybe I'm wrong??
    My configuration (that almost works) is as follows:
    in TOMCAT_HOME/common/lib I have placed
    xsu12.jar
    oraclexsql.jar
    xmlparserv2.jar
    Now I had problems with the classes12.zip file which I had to extract into
    TOMCAT_HOME/common/classes in order to avoid the "ClassNotFoundException" about the Oracle JDBC.
    Instead the tomcat can now find the JDBC drivers in the classes directory unzipped. ok that worked but.....
    Now the last thing I needed to do was to place the XSQLConfig.xml file into Tomcat classpath. So I put it in TOMCAT_HOME/common/classes. But after extracting the jdbc driver package into that directory this xml file cannot be foud anymore by Tomcat??, (no problem when the jdbc cdrivers where not there!!???)
    I have also edited catalina.bat and setclasspath.bat (using Windows for this one) so that it can search for this xml file but without any luck.
    So if anyone have been able to properly set up XSQLServlet with Tomcat4.0 can you please help me out with this one???
    I got this up running with tomcat 3.2 but the configuration is not the same for Tomcat4.0. It also works with JServ but that too is another story.
    This is strange
    Regards
    /Antonios

    Antonios,
    it's easier to rename the classes12.zip to classes12.jar and put it into common/lib, too. To include the the XSQLConfig.xml i changed the classpath in the catalina.sh. This is working very good for me.
    Uwe

  • Problems configuring XSQL with Tomcat

    Having a lot of trouble getting this to work with tomcat standalone, apache with tomcat, and even apache with resin. (I have successfully gotten this to work with resin as both web and appserver.)
    I have tried to be meticulous in following the directions, but one thing that is throwing me is that I can't find the web.xml file in my xdk distribution (neither in xdk8i nor xdk9i); I've attempted to create the .xsql extension-to-servlet mapping myself in Tomcat's web.xml file, but maybe I got this wrong.
    The main symptom is that my xsql pages are basically being returned to me in the browser. Any help would be appreciated.

    Bacically you need to create yourself, and here is an example:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
    <web-app>
    <servlet>
    <servlet-name>
    WebCounter
    </servlet-name>
    <servlet-class>
    FAQAnswerServlet
    </servlet-class>
    </servlet>
    <servlet>
    <servlet-name>
    oraclexsql
    </servlet-name>
    <servlet-class>
    oracle.xml.xsql.XSQLServlet
    </servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>
    oraclexsql
    </servlet-name>
    <url-pattern>
    *.xsql
    </url-pattern>
    </servlet-mapping>
    </web-app>
    null

  • Problem with JNI and Tomcat (and threads???)

    Howdy,
    Here is the issue - I would like some help on HOW to debug and fix this problem:
    2 test use cases -
    1)
    a)User goes to Login.jsp, enters user and password
    b) User submits to LoginServlet
    c) login calls JNI code that connects to a powerbuilder(Yes I know this is ugly) PBNI code module (this is a .dll) that authenticates the user with the database
    d) the servlet then redirects to another .jsp page
    e) user then submits to LogoutServlet - also a JNI call to a powerbuilder PBNI code module
    f) REPEAT STEPS a-e over a few times (inconsistent) and then the call to the JNI code hangs
    2)
    a) users does NOT goto Login.jsp, but rather calls LoginServlet and passes the userid and password as GET parms
    b) user does NOT get redirected to a page (redirect code commented out)
    c) user calls LogoutServlet
    d) repeat steps a-c at will and no failure, no hanging
    The only difference is that in case 1 (with JSP), there is a redirect and it afffected the JNI call by haniging inside JNI code.
    In case 2 (without JSP) there is still a JNI call, but it does not hang. In addition, when it hangs and I stop Tomcat, the logs show cleanup entries that say:
    Oct 19, 2004 9:17:09 AM org.apache.catalina.core.StandardWrapper unload
    INFO: Waiting for 1 instance(s) to be deallocated
    Oct 19, 2004 9:17:10 AM org.apache.catalina.core.StandardWrapper unload
    INFO: Waiting for 1 instance(s) to be deallocated
    Oct 19, 2004 9:17:11 AM org.apache.catalina.core.StandardWrapper unload
    INFO: Waiting for 1 instance(s) to be deallocated
    Is this a threading issue in Tomcat???
    On would assume that the JNI code is not cleaning up after itself, but I don't believe this is the case,
    and even if it was, why would I get the tomcat log cleanup entries above???
    What do those cleanup entries imply about the state of Tomcat????

    hi ,
    I met the same problem this morning, and searched the www.google.com in order to solve it, as a result, your article was shown on my screen. :)
    Till now I have read some technical information and solved my problems. Maybe the solution be useful to you:
    ==============================
    error message : (Environment : Tomcat 5, Windows 2003, Mysql5)
    2006-3-29 11:53:48 org.apache.catalina.core.StandardWrapper unload
    message: Waiting for 2 instance(s) to be deallocated
    ==============================
    cause: the number of connection to database exceeded.another word,too many connections.
    ==============================
    solution: close the connection when it becomes useless for your program. :)
    ==============================
    ps. Sorry for my weak English . hehe ....

  • Web Service Security is not working when migrating application from Tomcat

    Hi,
    We have a application running successfully in tomcat6 It calls a Webservice call through TIBCO BW interface.
    When we deployed the same WAR file in Weblogic 10.3.2, it gives me a error on Prefix[ds] not able to locate namespace URI not found error.
    IN Tomcat, its a existing application uses AxilUtility to get the soap messages after signing document for bothe encyption and decryption.
    Please anybody help me out, is there any other jars needs to be locate in Weblogic to run this application. Its fine with Tomcat and gives error in Weblogic10.3.2
    Please help me out
    Thanks in advance

    Hi Rajkumar,
    Thanks for you reply. Please let me now if you have any ideas..thnks a lot....
    Below is the error message what i am getting through weblogic console.
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.io.IOException: error:weblogic.xml.stream.XMLStreamException: Pr
    efix [ds] used without binding it to a namespace URI
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:744)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readInternal(XMLNode.java:713)
    at weblogic.xml.xmlnode.XMLNode.readInternal(XMLNode.java:722)
    at weblogic.xml.xmlnode.NodeBuilder.build(NodeBuilder.java:44)
    at weblogic.xml.xmlnode.NodeBuilder.<init>(NodeBuilder.java:24)
    at weblogic.webservice.core.soap.SOAPEnvelopeImpl.<init>(SOAPEnvelopeImp
    l.java:154)
    at weblogic.webservice.core.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.j
    ava:200)
    ... 78 more
    java.lang.NullPointerException
    at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
    at com.db.alat.wss.WSSClient.postSoapMessage(WSSClient.java:358)
    at com.db.alat.wss.WSSClient.WSSEncDec(WSSClient.java:102)
    at com.db.alat.service.CollateralAccounts.getAccountsSummary(CollateralA
    ccounts.java:55)
    at com.db.alat.CH.CHMapper.getGroup(CHMapper.java:281)
    at com.db.alat.BackingBeans.BorrowerDetailsBean.getClientDataCH(Borrower
    DetailsBean.java:1034)
    at com.db.alat.BackingBeans.BorrowerDetailsBean.<init>(BorrowerDetailsBe
    an.java:766)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:186
    at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:106)
    at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:368)
    at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:222)
    at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver
    .java:86)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe
    solver.java:72)
    at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:107)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    And i have the loggers which gives the system out statements. You can identify the difference in both logs is the sys out ...Convert Signed Document back to Soap Message.
    IN tomcat i am getting the return object after calling the method
    SOAPMessage signedMsg = (SOAPMessage) AxisUtil.toSOAPMessage(signedDoc);
    But in Weblogic i am getting NULL. You can c in SOAPMessageImpl[SOAPPartImpl[null]]
    Tomocat Logs:
    Message Context..................1.........................org.apache.axis.MessageContext@c393a1
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Unsigned Envelop............2.........................<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><RqDetail xmlns="http://schemas.db.com/esb/emf/pwm/ALAT/Services/CLIENT-getCandidateCollateralAccounts-RR" xmlns:cli="http://schemas.db.com/esb/emf/pwm/ClientElements" xmlns:com="http://schemas.db.com/esb/emf/pwm/CommonAggregates" xmlns:com1="http://schemas.db.com/esb/emf/pwm/CommonElements">
    <cli:ClientID BusinessUnit="CH">7cf8e78f86212a65398d50766de95a762318d3eee1350c1105d4b751825a690b</cli:ClientID>
    <cli:ClientType>B</cli:ClientType>
    <com:Field>
    <com1:Name>INITIALPAGE</com1:Name>
    <com1:Value>YES</com1:Value>
    </com:Field>
    </RqDetail></SOAP-ENV:Body></SOAP-ENV:Envelope>
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) DOCUMENT is .......:[#document: null]
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) KEYSTORE is .......:java.security.KeyStore@127fa03
    2011-04-21 05:35:57,078 8844 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................3.........................
    2011-04-21 05:35:57,094 8860 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................4.........................
    2011-04-21 05:35:57,297 9063 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Signed Document is .......:[#document: null]
    2011-04-21 05:35:57,437 9203 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Convert Signed Document back to Soap Message .......:[email protected]33662
    2011-04-21 05:35:57,469 9235 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................5.........................
    Weblogic Logs:
    Message Context..................1.........................org.apache.axis.MessageContext@460d4
    2011-04-26 01:15:45,859 2640 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Unsigned Envelop............2.........................<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><RqDetail xmlns="http://schemas.db.com/esb/emf/pwm/ALAT/Services/CLIENT-getCandidateCollateralAccounts-RR" xmlns:cli="http://schemas.db.com/esb/emf/pwm/ClientElements" xmlns:com="http://schemas.db.com/esb/emf/pwm/CommonAggregates" xmlns:com1="http://schemas.db.com/esb/emf/pwm/CommonElements">
    <cli:ClientID BusinessUnit="CH">2b285aa27f1899d87de00f04099506ad24aaf1c18b0b6b071a8acd19b1732fb9</cli:ClientID>
    <cli:ClientType>B</cli:ClientType>
    <com:Field>
    <com1:Name>INITIALPAGE</com1:Name>
    <com1:Value>YES</com1:Value>
    </com:Field>
    </RqDetail></SOAP-ENV:Body></SOAP-ENV:Envelope>
    2011-04-26 01:15:45,875 2656 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) DOCUMENT is .......:[#document: null]
    2011-04-26 01:15:45,875 2656 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) KEYSTORE is .......:java.security.KeyStore@167d3c4
    2011-04-26 01:15:45,984 2765 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................3.........................
    2011-04-26 01:15:46,016 2797 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................4.........................
    2011-04-26 01:15:46,234 3015 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Signed Document is .......:[#document: null]
    2011-04-26 01:15:46,313 3094 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Convert Signed Document back to Soap Message .......:SOAPMessageImpl[SOAPPartImpl[null]]
    2011-04-26 01:15:46,328 3109 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................5.........................

  • URgent !!!!!!!!! How do i add information to server.xml of tomcat

    Hi ,
    I want to add the conext information to my server.xml of tomcat for my hibernate configuration.....
    the conext information is as follows ....
    <Context path="/quickstart" docBase="quickstart">
    <Resource name="jdbc/quickstart" scope="Shareable" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/quickstart">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <!-- DBCP database connection settings -->
    <parameter>
    <name>url</name>
    <value>jdbc:postgresql://localhost/quickstart</value>
    </parameter>
    <parameter>
    <name>driverClassName</name><value>org.postgresql.Driver</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>quickstart</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>secret</value>
    </parameter>
    <!-- DBCP connection pooling options -->
    <parameter>
    <name>maxWait</name>
    <value>3000</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>100</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>10</value>
    </parameter>
    </ResourceParams>
    </Context>
    Where in my server.xml should i put
    the server.xml looks like this :
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.core.AprLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="8080" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    </Host>
    </Engine>
    </Service>
    </Server>
    Can Some one Help me pleaseeeeee

    Please don't cross-post in multiple forums. I have answered
    this in your other thread.

  • Error connecting to an EJB 3.0 Remote on OC4J 10.1.3.2 from Tomcat

    Hi, I want to connect to a Remote Session Bean running on the OC4J 10.1.3 and it doesn´t work.
    I have connected to it from a java standalone application using:
    public static void main(String [] args) {
    try {
    final Context context = getInitialContext();
    SessionEJB sessionEJB = (SessionEJB)context.lookup("java:comp/env/ejb/SessionEJB");
    System.out.println(sessionEJB.mergeEntity(""));
    System.out.println( "hola" );
    } catch (Exception ex) {
    ex.printStackTrace();
    private static Context getInitialContext() throws NamingException {
    Hashtable env = new Hashtable();
    // Standalone OC4J connection details
    env.put( Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.naming.ApplicationClientInitialContextFactory" );
    env.put( Context.SECURITY_PRINCIPAL, "oc4jadmin" );
    env.put( Context.SECURITY_CREDENTIALS, "passw" );
    env.put(Context.PROVIDER_URL, "ormi://localhost:23791/ejb3jar");
    return new InitialContext( env );
    with this application-client.xml file:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <application-client 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/application-client_1_4.xsd" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <display-name>Model-app-client</display-name>
    <ejb-ref>
    <ejb-ref-name>ejb/SessionEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <remote>ar.com.eds.ejb3.model.SessionEJB</remote>
    <ejb-link>SessionEJB</ejb-link>
    </ejb-ref>
    thats works fine, but when I try to use the same solution from a jsf proyect running on a Tomcat 5.5.20, it fails with this error:
    Caused by: java.lang.RuntimeException: Error while creating home.
         at ar.com.mcd.fawkes.ui.locator.EJB3Locator.get(EJB3Locator.java:32)
         at ar.com.mcd.fawkes.ui.locator.ServiceLocator$1.get(ServiceLocator.java:12)
         at net.sf.opentranquera.web.jsf.locator.ServiceLocatorBean.get(ServiceLocatorBean.java:42)
         at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)
         at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:187)
         at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:171)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
         ... 80 more
    Caused by: javax.naming.NameNotFoundException: Name ejb is not bound in this Context
         at org.apache.naming.NamingContext.lookup(NamingContext.java:769)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:139)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:780)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:139)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:780)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at ar.com.mcd.fawkes.ui.locator.EJB3Locator.get(EJB3Locator.java:28)
         ... 87 more
    Could you please help me with any tip?
    Mauricio
    Message was edited by:
    Mauricio

    Hi, Rick
    Thanks for your help.
    I deleted de application-client.xml file, added the following lines to the web.xml file:
         <ejb-ref>
              <ejb-ref-name>ejb/SessionEJB</ejb-ref-name>
              <ejb-ref-type>Session</ejb-ref-type>
              <remote>ar.com.eds.ejb3.model.SessionEJB</remote>
         </ejb-ref>
    and now I´m using oracle.j2ee.rmi.RMIInitialContextFactory
    there is no error, and it doesn´t throw any exception but the following line returns null.
    SessionEJB sessionEJB = (SessionEJB)context.lookup("java:comp/env/ejb/SessionEJB");
    Its seems the lookup method finds the remote ejb because it doesn´t fail, but it returns null.
    Any idea what is wrong?
    Mauricio.

  • Problem when rendering a report in BI Publisher deployed on Apache Tomcat

    Hello for all.
    First, I am going to tell you technical specifications about the software where I have deployed BI Publisher:
    1. OS: Windows XP SP3
    2. JDK and JRE: 1.6.0_24
    3. Apache Tomcat: 5.5.33 (Set JVM Max Memory in 768MB)
    4. BI Publisher EE: 10.1.3.4.1
    I have deployed BI Publisher on Apache Tomcat without any problem, I uploaded Report files (both XDO and RTF), and I can see the reports in XML output format, but when I try to see the reports rendered by using the rtf file I have configured, BI Publisher shows me an Error; I checked the Apache Tomcat log and the following error is reported:
    [042511_033325984][oracle.apps.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
    <Line 3, Column 123>: XML-22002: (Fatal Error) Error while processing include XSL file (rtf2xsl://http_//localhost:8080/xmlpserver/SubTemplates/sub-template-parameters.rtf?sid=1&eaf=3).
    <Line 296, Column 18>: XML-22000: (Error) Error while parsing XSL file (null).
    [042511_033325984][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=247MB, total=44MB, free=15MB
    [042511_033325984][][EXCEPTION] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
         at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
         at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
         at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
         at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
         at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
         at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         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:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.util.EmptyStackException
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 39 more
    [042511_033325984][][EXCEPTION] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
         at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
         at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
         at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
         at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
         at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
         at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         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:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.util.EmptyStackException
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 39 more
    I checked that the url http://localhost:8080/xmlpserver/SubTemplates/sub-template-parameters.rtf would be accesible via Internet Explorer, and It is accesible.
    I am glad if you can tell me what could be the cause of the error.
    Thanks.

    Finally, I stop working in the implementation of BIP over Apache Tomcat; I installed OC4J 10.1.3.5.0 (standalone installation) and I deployed BIP on it.
    It seems the error I wrote in last post has been fixed, but actually I am obtaining the following error with the deployment on OC4J:
    [042711_055706687][][ERROR] Namespace 'http://www.oracle.com/XSL/Transform/java/
    oracle.com.xmlpublisher.reports.BIPExtension' failed Secure Java Extensions chec
    k.
    [042711_055706687][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=
    494MB, total=46MB, free=21MB
    [042711_055706687][][EXCEPTION] oracle.apps.xdo.XDOException: XSLT10gR1: Failed
    Secure Java Extensions check.
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
    at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.j
    ava:91)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.
    java:82)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.ja
    va:255)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
    hain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
    er.java:94)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:644)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:458)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:226)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:127)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:116)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:662)
    [042711_055706687][][EXCEPTION] oracle.apps.xdo.XDOException: XSLT10gR1: Failed
    Secure Java Extensions check.
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
    at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.j
    ava:91)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.
    java:82)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.ja
    va:255)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
    hain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
    er.java:94)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:644)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:458)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:226)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:127)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:116)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:662)
    May you know the cause of the error above?
    Thanks,

  • Error in starting SPLService on Tomcat

    Hi,
    I get an error while starting CC&B v2.1.0 installed at my local machine on Tomcat. Hereunder is the SPL.log :
    - 10:32:37,953 [main] INFO (web.startup.SPLWebStartup) Initializing SPL web application
    - 10:32:37,953 [main] INFO (shared.context.ApplicationMode) Application is running web-based
    - 10:32:37,953 [main] INFO (shared.context.ApplicationMode) Application set to production mode
    - 10:32:38,031 [main] INFO (web.dynamicui.TransformServletHelper) Disable UIPage Compression set to false
    - 10:32:38,968 [main] INFO (support.context.ContextFactory) Creating default context
    - 10:32:39,093 [main] INFO (shared.environ.ApplicationProperties) loaded properties from resource spl.properties: {spl.runtime.service.extraInstallationServices=CILTINCP, spl.runtime.cobol.remote.jvmcommand=D:/CCB_Install/jdk1.5.0_09/bin/java.exe, spl.tools.loaded.applications=base,ccb,cm, spl.runtime.cobol.remote.jvmcount=1, spl.runtime.socket.file.dir=D:/ccbenv/ccbdemo/runtime, spl.runtime.cobol.sql.fetchSize=150, spl.runtime.cobol.cobrcall=false, spl.runtime.cobol.encoding=UTF8, spl.runtime.cobol.sql.disableQueryCache=false, spl.runtime.utf8Database=true, spl.runtime.cobol.remote.jvmoptions=-Xmx156m -server -Dfile.encoding=ISO8859_1 -cp D:/ccbenv/ccbdemo/splapp/standalone/config;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-beanutils-1.6.1.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-codec-1.3.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-collections-2.1.1.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-fileupload-1.1.1.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-httpclient-2.0.2.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-io-1.2.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-lang-2.2.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-logging-1.0.4.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/concurrent-1.3.4.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/dom4j-1.6.1.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/hibernate-3.1.3.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/icu4j-3.6.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/jaxen-1.1-beta-11.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/jta.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/jtds-1.2.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/log4j-1.2.11.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/mfcobol.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/spl-base-2.1.0.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/spl-shared-2.1.0.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/spl-xai-2.1.0.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/xstream-1.2.1.jar, spl.runtime.environ.init.dir=D:/ccbenv/ccbdemo/etc, spl.runtime.cobol.sql.cache.maxTotalEntries=1000, spl.runtime.oracle.statementCacheSize=300, spl.runtime.cobol.remote.rmiStartPort=5503, spl.runtime.cobol.sql.cursoredCache.maxRows=10, spl.runtime.cobol.remote.jvm=true, spl.runtime.sql.highValue=}
    - 10:32:47,140 [main] WARN (shared.environ.ContextManagedObjectSet) Could not load resource com/splwg/cm/domain/contextManagedObjects.xml on classpath. This may be harmless but could mean a problem with the classpath. Please verify that the classpath for application cm is correctly configured.
    - 10:33:12,234 [main] INFO (support.context.ContextFactory) Registering lookups
    - 10:33:12,593 [main] INFO (support.context.ContextFactory) 480 lookups registered, time 348.717 ms
    - 10:33:12,593 [main] INFO (support.context.ComponentContainerLookupHelper) Initializing constants on 505 lookup interface classes
    - 10:33:13,187 [main] INFO (support.context.ComponentContainerLookupHelper) Done initializing lookup constants, time 594.028 ms
    - 10:33:13,187 [main] INFO (support.context.ContextFactory) Registering algorithm spots
    - 10:33:13,187 [main] INFO (support.context.ContextFactory) 99 algorithm spots registered, time 0.168 ms
    - 10:33:13,187 [main] INFO (support.context.ContextFactory) Registering algorithm components
    - 10:33:13,187 [main] INFO (support.context.ContextFactory) 46 algorithm components registered, time 0.045 ms
    - 10:33:13,187 [main] INFO (support.context.ContextFactory) Registering batch jobs
    - 10:33:13,187 [main] INFO (support.context.ContextFactory) 13 batch jobs registered, time 0.036 ms
    - 10:33:13,187 [main] INFO (support.context.ContextFactory) Registering Entities
    - 10:33:15,515 [main] INFO (support.context.ContextFactory) 812 entities registered, time 2,320.145 ms
    - 10:33:15,515 [main] INFO (support.context.ContextFactory) Registering Components
    - 10:33:15,515 [main] INFO (support.context.ContextFactory) 227 components registered, time 1.367 ms
    - 10:33:15,515 [main] INFO (support.context.ContextFactory) Registering Change Handlers
    - 10:33:15,515 [main] INFO (support.context.ContextFactory) 200 handlers registered, time 0.386 ms
    - 10:33:15,515 [main] INFO (support.context.ContextFactory) Registering Services
    - 10:33:15,671 [main] INFO (support.context.ContextFactory) 313 services registered, time 158.694 ms
    - 10:33:15,671 [main] INFO (support.context.ContextFactory) Registering Code Description queries
    - 10:33:15,687 [main] INFO (support.context.ContextFactory) 40 code/description queries registered, time 0.060 ms
    - 10:33:15,687 [main] INFO (support.context.ContextFactory) Registering cobol programs
    - 10:33:16,140 [main] INFO (support.context.ContextFactory) 187 cobol copybooks registered, time 455.640 ms
    - 10:33:16,140 [main] INFO (support.context.ContextFactory) Registering cobol programs
    - 10:33:16,140 [main] INFO (support.context.ContextFactory) 39 cobol programs registered, time 0.048 ms
    - 10:33:16,140 [main] INFO (support.context.ApplicationContext) Building hibernate configuration
    - 10:33:16,687 [main] INFO (support.context.ApplicationContext) Adding 812 hibernate mappings
    - 10:33:17,640 [main] INFO (support.context.ApplicationContext) Added 100 mappings
    - 10:33:18,250 [main] INFO (support.context.ApplicationContext) Added 200 mappings
    - 10:33:19,015 [main] INFO (support.context.ApplicationContext) Added 300 mappings
    - 10:33:19,609 [main] INFO (support.context.ApplicationContext) Added 400 mappings
    - 10:33:20,562 [main] INFO (support.context.ApplicationContext) Added 500 mappings
    - 10:33:21,140 [main] INFO (support.context.ApplicationContext) Added 600 mappings
    - 10:33:21,734 [main] INFO (support.context.ApplicationContext) Added 700 mappings
    - 10:33:22,343 [main] INFO (support.context.ApplicationContext) Added 800 mappings
    - 10:33:22,406 [main] INFO (support.context.ApplicationContext) Added 812 mappings
    - 10:33:22,500 [main] INFO (support.context.ApplicationContext) Done building hibernate configuration, time 6,351.886 ms
    - 10:33:22,500 [main] INFO (support.context.ApplicationContext) Building hibernate session factory
    - 10:33:24,218 [main] INFO (hibernate.connection.ConnectionProviderFactory) Initializing connection provider: org.hibernate.connection.C3P0ConnectionProvider
    - 10:33:24,218 [main] INFO (hibernate.connection.C3P0ConnectionProvider) C3P0 using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@localhost:1521:etmdemo
    - 10:33:24,218 [main] INFO (hibernate.connection.C3P0ConnectionProvider) Connection properties: {user=ccbuser, password=****}
    - 10:33:24,218 [main] INFO (hibernate.connection.C3P0ConnectionProvider) autocommit mode: false
    - 10:33:24,234 [main] INFO (v2.log.MLog) MLog clients using log4j logging.
    - 10:33:24,640 [main] INFO (v2.c3p0.C3P0Registry) Initializing c3p0-0.9.0.4 [built 23-January-2006 22:20:29 -0500; debug? true; trace: 10]
    - 10:33:24,812 [main] INFO (v2.c3p0.PoolBackedDataSource) Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@215748 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@100269d [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 100269d, idleConnectionTestPeriod -> 0, initialPoolSize -> 1, maxIdleTime -> 300, maxPoolSize -> 150, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@56be4e [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 56be4e, jdbcUrl -> jdbc:oracle:thin:@localhost:1521:etmdemo, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ], factoryClassLocation -> null, identityToken -> 215748, numHelperThreads -> 3 ]
    - 10:33:26,296 [main] INFO (hibernate.dialect.Dialect) Using dialect: org.hibernate.dialect.Oracle9Dialect
    - 10:33:26,312 [main] INFO (hibernate.transaction.TransactionFactoryFactory) Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
    - 10:33:26,312 [main] INFO (hibernate.transaction.TransactionManagerLookupFactory) No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    - 10:33:26,343 [main] INFO (hibernate.impl.SessionFactoryImpl) building session factory
    - 10:33:36,812 [main] INFO (hibernate.impl.SessionFactoryObjectFactory) Not binding factory to JNDI, no JNDI name configured
    - 10:33:36,812 [main] INFO (support.context.ApplicationContext) Done building hibernate session factory, time 14,318.045 ms
    - 10:33:37,484 [main] INFO (support.sql.OracleFunctionReplacer) Oracle driver statement cache enabled with size of 300
    - 10:33:37,531 [main] INFO (support.context.ApplicationContext) Database: Oracle, version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    - 10:33:37,531 [main] INFO (support.context.ApplicationContext) JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0
    - 10:33:38,828 [main] INFO (support.context.ApplicationContext) System owner is: 'CM '
    - 10:33:39,328 [main] INFO (cobol.host.CobolHostStartup) Using provided java command for remote cobol execution: D:/CCB_Install/jdk1.5.0_09/bin/java.exe
    - 10:33:39,328 [main] INFO (cobol.host.CobolHostStartup) Using provided java command options for remote cobol execution: -Xmx156m -server -Dfile.encoding=ISO8859_1 -cp D:/ccbenv/ccbdemo/splapp/standalone/config;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-beanutils-1.6.1.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-codec-1.3.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-collections-2.1.1.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-fileupload-1.1.1.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-httpclient-2.0.2.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-io-1.2.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-lang-2.2.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/commons-logging-1.0.4.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/concurrent-1.3.4.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/dom4j-1.6.1.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/hibernate-3.1.3.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/icu4j-3.6.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/jaxen-1.1-beta-11.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/jta.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/jtds-1.2.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/log4j-1.2.11.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/mfcobol.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/spl-base-2.1.0.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/spl-shared-2.1.0.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/spl-xai-2.1.0.jar;D:/ccbenv/ccbdemo/splapp/standalone/lib/xstream-1.2.1.jar
    - 10:33:39,343 [main] INFO (cobol.host.CobolHostStartup) Using starting port number 5503 for remote cobol execution.
    - 10:33:40,031 [main] INFO (cobol.host.SocketStrategy) Socket strategy set to com.splwg.base.support.cobol.host.sockets.WindowsPipeSocketStrategy
    - 10:33:41,171 [main] INFO (cobol.host.CobolHostStartup) Using active JVM count of 1 for remote cobol execution.
    *-  10:34:03,203 [main] ERROR (cobol.host.SocketStrategy) Unable to establish connection on port 5506 after waiting 20 seconds.*
    java.net.ConnectException: Error: Could not open pipe
    caused by system error: The system cannot find the file specified.
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.connectToPipe(Native Method)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.<init>(WindowsPipeSocket.java:63)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.createSocket(WindowsPipeSocket.java:100)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.connect(WindowsPipeSocket.java:95)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocketStrategy.openSocket(WindowsPipeSocketStrategy.java:32)
         at com.splwg.base.support.cobol.host.SocketStrategy.unsafeOpen(SocketStrategy.java:118)
         at com.splwg.base.support.cobol.host.SocketStrategy.open(SocketStrategy.java:103)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.createNewHolder(OptimizedRemoteExecuterStub.java:162)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.getStreamHolder(OptimizedRemoteExecuterStub.java:125)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.invoke(OptimizedRemoteExecuterStub.java:46)
         at com.splwg.base.support.cobol.host.RemoteRunnerImpl.invoke(RemoteRunnerImpl.java:89)
         at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.createRemoteRunner(RemoteJVMConnectionImpl.java:148)
         at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.<init>(RemoteJVMConnectionImpl.java:67)
         at com.splwg.base.support.cobol.host.RemoteJVMFactoryImpl.addConnection(RemoteJVMFactoryImpl.java:83)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.addNewConnection(RotatingCommandRunnerProvider.java:135)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.addNecessaryConnections(RotatingCommandRunnerProvider.java:121)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.<init>(RotatingCommandRunnerProvider.java:61)
         at com.splwg.base.support.cobol.host.CobolHostStartup.startup(CobolHostStartup.java:41)
         at com.splwg.base.support.context.ApplicationContext.initializeCobolRuntime(ApplicationContext.java:178)
         at com.splwg.base.support.context.ApplicationContext.initialize(ApplicationContext.java:158)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:144)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:65)
         at com.splwg.base.support.context.ContextFactory.createDefaultContext(ContextFactory.java:426)
         at com.splwg.base.web.startup.SPLWebStartup.initializeApplicationContext(SPLWebStartup.java:175)
         at com.splwg.base.web.startup.SPLWebStartup.contextInitialized(SPLWebStartup.java:63)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    - 10:34:03,234 [main] ERROR (cobol.host.SocketStrategy) Unable to create socket for inter JVM communication on port 5506
    - 10:34:03,250 [main] INFO (cobol.host.RemoteJVMConnectionImpl) Connection to JVM 1 being shunned
    *-  10:34:03,250 [main] ERROR (cobol.host.RemoteJVMConnectionImpl) An exception has occurred calling the remote JVM*
    *-  10:34:03,250 [main] FATAL (support.context.ApplicationContext) Error initializing ApplicationContext*
    *-  10:34:03,250 [main] ERROR ([Catalina].[localhost].[]) Exception sending context initialized event to listener instance of class com.splwg.base.web.startup.SPLWebStartup*com.splwg.shared.common.LoggedException:
    The following stacked messages were reported as the LoggedException was rethrown:
    com.splwg.base.support.context.ApplicationContext.initialize(ApplicationContext.java:158): Error initializing ApplicationContext
    com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.getStreamHolder(OptimizedRemoteExecuterStub.java:125): An exception has occurred calling the remote JVM
    com.splwg.base.support.cobol.host.SocketStrategy.unsafeOpen(SocketStrategy.java:123): Unable to create socket for inter JVM communication on port 5506
    The root LoggedException was: Unable to establish connection on port 5506 after waiting 20 seconds.
         at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:197)
         at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:85)
         at com.splwg.base.support.cobol.host.SocketStrategy.handleConnectionException(SocketStrategy.java:134)
         at com.splwg.base.support.cobol.host.SocketStrategy.unsafeOpen(SocketStrategy.java:123)
         at com.splwg.base.support.cobol.host.SocketStrategy.open(SocketStrategy.java:103)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.createNewHolder(OptimizedRemoteExecuterStub.java:162)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.getStreamHolder(OptimizedRemoteExecuterStub.java:125)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.invoke(OptimizedRemoteExecuterStub.java:46)
         at com.splwg.base.support.cobol.host.RemoteRunnerImpl.invoke(RemoteRunnerImpl.java:89)
         at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.createRemoteRunner(RemoteJVMConnectionImpl.java:148)
         at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.<init>(RemoteJVMConnectionImpl.java:67)
         at com.splwg.base.support.cobol.host.RemoteJVMFactoryImpl.addConnection(RemoteJVMFactoryImpl.java:83)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.addNewConnection(RotatingCommandRunnerProvider.java:135)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.addNecessaryConnections(RotatingCommandRunnerProvider.java:121)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.<init>(RotatingCommandRunnerProvider.java:61)
         at com.splwg.base.support.cobol.host.CobolHostStartup.startup(CobolHostStartup.java:41)
         at com.splwg.base.support.context.ApplicationContext.initializeCobolRuntime(ApplicationContext.java:178)
         at com.splwg.base.support.context.ApplicationContext.initialize(ApplicationContext.java:158)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:144)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:65)
         at com.splwg.base.support.context.ContextFactory.createDefaultContext(ContextFactory.java:426)
         at com.splwg.base.web.startup.SPLWebStartup.initializeApplicationContext(SPLWebStartup.java:175)
         at com.splwg.base.web.startup.SPLWebStartup.contextInitialized(SPLWebStartup.java:63)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    Caused by: java.net.ConnectException: Error: Could not open pipe
    caused by system error: The system cannot find the file specified.
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.connectToPipe(Native Method)
    can anyone please help me out to resolve this issue.
    Thanks,
    Fawaz

    Hi,
    Have you tried to restart the SPL service again and again? And sometime i use to get these OptimizedRemoteExecuterStub.getStreamHolder(OptimizedRemoteExecuterStub.java:125): An exception has occurred calling the remote JVM exception if the machine is occupying more memory....
    Try to restart it again.

  • Error in starting tomcat

    lately i was desigining a web application..
    and was trying to display an html page..
    for the first ime i started the tomcat5.0 and as usual typed the pages address(http:\\localhost:8080\BV\frm1.html)
    the page was dispalyed without any problems..
    then had to change something in html page..
    so after done with the editing..
    i had to restart my machine for somem reasons...
    and then again o tried the same thing..
    i'm getting the error..
    HTTP Status 404 - /BV/frm1.html
    type Status report
    message /BV/frm1.html
    description The requested resource (/BV/frm1.html) is not available.
    Apache Tomcat/5.0.28
    i have noticed..whenever i start the tomcat i 'm geting some exceptions..
    Oct 5, 2004 5:09:34 PM org.apache.coyote.http11.Http11Protocol init
    SEVERE: Error initializing endpoint
    java.net.BindException: Address already in use: JVM_Bind:8080
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoi
    nt.java:264)
    at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
    at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.
    java:1429)
    at org.apache.catalina.core.StandardService.initialize(StandardService.j
    ava:609)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
    a:2384)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
    Oct 5, 2004 5:09:35 PM org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException: Protocol handler initialization failed: java.net.BindExcept
    ion: Address already in use: JVM_Bind:8080
    at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.
    java:1431)
    at org.apache.catalina.core.StandardService.initialize(StandardService.j
    ava:609)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
    a:2384)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
    Oct 5, 2004 5:09:36 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 9355 ms
    Oct 5, 2004 5:09:37 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Oct 5, 2004 5:09:37 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    Oct 5, 2004 5:09:37 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Oct 5, 2004 5:09:37 PM org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    Oct 5, 2004 5:09:37 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\balancer.xml
    Oct 5, 2004 5:09:47 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\admin.xml
    Oct 5, 2004 5:09:49 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru
    e
    Oct 5, 2004 5:09:49 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul
    l=true
    Oct 5, 2004 5:09:53 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur
    nNull=true
    Oct 5, 2004 5:10:03 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Tomcat 5.0\conf\Catalina
    \localhost\manager.xml
    Oct 5, 2004 5:10:04 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path from URL file:C:\Tomcat 5.0\we
    bapps\ROOT
    Oct 5, 2004 5:10:04 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /tomcat-docs from URL file:C:\T
    omcat 5.0\webapps\tomcat-docs
    Oct 5, 2004 5:10:05 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /jsp-examples from URL file:C:\
    Tomcat 5.0\webapps\jsp-examples
    Oct 5, 2004 5:10:06 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /servlets-examples from URL fil
    e:C:\Tomcat 5.0\webapps\servlets-examples
    Oct 5, 2004 5:10:07 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /webdav from URL file:C:\Tomcat
    5.0\webapps\webdav
    Oct 5, 2004 5:10:07 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /ch1 from URL file:C:\Tomcat 5.
    0\webapps\ch1
    Oct 5, 2004 5:10:08 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /BV from URL file:C:\Tomcat 5.0
    \webapps\BV
    Oct 5, 2004 5:10:08 PM org.apache.commons.digester.Digester fatalError
    SEVERE: Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
    known Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispat
    ch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
    known Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
    nfig.java:263)
    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:62
    4)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
    g.java:216)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:119)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    290)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:823)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
    7)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
    loyer.java:277)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
    ava:701)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
    :349)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478
    at org.apache.catalina.core.StandardService.start(StandardService.java:4
    80)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:231
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Oct 5, 2004 5:10:09 PM org.apache.catalina.startup.ContextConfig applicationConf
    ig
    SEVERE: Parse error in application web.xml
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
    nfig.java:263)
    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:62
    4)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
    g.java:216)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:119)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    290)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:823)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
    7)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
    at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
    loyer.java:277)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
    ava:701)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
    :349)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478
    at org.apache.catalina.core.StandardService.start(StandardService.java:4
    80)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:231
    3)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Oct 5, 2004 5:10:09 PM org.apache.catalina.startup.ContextConfig applicationConf
    ig
    SEVERE: Occurred at line 1 column 1
    Oct 5, 2004 5:10:09 PM org.apache.catalina.startup.ContextConfig start
    SEVERE: Marking this application unavailable due to previous error(s)
    Oct 5, 2004 5:10:09 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Oct 5, 2004 5:10:09 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context startup failed due to previous errors
    Oct 5, 2004 5:10:10 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Oct 5, 2004 5:10:11 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    Oct 5, 2004 5:10:11 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=20/371 config=C:\Tomcat 5.0\conf\jk2.properties
    Oct 5, 2004 5:10:12 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 36037 ms
    cud my problem be due to this reason..
    do i have to reinstall tomcat..or is there any way to solve it

    hi,
    can anyone help me in this case...
    i' working on linux platform....
    when i start the web server i get the following msg....
    can u figure out the reason...
    Feb 8, 2005 10:48:25 AM org.apache.xindice.server.XindiceServlet init
    INFO: Database successfully started
    Feb 8, 2005 10:48:25 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:/usr/local/src/jwsdp-1.3/conf/Catalina/localhost/admin.xml
    Feb 8, 2005 10:48:25 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Feb 8, 2005 10:48:25 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Feb 8, 2005 10:48:26 AM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
    Feb 8, 2005 10:48:27 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:/usr/local/src/jwsdp-1.3/conf/Catalina/localhost/manager.xml
    Feb 8, 2005 10:48:28 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path from URL file:/usr/local/src/jwsdp-1.3/webapps/ROOT
    Feb 8, 2005 10:48:28 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /jsp-examples from URL file:/usr/local/src/jwsdp-1.3/webapps/jsp-examples
    ContextListener: attributeAdded('com.sun.faces.ConfigBase', 'com.sun.faces.config.ConfigBase@6e41b5')
    Feb 8, 2005 10:48:28 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /servlets-examples from URL file:/usr/local/src/jwsdp-1.3/webapps/servlets-examples
    ContextListener: attributeAdded('com.sun.faces.ConfigBase', 'com.sun.faces.config.ConfigBase@17b1d64')
    Feb 8, 2005 10:48:29 AM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /agent from URL file:/usr/local/src/jwsdp-1.3/webapps/agent
    Feb 8, 2005 10:48:29 AM org.apache.catalina.startup.ContextConfig applicationConfig
    SEVERE: Parse error in application web.xml
    java.net.NoRouteToHostException: No route to host
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
    at sun.net.www.http.HttpClient.New(HttpClient.java:339)
    at sun.net.www.http.HttpClient.New(HttpClient.java:320)
    at sun.net.www.http.HttpClient.New(HttpClient.java:315)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:512)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:489)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:617)
    at java.net.URL.openStream(URL.java:913)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:947)
    at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:893)
    at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:860)
    at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:288)
    at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:911)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:348)
    at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:539)
    at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:595)
    at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1125)
    at org.apache.commons.digester.Digester.parse(Digester.java:1548)
    at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:305)
    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:748)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:257)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4064)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:868)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:852)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:614) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:319)
    at org.apache.catalina.core.StandardHost.install(StandardHost.java:835)
    at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:729)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:479)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:399)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1135) at org.apache.catalina.core.StandardHost.start(StandardHost.java:792)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1127) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:502)
    at org.apache.catalina.core.StandardService.start(StandardService.java:519)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:2311)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:328)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
    Feb 8, 2005 10:48:29 AM org.apache.catalina.startup.ContextConfig start
    SEVERE: Marking this application unavailable due to previous error(s)
    Feb 8, 2005 10:48:29 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Feb 8, 2005 10:48:29 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context startup failed due to previous errors
    Feb 8, 2005 10:48:29 AM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on port 8080
    Feb 8, 2005 10:48:29 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 11485 ms

  • How To Install and run XML/XSU/XDK?

    Hello,
    I have installed Oracle 8.1.7, have downloaded the utilities
    and xdk but how to get all this integrated so I can work with
    the sample codes?
    I dont see the $ORACLE_HOME/rdbms/admin/dbmsxsu.sql -- this is
    the SQL script which builds the XSU's PL/SQL API. xsu12.jar
    need to be loaded into the database before dbmsxsu.sql is
    executed. This script is automatically ..Nor do I see catxsu.sql.
    I assume this creates the xdkdemo/xdkdemo (user/password)? I
    also re-run the runInstaller and attempt to see on the list any
    XSU related installed or to be installed and not seeing it on the
    list. What do I need to download?
    A nice step by step how to install and test the install would
    be nice.
    Thanks in advance for any response.

    I entered "install XSU" into the "search" box and got the
    following back:
    http://www.oracle.com/pls/use/use_query_html_v3.submit_query_inpu
    t?p_adv_query_text=install+XSU&p_origin=OTN&p_person_id=100081&p_
    community=technet_adv&p_doc_location_array=Place+Holder&p_doc_loc
    ation_array=document&p_location_array=&p_keyword_array=100017&p_v
    alue_array=technet.oracle.com%2C+Discussion+Groups&p_date_begin=q
    date&pdate_end=q_date&p_max_return=200
    (GOD I hope that worked!)
    In any case, 2 documents came back. I think this one is probably
    what you want.
    http://download-east.oracle.com/otndoc/oracle9i/901_doc/appdev.90
    1/a88894/appgxsu.htm
    Mike

Maybe you are looking for