• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Getting 404 error on startup

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I installed bundled software having NetBeans IDE 5.5, JBoss Server and Tomcat Server 5.5.17. My Tomcat is listening at the port 8090. No other server is listening to that port except Tomcat. Now my problem here is , I started tomcat from NetBeans IDE, and in the browse URL location I entered "http://localhost:8090/ , this is giving me 404 error. I remember it working fine few days before. But suddently this problem started . Also I observed following log in NetBeans IDE

Using CATALINA_BASE: C:\Users\db2admin\.netbeans\5.5\apache-tomcat-5.5.17_base
Using CATALINA_HOME: C:\Program Files\netbeans-5.5\enterprise3\apache-tomcat-5.5.17
Using CATALINA_TMPDIR: C:\Users\db2admin\.netbeans\5.5\apache-tomcat-5.5.17_base\temp
Using JRE_HOME: C:\Sun\SDK\jdk
Jun 29, 2007 7:47:06 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Sun\SDK\jdk\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\QuickTime\QTSystem\;C:\Sun\SDK\bin;;C:\Users\db2admin\AppData\Local\Temp\java_ee_sdk-5_02-windows.exe2\package;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\SUN\SDK\BIN;C:\SUN\SDK\JDK\BIN;;C:\SUN\SDK\BIN;C:\SUN\SDK\JDK\BIN;
Jun 29, 2007 7:47:06 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8090
Jun 29, 2007 7:47:06 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 582 ms
Jun 29, 2007 7:47:06 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 29, 2007 7:47:06 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Jun 29, 2007 7:47:06 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jun 29, 2007 7:47:07 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8090
Jun 29, 2007 7:47:07 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jun 29, 2007 7:47:07 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/23 config=null
Jun 29, 2007 7:47:07 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Jun 29, 2007 7:47:07 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1471 ms

From the Infor about Server Startup, shall I assume that server hasn't started yet. If so, what is work a round for this? Please help me in fixing this problem. Thanks in advance.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your Tomcat server has started normally according to those messages, so that isn't the problem.

Do you have a web application deployed? Did something change in the deployment configuration?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jesper,

I didn't touch any of the files after installing tomcat. This message is getting displayed after starting Tomcat and giving http://localhost:8090/ in the browser. I'm not sure what went wrong here.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also,

When I tried to shut down the Tomcat, it messaged me "Failed shutdown of Apache Portable Runtime". Is there anything wrong with my server.
 
Jesper de Jong
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as I know, Apache Portable Runtime is an optional native library that you can install for better scalability and performance (I've never used it myself). Tomcat also works without it, so it shouldn't be a problem if you don't have it installed.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jasper,

Thanks for the information. However I may not need it now, as my tomcat is working fine. There could be some installation problems.
 
I'm just a poor boy, I need no sympathy, because I'm easy come, easy go, little high, little low, little ad
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic