2014年1月2日星期四

tomcat starts normally but can not access http://localhost:8080

tomcat -extracting version of the configuration information
CATALINA_HOME C: \ apache-tomcat-6.0.33
JAVA_HOME C: \ Java \ jdk1.6.0_21
PATH C: \ Java \ jdk1.6.0_21 \ bin
CLASSPATH; C:. \ Java \ jdk1.6.0_21 \ lib \ dt.jar; C: \ Java \ jdk1.6.0_21 \ lib \ tools.jar

tomcat startup information
2011-12-2 19:28:06 org.apache.catalina.core.AprLifecycleListener init
Information : The APR based Apache Tomcat Native library which allows optimal performanc
e in production environments was not found on the java.library.path: C: \ Java \ jdk
1.6.0_21 \ 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 \ Thun
der Network \ KanKan \ Codecs; C: \ Java \ jdk1.6.0_21 \ bin
2011-12-2 19:28:06 org.apache.coyote.http11.Http11Protocol init
Information : Initializing Coyote HTTP/1.1 on http-8080
2011-12-2 19:28:06 org.apache.catalina.startup.Catalina load
Information : Initialization processed in 409 ms
2011-12-2 19:28:07 org.apache.catalina.core.StandardService start
Information : Starting service Catalina
2011-12-2 19:28:07 org.apache.catalina.core.StandardEngine start
Information : Starting Servlet Engine: Apache Tomcat/6.0.33
2011-12-2 19:28:07 org.apache.catalina.startup.HostConfig deployDescriptor
Information : Deploying configuration descriptor host-manager.xml
2011-12-2 19:28:07 org.apache.catalina.startup.HostConfig deployDescriptor
Information : Deploying configuration descriptor manager.xml
2011-12-2 19:28:07 org.apache.catalina.startup.HostConfig deployDirectory
Information : Deploying web application directory docs
2011-12-2 19:28:07 org.apache.catalina.startup.HostConfig deployDirectory
Information : Deploying web application directory examples
2011-12-2 19:28:07 org.apache.catalina.startup.HostConfig deployDirectory
Information : Deploying web application directory ROOT
2011-12-2 19:28:07 org.apache.coyote.http11.Http11Protocol start
Information : Starting Coyote HTTP/1.1 on http-8080
2011-12-2 19:28:07 org.apache.jk.common.ChannelSocket init
Information : JK: ajp13 listening on / 0.0.0.0:8009
2011-12-2 19:28:07 org.apache.jk.server.JkMain start
Information : Jk running ID = 0 time = 0/16 config = null
2011-12-2 19:28:07 org.apache.catalina.startup.Catalina start
Information : Server startup in 400 ms



http://localhost:8080 not display the welcome screen
------ Solution ------------------------ --------------------

have java.exe on the line. . I say one more x. . .
------ Solution ---------------------------------------- ----
1. what prompts on the page ? 1 ) Can not find server ; 2 ) 404 ; 3 ) 500 of which
2 if 1.1 is knocking on the wrong address and port ;. 2.2 uri wrong, it may be project issues ; 3 ) abnormal program
------ Solution ------- -------------------------------------
win7 version of decompression tomcat ; does not automatically configure the environment variables , you need to manually configure , or need in the root directory of tomcat / bin / startup.bat to start some can access.
------ Solution ---------------------------------------- ----
the last few days I have encountered in the development of this project , the port is configured correctly, but can not open the Tomcat open the project 's home page. This is my MyEclipse changed my Tomcat configuration file. I recommend using the free installation of the landlord to put on the re- copy a deleted ~ ~ ~ This is how I solved a long time looking for do not know what the problem
------ For reference only ---- -----------------------------------
is not a project is not added to the servers in the configuration window tomcat Lane ?
------ For reference only -------------------------------------- -
index.jsp root port is not being used is also under
------ For reference only ---------- -----------------------------
beginning configure tomcat not have access to the Welcome screen No configuration
------ For reference only in myeclipse where ------------------------------ ---------
to add http://127.0.0.1:8080 can not access
------ For reference only ------- --------------------------------
port right ah ~ ~ ~
----- - For reference only ---------------------------------------
port no problem ; was not occupied
------ For reference only ------------------------------ ---------


------ For reference only ---------------------- -----------------
see you tomcat no error. . If the environment variable is changed after , then look at C: \ Java \ jdk1.6.0_21 \ bin Here is not a javax.exe. .
If you can not find the problem. . Here it is to see if there webapps ROOT project . . . Must have this project. . . .
------ For reference only -------------------------------------- -
environment variable with the wrong
------ For reference only ----------------------------- ----------

my c: Java \ jdk1.6.0_21 \ bin under no javax.exe, but there java.exe. Is this the cause?
------ For reference only -------------------------------------- -
my classmates also appeared in this issue, he re- installed a myeclipse8.5 and tomcat Jiuhaola
------ For reference only ----- ----------------------------------
I also tried to use the installation version , or not .
------ For reference only -------------------------------------- -
the ClassPath set ; C: \ Java \ jdk1.6.0_21 \ lib.
behind the jar is not needed
------ For reference only ---------------------------- -----------
I use my students my own computer , but the computer can not this what causes it
------ For reference only ---- -----------------------------------
what will prompt an error if a page is not the case then there may be a problem restart the browser and then see if you can open
------ For reference only -------------- -------------------------
there is no prompt 404
------ For reference only ------ ---------------------------------
I reinstall the system after it
--- --- For reference only ---------------------------------------
appears this the problem seems to be a problem at my school Internet clients do not know if the conflict ?
------ For reference only -------------------------------------- -
I have listening ports netstat-an 8080 had not been occupied
------ For reference only -------------- -------------------------
constantly start and shut down the service , tried several times to enough
------ For reference only ---------------------------------------
click startup.bat open Do tomcat server after the black box off, turn off the server are disconnected , novice一枚
------ For reference only ---------------- -----------------------
webapps look below there ROOT project , localhost: 8080 is
into this folder - ---- For reference only ---------------------------------------
< br />
positive solutions give you praise

没有评论:

发表评论