Problem running Tomcat server

Specifications :
Tomcat server : 5.5
OS : windows XP
Installed - configured - started service.
Port set to 8443 in server.xml file as 80 and 8080 is engaged.
Icon at the tool bar says the server is started.
Opened browser, http://localhost:8443
Message :
HTTP Status 404 - /
type Status report
message /
description The requested resource (/) is not available.
Apache Tomcat/5.5.4
Log file stdout.log says :
Dec 14, 2004 2:47:49 PM org.apache.catalina.startup.ContextConfig processDefaultWebConfig
SEVERE: Occurred at line 319 column 23
Dec 14, 2004 2:47:49 PM org.apache.catalina.startup.ContextConfig start
SEVERE: Marking this application unavailable due to previous error(s)
Dec 14, 2004 2:47:49 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Dec 14, 2004 2:47:49 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Dec 14, 2004 2:47:49 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
Dec 14, 2004 2:47:49 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Dec 14, 2004 2:47:49 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47 config=null
Dec 14, 2004 2:47:49 PM org.apache
INFO: Server startup in 2203 ms
Please let me know where is the problem ??
Thanks. Lax.

Tomcat is telling you there is no context configured to be available from "/". Normally, this would be the default tomcat ROOT webapplication but you somehow managed to remove it (this is not a problem really, in a production environment you don't want it). If you want a context to be available on '/', you need to mount one there. So either install a webapp in the webapps/ROOT folder, or set one manually to '/' in the server.xml file. Check the tomcat docs on how to do this. Here is an example:
<Host name="localhost">
        <Context path="/" docBase="/usr/local/mywebapp" privileged="true" debug="0">
           <Resources className="org.apache.naming.resources.FileDirContext" allowLinking="true" docBase="" />
          </Context>
</Host>
Good luck!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Re: Using already running Tomcat server for development.

    Hi Nick,
    Yes, you can use existing Tomcat Server for debugging app developed with
    NitroX. And you can refer to Help > Help Contents > NitroX User Guide >
    NitroX Tour > Running and debugging the application.
    We do support Tomcat 4.0.x to Tomcat 5.0.x. If you need any further
    assistance please get back to us.
    Thanks
    M7 Support
    "Nick Mulder" <[email protected]> wrote in message
    news:41d9f379$[email protected]..
    Sorry if this has been covered anywhere else.Just wondering if you can use an existing tomcat server for debugging
    webapps being developed in NitroX. I have a non dedicated server a
    development server. Up until purchasing NitroX I have been using ant build
    files to compile and re-deploy my apps into the running tomcat server.
    Just wondering if I can do something similar thru NitroX and Eclipse.
    Forgive me if I am missing something obvious, but I am new to eclipse.
    Thanks,
    Nick Mulder

    Take a look at these links: http://plato.acadiau.ca/courses/comp/dsilver/2513/EclipseAndTomcatTutorial/
    http://www.keyboardsamurais.de/2004/01/15/tomcat_tutorial_helloworld_for_complete_fools_-_english/
    http://www-128.ibm.com/developerworks/opensource/library/os-ectom/?ca=dgr-lnxw16EclipsTomcat
    I've found going through tutorials is a proven, quick way of getting up to speed with new tools and configurations.
    HTH,
    James

  • Using already running Tomcat server for development.

    Sorry if this has been covered anywhere else.
    Just wondering if you can use an existing tomcat server for debugging
    webapps being developed in NitroX. I have a non dedicated server a
    development server. Up until purchasing NitroX I have been using ant build
    files to compile and re-deploy my apps into the running tomcat server. Just
    wondering if I can do something similar thru NitroX and Eclipse. Forgive me
    if I am missing something obvious, but I am new to eclipse.
    Thanks,
    Nick Mulder

    Take a look at these links: http://plato.acadiau.ca/courses/comp/dsilver/2513/EclipseAndTomcatTutorial/
    http://www.keyboardsamurais.de/2004/01/15/tomcat_tutorial_helloworld_for_complete_fools_-_english/
    http://www-128.ibm.com/developerworks/opensource/library/os-ectom/?ca=dgr-lnxw16EclipsTomcat
    I've found going through tutorials is a proven, quick way of getting up to speed with new tools and configurations.
    HTH,
    James

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

  • Running Tomcat server in Debug mode?

    Hi..
    I am using Eclipse IDE to develop a Portal project.. I am also using Tomcat server for the same without using the default servers provided by eclipse..
    My question is how do I run the Tomcat server in the "debug" mode?
    Please help me..

    Take a look at these links: http://plato.acadiau.ca/courses/comp/dsilver/2513/EclipseAndTomcatTutorial/
    http://www.keyboardsamurais.de/2004/01/15/tomcat_tutorial_helloworld_for_complete_fools_-_english/
    http://www-128.ibm.com/developerworks/opensource/library/os-ectom/?ca=dgr-lnxw16EclipsTomcat
    I've found going through tutorials is a proven, quick way of getting up to speed with new tools and configurations.
    HTH,
    James

  • Problem with Tomcat server

    Hi,
    I'm just writing to inform you about a problem with the Oracle 9i database I found out.
    I have downloaded and installed the release 2 enterprise/standard/personal edition for Windows NT/2000/XP.
    After doing that I could not start my Tomcat server any more. Although I have tested the situation with many different releases of the Apache Tomcat server it did not work.
    Then I've deleted the Oracle database and just installed the client release. And now it works!
    I'd be grateful if one of you could tell me what's the problem and how I can solve it.
    Thanks for your help.
    Best regards,
    Steffi

    the localhost.log file shows
    02-Jun-2008 13:57:36 org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    02-Jun-2008 13:57:36 org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    02-Jun-2008 13:58:23 org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextDestroyed()
    02-Jun-2008 13:58:23 org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextDestroyed()
    and the catalina.log file shows..
    02-Jun-2008 13:58:24 org.apache.coyote.http11.Http11Protocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8080
    i couldnot understand anything..how to rectify that..
    thanks in advance

  • Problems running tomcat on win XP

    Hi!
    I've just downloaded and installed the JWSDP on Windows XP Professional, but when I try to use Tomcat it starts but then terminates instantly. Can anyone help me with this?
    thanks, Ylva

    Are you sure its terminating? You will not get an open window when you run tomcat, just a minimised toolbar window.
    If it is definitely terminating, have a look at the log file to see what error (if any) is produced - JWSDP_HOME\logs\catalina.out
    Also make sure that you are not running any other application which might be using port 8080.
    //Daniel.

  • Problems with Tomcat Server : Does not respond (Sometimes) - Plz Need Help

    I have a web application running on Tomcat 4.1.31. (SUN/Solaris)
    Clients access through iPlanet Web Proxy (SUN/Solaris).
    Theres a class that build a generic form (it return html codes) then it's affected in the JSP page :
    MyClass class = new MyClass();
    <%= class.getHtmlCode() %>
    the size of the form is variable (100Ko to 1,5Mo)
    When i m using the proxy, sometimes the server does not respond when he do the affectation <%= class.getHtmlCode() %>.
    If i call the page without proxy it work.
    The problem seem not depending of the size of the form. Without proxy it always work. And with proxy sometimes the server does not work.
    Please need help

    Originally Posted by scum
    Hey All,
    Need some help with ZDM7 PXE preboot services.
    Currently running a netware 6.5 server in VLAN1
    PXE client sitting in VLAN2.
    DHCP Server is running on VLAN3
    IPHelper is running
    DTS.ini, PDHCP.ini and TFTP.ini are unmodified.
    I have had networks put an IPHelper in place and my client successfully picks up an IP address. The screen displays the "BOOT SERVER IP" correctly and the clients IP details are correct.
    I watch the top of the screen where the Timeout counts down and eventually gives this error.
    "Error: The server did not respond as requested in time
    ZENworks shutting down...
    Press any key to continue..."
    This happens on every machine i have tested. If i hold down the Ctrl+Alt keys, then the imaging menu appears, i can select maintenance and the client will pull down the initrd, etc.. fine.
    if i disable the IPHelper, move the client to the same VLAN as the server, then the whole process works perfectly.
    not sure where to go from here.
    help please ;)
    leon
    Hi Leon,
    If you are getting the ZENworks menu when holding down the Ctrl-Alt keys, PXE/PDHCP seems to be doing the right thing. Routing issues also don't seem the case as you can pull down the first PXE boot files....
    The server running PXE, I assume it also runs the TFTP and Imaging services?
    These services are also running a recent version of Zen 7 (IR3/IR4)? A little more info on these components and what server they are on would be good :)
    Cheers,
    Willem

  • How to solve Ajax problem in Tomcat server

    we are using Tomcat 5.0.27 server and my sql server. we using AJAX Techniques in my projects. but its some times working fine but sometimes not working the code sample is given by
    var req;
    var names;
    function initRequest(url) {
    if (window.XMLHttpRequest)
         req = new XMLHttpRequest();
    else if (window.ActiveXObject)
    isIE = true;
    req = new ActiveXObject("Microsoft.XMLHTTP");
    if (req==null)
              alert("Your browser does not support XMLHTTP.")
    function loadPurchase(startLetter)
         var mon=document.getElementById('month').value;
    var yea=document.getElementById('year').value;
    var url = "../inventory?actionS=INVPurchase&month="+escape(mon)+"&year="+escape(yea)+"&id="+escape(startLetter);;
         initRequest(url);
         req.onreadystatechange = PurchaseRequest;
         req.open("GET", url, true);
         req.send(null);
    function PurchaseRequest() {
              0 (Uninitialized) The object has been created, but not initialized (the open method has not been called).
              1 (Open) The object has been created, but the send method has not been called.
              2 (Sent) The send method has been called, but the status and headers are not yet available.
              3 (Receiving) Some data has been received.
              4 (Loaded) All the data has been received, and is available
    alert(re.readyState)
         if(req.readyState == 4)
    alert("Inside Ready State");
    document.getElementById('Edit').disabled=true;
    document.getElementById('Delete').disabled=true;
    if (req.status == 200)
    PurchaseMessages();
         else
              alert("Problem retrieving XML data")
    function PurchaseMessages()
    var batchs = req.responseXML.getElementsByTagName("purchases")[0];
    var str="";
    for(loop = 0; loop < batchs.childNodes.length; loop++)
    var batch = batchs.childNodes[loop];
    var Refid = batch.getElementsByTagName("Refid")[0];
    str = str +Refid .childNodes[0].nodeValue;
    var tb=document.getElementById('PurchaseTable');
    tb.innerHTML=str ;
    the alert coding( req.readyState) is always 1
    how to solve for that
    please any one help me

    Sorry, I've never done this. I went to the Tomcat site and pulled down the CGI docs, which you might have seen:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html
    No other help available from me. Sorry.

  • Problem running tomcat on solaris 10

    Hi,
    I installed tomcat 5.5.25 on Sun Solaris 10. I didn't get any errors. Nothing in tomcat log.
    When i type localhost:8080 in the address bar of firefox i got error
    "Unable to Connect"
    Firefox can't establish a connection to a server at localhost:8080
    Please help

    I tried this command
    netstat -a | grep 8080
    I didn't get any results.
    I am not sure if tomcat is running.
    I run the following command
    #sh startup.sh
    and get this results
    Using CATALINA_BASE: /usr/apache-tomcat5.5.25
    Using CATALINA_HOME: /usr/apache-tomcat5.5.25
    Using CATALINA_TMPDIR /usr/apache-tomcat5.5.25/temp
    Using JRE_HOME: /usr/jdk/j2sdk1.4.2_13
    Any idea what i am doing wrong

  • Problem running DAC Server as Service on Windows

    I have used JavaService to setup the DAC server as a service on my Windows 2003 server. It seems to install and then start fine. The DAC client sees the server as running. But as soon as I try to execute an ETL the run fails immediately with " Unable to ping :'srn_integration_service', that being the name of my Informatica server as defined. I can then shutdown the service, start the server using the BAT file and the ETL runs as expected. I am creating the JavaService command line with the following BAT file which uses the same configuration as the startserver BAT file:
    cd C:\OracleBi\DAC\bifoundation\dac
    call config.bat
    javaservice -install "DAC Server Service" "%JAVA_HOME%\jre\bin\client\jvm.dll" -Xms256m -Xmx1024m "-Djava.class.path=%DACCLASSPATH%" "-Duser.dir=%DAC_HOME%" -start com.siebel.etl.net.QServer -current "C:\OracleBI\DAC\bifoundation\dac" -description "Oracle BI DAC Server Service"
    The DAC version from the console is "Dac Build AN 10.1.3.4.1.20090415.0146, Build date: April 15 2009"
    I know people are doing this successfully so I am probably overlooking something simple (I'm a DAC novice.) Any ideas?

    I create the service with this command:
    javaservice -install "Oracle BI: DAC Service" "C:\Java\jdk1.5.0_18\jre\bin\client\jvm.dll" -Xms256m -Xmx1024m "-Djava.class.path=C:\OracleBI\DAC\lib\ojdbc14.jar;C:\OracleBI\DAC\DAWSystem.jar;C:\OracleBI\;C:\OracleBI\DAC\lib\ant-1.6.5.jar;C:\OracleBI\DAC\lib\antlr-2.7.6.jar;C:\OracleBI\DAC\lib\ant-antlr-1.6.5.jar;C:\OracleBI\DAC\lib\asm.jar;C:\OracleBI\DAC\lib\asm-attrs.jar;c3p0-0.9.0.jar;C:\OracleBI\DAC\lib\cglib-2.1.3.jar;C:\OracleBI\DAC\lib\checkstyle-all.jar;C:\OracleBI\DAC\lib\cleanimports;C:\OracleBI\DAC\lib\concurrent-1.3.2.jar;C:\OracleBI\DAC\lib\connector.jar;C:\OracleBI\DAC\lib\dom4j-1.6.1.jar;C:\OracleBI\DAC\lib\ehcache-1.2.3.jar;C:\OracleBI\DAC\lib\hibernate3.jar;C:\OracleBI\DAC\lib\jaas.jar;C:\OracleBI\DAC\lib\jacc-1_0-fr.jar;C:\OracleBI\DAC\lib\javassist.jar;C:\OracleBI\DAC\lib\jaxen-1.1-beta-7.jar;C:\OracleBI\DAC\lib\jboss-cache.jar;C:\OracleBI\DAC\lib\jboss-common.jar;C:\OracleBI\DAC\lib\jboss-jmx.jar;C:\OracleBI\DAC\lib\jboss-system.jar;C:\OracleBI\DAC\lib\jdbc2_0-stdext.jar;C:\OracleBI\DAC\lib\jgroups-2.2.8.jar;C:\OracleBI\DAC\lib\jta.jar;C:\OracleBI\DAC\lib\junit-3.8.1.jar;C:\OracleBI\DAC\lib\log4j-1.2.11.jar;C:\OracleBI\DAC\lib\proxool-0.8.3.jar;C:\OracleBI\DAC\lib\versioncheck.jar;C:\OracleBI\DAC\lib\xerces-2.6.2.jar;C:\OracleBI\DAC\lib\xml-apis.jar;C:\OracleBI\DAC\lib\jsr173_api.jar;C:\OracleBI\DAC\lib\sjsxp.jar" "-Duser.dir=C:\OracleBI\DAC" -start com.siebel.etl.net.QServer -description "Oracle BI DAC Server Service"
    The only issue that I've encountered with this DAC Service is that Email Notification doesn't work.
    Best regards

  • Problem in installation tomcat server 4.1

    Hi everybody,
    I am not sure if i have entered the correct forum for highlighting problems of Tomcat server 4.1, but anyway I need an answer.
    My system is running on win 98.
    I downloaded the zip version from apache.org and created the java_home and catalina_home path in the autoexec.bat.
    When I am running the startup.bat file, it gives me some output in one window like :
         using catalina_base=d:\apache\tomcat
         using catalina_home=d:\apache\tomcat
         using catalina_tmpdir=d:\apache\tomcat\temp
         using java_home=c:\jdk1.2
    The name of this window is Finished-startup.
    After running this bat another window gets fired, with the heading as java, and this window vanishes immediately. I need some ideas as to what should be done.
    Just to remind, I have jdk1.2 on my system. Do I have to upgrade to jdk 1.4. Does Tomcat 4.1 need the latest version of jdk.
    Thanks n regards,
    Sajiv, Chennai, India.

    hi,
    set java_home to java_home=c:\jdk1.2\ .I had this problem with windows XP, the window loads and vanishes. the '\' has set my problem. you can try.
    anu

  • Plz help me in running of server!!

    Whenever i try to run tomcat server for the implementation of servlets it doesnot start. I have set the JAVA_HOME and TOMCAT_HOME path truely.
    i am using win2000 prof. the following message appears on the dos prompt when i execute it.
    D:\jakarta-tomcat-3.2.3\bin>tomcat start
    Including all jars in d:\jakarta-tomcat-3.2.3\lib in your CLASSPATH.
    Using CLASSPATH:
    d:\jakarta-tomcat-3.2.3\classes;d:\jakarta-tomcat-3.2.3\lib\jaxp.jar;d:\jakarta-tom
    cat-3.2.3\lib\servlet.jar;d:\jakarta-tomcat-3.2.3\lib\ant.jar;d:\jakarta-tomcat-3.2.3\lib\parser.j
    ar
    ;d:\jakarta-tomcat-3.2.3\lib\webserver.jar;d:\jakarta-tomcat-3.2.3\lib\jasper.jar;d:\javalanguag
    e\jd
    k1.3\\lib\tools.jar
    Starting Tomcat in new window
    D:\jakarta-tomcat-3.2.3\bin>
    plz help me
    fahad ahmed

    Hi There,
    I have faced the same problem, but later latered the the Settings, and got my Tomcat Running, give a try like the following:
    Set TOMCAT_HOME="C:\Program Files\Apache Tomcat 4.0";
    set CLASSPATH="C:\Program Files\Apache Tomcat 4.0\common\lib\servlet.jar";
    After that RESTART the System. Then go to Start-Run--trace the path to "..\Apache Tomcat 4.0\bin\startup.bat" and then press ENTER. Hope this will solve ur Problem.
    Enjoy,
    SNG.

  • How can I debug a tomcat server from JSC (ea2)

    I am attempting to use JSC (ea2) for my development but cannot get the enviroment right in SunAppServer8 for some "custom JNDI resources". Is there anyway I can get JSC to connect to a (running) tomcat server for debugging?

    Hi,
    Please post messages related to Creator 2 EA at the feedbacks programs portal. The URL is:
    https://feedbackprograms.sun.com/login.html
    Thanks,
    RK.

  • Problem with running Tomcat 5 server in Eclipse ?

    Dear all ,
    Please help me. I wrote two JSP 's with Eclipse . I have configured JDK 1.5_7 and Tomcat 5.0
    But the server is not running . I tried the way shown in http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html
    Error Failue at junitTrace. Is that i have to create a .war file to deploy the jsp ?
    Best Regards
    Taton

    I have downloaded Eclipse 3.2 . Windows-> Preferences
    jre and server has been set . I have C:\jre1.5.0_07 and C:\Tomcat 5.0 .
    Once it gave output when i ran a siple servlet but now it is giving a typical problem. The server is starting but the output is
    http://localhost:8080/MyNew/
    Directory Listing For /
    Filename Size Last Modified
    Apache Tomcat/5.0.27
    MyNew is the name of the Dynamic Web Project.
    I have a file named Hi.java which is the servlet. It is taking upto MyNew but not deploying Hi . Can you tell me why ? It deployed it once.
    Please help me.
    Best Regards
    Taton

Maybe you are looking for

  • Error In Import MIRO Cancellation

    Dear All, I am facing error while doing Import MIRO in MR8M. Balace not equal to zero : debit......Credit .... Pls guide me for the above issue. Regards Gitesh

  • Satellite P750/02Q - Should I underclock GPU?

    I've started using betas as others have said on this forum. I've found that the laptop seems to run hotter. On idle web browsing all temps are in mid 40s and can get up to mid 50s if I play a 3D video. I don't game that much. I've never received a bl

  • DAMConverter error when using ImageMagick

    Hi I have followed the How to (metalink: 735906.1) which describes how to configure the Inbound Refinery/DAMConverter to use ImageMagick to create image renditions instead of Image Alchemy. Have followed instructions exactly. When I try check an imag

  • Question. Camera Raw 6.1

    Having problems with the adjustment brush in 6.1 it just doesnt seem to respond at all all the other functions seem to work and have tried reloading the june 2010 version and it still does not work, not sure if this problem started after I put the ne

  • Adobe Save For Web Error???

    i have a core2duo, xp sp3 running 8GB of ram 3.5GB as my main memory, 4.5GB as my virtual memory. setup by Gavotte Ramdisk. and my photoshop cs3 scratch disk is set to a 500GB drive with more 300GB of free space. and i let photoshop cs3 uses upto 100