Hi all,
I have a windows 7 (professional edition) machine, where I installed apache-tomcat-6.0.33, together with jre-7-windows-x64. The installation runs without problem, I am able to find the apache icon at the inferior right corner, but when I go to
http://localhost:8080 I get the bad request error.
I have tried giving administrator privileges to both: Tomcat6w and Tomcat6 files in the tomcat6 bin folder (right click, compatibility). I have tried to start the
tomcat from the command prompt using "net start tomcat6" and it says that it was started successfully, but I get the bad request error in
http://localhost:8080. I double checked the port through the server.xml file where i find the line "Connector port="8080" redirectPort="8443" connectionTimeout="20000" protocol="HTTP/1.1"/".
If I start and then stop the service (manually from command prompt) I get this log file:
2011-10-12 15:05:03 Commons Daemon procrun stderr initialized
Oct 12, 2011 3:05:03 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\MATLAB\R2011a\bin;;.
Oct 12, 2011 3:05:03 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 12, 2011 3:05:03 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 452 ms
Oct 12, 2011 3:05:03 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 12, 2011 3:05:03 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.33
Oct 12, 2011 3:05:03 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Oct 12, 2011 3:05:04 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Oct 12, 2011 3:05:04 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Oct 12, 2011 3:05:04 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 12, 2011 3:05:04 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 12, 2011 3:05:04 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
Oct 12, 2011 3:05:04 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 335 ms
Oct 12, 2011 3:05:37 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Oct 12, 2011 3:05:38 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Oct 12, 2011 3:05:38 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
But I do not see any error in there.
I should mention that I tried installing apache-tomcat-7.0.22 and I got the same thing, I tried installing jdk-7-windows-x64 and I got the same thing. I granted access to the file Tomcat6w in firewall and I got same thing. I added the variable and the path %JAVA_HOME% to the environment variables, but nothing. Additionally, I should mention that I am trying to access the
http://localhost:8080 from both IE and Chrome. In IE I get the bad request error, but in Chrome I get a blank page that only says "fail".
I am running out of ideas. Does any one have a suggestion ?
Thanks,
Boris