日期:2014-05-18  浏览次数:20713 次

Eclipse中启动TOMCAT出错
Eclipse   3.2
TomcatPluginv321
OS:Windows   Vista
Tomcat:6.0.10
在Eclipse3.2启动TOMCAT,发现http://localhost:8080是空白页,但是如果在CMD环境下启动startup.bat确正常。请问如何解决?
启动信息如下:
2007-5-27   11:04:40   org.apache.catalina.core.AprLifecycleListener   init
信息:   The   Apache   Tomcat   Native   library   which   allows   optimal   performance   in   production   environments   was   not   found   on   the   java.library.path:   C:\Program   Files\Java\jdk1.6.0\jre\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\ruby\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program   Files\IDM   Computer   Solutions\UltraEdit-32;C:\Program   Files\Common   Files\Adobe\AGL;C:\Program   Files\Microsoft   SQL   Server\80\Tools\Binn\;C:\Program   Files\Microsoft   SQL   Server\90\DTS\Binn\;C:\Program   Files\Microsoft   SQL   Server\90\Tools\binn\;C:\Program   Files\Microsoft   SQL   Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program   Files\Microsoft   Visual   Studio   8\Common7\IDE\PrivateAssemblies\
2007-5-27   11:04:40   org.apache.coyote.http11.Http11Protocol   init
信息:   Initializing   Coyote   HTTP/1.1   on   http-8080
2007-5-27   11:04:40   org.apache.catalina.startup.Catalina   load
信息:   Initialization   processed   in   799   ms
2007-5-27   11:04:40   org.apache.catalina.users.MemoryUserDatabase   save
警告:   User   database   is   not   persistable   -   no   write   permissions   on   directory
2007-5-27   11:04:40   org.apache.catalina.core.StandardService   start
信息:   Starting   service   Catalina
2007-5-27   11:04:40   org.apache.catalina.core.StandardEngine   start
信息:   Starting   Servlet   Engine:   Apache   Tomcat/6.0.10
2007-5-27   11:04:40   org.apache.catalina.startup.ContextConfig   defaultWebConfig
信息:   No   default   web.xml
2007-5-27   11:04:40   org.apache.coyote.http11.Http11Protocol   start
信息:   Starting   Coyote   HTTP/1.1   on   http-8080
2007-5-27   11:04:40   org.apache.jk.common.ChannelSocket   init
信息:   JK:   ajp13   listening   on   /0.0.0.0:8009
2007-5-27   11:04:40   org.apache.jk.server.JkMain   start
信息:   Jk   running   ID=0   time=0/47     config=null
2007-5-27   11:04:40   org.apache.catalina.startup.Catalina   start
信息:   Server   startup   in   437   ms

------解决方案--------------------
C:\Program Files\Java\jdk1.6.0\bin
环境变量应该是这样吧,没用过jdk6
------解决方案--------------------
不是的,是我自己搞错了。我把TOMCATBASE设置成 %TomcatHome%\bin了。
------解决方案--------------------
呵呵,恭喜楼主搞定这个问题了
------解决方案--------------------
恭喜
------解决方案--------------------
up
------解决方案--------------------
恭喜

------解决方案--------------------
TomcatPluginv321
eclispe3.2中你用这个这个插件干嘛?
------解决方案--------------------