Eclipse3.2+Tomcat 5.0.28(5.5.17)+lomboz-all-in-one-win32 配置(web开发)

1.系统环境配置:
Windows XP SP2
org.objectweb.lomboz-all-in-one-win32
jakarta-tomcat-5.0.28
tomcatPluginV3
jdk1.5.0_07
eclipse 3.2(我用的是英文的)
2.插件下载
Lomboz:
http://download.zh.forge.objectweb.org/lomboz/org.objectweb.lomboz-all-in-one-I-I200607231717-200607231717-win32.zip
我下载的是all-in-one版 org.objectweb.lomboz-all-in-one-win32文件
Tomcat:
http://tomcat.apache.org/download-55.cgi
我下载的是核心版(core) jakarta-tomcat-5.0.28文件
★IMPORTANT:[如果你下载的是最新版本(目前为5.5.17)的话需要用tomcatPluginV31插件]
还要到
http://www.sysdeo.com/eclipse/tomcatplugin
下载tomcatPluginV3

3.插件安装
JDK以及Eclipse的安装再这里就不细说了。
插件安装有三种方式,具体的可以见我发表在blogjava上的另外一篇名为:Eclipse使用技巧(三)Eclipse中插件的安装。这里用links方式。比较好管理。
Lomboz安装
解压org.objectweb.lomboz-all-in-one-win32文件
再把这个文件拷贝到你的eclipse目录下。
例如:
我的eclipse在E盘根目录下
E:\eclipse
在这个目录里新建一个文件夹名为links
E:\eclipse\links\
在links里新建一个文本文件名字可以任意取。在我的eclipse下命名为lomboz.start(注:文件扩展名任意)
再编辑这个文件
用记事本打开lomboz.start文件。键入path= lomboz
如果你的插件放在其他的文件目录里也可以
path=盘符:\\插件路径\\(注:这里是“ \\ ”或用“ / ”)
这样lomboz 就安装好了。

Tomcat安装
点击apache-tomcat-5.0.28安装文件,安装过程同一般的软件安装类似。在这里我采用系统默认的安装路径,在C:\Program Files\Apache Software Foundation\Tomcat 5.0 目录下。

Tomcat的安装采用普通安装的方式。
解压tomcatPluginV3.zip然后把释放出来的com.sysdeo.eclipse.tomcat_3.0.0文件夹复制到eclipse的plugins目录下,这样插件安装完毕。重新启动你的eclipse,见下图:
tomcat插件安装成功


点击小猫图标后会出现启动信息,在控制台中出现以下信息:2006-7-26 10:24:11 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2006-7-26 10:24:12 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 3406 ms
2006-7-26 10:24:12 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2006-7-26 10:24:12 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.28
2006-7-26 10:24:12 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2006-7-26 10:24:12 org.apache.catalina.core.StandardHost getDeployer
信息: Create Host deployer for direct deployment ( non-jmx )
2006-7-26 10:24:12 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
2006-7-26 10:24:15 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
2006-7-26 10:24:16 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2006-7-26 10:24:16 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2006-7-26 10:24:18 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
2006-7-26 10:24:22 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
2006-7-26 10:24:22 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
2006-7-26 10:24:23 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /tomcat-docs from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
2006-7-26 10:24:23 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /jsp-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
2006-7-26 10:24:24 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /servlets-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-examples
2006-7-26 10:24:25 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /webdav from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
2006-7-26 10:24:25 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2006-7-26 10:24:27 org.apache.jk.common.ChannelSocket init
信息: JK2: ajp13 listening on /0.0.0.0:8009
2006-7-26 10:24:27 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=15/140 config=C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\jk2.properties
2006-7-26 10:24:27 org.apache.catalina.startup.Catalina start
信息: Server startup in 15656 ms

点击带有红叉状图标后回出现如下信息:
2006-7-26 10:24:11 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2006-7-26 10:24:12 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 3406 ms
2006-7-26 10:24:12 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2006-7-26 10:24:12 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.28
2006-7-26 10:24:12 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2006-7-26 10:24:12 org.apache.catalina.core.StandardHost getDeployer
信息: Create Host deployer for direct deployment ( non-jmx )
2006-7-26 10:24:12 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
2006-7-26 10:24:15 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
2006-7-26 10:24:16 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2006-7-26 10:24:16 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2006-7-26 10:24:18 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
2006-7-26 10:24:22 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
2006-7-26 10:24:22 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
2006-7-26 10:24:23 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /tomcat-docs from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
2006-7-26 10:24:23 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /jsp-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
2006-7-26 10:24:24 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /servlets-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-examples
2006-7-26 10:24:25 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /webdav from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
2006-7-26 10:24:25 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2006-7-26 10:24:27 org.apache.jk.common.ChannelSocket init
信息: JK2: ajp13 listening on /0.0.0.0:8009
2006-7-26 10:24:27 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=15/140 config=C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\jk2.properties
2006-7-26 10:24:27 org.apache.catalina.startup.Catalina start
信息: Server startup in 15656 ms

点击重启小猫图标会出现以下信息:2006-7-26 10:24:11 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2006-7-26 10:24:12 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 3406 ms
2006-7-26 10:24:12 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2006-7-26 10:24:12 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.28
2006-7-26 10:24:12 org.apache.catalina.core.StandardHost start
信息: XML validation disabled
2006-7-26 10:24:12 org.apache.catalina.core.StandardHost getDeployer
信息: Create Host deployer for direct deployment ( non-jmx )
2006-7-26 10:24:12 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
2006-7-26 10:24:15 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
2006-7-26 10:24:16 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
2006-7-26 10:24:16 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
2006-7-26 10:24:18 org.apache.struts.util.PropertyMessageResources <init>
信息: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
2006-7-26 10:24:22 org.apache.catalina.core.StandardHostDeployer install
信息: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
2006-7-26 10:24:22 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
2006-7-26 10:24:23 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /tomcat-docs from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
2006-7-26 10:24:23 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /jsp-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
2006-7-26 10:24:24 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /servlets-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-examples
2006-7-26 10:24:25 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /webdav from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
2006-7-26 10:24:25 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2006-7-26 10:24:27 org.apache.jk.common.ChannelSocket init
信息: JK2: ajp13 listening on /0.0.0.0:8009
2006-7-26 10:24:27 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=15/140 config=C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\jk2.properties
2006-7-26 10:24:27 org.apache.catalina.startup.Catalina start
信息: Server startup in 15656 ms


说明tomcat配置成功了~!

4.配置Eclipse
Windows -> preferences……

点击“Add”
当然我的eclipse已经添加完毕。然后点击ok就可以了。
再配置tomcat,Advanced配置
这里要选择tomcat版本号还有安装路径。然后点apply就可以了,Advanced配置结束。

JVM Settings配置
选择好版本号。就可以了。然后再点击apply。

Server配置,打开installed runtime节点,
最后点击finish,
出现下图画面
然后点ok,确定。
具体图见下面:

你可能感兴趣的:(apache,eclipse,tomcat,Web,配置管理)