Apache Tomcat Connector

Hello,
I have setup Solaris 10 OS on AMD64 and I am trying to build the JK connector for Apache2 with Tomcat5, but I am not having any success at all with neither the Solaris nor the GNU gcc compiler.
Did anyone compiled the JK connector on a i86 64-bit architecture? does anyone knows where I could find a compiled version of the jk_mod.so for AMD64 solaris or where I could get more information ?
Much appreciated,
Jeff

I'm also having trouble connecting the web server to a Tomcat server. I too downloaded the connector from Apache and built it using
./configure --with-apxs=/usr/sbin/apxs
because that's the only apxs on my disk, which I determined by running
sudo find / -name apxs\*
After installing mod_jk.so in /usr/libexec/apache2, I added the following in /etc/apache2/httpd.conf:
\\# Copied from http://tomcat.apache.org/connectors-doc/generic_howto/quick.html
\# Load mod_jk module
LoadModule jk_module libexec/apache2/mod_jk.so
\# Where to find workers.properties
JkWorkersFile /etc/apache2/workers.properties
\# Where to put jk shared memory
JkShmFile /private/var/log/apache2/mod_jk.shm
\# Where to put jk logs
JkLogFile /private/var/log/apache2/mod_jk.log
\# Set the jk log level [debug/error/info]
JkLogLevel debug
\# Select the timestamp log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
\# Send everything for context /orgcharts to worker named worker1 (ajp13)
JkMount /orgcharts/* worker1
And my workers.properties file contains:
\# Define 1 real worker using ajp13
worker.list=worker1
\# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
Now, when I attempt to start the web server, it doesn't come up, and it doesn't log anything, so I have no clue what's going on.
Message was edited by: Thom Brando

Similar Messages

  • Policy Agent 2.2 with Tomcat connector (isapi_redirect.dll)?

    Dear All,
    We have installed Policy agent 2.2 for IIS6 to enable SSO with SUN Access Manager 7.1. Policy agent 2.2 was installed in IIS6 as wild card application mapping extension.
    Our IIS6 also contains Apache tomcat connector (isapi_redirect.dll) as it needs to front JBOSS application server.
    When we access protected resource Policy agent presents login screen. With the correct login details, policy agent authenticates successfully with SAM 7.1 and creates SSO token, which is good. But policyagent creates "goto" URL as /tomcat/isapi_redirect.dll rather than the original resource that user asked for as below?
    2010-12-23 18:57:57.397 Info 3220:1e5b0d0 PolicyAgent: do_redirect(): redirect_header = Location: http://am-server.com:8080/amserver/login?goto=http%3A%2F%2Ftest-server%3A80%2Ftomcat%2Fisapi_redirect.dll
    Any ideas on how to configure Policy agent for IIS6 when it has isapi_redirect.dll already installed on it.
    Thanks,
    Surya

    Hello Surya
    Did you find a solution for this issue? How did you solve it?
    Thank you
    Prashanth
    Edited by: user8605028 on Jun 15, 2011 1:24 PM

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

  • Installing Tomcat connector for Apache

    I realize this is more of a Linux configuration issue but it does deal with Tomcat so I am hoping someone can help.
    I am having some problems installing the tomcat connector for Apache web server on Linux (Red Hat enterprise).
    I need to have both Apache (by which I mean Apache Web Server) and Tomcat running on this system and it is my understanding that one can use the tomcat connector as an Apache module to connect from Apache to Tomcat for jsp requests.
    Okay so here is what has been done.
    Tomcat is installed and running fine (on port 8080)
    Apache is running fine.
    I followed this guide http://tomcat.apache.org/connectors-doc/howto/quick.html
    And I created all the config files etc but when it comes to finding the mysterious mod_jk.so file I am stuck. I went to the downloads area and end up in the following directory/page http://apache.mirrors.northco.net/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.14/
    I don't see a mod_jk.so file in there. (?!?) So... I poked around some more but I feel I am looking at the right directory so I downloaded the worker.so file and put that in my apache modules directory. I renamed it as mod_sk.so (now please bear in mind that I am not too dumb and I realize that renaming a file isn''t doing anything magical but due to lack of any documentation describing why there are two different files I took a guess and thought that maybe the different files are different threading setups or something (considering the other one is named prefork to me this seemed to be a logical conclusion based on the information given))
    And of course it doesn't work. By which I mean the following happens if I run configtest for apache (if I try to start Apache same disaster)
    # /sbin/service httpd configtest
    Syntax error on line 3 of /etc/httpd/conf.d/tomcat_connector.conf:
    Cannot load /etc/httpd/modules/mod_jk.so into
    server: /etc/httpd/modules/mod_jk.so: cannot open
    shared object file: No such file or directoryOkay... Except a file with that name (see above) IS in that directory. And it has the same permissions as the other modules which are loading.
    (After moving to the modules directory)
    # dir
    libphp4.so mod_cache.so mod_imap.so mod_proxy_http.so
    mod_access.so mod_cern_meta.so mod_include.so mod_proxy.so
    mod_actions.so mod_cgi.so mod_info.so mod_python.so
    mod_alias.so mod_dav_fs.so mod_jk.so mod_rewrite.so
    [more stuff that loads here but edited for length]So I think something else has gone wrong here... namely that I have the wrong file or something.
    Anyway I am a bit stuck at this point. Could someone point me in the right direction please because I am just going in circles at this point with the documentation not matching up to what files are available or explaining what those files in fact actually are.

    I solved this issue by compiling the file from source. I got hold of another admin friend who told me that the version I had was for 64 bit. Now how I was supposed to discover this or where in fact a compiled version of this file is on the apache site I know not.
    But it's working now.

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

  • How to protect an application running on Apache Tomcat app server with OAM 11gR2

    Gurus,
    We have an Apache Tomcat based application named "ABCD" here at client site that we want OAM 11gR2 PS1 to integrate with for SSO purposes. I have successfully configured OHS to reverse proxy requests to Apache Tomcat server whenever somebody tries to access the application URL but still, I am getting the application login page once I have successfully authenticated on OAM SSO login page. The Tomcat based application is authenticating users against a "UserDatabase realm".
    I know in terms of weblogic application, there is an OAM identity asserter provider which then populates the User Principal for the java environment with the authenticated OAM user. But there is no such OAM identity provider for Tomcat.
    So my question is, is there an provider (or Tomcat equivalent) which will entrust authentication to a header, that could be used to populate the Java User Principal from the OAM_REMOTE_USER header? Is the weblogic equivalent of authentication providers present in tomcat as well? Are those called valves?
    Please advise to the earliest.
    Thanks !!

    Aakash,
    I did follow the 4 steps that you mentioned to me. Out of the 4 that you had mentioned, I already had the webgate in place on OHS server and I was already passing the remote_user http header in oam policy as action.
    As part of Step #2: Install mod_jk plugin on OHS server that you mentioned
    1.) I downloaded the tomcat connector - tomcat-connectors-1.2.37-src
    2.) I had to run ./configure,make, make install on my OHS server which runs on RHEL 6. It created the mod_jk.so file. I pasted it in the needed folder.
    3.) I then created the httpd.conf file and workers.properties file as said in the connector docs.
    4.) Restarted OHS.
    As part of Step #3: Configure tomcat's ajp connector that you mentioned and I went through all the links pasted below but didn't find actually what needs to be in place to configure tomcat's ajp connector. I do see in the server.xml of tomcat app server that the ajp 1.3 protocol is supported:
    http://tomcat.apache.org/tomcat-4.0-doc/config/ajp.html
    http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s8
    http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html
    http://www.mulesoft.com/understanding-tomcat-connectors
    <!-- A "Connector" represents an endpoint by which requests are received
             and responses are returned. Documentation at :
             Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
             Java AJP  Connector: /docs/config/ajp.html
             APR (HTTP/AJP) Connector: /docs/apr.html
             Define a non-SSL HTTP/1.1 Connector on port 8080
        -->
        <Connector port="8080" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8443" />
    <!-- Define an AJP 1.3 Connector on port 8009 -->
        <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
    Do we need to disable the HTTP protocol in Tomcat and keep only AJP connector enabled? If yes, how to do that?
    I am trying to connect to the application from OHS server like so I am using the http protocal right? How should I use the ajp protocol to connect to tomcat application? 
    http://ohs-host:ohs-port/abcd
    Thanks !!!!!

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

  • Help with error (apache tomcat + java )

    hi all ! Im having an issue with my program.
    Im using jasper report to generate some reports from the program... everything seems to work except for this (making the program unstable at some point). When the report is generated and loaded as a pdf I get this error in the log.
    java.lang.IllegalStateException
    at org.apache.coyote.Response.reset(Response.java:296)
    at org.apache.catalina.connector.Response.reset(Response.java:642)
    at org.apache.catalina.connector.Response.reset(Response.java:908)
    at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:355)
    at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:211)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:736)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:619)
    The code Im using to generate the pdf is this one.
    File file = new File("C:\\Reportes\\", reporte +""+ datNac +".pdf");
    String contentType = getServletContext().getMimeType(reporte+ "" +datNac+ ".pdf");
    System.out.println("antes BufferedOutputStream");
    BufferedOutputStream output = null;
    output = new BufferedOutputStream(response.getOutputStream());
    BufferedInputStream inputFile = null;
    inputFile = new BufferedInputStream(new FileInputStream(file));
    response.reset();
    response.setContentType(contentType);
    response.setContentLength((int) file.length());
    response.setHeader("Content-disposition",
    "attachment; filename=\"" +file.getName()+ "\"");
    System.out.println("BufferedOutputStream");
    byte[] buffer = new byte[10240];
    for (int length; (length = inputFile.read(buffer)) != -1;) {
    output.write(buffer, 0, length);
    inputFile.close();
    output.close();Any help is appreciated.
    Thanks!
    Edited by: juanmanuelsanchez on Aug 4, 2009 11:17 AM
    Edited by: juanmanuelsanchez on Aug 4, 2009 11:18 AM
    Edited by: juanmanuelsanchez on Aug 4, 2009 11:19 AM

    juanmanuelsanchez wrote:
    java.lang.IllegalStateException
    at org.apache.coyote.Response.reset(Response.java:296)The response is already committed and thus cannot be reset anymore.
    output = new BufferedOutputStream(response.getOutputStream());
    response.reset();At least you should obtain the outputstream AFTER the reset. If that doesn't fix, then check everything in the chain before this code.

  • 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

  • I don't understand the following error on apache tomcat

    Good afternoon!
    I am using tomcat 6.0.13.When i try to perform my servlet, the following exception is gone off :
    exception
    javax.servlet.ServletException: Error allocating a servlet instance
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(Thread.java:595)
    root cause
    java.lang.NoClassDefFoundError: mypackage/Transportadora (wrong name: Transportadora)
    java.lang.ClassLoader.defineClass1(Native Method)
    java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817)
    org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(Thread.java:595)
    Would be this a problem in the definition of the class?
    web.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlnssi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <display-name>Transportadora </display-name>
    <description>
    Projeto Transportadora
    </description>
    <servlet>
    <servlet-name>Transportadora</servlet-name>
    <servlet-class>mypackage.Transportadora</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Transportadora</servlet-name>
    <url-pattern>/transp</url-pattern>
    </servlet-mapping>
    </web-app>
    A great one I hug and grateful for the attention!
    Message was edited by:
    tarssa
    Message was edited by:
    tarssa
    Message was edited by:
    tarssa

    java.lang.NoClassDefFoundError: mypackage/Transportadora (wrong name: Transportadora) You need to make sure all your classes are in the classpath and/or you need to make sure you're calling the class by its correct name.

  • ADF applicatiopn on Apache Tomcat server

    Hi all
    Iam intersted to know that can we deploy My ADF(genric applicaion) application containing task flows on my apache tomacat server .
    Thanks in advance
    Bipin

    Hi sammera
    i have add that dll in bin directory and also followed the steps in that link
    still iam getting the exception
    SEVERE: Error configuring application listener of class oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack
    java.lang.ClassNotFoundException: oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4148)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:563)
         at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1397)
         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:597)
         at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
         at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1500)
         at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:252)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
         at java.lang.Thread.run(Thread.java:619)
    Jul 15, 2011 4:45:20 PM org.apache.catalina.core.StandardContext listenerStartEdited by: Bipin Patil on Jul 15, 2011 4:38 AM

  • Apache, Tomcat  and mod_jk2

    Hi, I' m sorry I posted this topic in other forum( I made a mistake).
    I 'm trying to create a cluster server using Apache and two Tomcat's instance. My problem is when I have to use the JK2 connector (reference http://tomcat.apache.org/tomcat-4.1-doc/config/jk.html) because I need to compile some files, but I new in solaris and I don't know how to do it.
    I downloaded the file from this site http://archive.apache.org/dist/jakarta/tomcat-connectors/jk2/
    I'm using Apache 2.0.55, Tomcat 5.028 and Solaris 9
    I need to create a mod_jk2.so file
    Does someone help me?
    Regards

    I've only ever done this in windows. This page should take you through it ok though:
    http://www.cymulacrum.net/tomcat/tomcat_mod_jk2.html

  • 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 ;)

  • 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

  • Apache Tomcat 4.0 and MySQL 3.2.3, how to connect?

    Hi, could anybody help me please? I have a problem in connecting between Apache Tomcat 4.0 and MySQL 3.2.3. How can I connect them? Do I need mm.mysql.Driver? I have download that one, but I don't know where I should put that .jar file?
    And before that, I have made a JSP file that using MySQL Database, and I have error like this:
    Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: org.gjt.mm.mysql.Driver
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:457)
         at org.apache.jsp.ex1$jsp._jspService(Compiled Code)
         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(Compiled Code)
         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(Compiled Code)
         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(Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.StandardContext.invoke(Compiled Code)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
         at org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
         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(Compiled Code)
         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(Compiled Code)
         at org.apache.catalina.connector.http.HttpProcessor.run(Compiled Code)
         at java.lang.Thread.run(Thread.java:479)
    root cause
    java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
         at org.apache.catalina.loader.WebappClassLoader.loadClass(Compiled Code)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:198)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Compiled Code)
         at org.apache.jsp.ex1$jsp._jspService(Compiled Code)
         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(Compiled Code)
         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(Compiled Code)
         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(Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.StandardContext.invoke(Compiled Code)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
         at org.apache.catalina.valves.AccessLogValve.invoke(Compiled Code)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Compiled Code)
         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(Compiled Code)
         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(Compiled Code)
         at org.apache.catalina.connector.http.HttpProcessor.run(Compiled Code)
         at java.lang.Thread.run(Thread.java:479)
    Can anybody help me, please? I need this in a short time for my thesis.

    From the stack trace, it says that the mm.mysql Driver was not found. This means that you have not included the mySQL JDBC driver in your classpath. You have to download the mySQL driver jar file and place that in the "lib" folder under the Tomcat installation. Then, make sure that the said jar file is included in your classpath. Hope this helps

Maybe you are looking for

  • Geting oracle.xdo.parser.v2.XMLParseException: Unexpected EOF

    Hi All, I am getting following exception while generating PDF document for a given "Document type" and "Document ID". oracle.apps.fnd.framework.OAException: oracle.apps.xdo.XDOException at oracle.apps.fnd.framework.OAException.wrapperInvocationTarget

  • Lightroom 4 on Windows 7 & 8

    I just received Lightroom 4 software in the mail.  Will this version work on both Windows 7 &  8?  Many thanks.

  • New tab always opens babylon search site - how to change that

    http://search.babylon.com/?babsrc=NT_bb this link always appears when i open a new tab. 1. how do i stop this? 2. how do i choose my own default address for new tabs?

  • ODI logs deleted after scenario refresh

    Hi, I'm using a load plan which starts half a dozen scenarios. All scenarios are packages scenarios version 001. When I modify any package I regenerate any related scenario. (Basically I'm not using the versioning system supplied by ODI, but I need t

  • Spry repeat Region

    I am creating a staff page for our school using Dreamweaver CS3. I can create a spry region and a repeat region and the staff image and its caption get displayed but he repeat ocuurs in a stacked format. Is there any way to configure the repeat to oc