请教:Eclpse3.2.2中tomcat配置问题..
请教:Eclpse3.2.2中tomcat配置问题..
Eclipse3.2.2+Tomcat5.5.17+Lomboz3.2.2
配置完后,在Eclipse中可以启动Tomcat但是在浏览器里打开http://localhost:8080却打不开:
HTTP Status 404 - /
--------------------------------------------
type Status report
message /
description The requested resource (/) is not available.
--------------------------------------------
Apache Tomcat/5.5.17
打开Tomcat下面其它的Webapps也同样是相应的resorce(/......)is not available.
但如果在Eclipse外面启动Tomcat后,一刷新就可见到熟悉的老虎页面的。
Eclipse里面Tomcat的启动结果如下:
2007-6-17 12:16:10 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7\Projects\Bpl\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Java\jdk1.5.0_06\bin
2007-6-17 12:16:12 org.apache.coyote.http11.Http11BaseProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2007-6-17 12:16:12 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 4736 ms
2007-6-17 12:16:13 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2007-6-17 12:16:13 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.5.17
2007-6-17 12:16:13 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2007-6-17 12:16:15 org.apache.coyote.http11.Http11BaseProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2007-6-17 12:16:15 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2007-6-17 12:16:15 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/70 config=null
2007-6-17 12:16:15 org.apache.catalina.storeconfig.StoreLoader load
信息: Find registry server-registry.xml at classpath resource
2007-6-17 12:16:16 org.apache.catalina.startup.Catalina start
信息: Server startup in 3786 ms
谢谢指点!!
[解决办法]
个人建议用tomcatPluginV32beta3_zh_CN插件 貌似我用到现在都还没出问题
要的话发邮件给我,jicheng1014#gmail.com #换成@
[解决办法]
myeclipse 中 tomcat很好用,配置也很简单哦
[解决办法]
2007-6-17 12:16:10 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_06\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7\Projects\Bpl\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\Java\jdk1.5.0_06\bin
俺启动时没该提示。
在eclipse里边选择了正确的tomcat home,然后配置JRE就ok了啊,我就这样弄的。
[解决办法]
还有人用Lomboz?
[解决办法]
Lomboz通常是虚拟出一个新的工作目录,与tomcat安装目录不同,所以在lomboz中启动调试可以看做是在新装的一个TOMCAT,另外在TOMCAT中调试时,要打开测试页必须在项目的目录中,比如你的项目是testA,那个调试时可以看http://localhost:8080/testA/看到首页。建议楼主先在相关的jsp或者网站根目录上点右键,Debug As > Debug on Server,可以在eclipse内部打开浏览器调试窗口,此时可以观察到地址栏的url地址。