Download Tomcat 5

I'm new to JSP/Servlet. I would like to know which Tomcat 5 with the extension "exe" and "zip". Which one i should download and what is the different?

no difference...just that the zip one is in zip format...I believe there is a difference.
The ZIP file will extract all the Tomcat files to your hard drive.
The EXE fill will do that AND install Tomcat to run as a service on your machine.

Similar Messages

  • Can I use a a downloaded version of tomcat?

    I had the latest Tomcat release 4.1.29 installed. Can I use it instead of the bundled Tomcat?
    If so, can someone tell me what I did wrong when I run "ant install" and got the following Tomcat error?
    Nov 6, 2003 12:01:35 PM org.apache.commons.digester.Digester error
    SEVERE: Parse Error at line 2 column 219: Document root element "web-app", must
    match DOCTYPE root "null".
    org.xml.sax.SAXParseException: Document root element "web-app", must match DOCTY
    PE root "null".
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
    known Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.rootElementSpecified(Unkno
    wn Source)
    at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown
    Source)
    Any help is greatly appreciated!
    yml

    Hi yml,
    Although you can download Tomcat yourself, it is recommended to use the Tomcat bundled with JWSDP 1.3 for developing/deploying your webapps. This particular version of Tomcat has been tested on multiple platforms and it will help us answer your questions better :-)
    Regards,
    -Arun

  • NetBeans 5.0 and Tomcat 4.1

    Hello,
    I'm using NetBeans 5.0 and I have been using the Bundled Tomcat version 5.5.9 for my servlet container and everything's been great. Now that I'm ready to push my application up to a web host, I found that my host (lunarpages) runs with Tomcat 4.1 which uses version 2.3 of the servlet container. Tomcat 5.5 uses servlet container 2.4.
    So I downloaded Tomcat 4.1 (which has 2.3) and I don't know how to properly tell Netbeans to use it. When I open Server Manager and select 'Add Server', I can't just tell NetBeans to point to my Tomcat 4.1 directory. It wants me to select from a dropdown list of servers and Tomcat 4.1 isn't in the list.
    I tried to fake NetBeans out by selecting the 'Tomcat 5' server and pointing to my Tomcat 4.1 directory but I'm getting the following message when I try to run:
    FAIL - Unknown command /deploy
    C:\workspace\myApp\nbproject\build-impl.xml:425: Deployment error:
    Can anyone point me in the right direction on how to get Tomcat 4.1 running with NetBeans 5.0?
    Thanks,
    Eric

    I found that my host (lunarpages) runs with Tomcat 4.1 which uses version 2.3 of the servlet containerPlease read the post before answering, the reasoning is crystal clear.
    I don't have a concrete answer to this problem, but I do have a suggestion.
    1) You can add your own tomcat server to netbeans. Under the runtime tab you will find servers, if you right click this you can add a server. Use this to manually configure your own server
    2) as for the servlet spec problem, when creating a web project setting the java EE version to 1.3 might solve the problem... I can't tell this for sure because I've never done it.

  • How to upgrade Tomcat from 5.5 to 6.0 on BusinessObjects XI 3.1 SP5

    Hi,
    I have recently installed BOE Enterprise XI 3.1 SP5 on SLES11.
    Tomcat 5.5 has been installed as part of the Installation.
    JVM 1.5 was also installed.
    Now since Tomcat 5 is in End of Life support, hence it has been marked as a security risk by the scans performed.
    I need to upgrade Tomcat from 5.5 to 6.0.
    I am looking for relevant documentation as I couldn't find any official guide for it.
    Can someone help me out here with the official documentation on tomcat upgrade.
    Regards,
    Puneet

    Dear Puneet,
    Here are the steps to upgrade from Tomcatxx to Tomcat yy:
    The below steps are for upgrading default 5.5.20 tomcat to a higher
    incremental release of tomcat.
    This method is not intended in an upgrade from default 5.5.20 to a major
    release version such as tomcat 6 or 7.
    Stop the Tomcat
    Run the script ./tomcatshutdown.sh in bobje directory.
    Rename bobje/Tomcat to tomcat_bak.Command: mv bobje/Tomcat
    tomcat_bak
    Download tomcat 5.5.xx core tgz file from Apache website to bobje/tomcat and
    extract using the command: tar -xvf tgz filename
    Create new folder apache-tomcat-5.5.xx.Command:mkdir apache-tomcat-5.5.xx
    Rename folder apache-tomcat-5.5.xx to Tomcat55 using the move command
    Go to the deployment directory which is one level above bobje.
    Run the script ./wdeploy.sh tomcat55 deployall
    Message:"Build Successful"
    Run the script ./tomcatstartup.sh to start the Tomcat.
    https://support.wdf.sap.corp/sap/support/notes/1635287
    Best regards,
    Saloua

  • Need Help with Tomcat setup

    I downloaded tomcat 4.1 and extracted it to my harddrive, but when i try to start up the tomcat server i get the following error.
    C:\Program Files\apache-tomcat-4.1.34\bin>startup
    JAVA_HOME\bin\java.exe is missing
    The JAVA_HOME environment variable may not be defined correctly
    This environment variable is needed to run this program
    NB: JAVA_HOME should point to a JDK not a JRE
    Using CATALINA_BASE: ..
    Using CATALINA_HOME: ..
    Using CATALINA_TMPDIR: ..\temp
    Using JAVA_HOME: C:\Program Files\Java\jdk1.5.0_09;
    The system cannot find the file -Dsun.io.useCanonCaches=false.
    C:\Program Files\apache-tomcat-4.1.34\bin>
    What do I need to do to fix this?
    ClassPath: C:\Program Files\Java\jdk1.5.0_09\bin
    JAVA_HOME: C:\Program Files\Java\jdk1.5.0_09;
    Any ideas are greatly appreciated.

    Your JAVA_HOME variable does seem to be pointing to the right place.
    It shouldn't have that semicolon on the end of it though. Maybe get rid of that?
    The other question I would have about it is that there is a space in the variable, which might confuse matters.
    Maybe try using the "shortname" for Program Files.
    You can do a "dir /x c:\P*" to find out what it is.
    Try setting the JAVA_HOME to c:\progra~1\java\jdk1.5.0_09
    Also note that Tomcat4 is a couple of versions old now.
    I would recommend Tomcat5.5 with Java1.5
    Hope this helps,
    evnafets

  • TomCat Server 5.0

    dear friends,
    i am very new to java technology. now i downloaded j2ee in windows but it is not working. some people told me to install tomcat server as webserver. so plz tell me how can i download tomcat server. plz tell me in deatail the process. becoz i find the links of tomcat server at apace.jakarta.com but when i goto to download it shows so many tar . and then i confused. so plz tell me in deatil how to install tomcat server and then how can i starrt my j2ee

    don't begin with J2EE if you're new to Java.
    I know it's all the hype but it's not a beginner's technology.
    Start with the J2SE and the tutorials about that (check the sidebar on the main page for those), and once you're comfortable with the language THEN you can try J2EE and will have less problems understanding what you need and why.

  • Can someone help me get TomCat working and...

    I downloaded Tomcat, initially so that I could have the servlett packages.
    When I try to compile I am still getting the error package.javax.servlet does not exist?
    In addition when I try to startup TomCat I get
    The JAVA_HOME environment variable is not defined correctly
    This environment variable is needed to run this program
    Using CATALINA_BASE: C:\jakarta-tomcat-4.1.18
    Using CATALINA_HOME: C:\jakarta-tomcat-4.1.18
    Using CATALINA_TMPDIR: C:\jakarta-tomcat-4.1.18\temp
    Using JAVA_HOME: C:\jdk1.3.1_04\bin
    The system cannot find the file -Djava.endorsed.dirs=.
    Can someone help me get past this please.

    When I try to compile I am still getting the error
    package.javax.servlet does not exist?Have you included %CATALINA_HOME%\common\lib\servlet.jar in your classpath? Since servlet class files are not intergrated with the jdk, you must explicitly include them in your classpath to use them.
    In addition when I try to startup TomCat I get
    The JAVA_HOME environment variable is not defined
    correctly
    Using JAVA_HOME: C:\jdk1.3.1_04\binTry setting JAVA_HOME=c:\jdk1.3.1_04
    Hope that helps.

  • Verify Tomcat signature

    Has anyone tried downloading Tomcat's binaries lately? There are instructions on the site to "verify the integrity of the downloaded files using signatures downloaded from our main distribution directories". How do we do this? I know nothing about PGP.
    http://jakarta.apache.org/site/binindex.cgi
    Thanks,
    Jim

    Not exactly sure since I have never done it myself but from what I can tell you'll need to download and install a PGP application.
    Here is a link that talks about verifing signatures for files they may send. Not apache stuff but should work the same way:
    http://www.cert.org/archive/pdf/PGPsigs_paper2.pdf

  • Still problem in TOMCAT(server.xml)

    hiiiiiii
    I tried all suggestion......At end, now when I execute %startTomcat% from DOS prompt......DOS windows opens and closes...... Somebody told me that it was error in my server.xml file in conf......
    PLZ tell me how alter this file or add new stuff.....

    Hi Amar,
    It was me who suggested the following steps
    Follow these steps:
    Download Java SDK 1.3 or 1.4
    Download tomcat 4.x or 5.x
    set the following variables from dos prompt
    set JAVA_HOME = path to your java sdk folder
    set CATALINA_HOME = path to tomcat folder
    set startTomcat = %CATALINA_HOME%\bin\startup
    set stopTomcat =%CATALINA_HOME%\bin\shutdown
    now at dos prompt
    type %startTomcat% , it should opena nother window which displays the status of tomcat server.
    In the browser type http://localhost:8080/ (for tomcat 4.x) or http://localhost:8084 (for tomcat5.x) it should open up the index page of the server.
    at your post http://forum.java.sun.com/thread.jsp?forum=33&thread=542123
    First I suggest thta you donot repost same question, it wont help and next be clear what is the problem if possible post the error that might to provide you the solution.

  • How to use Tomcat

    Hello friends
    I want to use some functions which are in Java Servlet Specification 2.3.
    I found that I have to use Tomcat for this. Any one who know about it please help, to find where I will get Its setup and required information to run the servlet in this tomcat.
    with thanks
    Vishwajeet

    Hi,
    1. go to: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2/bin/
    Download tomcat
    Ex: jakarta-tomcat-4.0.2.zip (Win)
    2. unzip it and put some where, you can rename the dir to C:\tomcat
    3. set the path to CATALINA_HOME tomcat:
    CATALINA_HOME=c:\tomcat
    4. run tomcat:
    %CATALINA_HOME%\bin\startup (Win)
    $CATALINA_HOME/bin/startup.sh (Unix)
    5. go to http://localhost:8080/ on your browser
    ...Enjoy
    Hill

  • Tomcat connection refused from localhost

    I have Tomcat 5.5.7 installed as a stand-alone server on my local machine. I have installed Java jre 1.5.0 (5.0). The OS is Windows 2000 SP3. The install went without incident. I set system variables JAVA_HOME, CATALINA_HOME, TOMCAT_HOME.
    When I try to access anything using tomcat, I get "The connection was refused when contacting ......" I've used ...
    http://localhost
    http://localhost :8080
    http://127.0.0.1
    http://127.0.0.1:8080
    ...and a number of variations to get at the webapps area. All give exactly the same response.
    I can ping myself, but when I run Steve Gibson's IS Serve, it tells me the port is closed.
    I think I have server.xml set up correctly. Any ideas. Any help will be appreciated. Thanks.
    - Ed Lipchus

    did you try installing tomcat as a windows service
    download tomcat.exe and double click and follow instructions

  • 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

  • Cant run servlet in tomcat

    Hi
    i have jakarta-tomcat-5.0.25 and i am unable to run a servlet...however, i am able to run the servlets (in IE) that were given as examples when i downloaded tomcat. I have copy and pasted the compiled .class file of my program in the : C:\jakarta-tomcat-5.0.25\jakarta-tomcat-5.0.25\webapps\servlets-examples\WEB-INF\classes : folder (where all the examples are). When i use this url : http://localhost:8080/servlets-examples/servlet/HelloWorldExample : it works but when i replace 'HelloWorldExample' in that url and put my programs name...it gives me some HTTP 404 STATUS. my program is right where the helloworldexample is ..so i have no idea why it wont run it..
    any help?

    You need to put your java class in a package.
    As of J2SE1.4 classes in the "unnamed" package (ie with no package) aren't accessible.
      package myPackage;
      public class HelloWorldExample {
    and it should appear in the directory /web-inf/classes/myPackage/HelloWorldExample.class
    Access it with: http://localhost:8080/servlets-examples/servlet/myPackage.HelloWorldExample
    If that doesn't work try adding this to your web.xml file
    <servlet>
    <servlet-name>HelloWorld</servlet-name>
    <servlet-class>myPackage.HelloWorldExample</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloWorld</servlet-name>
    <url-pattern>/HelloWorld</url-pattern>
    </servlet-mapping>
    and access it with http://localhost:8080/servlets-examples/HelloWorld
    Hope this helps,
    evnafets

  • Help! -why can't start Tomcat --Installation problem??

    I downloaded Tomcat 5.0.30.exe and installed Tomcat 5 and JDK 5 on my local computer (I also have IIS installed, and Java App Server (from J2EE); yes I have plenty of space lol);
    I did this in the command line:
    Set JAVA_HOME=C:\jdk1.5_03; and I also added this env variable to my user & system Path variables in System Properties dialogue (just to exclude this problem).
    and I remember during the Tomcat.exe installation, the JVM was already correctly set to C:\Program Files\Java\jre1.5_03\bin\client\jvm.dll (I also tried set JVM to C:\jdk1.5_03\jre\bin\server\jvm.dll and it did not seem to make any difference)
    I am still not able to startup the service (don't see my admin page even though the system tray says the Tomcat is running).
    Does any of the above setup seem wrong? I'm a novice in Java/JSP and just want to try developing some web service in Java/JSP instead of ASP or .NET.
    I'd appreciate all your advice and help!!
    Thanks in advance!!

    When I say "Startup" in the command, the original command window displays Using CATALINA_HOME: C:\apache\tomcat5, so I guess it was correctly set already ...?
    By default, it is using 8080 port... If I have my IIS running, would that have conflict? IIS runs on 80. I don't think I've anything running on 8080.
    localhost_admin_log has the following everytime I try to see admin page in my web browser:--------------------------------------------------------------
    2005-05-05 10:06:06 ApplicationDispatcher[admin] Servlet.service() for servlet admin.login_jsp threw exception
    javax.servlet.jsp.JspException: Cannot find message resources under key org.apache.struts.action.MESSAGE
         at org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1233)
         at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1082)
         at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:226)
         at admin.login_jsp._jspx_meth_bean_message_0(login_jsp.java:131)
         at admin.login_jsp._jspService(login_jsp.java:78)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:696)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:220)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    The above also appears in the Tomcat cmd prompt window if I use startup in the cmd window.
    The stdout and stderr logs has nothing.
    The jakarta_service log has the following:-----------------------------------------------------------
    [2005-05-05 10:03:46] [info] Service Tomcat5 name Apache Tomcat
    [2005-05-05 10:03:46] [420 service.c] [error] The specified service already exists.
    [2005-05-05 10:03:46] [538 prunsrv.c] [error] Failed installing Tomcat5 service
    [2005-05-05 10:03:47] [info] Procrun finished.
    [2005-05-05 10:04:48] [info] Updating service...
    [2005-05-05 10:04:48] [info] Service Tomcat5 updated
    [2005-05-05 10:04:48] [info] Update service finished.
    [2005-05-05 10:04:48] [info] Procrun finished.
    [2005-05-05 10:04:49] [info] Updating service...
    [2005-05-05 10:04:49] [info] Service Tomcat5 updated
    [2005-05-05 10:04:49] [info] Update service finished.
    [2005-05-05 10:04:49] [info] Procrun finished.
    Thanks a lot for your advice and help!!!

  • How to install Tomcat 5.5.9 in Solaris 9

    Hi guys,
    I ran into problem when installing Tomcat 5.5.9 in Solaris 9. I downloaded tomcat from windows xp machine then ftp to Sun Solaris. I use winrar in Windows to check if the downloaded tomcat5 is corrupted, but it's not. I tried the following command:
    gunzip jakarta-tomcat-5.5.9.tar.gz
    then a new file generated called jakarta-tomcat-5.5.9.tar
    tar xvf jakarta-tomcat-5.5.9.tar
    when uncompressing half way, i got the following error message:
    tar: directory checksum error
    Please help, Thanks in advance !
    regards,
    Mark

    sorry guys, the system is:
    SunOS devserver 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-250
    64-bit sparcv9 applications
    32-bit sparc applications

Maybe you are looking for

  • Document ordering in attachment tab

    Hi all, I am a bit confused about the ordering of document in attachment tab of livecycle. My customers ask for a chronological order of document when they add attachment from the workflow. I think the easiest way to do is use a list of document, and

  • How can I get the disk information in Solaris 9

    I am new to Solairs9. I use the format utility to list my partitions, but there are many unassigned partitions. I pasted the format response below: # format AVAILABLE DISK SELECTIONS: 0. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci@8,600000/SUN

  • About HR-ABAP Sample program.

    Hi, I am new to SAP.I wanna know about basics about HR-ABAP can any one help me to get very basic ideas in HR-ABAP. Thanks, Sakthi.

  • Creating new categories values in Answers (Presentation). How?

    I tried to create three different groups of objects according to their values, in Answers on BI 10 What I did was adding a new column and writing inside something like this: CASE WHEN Value."Value" >= 100000 THEN 'FirstGroup' WHEN Value."Value" betwe

  • Launch the individual SCOs in a new window

    hi guys, Testing out C4 and loving it, especially the aggregator function. I have combined 3 SCOs as one elearning course and successfully uploaded it to the LMS. When I clicked on the SCO, it opened in the same frame as the LMS screen. Can i get it