Apache with JServ or Tomcat?

What�s your preferences in relation with JSP web server: Apache with JServ module (or another want you considerer better) or Jakarta-tomcat?
I have used both, but I don�t know exactly which one I should use in my new job.
Thank you everybody and good luck!

JServ, while fine in its time, is now outdated and will not be updated. If you want to use any features added to the JSP or Servlet API's in recent years, you need to use Tomcat.

Similar Messages

  • Integrating Apache with Tomcat?

    Anyone have a guide to integrating Apache with Tomcat using mod_jk?
    I followed some guides online, but they all seem really dated with some obscure references. This seems like it should be on the top of the list....

    Hi Alan.
    I've discovered the exact same problem.... 0.0.0.0 instead of 127.0.0.1
    You've obviously not had any replys here, but di you end up working it out on your own?

  • Apache with Tomcat cluster

    Hi, I integrated Apache with Tomcat Cluster on Windows 2000. I instalated mod_jk2.dll, created workers2.properties and configurated server.xml in Tomcat instances. If I try to reach my .jsp file, e.g. http://localhost/root/main.jsp, I get follow message from Tomcat: source root/main.jsp is not available. What�s wrong? Can anybody help me? Apache version: 2.0.47, Tomcat: 1.4.27

    Well, the first order of business is to determine exactly where main.jsp is located. If it is at <CATALINA_HOME>/webapps/main.jsp, then it should be at http://localhost:8080/main.jsp. Bypass Apache and verify that you can get to the Tomcat specific pages first.
    Basically, we're trying to determine a) the correct URL and b) whether the problem is with Tomcat itself, or with the connections between Apache and Tomcat.
    Essentially, we can't tell you where your configuration is incorrect until you tell us what your configuration is. :)

  • Adv. of using apache with tomcat??

    can anyone pl tell me the advantages of using Apache with Tomcat in comarison to other web servers?
    Thanks

    The biggest advantages are that they are open source, so you don't have to pay a huge licence fee, and they are very stable. I don't know how they compare for speed - I know Apache is lightning when it comes to serving flat pages, there are no benchmarks yet for the new Tomcat because it was only released last monday. You can run them on linux or another unix variant, so they are more likely to be secure (windows servers are horrendously open to attack) and stable.

  • The tab is bad with apache web server and tomcat

    the tab not run with apache web server + tomcat.
    It is very bad..

    Fijate que solo he estado experimentando con JSC, no he tenido oportunidad de poner nada en producci�n usando la combinaci�n Apache Web Server y Tomcat JSP container y no cuento en �ste momento con �sta configuraci�n para probar.
    Nosotros (en donde trabajo) usamos IBM Web Server (basado en Apache Web Server 2), IBM Websphere 6 y las aplicaciones JSF en producci�n est�n hechas con Rational Web Developer.
    Ahora he estado muy ocupado con un proyecto urgente, si tengo alg�n tiempo libre la semana entrante tratar� de probar tu combinaci�n (no te prometo nada) pero para ello necesito que me digas las versiones que est�s usando de Apache Web Server y de Tomcat, como est�s enlazando entre ambos con un m�dulo o con ProxyPass y mejor si me mandas el httpd.conf.
    Saludos.

  • Discussion on Apache with Apaphe Tomcat

    I am doing some research on the pros and cons of
    either using Apache with Apaphe Tomcat on a live production server
    or
    Apaphe Tomcat on its own on a live server.
    Anyone knows any urls to some documentation on the subject
    Con (Apache with Apaphe Tomcat)
    I personally feel that Apaphe Tomcat on its own is a better sollution
    because the OS will use more memory to run both application (Apache with Apaphe Tomcat) simultanuesly.

    I've heard on many occasions that Apache can serve static content (html) faster than Tomcat. So if you are not concerned with Java the you'd be better off with just Apache. Tomcats main focus is to serve dynamic Java content, it just so happens that it can serve static content as well.
    here is one link,
    http://www.theserverside.com/discussions/thread.tss?thread_id=38472

  • Jserv vs Tomcat

    We are testing iAS9 and it cames wit apache Jserv. Now apache is recomending to use tomcat instead jserv, must we chage to tomcat or continue with jserv ?
    What about oracle jvm ?
    Thanks

    Before I would remove Apache JSERV rrom any Oracle IAS version and replace it with TOMCAT or any othe rproduct. I would review the licensing documentation that came with the product.
    As i inderstand it, you will be invalidating your Oracle support agreement for that install.
    This means any issues you run into in your "modified IAS configuration" will have to be reproduced - by you - in the "IAS product's delivered modules -- as provided by Oracle" -- before Oracle Support can assist you on any bugs that need to be filed with Oracle Development.

  • UNSUPPORTED : The way it works Apache with OC4J via AJPV13 with mod_jk

    RDBMS Version: 8.1.7.x
    Operating System and Version: SUSE Linux 7.2 / Win NT/2k/XP
    Product (i.e., OAS, IAS, etc): 9ias 1.0.2.2 OC4J 9.0.2.0.0
    Product Version:
    JDK Version: 1.3.1
    Error number:
    UNSUPPORTED : The way it works Apache with OC4J via AJPV13 with mod_jk
    We dont want to use the lame and old mod_jserv so we want to use oc4j but in connection with Apache.
    This is like mod_oc4j in the Oracle 9ias Release 2
    This guide is for advanced users !
    Step-by-Step :
    1) get Tomcat 3.3 for linux or nt with Apache module mod_jk
    http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3/bin/
    2) add mod_jk module to httpd.conf (9ias) and comment all mod_jserv, dms, oproc, ojsp ....
    LoadModule jk_module libexec/mod_jk.so
    Include mod_jk.conf
    3) edit mod_jk.conf
    JkMount /*.jsp ajp13
    JkMount /servlet/* ajp13 JkMount /servlets/* ajp13
    <Location "/WEB-INF/"> AllowOverride None
    deny from all
    </Location>
    3) edit workers.properties
    workers.tomcat_home=/opt/oracle/ias/oc4j/j2ee/home
    workers.java_home=/usr/java
    worker.list=ajp13
    worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13
    4) edit http-web-site.xml (oc4j)
    <web-site host="localhost" port="8009" protocol="ajp13" display-name="Oracle9iAS Containers for J2EE HTTP Web Site">
    5) start oc4j
    java -verbose -jar oc4j.jar
    6) start apache (look in error_log)
    apachectl startssl
    7) try to request a jsp page or servlet ..
    http://localhost:7777/test.jsp
    8) good luck it works fine .. !!
    Matthias Roth
    Technical Manager
    Z|rich Investmentgesellschaft mbH
    [email protected]

    Thanks for the tip Mathias, it's always good to see people trying out experimental things with the products.
    We're providing a new module (mod_oc4j) with our Oracle9iAS Release2 product to do this directly from the Oracle HTTP Server (Apache). We've re-written bits and pieces of the module to improve it's performance. Likewise, we've also integrated mod_oc4j with our HA story so it will be notified when new OC4J instances are brought online or if existing ones go down, enabling it to actively route requests around the available OC4J instances.
    Thanks again!
    -steve0

  • Integrating Web server (eg Apache) with the application server

    I am thinking a project in which I use more static HTML files than JSPs. One way is to use an Apache server to display those HTML files (it should be faster), and deploy the JSPs into the J2EE server; another way is just simple to change the web container�s port to 80 (of the PE 8), and wrap all the files into a war file and deploy it into the application server.
    So can someone advise my which way is better? And if I use the first one, I�d like to know if it is the same way to integrate Apache with Tomcat.
    Thank you very much!

    In the past there has been a belief that the Apache web server serves static content faster than tomcat. Site managers would configure apache to deliver static content and integrate a web container to handle the dynamic content. I believe this argument is losing steam as tomcat gets better. I guess the only way you will know for sure is to deploy your application in PE 8.0 and then in an apache/web container configuration and do some benchmarking. I have no such benchmark data to compare and I base my comments on what I have read in newsgroups over the past months. Personally, I would opt for the app server only setup just to ease configuration. Others may have a different opinion.

  • Apache and Jserv issues - AppsLogin and AppsLocalLogin not working

    Hi,
    I am trying to understand the Apache and Jserv issues
    Home page - http://11i-tst-02.cisco.com:38901 - working fine
    This confirms that Apache core module is working fine. Does this confirm about the pls module also ?
    Apps local login - http://11i-tst-02.cisco.com:38901/OA_HTML/AppsLocalLogin.jsp - throwing Java Exception
    Request URI:/OA_HTML/AppsLocalLogin.jsp
    Exception:
    java.lang.NoClassDefFoundError
    at oracle.apps.fnd.sso.SSOManager.getAppsServletAgent(SSOManager.java:1727)
    at oracle.apps.fnd.sso.SSOManager.getLoginUrl(SSOManager.java:316)
    at oa_html._AppsLocalLogin._jspService(_AppsLocalLogin.java:410)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
    at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
    at oracle.jsp.JspServlet.service(JspServlet.java:148)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    at java.lang.Thread.run(Thread.java:479)
    Is it related to SSO ? Because error mentions about SSOManager
    But why does AppsLocalLogin need to go thru SSO ?
    Doesn it mean Jserv issues ? I am able to see same message logged in jvm logs ?
    Restarting Apache doesnt help
    Servlet login - http://11i-tst-02.cisco.com:38901/oa_servlets/AppsLogin - throws Internal Server Erorr
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    Apache log doesnt show any error
    Servlet test works - http://11i-tst-02.cisco.com:38901/servlets/Hello
    Example Apache JServ Servlet
    Congratulations, ApacheJServ 1.1 is working!
    OAM works - http://11i-tst-02.cisco.com:38901/servlets/weboam/oam/oamLogin - Navigating to SSO page for authentication
    AOL test works - http://11i-tst-02.cisco.com:38901/OA_HTML/jsp/fnd/aoljtest.jsp
    FND_WEB.PING works - http://11i-tst-02.cisco.com:38901/pls/QTCSTG/FND_WEB.PING
    Connection test works - http://11i-tst-02.cisco.com:38901/servlets/oracle.apps.icx.common.ConnectionTest
    So, my question is why AppsLogin and AppsLocalLogin are not working - if servlets / AOL / FND / OAM links are working
    Is there issue with Jserv ?
    Can someone please explain the significance of the above tests
    And which tests need to pass for AppsLogin and AppsLocalLogin to work
    Thanks

    Since all the tests work fine as you stated above, I suggest you do the following:
    - Rerun Autoconfig on all tiers
    - rm -rf $OA_HTML/_pages
    - Bounce Apache

  • Getting apache to talk to Tomcat

    I am trying to get apache to talk to tomcat and when I am compiling the mod_jk.so (Jakarta connectors kit) i am getting a few errors when i run make. I was hoping you can point me in the right direction to get the mod_jk.so binaries so that i can get apache to serve my JSP's. I already tried to uncomment the line in the httpd.conf to include tomcat and renamed the server.xml file. So at this point I am a little stuck.
    Here are the make errors:
    # make
    Making all in common
    make[1]: Entering directory `/usr/apache/jakarta-tomcat-connectors-jk-1.2.6-src/jk/native/common'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/apache/jakarta-tomcat-connectors-jk-1.2.6-src/jk/native/common'
    Making all in apache-2.0
    make[1]: Entering directory `/usr/apache/jakarta-tomcat-connectors-jk-1.2.6-src/jk/native/apache-2.0'
    /bin/bash /var/apache2/build/libtool silent mode=compile /opt/SUNWspro/bin/cc -I/usr/apache2/include -g -O2 -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -xO3 -xarch=v8 -xspace -W0,-Lt -W2,-Rcond_elim -Xa -xildoff -DSSL_EXPERIMENTAL -DSSL_ENGINE -DHAVE_APR -I/usr/share/src/apache2/srclib/apr/include -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -c mod_jk.c
    /var/apache2/build/libtool: line 862: /opt/SUNWspro/bin/cc: No such file or directory
    make[1]: *** [mod_jk.lo] Error 1
    make[1]: Leaving directory `/usr/apache/jakarta-tomcat-connectors-jk-1.2.6-src/jk/native/apache-2.0'
    make: *** [all-recursive] Error 1
    If i am going about this in the wrong way and this is already configured, can you tell me what you did to get it to work.
    Thanks,
    Brian

    Here is the solution:
    Use this fix to correct the build problems:
    1.http://forum.sun.com/thread.jspa?threadID=21555&messageID=67120
    2. make sure you have $JAVA_HOME in your .profile (or other login profile file)
    3. re-compile apache,
    4. install tomcat fresh with the axps switch
    5. compile and install the tomcat connectors
    6. modify your httpd.conf file, add the LoadModule lines right before section 2: (here they are)
    LoadModule jk_module libexec/mod_jk.so
    AddModule mod_jk.c
    7. right before section 3 of the httpd.conf add the JMount switches (this will serv JSP's from the website root dir)
    JkWorkersFile "/usr/local/apache/conf/workers.properties"
    JkLogFile "logs/mod_jk.log"
    JkLogLevel error
    JkMount /*.jsp default
    JkMount /examples/* default
    8. modify the server.xml file at the bottom (between the </Host> and </Engine> tag)below is the example :
    </Host>
    <Host name="www.yourdomain.com" debug="0"
    appBase="/usr/local/apache/htdocs" >
    <Context path="" docBase="" debug="0"/>
    </Host>
    </Engine>
    </Service>
    </Server>
    9. after you test it add in any custom directory configs you want. make sure that you edit the server.xml and httpd.conf to chage the documentroot of each.
    10. done

  • Apache web server/jakarta tomcat

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

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

  • Help DSCC agent not communicating with AppServer or Tomcat?!

    Installing Directory Server Enterprise Edition 6.3 From Zip Distribution on system running Solaris10 11/08.
    Cannot get DSCC to work with either AppServer or Tomcat.
    Both AppServer & Tomcat deploy DSEE WAR file and I can look at things that I have manually registered via command line. Cacao agent is running it is just not communicating with AppServer or Tomcat so it cannot commit any actions such as starting and stopping directory instances or creating new directories instances within the web app.
    Is this a bug that occurs only when doing a new install using the Zip Distribution?
    The Error message I get regardless if Appserver or Tomcat is:
    "Could not contact the DSCC agent on <server>. Use the command cacaoadm to check that the DSCC agent is installed and running on port 11169."
    I changed to port 11169 because it had a conflict on default port 11162.
    Output from cacaoadm & dsccsetup commands is follows:
    root@dsee:/ $ /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm status
    default instance is DISABLED at system startup.
    Smf monitoring process:
    8423
    8424
    Uptime: 0 day(s), 0:47
    root@dsee:/ $ /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm list-params
    snmp-adaptor-port=11161
    snmp-adaptor-trap-port=11162
    jmxmp-connector-port=11169
    commandstream-adaptor-port=11163
    rmi-registry-port=11164
    secure-webserver-port=11165
    java-flags=-Xms4M -Xmx128M -Dcom.sun.management.jmxremote -Dfile.encoding=utf-8
    java-home=/local/jre
    jdmk-home=/local/dsee6/private
    nss-lib-home=/local/dsee6/private/lib
    nss-tools-home=/local/dsee6/bin
    retries=4
    enable-instrumentation=false
    network-bind-address=0.0.0.0
    root@dsee:/ $ /local/dscc6/bin/dsccsetup status -v
    ## /local/webconsole/usr/sbin/smreg/smreg is MISSING
    ## /local/webconsole/usr/sbin/smcwebserver/smcwebserver is MISSING
    ## /local/dscc6/dccapp is present
    Sun Java (TM) Web Console is not installed
    ## /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm is present
    ## /local/dsee6/cacao_2/.configured is present
    ## /local/dscc6/lib/jar/nquickmodule.jar is present
    ## Running /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm list-modules -r
    DSCC Agent is registered in Cacao
    ## Running /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm status
    ## Running /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm list-modules
    ## Running /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm get-param network-bind-address
    ## Running /local/dsee6/cacao_2/usr/lib/cacao/bin/cacaoadm get-param jmxmp-connector-port
    Cacao uses a custom port number (11169)
    ## /local/ds6/bin/dsadm is present
    DSCC Registry has been created
    Path of DSCC registry is /local/var/dscc6/dcc/ads
    Port of DSCC registry is 3998
    Any work around or ideas on how to get DSCC working?
    Thanks!

    I started over and installed Glassfish and everything just worked. After the fact I think the real problem was related to the server.policy file. I think this was the problem because using the default appserver 8.2 that comes with Solaris has a different path and I got this same error when tried using tomcat also. When installing glassfish it uses this default path as in the server.policy example as follows so it just worked.
    Add the following lines in the {install-dir}/domains/domain1/config/server.policy file
    // Permissions for Directory Service Control Center
    grant codeBase "file:${com.sun.aas.instanceRoot}/applications/j2ee-modules/DSCC/-"
    permission java.security.AllPermission;
    Hope this helps some as I was really stuck and confused at the time and just started playing with the stuff. Growing pains. Thanks to those that replied.
    Thanks!
    Wences

  • WLS with the HttpClusterServlet or Apache with proxy plug-in?

    I'm newbie with WebLogic Server cluster.
    Please tell me which is better for load balancing for WLS cluster? WLS with the HttpClusterServlet or Apache HTTP Server Plug-In? And which is recommended for production environment?
    Many thanks.

    Apache with plug-in, as this is easier configurable.
    For the HttpClusterServlet all the configuration goes into web.xml which has to be packaged as a war file and deployed to WebLogic.
    When any change is needed you have to edit the web.xml file, package it again and redeploy it.
    An example of the Apache plug-in set-up can be found here: http://middlewaremagic.com/weblogic/?p=7795 (the load balancing section)
    Or if you want to use the Oracle Web-Tier (which includes a precompiled Apache HTTP server): http://middlewaremagic.com/weblogic/?p=7819 (the load balancer section)

  • How can I test servelt with application at Tomcat?

    how can I test servelt with application at Tomcat?

    Assuming u have coded the servlet already there are certain things u need to do for exceuting the servlet in Tomcat,
    1) Assuming u r putting the servlet inside the directory named 'Mywebapp' under webapps directory, u need to create directory named Web-inf under Mywebapp and classes under Web-inf.
    Copy web.xml file from any of the webapps (like the example webapp) into mywebapp.
    Copy any one of the sample servlet specification in the web.xml and customise for ur servelt.
    then save the web.xml file and start the Tomcat.Am assuming u have included the mywebapp entry in the server.xml file.
    then invoke the servlet like http://machinename:8080/mywebapp/servletname

Maybe you are looking for

  • How to implement logging functonolity in my java application

    Hi. I want to add logging functionality in my java project.Iam using jdk1.5.I have written following log4j.properties.This property file i need to keep it in com.format.src.property folder .All java files are there in com.format.src folder. log4j.roo

  • Compressor Job Fail Quicktime Error -120

    The program quits before it even starts compressing after I click "Submit"  There is no error message or any indication of why the attempt failed.  Except a grey message to the side that says QuickTime Error -120 I'm using the presets.  Trying to con

  • Show biggest sequence# in report builder

    Hi, I am writing a report in oracle 6i report builder and query builder. My report result is below: ITEM# DATE SEQUENCE# item1 10/19/04 12000 item1 10/19/04 12001 item1 10/19/04 12002 item2 10/19/04 11999 item3 10/19/04 11998 What I want to do is: us

  • Configuring ICSS in portal

    Hi All,    I am using the SAP-CRM 5.0 as back end and SAP-EP7.0 with it. I am trying to connect the ICSS from portal. My back-end system is already connected through system landscape. Now, I have already downloaded and imported the CRM 5.0 business p

  • Font size in hotmail and screen is really small

    Somehow I managed to decrease the screen and font in hotmail. I cannot fix it. I have it on my foxfire toolbar. Windows Live has a solution for explorer but not foxfire. The font is about 8 - barely readable. Can you please help?