2013年9月20日星期五

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 welcome screen
------ Solution ------------------------ --------------------

there java.exe on the line. . I was wrong more than one x. . .
------ Solution ---------------------------------------- ----
1. pages What tips ? 1 ) Can not find server ; 2 ) 404 ; 3 ) 500 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 unzip tomcat ; can not automatically configure the environment variables , you need to manually configure , or need tomcat root directory / bin / startup.bat to launch will be able to visit.
------ Solution ---------------------------------------- ----
the last few days I have encountered in project development in this case , the port is configured correctly , can open the project but can not open the Tomcat home page. This is the MyEclipse I changed my Tomcat configuration file. I recommend the free installation with the landlord , to delete the re- copy a ~ ~ ~ I was solved , looking for a long time do not know what the problem
------ For reference only ---- -----------------------------------
is not a project is not added to the configuration window that tomcat servers Lane ?
------ For reference only -------------------------------------- -
port is not occupied under the root index.jsp also
------ For reference only ---------- -----------------------------
beginning configure tomcat are unable to visit the Welcome screen No where in myeclipse configuration
------ For reference only ------------------------------ ---------
add http://127.0.0.1:8080 can not access
------ For reference only ------- --------------------------------
port right ah ~ ~ ~
----- - For reference only ---------------------------------------
port no problem ; have not been 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 below is not a javax.exe. .
If you can not find the problem . . Here it is to see if there webapps ROOT project . . . Must have the 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. What is the reason for this ?
------ For reference only -------------------------------------- -
my classmates also the emergence of this problem, he re- installed a myeclipse8.5 and tomcat Jiuhaola
------ For reference only ----- ----------------------------------
I also use the installation version of the tried, or not.
------ For reference only -------------------------------------- -
the ClassPath set .; C: \ Java \ jdk1.6.0_21 \ lib
behind the jar is not needed
------ For reference only ---------------------------- -----------
classmates computers can I use my own computer , but I can not this what causes it
------ For reference only ---- -----------------------------------
what prompts appear if it is the case then there is no error page 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 My problem seems to be the school's Internet client issues do not know the conflict ?
------ For reference only -------------------------------------- -
I have listening ports netstat-an 8080 had not been occupied
------ For reference only -------------- -------------------------
constantly start and stop services , 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 , the novice a

没有评论:

发表评论