Jakarta tomcat connectors

I just downloaded tomcat 5.0.19 to run JSP pages and I also downloaded tomcat connectors 2.0.4 win32 and velocity 1.4. I also downloaded asc and md5 files. I have W2K Pro. I need answers to a few questions!
What are asc and md5 files and keys, they contain code like this(5cb27eb9cdff811296b0bdf52e73b858)?
What are tomcat connectors?
Should I enter the JAVA_HOME directory like this (C:\j2sdk1.4.2_02)?
Can tomcat run alongside IIS?
Do I need anything else to run JSP?

The ASC, MD5 and keys are all related to making sure you downloaded a clean copy of the file from a mirror.
asc file is a PGP signature
md5 file is a checksum.
Using a product like openPGP you can then confirm that what you downloaded from the mirror hasn't been tampered with.
Connectors are for linking Tomcat with standard web servers (like IIS or apache)
They are not absolutely necessary.
Check out: http://jakarta.apache.org/tomcat/faq/connectors.html and http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links
JAVA_HOME directory looks fine.
As long as you have Java and Tomcat, you are fine for running JSP.
If you are connecting to a database, you will need a JDBC database driver to connect to it.
Hope this helps,
evnafets

Similar Messages

  • Jakarta Tomcat Connectors (JK) + OC4J setup questions

    hi
    i'd like to use Apache 2.0 for dispatching requests to OC4J. i've been doing some experimenting and i was able to setup Apache and Jakarta Tomcat Connectors (JK) v1.2 to route requests to OC4J. this seems to be working fine in my development environment but how well supported or reliable is this setup?
    the requests are now being dispatched to JDeveloper 10.1.3 embedded OC4J instance. the only way i managed to do this was by modifying the embedded-oc4j/config/default-web-site.xml file and changing the web-site element protocol attribute value to "ajp13". this setup has the drawback that now direct http connections don't work anymore. is there a way to have both ajp13 and http connectors working simultaneously in the embedded OC4J?

    Sure there is. Add another web site configuration file, say, myHttp-web-site.xml, which is a copy > of the original default-web-site.xml with http protocol and a different port.
    ..after retrying this it seems to be working now. thanks.
    Can you share how you use the Jakarta Tomcat Connectors v1.2 here?sure, here you go:
    build JK
    # download JK v1.2.15 from http://tomcat.apache.org/download-connectors.cgi
    tar zxf jakarta-tomcat-connectors-1.2.15-src.tar.gz
    cd jakarta-tomcat-connectors-1.2.15-src/jk/native
    ./configure --with-apxs=/foo/bar/apache2055/bin/apxs
    make
    make install
    Configure Apache + JK
    # add the following lines to Apache httpd.conf
    LoadModule jk_module modules/mod_jk.so
    JkWorkersFile conf/workers.properties
    JkMount /<myctxroot>/* oc4j
    JkLogFile logs/mod_jk.log
    JkLogLevel debug
    # create conf/workers.properties with the following lines
    worker.list=oc4j
    worker.oc4j.port=8009
    worker.oc4j.host=localhost
    worker.oc4j.type=ajp13
    configure JDev OC4J
    cd $OC4J_HOME/embedded-oc4j/config
    cp default-web-site.xml ajp-web-site.xml
    # modify web-site element protocol attribute value to "ajp13" in ajp-web-site.xml
    # add the following line in embedded-oc4j/config/server.xml
    <web-site default="false" path="./ajp-web-site.xml" />
    # restart OC4J
    # restart Apache

  • Config tomcat connector

    Good Day,
    Can anyone offer advice on getting some documentation to enable Apache2-
    Jakarta-Tomcat connector?
    I don't install eDir, iManager, etc, so only work apache2, tomcat5 from
    SLES9.
    In Read Hat 8 I just add this sentences in httpd.conf and it works.
    JkWorkersFile /usr/local/apache/conf/workers.properties
    JkLogFile /usr/local/apache/logs/mod_jk.log
    JkLogLevel info
    JkMount /epagos/* tomcat
    No such luck on NLSBS9 follow instruction in
    /usr/share/doc/packages/apache2-jakarta-tomcat-connectors/README.SuSE
    I think SuSEconfig --module apache2 it's not working, because i customize
    test file /etc/tomcat/demoserver/jk.conf and can't browse the pages
    http://localhost/jsp-examples/
    http://localhost/servlets-examples
    Only work pages
    http://localhost:8080/jsp-examples/ and
    http://localhost:8080/servlets-examples/
    Anyone know how to modify /etc/sysconfig/apache2 to config Tomcat
    Connector?
    How to replace SuSEconfig with Yast/Editor /etc/sysconfig option?
    Thanks for your time,
    Regards,
    Ing. Juan L. Mera

    On Mon, 2006-01-16 at 19:22 +0000, Juan Mera wrote:
    > Good Day,
    >
    > Can anyone offer advice on getting some documentation to enable Apache2-
    > Jakarta-Tomcat connector?
    >
    > I don't install eDir, iManager, etc, so only work apache2, tomcat5 from
    > SLES9.
    >
    > In Read Hat 8 I just add this sentences in httpd.conf and it works.
    > JkWorkersFile /usr/local/apache/conf/workers.properties
    > JkLogFile /usr/local/apache/logs/mod_jk.log
    > JkLogLevel info
    > JkMount /epagos/* tomcat
    >
    > No such luck on NLSBS9 follow instruction in
    > /usr/share/doc/packages/apache2-jakarta-tomcat-connectors/README.SuSE
    >
    > I think SuSEconfig --module apache2 it's not working, because i customize
    > test file /etc/tomcat/demoserver/jk.conf and can't browse the pages
    > http://localhost/jsp-examples/
    > http://localhost/servlets-examples
    > Only work pages
    > http://localhost:8080/jsp-examples/ and
    > http://localhost:8080/servlets-examples/
    >
    > Anyone know how to modify /etc/sysconfig/apache2 to config Tomcat
    > Connector?
    >
    > How to replace SuSEconfig with Yast/Editor /etc/sysconfig option?
    No need to duplicate post ;)

  • Change port from 8443 to 443 on jakarta-tomcat 6

    Hi all,
    How can I possibly change the SSL port from 8443 to 443? The default was 8443 and it works fine with that.I've tried to set it to port 443 at the connector tag and all redirectPort in server.xml. However, when I tried to access https://localhost/ it shows Page could not be displayed. I am currently running java jdk 1.6 on jakarta-tomcat 6. Is there any additional settings which I've left out? Thanks in advance..

    Hi, csyms and welcome to the forums
    Download a PDF of the Online Help for Adobe RoboHelp Server 9 and search for the sub heading "Set up Tomcat for HTTPS".
    You'll find the PDF here:
    http://help.adobe.com/en_US/RoboHelp/9.0/RoboEngine/robohelpserver_9_help.pdf
    John Daigle
    Adobe Certified RoboHelp and Captivate Instructor
    Evergreen, Colorado
    www.showmethedemo.com

  • Please help: Error using Jakarta-tomcat 4.0 beta

    Hi all,
    Could you please help me with a following error?
    I am trying to start Jakarta-tomcat 4.0:
    C:\ Jakarta-tomcat 4.0\bin\startup.bat and I receive the error:
    Catalina.start: LifecycleException: null.open: java.net.BindException: Address
    already in use: JVM_Bind
    LifecycleException: null.open: java.net.BindException: Address already in use:
    JVM_Bind
    at org.apache.catalina.connector.http.HttpConnector.initialize(Unknown S
    ource)
    at org.apache.catalina.core.StandardService.initialize(Unknown Source)
    at org.apache.catalina.core.StandardServer.initialize(Unknown Source)
    at org.apache.catalina.startup.Catalina.start(Unknown Source)
    at org.apache.catalina.startup.Catalina.execute(Unknown Source)
    at org.apache.catalina.startup.Catalina.process(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:30)
    at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAcces
    sorImpl.java:48)
    at java.lang.reflect.Method.invoke(Method.java:306)
    at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
    ----- Root Cause -----
    java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:310)
    at java.net.ServerSocket.bind(ServerSocket.java:305)
    at java.net.ServerSocket.bind(ServerSocket.java:265)
    at java.net.ServerSocket.<init>(ServerSocket.java:201)
    at java.net.ServerSocket.<init>(ServerSocket.java:150)
    at org.apache.catalina.net.DefaultServerSocketFactory.createSocket(Unkno
    wn Source)
    at org.apache.catalina.connector.http.HttpConnector.open(Unknown Source)
    at org.apache.catalina.connector.http.HttpConnector.initialize(Unknown S
    ource)
    at org.apache.catalina.core.StandardService.initialize(Unknown Source)
    at org.apache.catalina.core.StandardServer.initialize(Unknown Source)
    at org.apache.catalina.startup.Catalina.start(Unknown Source)
    at org.apache.catalina.startup.Catalina.execute(Unknown Source)
    at org.apache.catalina.startup.Catalina.process(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:30)
    at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAcces
    sorImpl.java:48)
    at java.lang.reflect.Method.invoke(Method.java:306)
    at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
    Thanks a lot
    Yahya

    please do not double post and please post your question to the appropriate forum.

  • Error using Jakarta-tomcat 4.0 beta

    Hi all,
    Could you please help me with a following error?
    I am trying to start Jakarta-tomcat 4.0:
    C:\ Jakarta-tomcat 4.0\bin\startup.bat and I receive the error:
    Catalina.start: LifecycleException: null.open: java.net.BindException: Address
    already in use: JVM_Bind
    LifecycleException: null.open: java.net.BindException: Address already in use:
    JVM_Bind
    at org.apache.catalina.connector.http.HttpConnector.initialize(Unknown S
    ource)
    at org.apache.catalina.core.StandardService.initialize(Unknown Source)
    at org.apache.catalina.core.StandardServer.initialize(Unknown Source)
    at org.apache.catalina.startup.Catalina.start(Unknown Source)
    at org.apache.catalina.startup.Catalina.execute(Unknown Source)
    at org.apache.catalina.startup.Catalina.process(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:30)
    at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAcces
    sorImpl.java:48)
    at java.lang.reflect.Method.invoke(Method.java:306)
    at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
    ----- Root Cause -----
    java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:310)
    at java.net.ServerSocket.bind(ServerSocket.java:305)
    at java.net.ServerSocket.bind(ServerSocket.java:265)
    at java.net.ServerSocket.<init>(ServerSocket.java:201)
    at java.net.ServerSocket.<init>(ServerSocket.java:150)
    at org.apache.catalina.net.DefaultServerSocketFactory.createSocket(Unkno
    wn Source)
    at org.apache.catalina.connector.http.HttpConnector.open(Unknown Source)
    at org.apache.catalina.connector.http.HttpConnector.initialize(Unknown S
    ource)
    at org.apache.catalina.core.StandardService.initialize(Unknown Source)
    at org.apache.catalina.core.StandardServer.initialize(Unknown Source)
    at org.apache.catalina.startup.Catalina.start(Unknown Source)
    at org.apache.catalina.startup.Catalina.execute(Unknown Source)
    at org.apache.catalina.startup.Catalina.process(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:30)
    at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAcces
    sorImpl.java:48)
    at java.lang.reflect.Method.invoke(Method.java:306)
    at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
    Thanks a lot
    Yahya

    I agree with DrClap, that beginning with Tomcat is tough. :) But still, the answer to your problem is right there before you. (But then again, it always is, and I never see the wood either.) :)
    LifecycleException: null.open: java.net.BindException: Address already in use: JVM_Bind
    I am not sure about the null.open part, which is a little bit irritating. But the address you are trying to bind your socket to, is already used by another Service. This might be the case if you have already a tomcat running, or if you have some other service installed that uses one of the ports you are attempting to use.
    Hope that helps
    rh

  • Scrollable Result Set Problem With j2sdk1.4.0_01/jakarta-tomcat-4.0.1

    Consider the Following Code with j2sdk1.4.0_01/jakarta-tomcat-4.0.1
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn = DriverManager.getConnection("Jdbc:Odbc:IMSMC","sa","");
         String sql="select * from <Table Name> ";
    Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    *************Some Code ******************
    catch (Exception ex) {
    ex.printStackTrace();
    }//End of catch     
    }//End of Try
    The Tomcat automatically shuts down If I'm using Scrollable
    Result Set and the following Error Occurs.
              Error
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D366658
    Function=[Unknown.]
    Library=c:\j2sdk1.4.0_01\jre\bin\client\jvm.dll
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
         at sun.jdbc.odbc.JdbcOdbc.setStmtAttrPtr(Native Method)
         at sun.jdbc.odbc.JdbcOdbc.SQLSetStmtAttrPtr(JdbcOdbc.java:4676)
         at sun.jdbc.odbc.JdbcOdbcResultSet.setRowStatusPtr(JdbcOdbcResultSet.java:4473)
         at sun.jdbc.odbc.JdbcOdbcResultSet.initialize(JdbcOdbcResultSet.java:171)
         at sun.jdbc.odbc.JdbcOdbcStatement.getResultSet(JdbcOdbcStatement.java:423)
         - locked <02A1FE80> (a sun.jdbc.odbc.JdbcOdbcStatement)
         at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:253)
         at org.apache.jsp.DocumentsPendingReport$jsp._jspService(DocumentsPendingReport$jsp.java:127)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
         at java.lang.Thread.run(Thread.java:536)
    Dynamic libraries:
    0x00400000 - 0x00406000      c:\j2sdk1.4.0_01\bin\java.exe
    0x77F80000 - 0x77FFB000      C:\WINNT\system32\ntdll.dll
    0x7C2D0000 - 0x7C332000      C:\WINNT\system32\ADVAPI32.dll
    0x7C570000 - 0x7C623000      C:\WINNT\system32\KERNEL32.DLL
    0x77D30000 - 0x77D9E000      C:\WINNT\system32\RPCRT4.DLL
    0x78000000 - 0x78045000      C:\WINNT\system32\MSVCRT.dll
    0x6D330000 - 0x6D445000      c:\j2sdk1.4.0_01\jre\bin\client\jvm.dll
    0x77E10000 - 0x77E6F000      C:\WINNT\system32\USER32.dll
    0x77F40000 - 0x77F79000      C:\WINNT\system32\GDI32.dll
    0x77570000 - 0x775A0000      C:\WINNT\system32\WINMM.dll
    0x75E60000 - 0x75E7A000      C:\WINNT\system32\IMM32.DLL
    0x6CA60000 - 0x6CA68000      C:\WINNT\system32\LPK.DLL
    0x66650000 - 0x666A4000      C:\WINNT\system32\USP10.dll
    0x6D1D0000 - 0x6D1D7000      c:\j2sdk1.4.0_01\jre\bin\hpi.dll
    0x6D300000 - 0x6D30D000      c:\j2sdk1.4.0_01\jre\bin\verify.dll
    0x6D210000 - 0x6D228000      c:\j2sdk1.4.0_01\jre\bin\java.dll
    0x6D320000 - 0x6D32D000      c:\j2sdk1.4.0_01\jre\bin\zip.dll
    0x6D2D0000 - 0x6D2DD000      C:\j2sdk1.4.0_01\jre\bin\net.dll
    0x75050000 - 0x75058000      C:\WINNT\system32\WSOCK32.dll
    0x75030000 - 0x75044000      C:\WINNT\system32\WS2_32.DLL
    0x75020000 - 0x75028000      C:\WINNT\system32\WS2HELP.DLL
    0x74FD0000 - 0x74FEE000      C:\WINNT\system32\msafd.dll
    0x75010000 - 0x75017000      C:\WINNT\System32\wshtcpip.dll
    0x6D250000 - 0x6D25A000      C:\j2sdk1.4.0_01\jre\bin\JdbcOdbc.dll
    0x0BDC0000 - 0x0BDF2000      C:\WINNT\system32\ODBC32.dll
    0x71780000 - 0x7180A000      C:\WINNT\system32\COMCTL32.dll
    0x782F0000 - 0x78538000      C:\WINNT\system32\SHELL32.dll
    0x70BD0000 - 0x70C34000      C:\WINNT\system32\SHLWAPI.DLL
    0x76B30000 - 0x76B6E000      C:\WINNT\system32\comdlg32.dll
    0x1F850000 - 0x1F866000      C:\WINNT\system32\odbcint.dll
    0x0BF00000 - 0x0BF5E000      C:\WINNT\System32\SQLSRV32.dll
    0x41090000 - 0x410BD000      C:\WINNT\System32\SQLUNIRL.dll
    0x77800000 - 0x7781E000      C:\WINNT\System32\WINSPOOL.DRV
    0x76620000 - 0x76631000      C:\WINNT\system32\MPR.DLL
    0x77820000 - 0x77827000      C:\WINNT\system32\VERSION.dll
    0x759B0000 - 0x759B6000      C:\WINNT\system32\LZ32.DLL
    0x779B0000 - 0x77A4B000      C:\WINNT\system32\OLEAUT32.dll
    0x77A50000 - 0x77B3C000      C:\WINNT\system32\ole32.dll
    0x75170000 - 0x751BF000      C:\WINNT\System32\NETAPI32.dll
    0x7C340000 - 0x7C34F000      C:\WINNT\System32\SECUR32.DLL
    0x751C0000 - 0x751C6000      C:\WINNT\System32\NETRAP.DLL
    0x75150000 - 0x7515F000      C:\WINNT\System32\SAMLIB.DLL
    0x77950000 - 0x7797A000      C:\WINNT\system32\WLDAP32.DLL
    0x77980000 - 0x779A4000      C:\WINNT\System32\DNSAPI.DLL
    0x769A0000 - 0x769A7000      C:\WINNT\system32\NDDEAPI.DLL
    0x1FA20000 - 0x1FA36000      C:\WINNT\System32\sqlsrv32.rll
    0x0C390000 - 0x0C3A9000      C:\WINNT\system32\odbccp32.dll
    0x0C3B0000 - 0x0C3BF000      C:\WINNT\system32\DBNETLIB.DLL
    0x75500000 - 0x75504000      C:\WINNT\system32\security.dll
    0x782D0000 - 0x782EF000      C:\WINNT\system32\msv1_0.dll
    0x77440000 - 0x774B8000      C:\WINNT\system32\CRYPT32.DLL
    0x77430000 - 0x77440000      C:\WINNT\system32\MSASN1.DLL
    0x77BF0000 - 0x77C01000      C:\WINNT\system32\ntdsapi.dll
    0x782C0000 - 0x782CC000      C:\WINNT\System32\rnr20.dll
    0x77340000 - 0x77353000      C:\WINNT\system32\iphlpapi.dll
    0x77520000 - 0x77525000      C:\WINNT\system32\ICMP.DLL
    0x77320000 - 0x77337000      C:\WINNT\system32\MPRAPI.DLL
    0x773B0000 - 0x773DF000      C:\WINNT\system32\ACTIVEDS.DLL
    0x77380000 - 0x773A3000      C:\WINNT\system32\ADSLDPC.DLL
    0x77830000 - 0x7783E000      C:\WINNT\system32\RTUTILS.DLL
    0x77880000 - 0x7790E000      C:\WINNT\system32\SETUPAPI.DLL
    0x7C0F0000 - 0x7C151000      C:\WINNT\system32\USERENV.DLL
    0x774E0000 - 0x77513000      C:\WINNT\system32\RASAPI32.DLL
    0x774C0000 - 0x774D1000      C:\WINNT\system32\RASMAN.DLL
    0x77530000 - 0x77552000      C:\WINNT\system32\TAPI32.DLL
    0x77360000 - 0x77379000      C:\WINNT\system32\DHCPCSVC.DLL
    0x777E0000 - 0x777E8000      C:\WINNT\System32\winrnr.dll
    0x777F0000 - 0x777F5000      C:\WINNT\system32\rasadhlp.dll
    0x77920000 - 0x77943000      C:\WINNT\system32\imagehlp.dll
    0x72A00000 - 0x72A2D000      C:\WINNT\system32\DBGHELP.dll
    0x690A0000 - 0x690AB000      C:\WINNT\system32\PSAPI.DLL
    Local Time = Sat May 01 11:30:40 2004
    Elapsed Time = 5
    # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
    # Error ID : 4F530E43505002D5
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed mode)
    Also No Error is Thrown with j2sdk1.4.0
    If I'm using Not using Scrollable Result Set, No Error is Thrown.
    Error is Thrown only with Scrollable Result set and with j2sdk1.4.0_01

    Did you forget to put the SQL statement in when you used createStatement? I added it below:
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn = DriverManager.getConnection("Jdbc:Odbc:IMSMC","sa","");
    String sql="select * from <Table Name> ";
    Statement stmt=conn.createStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    Does the JDBC-ODBC bridge driver accomodate any of these settings you're trying?
    The problem shouldn't have anything to do with Tomcat. Sounds like a JDBC driver issue to me. Try to reproduce the error without Tomcat, and then see if adding the SQL corrects things at all.
    I'd read the docs to see if the bridge driver has these features. I don't think it's up to the full standard.

  • Should I install Apache Web server to use Jakarta Tomcat Servlet engine?

    Hello,
    I have some problems and now have a question:
    Should I install Apache Web server to use Jakarta Tomcat Servlet engine?
    JTK home page is available via http://localhost:8080
    Tomcat ver 3.1.3
    Thanks.

    No, you don't need to run Apache webserver (httpd) to run Tomcat. Tomcat by default runs on port 8080, but you can set it to any port, including 80, if you have permission to do so (on *nix systems, you need root permissions to run services on any port below 1024).
    Tomcat is a webserver as well, just one that includes a servlet container and JSP processor. So it will serve your html files, images, etc (aka static content), just as well as Apache httpd, in addition to being able to run servlets and JSPs.
    Apache httpd has more options for serving static content than Tomcat, so many people prefer to use it as their main webserver and only use Tomcat as a sort of "plugin" to handle servlets and JSPs. This can be achieved through a connector. Instructions on how to set this up are on the Jakarta website.
    So you could use Apache and Tomcat combined, next to each other, or totally separated. In many cases, just Tomcat will do.

  • Apache web server/jakarta tomcat

    Hey guys!
    here's the fact, i installed jakarta-tomcat and apache web server, but i don't know how to integrate them, i mean, I just want to have one http server with the functionality to use servlets. Do I need only jakarta tomcat to have this?, please help me.
    and forgive my very poor english! :)

    Hallo.
    Create or edit the file %APACHE_HOME%/conf/worker.properties
    worker.list=ajp13
    worker.ajp13.port=8009
    worker.ajp13.host=localhost
    worker.ajp13.type=ajp13
    Edit the file %APACHE_HOME%/conf/httpd.conf
    LoadModule jk_module modules/mod_jk.dll
    AddModule mod_jk.c
    JkWorkersFile "%APACHE_HOME%/conf/worker.properties"
    JkLogFile "APACHE_HOME%/logs/mod_jk.log"
    JkLogLevel debug
    Alias /myWebApp "%TOMCAT_HOME%/webapps/myWebApp"
    JkMount /myWebApp/*.jsp testWorker
    Check the file mod_jk.dll in the folder %APACHE_HOME%/modules/. Howevere there are different libraries for different versions of Apache Web Aerver and Tomcat.
    Edit the file %TOMCAT_HOME%/conf/server.xml
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8009" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="20000"
    useURIValidationHack="false"
    protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
    Good luck.

  • Jakarta-tomcat-3.3.2 connection with mysql-4.1.12a-win32

    how do i connect to mysql using tomcat?
    i've set the class path = ".;D:\j2sdk1.4.2_08\jre\lib\ext\mysql-connector-java-3.1.10-bin.jar;"
    without quotes
    i've copy the mysql-connector-java mysql-connector-java-3.1.10-bin.jar into the mentioned directory = "D:\j2sdk1.4.2_08\jre\lib\ext\"
    and my computer's mysql 's service is starting since my computer restart [i've checked it by right click desktop toolbar->Task Manager->Processes->mysqld-nt.exe..
    and i've used the code from :
    http://www.stardeveloper.com/articles/display.html?article=2003090201&page=4
    to test if my connection is active, my JdbcExample1.java file is located at D:\jakarta-tomcat-3.3.2\webapps\ROOT\WEB-INF\classes\com\example, so my source code is :
    package com.example;
    import java.sql.*;
    public class JdbcExample1 {
      public static void main(String args[]) {
    Connection con = null;
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    con = DriverManager.getConnection("jdbc:mysql:///test", "root", "nothing");
    if(!con.isClosed())
    System.out.println("Successfully connected to MySQL server...");
    } catch(Exception e) {
    System.err.println("Exception: " + e.getMessage());
    } finally {
    try {
    if(con != null)
    con.close();
    } catch(SQLException e) {}
    when i compile the file using javac, it's fine, when i run it using java, it shows me this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: JdbcExample1 (wrong n
    ame: com/example/JdbcExample1)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    what have i missed out? anyone can u please help me? is my coding or setting in-accurate? thanks for reviewing my topics too

    I'm not sure why you have mentioned Tomcat, but you need to run the class with something like:
    java -classpath .;D:\j2sdk1.4.2_08\jre\lib\ext\mysql-connector-java-3.1.10-bin.jar com.example.JdbcExample1If you've correctly set the CLASSPATH environment variable then you can leave out the -classpath command line argument. Notice that you must specify the package of the class too.
    To compile this all correctly, you should do something like:
    mkdir classes
    javac -d classes JdbcExample1.javaand then run with
    java -classpath classes;D:\j2sdk1.4.2_08\jre\lib\ext\mysql-connector-java-3.1.10-bin.jar com.example.JdbcExample1

  • Can't Build 64-bit Tomcat Connector Module (mod_jk)

    I've been using the Tomcat Connector Module on my server so all requests can be logged by Apache, I only need to open port 80 on the firewall, and sites that use jsp with other technologies look more cohesive to the user.
    In the past when a new version of the module was released I'd just download the source, unzip it, build it and instal it. Following the included instructions, "for the impatient Apache admins," I used:
    ./configure --with-apxs=/usr/sbin/apxs
    to configure the build, then "make" and "sudo make install" to build and install the module.
    This has always worked well (except it always installed the module in the wrong directory, which I never corrected because I liked to test the new module before I got rid of the old one), and when I moved to an Intel Mac, it continued to work. All the Apple-provided modules were universal binaries, but the i386 modules I built worked fine.
    Now, with Leopard, we have a new, 64-bit Apache 2. I had been looking forward to working with Apache 2, and 64-bit is nice too, right? But now that it's here I'm not so sure.
    My first disillusionment was that, when I downloaded the mod_jk source and built it using the same procedure I had been using, Apache refused to load the module, saying it had the wrong architecture. I checked the provided modules to see what architecture it wanted, and they were all universal binaries with four architectures, which didn't really narrow it down too much, but since I could rule out the ppc and ppc64 architectures, and the "wrong" one I built was i386, that left x86_64 as the only possibility.
    Since I barely know what I'm doing, I'm not about to try anything crazy like building a universal binary (although I did try to follow this tutorial, but it didn't work for this project and his instructions didn't provide enough detail for me to even begin to figure out why), but I can't even figure out how to build a 64-bit binary.
    I do have Xcode 3.0, so I should have the ability to build 64-bit binaries, and I have the new Java 1.6.0, which is also supposed to be 64-bit, so I should be race-ready, but when I run the configure script, specifying which Java version to use and which architecture to build:
    ./configure --with-apxs=/usr/sbin/apxs --with-arch-type=x86_64 --with-java-home=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Hom e
    I still end up with an i386 binary when the smoke clears, and in the log is a warning:
    configure: WARNING: you should use --build, --host, --target
    I'd be happy to do that if I had a clue what values to specify for them. Does anybody want to guess? Here's what it keeps taking for default values:
    checking build system type... i386-apple-darwin9.2.2
    checking host system type... i386-apple-darwin9.2.2
    checking target system type... i386-apple-darwin9.2.2
    I have a feeling I can't just substitute x86_64 for i386 (i.e. x86_64-apple-darwin9.2.2). The "x86_64-apple-darwin" part might be right, but I don't know about the 9.2.2. I've poked around the filesystem and gotten thoroughly confused. There seem to be all kinds of headers and compilers for i386 and x86_64 and something called i686, which seems to be related to x86_64 somehow, but I have no idea how to point the makefile to the right ones. I don't even know how or why it seems to be perfectly capable of finding everything it needs to build for i386 without my help, and even when I try to mislead it by suggesting I might want it to build for x86_64, it still unerringly finds all the i386 stuff and builds the module with them.
    Since no one seems to provide Mac OS binaries of anything, it would be really nice to understand how to do this. I might even want to go crazy and build a 64-bit PostgreSQL or something like that, but if I can't even build a simple Apache module anymore, my hopes are fading.
    If anybody is somehow clued-in on how all this stuff works, I'd really appreciate a brain-dump.
    Thanks.

    Thank you, that works for me too!
    At first I was worried because, when I ran configure it said:
    checking build system type... i386-apple-darwin9.3.0
    checking host system type... i386-apple-darwin9.3.0
    checking target system type... i386-apple-darwin9.3.0
    But I went ahead and ran make anyway, and here's what I ended up with:
    apache-2.0/mod_jk.so: Mach-O 64-bit bundle x86_64
    which I could install and test. It even works!
    Where did you find this information? I did a lot of digging too, but I must have been digging in the wrong places. I always like to go back to the source and see what else I can learn. Maybe then I can take another run at building a universal binary.

  • Eclipse as a development environment with Jakarta Tomcat

    Hello:
    I am setting up the new development environment for my application (project). Below are the components involved::
    �     Eclipse 3.1
    �     myEclipse - EnterpriseWorkbenchInstaller_4.0GA_E3.1
    �     jakarta-tomcat-5.0.28 (Application Server)
    �     Sysdeo Eclipse Tomcat Launcher plugin - tomcatPluginV31beta
    �     SDK 1.4.2_08
    �     Microsoft XP sp2 operating system
    I have no issue with creation of project structure in eclipse IDE, compilation, and deployment, but there are some exception upon running the application.
    My project folder structure as follows:
    MyApplication/
    src/
    Conf/
    Web/
    classes
    taglib
    lib
    web.xml
    �     my application has few dependent projects, therefore I copied all the dependent projects final compiled classes (jars) to �lib� folder.
    �     I set all necessary classpath according to tomcat documentation.
    �     I created MyApplication.xml file under D:\jakarta-tomcat-5.0.28\conf\Catalina\localhost\ folder with the below context
    <Context path="/MyApplication " docBase="D:/xx/xxx/dev/src/ MyApplication/web" debug="0" reloadable="true" />
    �     I don�t get any exception during compilation and deployment process.
    �     I would greatly appreciate if you could give me a tips!!!!!!!!!!!!!!!!!!!!!!
    Error as follows:
    2005-10-10 17:31:45 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2005-10-10 17:31:47 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Associated with Deployer 'localhost'
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Global resources are available
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: list: Listing contexts for virtual host 'localhost'
    2005-10-10 17:32:35 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
         at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
         at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:163)
         at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122)
         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)
         at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:190)
         at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
         at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
         at org.apache.jsp.default_jsp._jspService(default_jsp.java:101)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    path setting as follows:
    %JAVA_HOME%\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Borland\AppServer\bin;C:\Program Files\CA\PEC\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\ENGLISH;C:\Program Files\Attachmate\E!E2K\;C:\Program Files\CA\AllFusion Harvest Change Manager;D:\jwsdp-1.1\jaxb-1.0\bin;D:\jwsdp-1.1\jwsdp-shared\bin;C:\Borland\classes12.zip;C:\Program Files\UltraEdit;D:\jakarta-tomcat-5.0.28\webapps\cst\WEB-INF\classes;D:\EPS\EB_CST_v3.7.2\dev\src\cst;%PATH%
    Classpath setting as follows:
    .;%third_pty%\xerces.jar;D:\EPS\EB_CST_v3.7.2\dev\src\cst;D:\jakarta-tomcat-5.0.28\webapps\cst;D:\jakarta-tomcat-5.0.28\common\lib\servlet-api.jar;D:\jakarta-tomcat-5.0.28\common\lib\jsp-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-ri.jar;%third_pty%\ant.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\dom.jar;D:\jwsdp-1.1\jwsdp-shared\lib\jax-qname.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-libs.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-xjc.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\jaxp-api.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\sax.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\xercesImpl.jar;%third_pty%\activation.jar;%third_pty%\ant-optional.jar;%third_pty%\j2ee.jar;%third_pty%\jakarta-regexp.jar;%third_pty%\jaxp.jar;%third_pty%\jcert.jar;%third_pty%\jnet.jar;%third_pty%\jsse.jar;%third_pty%\xalan.jar;C:\MSJDBSLib\msbase.jar;C:\MSJDBSLib\mssqlserver.jar;C:\MSJDBSLib\msutil.jar;
    Other IDE setting:
    As per tomcat documentation.

    Hello:
    I overcame the above issue by changing index.html to index.jsp, but now i am facing another issue as shown below:
    On top of the above change i too included j2ee.jar (from websphere) in the classpath to overcome the below issue, but even then i am getting the same error.
    Error as follows:
    javax.servlet.ServletException: Error instantiating servlet class com.metavante.cst.control.web.LoginMainServlet
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:996)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:214)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    ----- Root Cause -----
    java.lang.NoClassDefFoundError: javax/ejb/EJBObject
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
         at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructor0(Class.java:1930)
         at java.lang.Class.newInstance0(Class.java:278)
         at java.lang.Class.newInstance(Class.java:261)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:987)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:214)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)

  • Eclipse as a development environment with Jakarta Tomcat - Need help!!

    Hello:
    Subject: Eclipse as a development environment with Jakarta Tomcat
    I am setting up the new development environment for my application (project). Below are the components involved::
    �     Eclipse 3.1
    �     myEclipse - EnterpriseWorkbenchInstaller_4.0GA_E3.1
    �     jakarta-tomcat-5.0.28 (Application Server)
    �     Sysdeo Eclipse Tomcat Launcher plugin - tomcatPluginV31beta
    �     SDK 1.4.2_08
    �     Microsoft XP sp2 operating system
    I have no issue with creation of project structure in eclipse IDE, compilation, and deployment, but there are some exception upon running the application.
    My project folder structure as follows:
    MyApplication/
    src/
    Conf/
    Web/
    classes
    taglib
    lib
    web.xml
    �     my application has few dependent projects, therefore I copied all the dependent projects final compiled classes (jars) to �lib� folder.
    �     I set all necessary classpath according to tomcat documentation.
    �     I created MyApplication.xml file under D:\jakarta-tomcat-5.0.28\conf\Catalina\localhost\ folder with the below context
    <Context path="/MyApplication " docBase="D:/xx/xxx/dev/src/ MyApplication/web" debug="0" reloadable="true" />
    �     I don�t get any exception during compilation and deployment process.
    �     I would greatly appreciate if you could give me a tips!!!!!!!!!!!!!!!!!!!!!!
    Error as follows:
    2005-10-10 17:31:45 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2005-10-10 17:31:47 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Associated with Deployer 'localhost'
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Global resources are available
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: list: Listing contexts for virtual host 'localhost'
    2005-10-10 17:32:35 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
         at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
         at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:163)
         at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122)
         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)
         at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:190)
         at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
         at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
         at org.apache.jsp.default_jsp._jspService(default_jsp.java:101)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    path setting as follows:
    %JAVA_HOME%\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Borland\AppServer\bin;C:\Program Files\CA\PEC\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\ENGLISH;C:\Program Files\Attachmate\E!E2K\;C:\Program Files\CA\AllFusion Harvest Change Manager;D:\jwsdp-1.1\jaxb-1.0\bin;D:\jwsdp-1.1\jwsdp-shared\bin;C:\Borland\classes12.zip;C:\Program Files\UltraEdit;D:\jakarta-tomcat-5.0.28\webapps\cst\WEB-INF\classes;D:\EPS\EB_CST_v3.7.2\dev\src\cst;%PATH%
    Classpath setting as follows:
    .;%third_pty%\xerces.jar;D:\EPS\EB_CST_v3.7.2\dev\src\cst;D:\jakarta-tomcat-5.0.28\webapps\cst;D:\jakarta-tomcat-5.0.28\common\lib\servlet-api.jar;D:\jakarta-tomcat-5.0.28\common\lib\jsp-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-ri.jar;%third_pty%\ant.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\dom.jar;D:\jwsdp-1.1\jwsdp-shared\lib\jax-qname.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-libs.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-xjc.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\jaxp-api.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\sax.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\xercesImpl.jar;%third_pty%\activation.jar;%third_pty%\ant-optional.jar;%third_pty%\j2ee.jar;%third_pty%\jakarta-regexp.jar;%third_pty%\jaxp.jar;%third_pty%\jcert.jar;%third_pty%\jnet.jar;%third_pty%\jsse.jar;%third_pty%\xalan.jar;C:\MSJDBSLib\msbase.jar;C:\MSJDBSLib\mssqlserver.jar;C:\MSJDBSLib\msutil.jar;
    Other IDE setting:
    As per tomcat documentation.

    Need tips to solve this issue!!!

  • Tomcat vs Apache with Tomcat connectors (mod/jk)

    Is there any advantage (security, performance etc.) of running a Java web application on Apache HTTP Server with Tomcat Connectors (mod/jk) rather than directly running it on Tomcat.

    This question is already answered, see here:
    http://tomcat.apache.org/faq/connectors.html
    Also for Tomcat/ Apache related questions, post them to the relevant mailing lists.

  • Error when starting Jakarta-Tomcat 4.0.4

    Iam getting an error while iam starting my Jakarta-tomcat App server.the error shows as below.
    C:\jakarta-tomcat-4.0.4\bin>startup
    The JAVA_HOME environment variable is not defined correctly
    This environment variable is needed to run this program
    The system cannot find the batch label specified - end
    Using CATALINA_BASE: C:\jakarta-tomcat-4.0.4
    Using CATALINA_HOME: C:\jakarta-tomcat-4.0.4
    Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.0.4\temp
    Using JAVA_HOME: C:\j2sdk1.4.2\bin
    The system cannot find the file -Djava.endorsed.dirs=.
    if any one has come across the same error,please let me know how u solved this problem
    Thanks and Regards,
    Ravi

    1 - He has already installed tomcat
    2 - He now has it working (reply #3)
    3 - Just because it works for you doesn't mean it will
    work for him. You have made assumptions about where
    he has installed java and tomcat.
    4 - If you glance up at the first post, you will see
    his java and tomcat paths included in there - they
    look nothing like the stuff you gave him. Following
    your instructions to the letter will only cause it to
    break.
    Please try and take a bit more care.
    regards.
    evnafetssince it was simple mistake in a hurry i replyed
    just saw the subject not whole message nor even any replys
    the big mistake i had done is i assumed it to my system
    this happens when u r not concentrated
    i appologize for it
    and i do take care in future replys
    cheers
    shekar

Maybe you are looking for

  • Can not for the life of me get printing to work on my mac mini duo core

    I have a photosmart 7550 and laserjet 1012. And I can't get my mac mini to recognize either printer. This has been driving me nuts. I was a long time mac user in the 80s and early 90s. Switched to Windows. Just switched back with the mac mini (intel

  • G/L account dose not exists in chart of account

    Hi every one I have problem in MIRO. My goods receipt is successfully done.But while doing miro system gives error message that " G/L account dose not exists in chart of account ." error is not descriptive .... how would i know which G/L account syst

  • Referenced or Managed?

    I'm sure this topic has been discussed much before but I'm asking in relation to Aperture 3 and my older Intel laptop specifically. I've got a rather large library and I'm trying to decide whether to keep it as a managed library or create a new refer

  • Malayalam fonts are not supporting in Mac

    Hi, In my Macbook Pro i can't view Malayalam Fonts.. everything shows like boxes... is ther any help available?

  • Changes in source folder not reflecting in Webhelp

    Hi, We are using RoboHelp X5. The problems that we are encountering are as follows: A file deleted from the source folder is still appearing in the Webhelp. Inspite of modifying a file in the source folder, it appears along with the older version in