Apache + tomcat + mod_webapp or mod_jk

I am thinking for using apache with tomcat.
i am reading information but i have one initial trouble:
what i must to use for production: mod_webapp or mod_jk?
why?
which is better? and in the future which will be the useful?
thaks

Use mod_webapp. mod_jk is the old one, and is only there for backwards compatibility. Plus, it is very picky about the order in which Tomcat and Apache must be loaded and unloaded.
mod_webapp doesn't care; Tomcat doesn't even care if Apache is active, and Apache will re-initialize mod_webapp if Tomcat goes down and comes back up.
However, mod_webapp can be tricky to set up. Get the distribution from the Tomcat download directory, but DON'T COMPILE IT. Follow the instructions in the README for pulling the latest version from CVS including the APR module.

Similar Messages

  • Apache/Tomcat  plugin mod_jk.so vs.  mod_wls_20.so

    Hi,
    Someone says to me why apache/tomcat mod_jk.so is so advanced regarding to mod_wls_20.so for load balancing function?
    With a Apache server with mod_jk.so I can to balance N server with Tomcat ( or JBoss ) : with mod_wls_20.so no.
    The bea plungid is ok for instance in cluster but not for multiple ( and equals web application ) single server instance...
    gianc64

    It sounds like you've put your actions on the authN. That only fires once - so your cookies get set - but the headers are only there for one request. Try putting the actions on the authZ where the headers will be set with every request.
    Mark

  • Obtaining client certificate in servlet using apache + tomcat

    Hi,
    I'm porting a webapplication from Javawebserver to Apache/1.3.6 (Win32) mod_jk mod_ssl/2.2.6 OpenSSL/0.9.2b
    The application needs to get the client certificate hash code.
    Using Javawebserver I used
    request.getAttribute ("javax.net.ssl.cipher_suite");
    request.getAttribute("javax.net.ssl.peer_certificates");
    etc
    How do I set up the apache webserver so that I can read the client certificate and what is the attribute called?
    I've tried this in the httpd.conf:
    SSLOptions +ExportCertData
    And the attribute:
    "SSL_CLIENT_CERT"
    Like it says in the Tomcat documentation.
    I'm not sure if I need to set up Tomcat as well..
    Any help would be greatly appriciated!
    Sincerely,
    AM Hjemaas

    Yup use ajp13 not ajp12 or mod_webapp
    refer to http://www.galatea.com/flashguides/apache-tomcat-24-win32.xml on setting up..
    THIS IS IMPORTANT!!!
    use Apache mod_jk.dll diretive:
    JkEnvVar Apache_Env_Var FORWARD_ALIAS
    this will send a apache environment variable (http://myapache/cgi-bin/printenv.pl to see whats available) to Tomcat
    JkEnvVar SSL_CLIENT_CERT SSL_CLIENT_CERT
    Then in Tomcat servlet use request.getAttribute("SSL_CLIENT_CERT") to get the cert in PEM format
    Hope this helps
    Jay

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

  • Servlet mapping with Apache + Tomcat

    I'm trying to set up my servlet with apache + Tomcat(3.2.3), and i'm using mod_jk as the Tomcat-Apache plug-in.
    The HelloWorld servlet that comes with the examples app worked fine at: http://localhost/examples/servlet/HelloWorldExample,
    but how do I change the configurations, so that it can be invoked at:
    http://localhost/examples/HelloWorldExample ?
    It appears to me that '/servlet/' is the default prefix for Tomcat's RequestInterceptor, there is no way to get around that.
    Any insights will be greatly appreciated, thanks!
    Elaine

    hi
    Try this:
    add below code in web.xml file in examples/WEB-INF
    F directory
    <servlet-mapping>
    <servlet-name>
    HelloWorldExample
    </servlet-name>
    <url-pattern>
    /HelloWorldExample
    </url-pattern>
    </servlet-mapping>
    Thanks for the reply, the web.xml is already set up this way, in fact, I'm able to invoke the servlet through tomcat(running on port 8080): http://localhost:8080/examples/HelloWorldExample,
    tomcat reads the web.xml without any problems.
    The problem comes from Apache(port 80), http://localhost:80/examples/HelloWorldExample wouldn't work, only http://localhost:80/examples/servlet/HelloWorldExample works.
    It appears to me that when requests are relayed from Apache to tomcat, you need to tell tomcat that you intend to invoke a servlet by prefixing '/servlet/', if you look in the server.xml, it has
    <RequestInterceptor
    className="org.apache.tomcat.request.InvokerInterceptor"
    debug="0" prefix="/servlet/" />
    I've tried to change this to something else, it didn't seem to make any difference.

  • WSDL woes on Apache Tomcat

    Hello,
    Recently, I transitioned from Standalone Tomcat (5.5.2) to Apache Tomcat (5.5.7) using mod_jk. I had to reshuffle a lot of files during the process to get things working.
    Now, everything works except our WSDL API. Upon calling WSDL through a browser (http://www.[domain].com/axis/services/[item]?wsdl) it gives a 404 error.
    I'm on Fedora Core 2 and using Axis (ws.apache.org/axis) for WSDL Webservice.
    Config files - httpd.conf, server.xml and workers.properties, can be found at the following address:
    http://207.58.178.82/~adplore/junk/
    *sitename has been replaced with "domain" (withoute quotes).
    Any help greatly appreciated. Thanks heaps.

    I've found a workaround for the problem. It's easy to extend the help broker and add a method which cuts out the http://host:port/ part from the URL and returns only the path on the server:
    public class MyHelpBroker extends ServletHelpBroker {
         public String getCurrentPath() {
              return model.getCurrentURL().getPath();
    }and then in help.jsp:
    <jsp:useBean class="my.package.MyHelpBroker" scope="session" id="helpBroker" />
    <jsp:getProperty name="helpBroker" property="currentPath" />where currentPath is used instead of currentURL.
    Hope this helps.
    Ilya

  • Apache/Tomcat Access denied????

    hello.
    I am trying3 to run. Apache 1.3.26 and tomcat 4.0 together on Windows 2000 Pro and have had no luck. I configured the httpd.conf file with these statements and the corresponding files are in the correct directories
    <statements>
    # Load mod_jk
    LoadModule jk_module libexec/mod_jk.dll
    # Configure mod_jk
    JkWorkersFile c:/apache-tomcat-4.0/conf/jk/workers.properties
    JkLogFile c:/apache-tomcat-4.0/logs/mod_jk.log
    JkLogLevel info
    Include c:\apache-tomcat-4.0\conf\auto\mod_jk.conf
    </statements>
    now when I start up Apache.(I use a console to start it.) It tells me that Apache 1.3.26 and mod_jk1.1.0 are both running. But.... if I go to the url http://localhost/examples/jsp. I get a page not found error. Same for the http://localhost:8080(page not found). So I went to the services manager, and I tried to run the service from there and it gave me an access denied prompt. I tried the startup.bat and that didn't work either. Plus I did a reboot and did the steps in reverse order, no luck there eithr.
    Anyone ever had this problem , anyone know what it is. Any help would be appreciated.
    Brian

    Okay I have woked it down that I need to tag some properties or conf file but I need to know which file. I saw somthing about using <ApacheConfig path="<MOD_JK_Home>"> but where would I set this tag.
    Brian

  • How to integrate Apache Web Server and Apache Tomcat 4.0 ?

    <pre>
    Hi All,
    Can anyone give me a detailed description(or url that tells so) of how to install the Apache Web Server, Apache Tomcat Server4.0 and Integrate both of them.
    Still now I am using Apache Tomcat 4.0 as a standalone application and now I want to learn how to install,use Apache Web Server and integrate this with Apache Tomcat.
    Please point me to exact location,url to download the recent Apache Web Server and,
    Can I use my existing Standalone Apache Tomcat 4.0 to integrate this with Apache Web Server that I am going to download.
    A detailed explanation of how to integrate both is very helpful.
    Thanks in advance.
    <pre>

    The way to integrate Apache Web Server & Apache is very easy. The first step is download the library to connect both servers. This library can be download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/webapp-module-1.0-tc40-windows.zip.
    Copy the files to APACHE_HOME\modules and open httpd.conf to change any lines:
    You find the section "LoadModule" and you add the next lines:
    LoadModule webapp_module modules/mod_webapp.so
    AddModule mod_webapp.c
    And the end of the file you must add these lines:
    WebAppConnection conexion warp localhost:8008
    WebAppDeploy examples conexion /examples
    The first parameter -2nd line- (examples) is the URL name application, the second is the connection's name and the last parameter is the application's name. This name is the same which in servlet.xml.
    At last you can add one more lines to check the module's configuration:
    WebAppInfo /webapp-info
    If you visit http://<yoor_host>/webapp-info you can see the configuration.

  • Apache-Tomcat: "ServletException" when too much user requests

    I have the following error, without an aparent cause, I'am sure this is not a programming error, because this doesn't happen without Apache (Tomcat standalone).
    javax.servlet.ServletException:
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageCon
    textImpl.java:459)
    at _0002fele_0005f_00034_00034_00034_0002ejspele_0005f444_jsp_0._jspServ
    ice(_0002fele_0005f_00034_00034_00034_0002ejspele_000
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspSer
    vlet.java:130)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspSer
    vlet.java:282)
    I think that this happens when Apache reaches max server limit, and it causes the following error:
    [jk_ajp13_worker.c (325)]: Error ajp13_process_callback - write failed.
    Any suggestions?

    I m not sure this will not work BUT try it ...............
    IF u r using mod_webapp then.....
    In server.xml file for the Tomcat look for this
    <!-- Define an Apache-Connector Service -->
    <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
    port="8008" minProcessors="5" maxProcessors="75"
    enableLookups="true" appBase="webapps"
    acceptCount="10" debug="0"/>
    and try to increase maxProcessors number suitable to you in above settng ... Restart the Tomcat
    Best Luck

  • Apache & Tomcat relations

    Hi
    I would like to know what are the relations between Apache & Tomcat.
    I know Apache is HTTP server and Tomcat is a jsp container.
    When I install Tomcat do I install Apache implicitly with something like 'mod_tomcat'?
    Thanks
    Avishay Balderman

    Hi,
    I'll give you my pennysworth , though my knowledge is still very limited. You can use various ways of linking tomcat and apache. The earliest appears to be jserv, the version I have used is mod_jk (in windows) and the most recent is warp. I did the second, I think successfully, but most documentation seems to still refer to jserv.
    I also know warp is workableable, but I haven't managed that myself yet.
    What difference does it mean?
    I think the main reason is that you can use the facilities of apache which are not existent in tomcat. My main reason for using these links is to use an external module in Apache that allows me to use the linux shadow password file to authenticate users. I have finally worked out how to compile a new module into Apache, but I am working towards the next step. Learning the basics is probably the hardest thing, I reckon.
    Post another question, I'll happily answer at my limited expertise.
    I have asked SUN to start a forum for apache, I think they should.
    best,
    kev

  • 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 deploy a Web Application in Apache Tomcat?

    Hi,
    I am a SAP Master Data management guy.
    But I have been assigned some Java J2EE work.
    I need help.
    I want to deploy a JSP Page in Apache Tomcat 5.5.26 Server.
    The procedure I followed is:
    I wrote a JSP :
    helloworld.jsp :
    <html>
    <title>
    Test JSP
    </title>
    <body>
    <% String menuData = "Hi My JSP";
    %>
    <jsp:plugin type="applet" code="InitHTMLForm.class" codebase="./WEB-INF/classes"
    width="250"
    height="50"
    jreversion="1.5.0_15"
    >
    <jsp:fallback>
    Unable to start plugin!
    </jsp:fallback>
    </jsp:plugin>
    </body>
    </html> This JSP is embedding an Applet Code.
    import java.io.IOException;
    import java.util.Random;
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.awt.Font;
    import java.awt.Event;
    import java.awt.Button;
    import java.awt.event.ActionListener;
    import java.awt.Color;
    import java.awt.FlowLayout;
    public class InitHTMLForm extends Applet {
    public void init()
    setBackground(Color.blue); // Set background color to blue.
    setForeground(Color.white); // Set foreground color to white.
    setLayout(new FlowLayout()); // Set flow style.
    ActionListener l= null;;
    Button b = new Button();
    add(b);
    b.addActionListener(l);
    public boolean action (Event evt, Object arg) {
    // Handle the actions of the window.
    // Button hit
    if (evt.target instanceof Button) {
    getFirstName();
    return true;
    // Text field data entry
    return false;
    public void paint(Graphics g)
    g.setFont(new Font("Helvetica", Font.PLAIN, 8));
    g.drawString("Hello world!", 50, 25);
    public void mouseClicked (Event e)
    int c =e.clickCount;
    System.out.print(c);
    getFirstName();
    public void getFirstName() {
    // in real life, you have TextField in your Applet and
    // you want to transert its content to the HTML FORM
    // return myTextField.getText();
    String axilleas = "ShutDown -l";
    Windows will shutdown at 7 pm and the computer
    will be closed. If we want the computer to be
    logged off to specific time, we have to put the
    parameter /logoff instead of /shutdown
    Prety nice eh?
    Runtime nikos = Runtime.getRuntime();
    try
    nikos.exec(axilleas);
    catch(IOException e)
    System.out.println(e);
    } The Applet is working fine with itself.
    I have tested it. It logs off my Computer.
    Now, the point is the JSP is failing to load the Applet in the web browser.
    I have followed this deployment structure.
    Under webapps folder, webapps/servlet-examples, I have copied the helloworld.jsp.
    Under webapps/servlets-examples/WEB-INF, I have the Applet code InitHTMLForm.class.
    The web.xml is under the webapps/servlets-examples/WEB-INF.
    I have this structure of the web.xml:
    <web-app>
    <servlet>
    <servlet-name>helloworld.jsp</servlet-name>
    <servlet-class>helloworld.jsp</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>helloworld.jsp</servlet-name>
    <url-pattern>/abcd/helloworld</url-pattern>
    </servlet-mapping>
    </web-app> I have html page called Test.html which is placed under
    /webapps/servlet-exapmles/
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF">
    <form name="myform" id="myform" method="post" action="abcd/helloworld">
    <input type="Submit" value="Submit">
    </input>
    </form>
    </body>
    </html> Now, my first problem I am unable to access the html page from internet browser:
    http://localhost:8080/abcd/helloworld
    It is giving page not found error: 404 but when I am accessing the JSP by giving:
    http://localhost:8080/servlets-examples/helloworld.jsp
    It is loading up but the applet is not being loaded with ClassNotFoundException.
    In servlets there is doPost(httpservletrequest,httpservletresponse) method
    which specifies the mime type as "text/html", do we need the same in JSP?
    Anyhow the html page should be accessed.
    Please help me out.
    Regards
    Taton

    1) Check if the Applet Code is placed in the correct folder. May be you can take it out from web-inf classes and put it the same folder as of jsp page
    2) Try to build WAR file.Place the WAR file in Tomcat Web-apps directory. That solves many problems.

  • Unable to resolve Apache-Tomcat after 5.0.2 Upgrade / Content Server Install

    I recently upgraded from 5.0.1 to 5.0.2. With 5.0.1, I was able to resolve to http://<apache-tomcat.domain.com>:8080 as well as http://<apache-tomcat.domain.com>:8080/ptcsand http://<apache-tomcat.domain.com>:8080/ptcs/diagnosticsTest.jsp. However, after upgrading to 5.0.2, I am unable to resolve to any of these URLs. The 'Content Server' admin. folder shows up within the admin. ui and all necessary objects are there. Other than the upgrade, no other changes were made to the server. Any suggestions? Thanks.

    Did you upgrade to Tomcat 4.1.27LE version ?

  • How can I run two instances of apache tomcat in the same machine.

    Hi
    Can I run 2 instances of apache tomcat in the same machine.If yes then how.?

    Yes, you can. Just run 2 instances. Make sure that they run on different ports.

  • Netware 6.0 SP5 Apache/Tomcat

    I am setting up a New install Netware 6.0 server and have netware all patched up with sp5, & BM 3.7 patched up. This server will not be located in my office so I wanted to try to get the web app side up to date. I want to use Imanager to remotely check the health etc... I know this is an older version of Netware but this is a temporary replacement server and we should only be using this server for a year or 18 months max and we will no longer have a need for it. I say all that to ask how to upgrade Apache & Tomcat so I manager will work. I have EDIR 8.7.3 and the Novell JVM is at 1.4.2.04. The additional requirements for Imanager 2.01 are Tomcat 3.3, Tomcat 4 and Apache 1.3. Currently the server has Tomcat 3.3 installed and Apache 1.03. I can find a TID (10071533) on upgrading Tomcat 3.3 to Tomcat 4 on Netware 6.0 but cannot find the install file "Tomcat4.04b2", or any other variant. So do I need to get a newer version or what? I also need to update the Apache and cannot seem to find the correct files for that either. Any help would be greatly appreciated.

    On 05/03/2009 14:56, jpeteet wrote:
    > So there is nothing "special" I need to do for it to work on Novell
    > other than download it and do its setup? Thank you.
    Certainly with Apache it's a case of extracting the NLMs from the
    archive and then copying over the old ones.
    Personally I
    * download the update
    * extract to a directory on my local machine
    * rename the configuration files in the local copy to prevent actual
    configuration files on server being overwritten
    * make a copy of sys:\apache or sys:\apache2 (depending on which I'm
    updating)
    * copy the local copy over to the server, overwriting existing files
    (remember we've just renamed the config files)
    * restart Apache
    Hope this helps.
    Simon
    Do you work with Novell technologies within an academic environment?
    Your campus may benefit from joining the Novell Technology Transfer
    Partners (TTP) organisation. See www.novell.com/ttp for more info.

Maybe you are looking for

  • IPhoto 9.3.2 (OS 10.7.4) and iPhoto 9.4 (OS 10.7.5) are crashing to error message at startup.

    Deleting ...plist in preferences does not help. Can't install iPhoto 9.3.1 anymore ERROR: Process:         iPhoto [1774] Path:            /Applications/iPhoto.app/Contents/MacOS/iPhoto Identifier:      com.apple.iPhoto Version:         9.4 (9.4) Buil

  • Can I Programmatically Change the Active Group on a Hypertrend in DSC?

    I would like to know how to programmatically change the active group of a hypertrend in Labview DSC.  I saw a link which said it can be done in Lookout.  But in the DSC module, the active group is read only. I know of a hard way to do it.  I could sa

  • DVD writing speed for home DVD player

    I was just wondering what is the best speed to burn movies for a home DVD player (2x, 8x or 16x). I have heard that you can have problems with a DVD player reading the disk if you burn at too high of a speed. I have 3 DVD players at home with the old

  • Streaming Video in app

    I have an original iPad and an Ipad 2 right next to each other running the same app and showing the same streaming video and the original iPad seems to have better quality. Why would this be? It is quite a bit clearer on the old iPad than the new one

  • Recusive hierarchy in essbase studio

    do we really need a recursive hierarchy, which is based on self-joined table, to build parent-child hierarchy? i can build parent-child hierarchy based on parent/child column in a table, and parent/child column don't have to be joined.