Today I have been overlined on the network for a long time, I finally found under Eclipse 3.0.1, using Lomboz 3.0.1, connect Tomcat 5.0.27 and JBoss 3.2.5.
Suppose these softwares have been installed (such as Lomboz's JDK Tools.jar basic settings have been set), the operating system is Windows:
Eclipse 3.0 and Lomboz 3.0.1 are installed under C: Eclipse
Tomcat 5.0.27 installed under C: Tomcat
JBoss 3.2.5 installed under C: JBoss-3.2.5
1. Close Eclipse;
2. Copy the two files tomcat50x.server and jboss325.server to the c: eclipsepluginscom.ObjectLearn.jdt.j2ee_3.0.1servers directory;
3. Restart Eclpise;
4. WINDOW -> Preferencees under the server Type of Lomboz -> Server Definitions should be able to see JBoss 3.2.5 and apache tomcat v5.0.x;
5. Check if there is an error under Server ClassPath under JBoss 3.2.5. If you have, click the Apply button, you should have already gone.
This allows Tomcat 5.0.27 and JBoss 3.2.5 in the Eclipse IDE environment, which is developed, especially if JSTL 1.1 is used.
A file Tomcat50x.server
Name = "apache tomcat v5.0.x" ejbmodules = "true" WebModules = "true" earmodules = "false">
Label = "Application Server Directory:" TYPE = "Directory" default = "c: / tomcat" />
Label = "Address:" Type = "string" default = "127.0.0.1" />
Label = "Port:" Type = "string" default = "8180" />
Label = "classpath variable name:" Type = "string" default = "tomcat_home" />
Label = "classpath variable:" Type = "Directory" default = "c: / tomcat" />
$ {serverrootdirectory}
$ {ServerRootDirectory} / webapps
NotSupported
NotSupported
NotSupported
NotSupported
Org.apache.catalina.startup.bootstrap
$ {ServerRootDirectory} / bin
-DJAVA_HOME = "$ {jrePath}" -Dcatalina.base = "$ {serverRootDirectory}" -Dcatalina.home = "$ {serverRootDirectory}" -Djava.io.tmpdir = "$ {serverRootDirectory} / temp" -Djava.endorsed .dirs = "$ {serverrootdirectory} / commit / endorsed" start
Org.apache.catalina.startup.bootstrap
$ {ServerRootDirectory} / bin
-DJAVA_HOME = "$ {jrePath}" -Dcatalina.base = "$ {serverRootDirectory}" -Dcatalina.home = "$ {serverRootDirectory}" -Djava.io.tmpdir = "$ {serverRootDirectory} / temp" -Djava.endorsed .dirs = "$ {serverrootdirectory} / common / endorsed"
STOP
JDK_TOOLS
$ {classpathvariablename} /bin/bootstrap.jar
JDK_TOOLS
$ {classpathvariablename} /bin/bootstrap.jar
$ {classpathvariablename} /common/lib/servlet-api.jar
$ {classpathvariablename} /common/lib/jsp-api.jar
Another file jboss325.server
Name = "jboss 3.2.5" ejbmodules = "true" WebModules = "true" earmodules = "true">
Label = "Application Server Directory:" Type = "Directory" default = "c: /jboss-3.2.5" />
Label = "Address:" Type = "string" default = "127.0.0.1" />
Label = "Port:" Type = "string" default = "8080" />
Label = "Server Configuration (minimal / default / all):" TYPE = "string" default = "default" />
Label = "classpath variable name:" Type = "string" default = "jboss325" />
Label = "classpath variable:" Type = "Directory" default = "c: /jboss-3.2.5" />
$ {serverrootdirectory}
$ {ServerRootDirectory} / server / $ {serverconfig} / deploy
$ {ServerRootDirectory} / server / $ {serverconfig} / deploy $ {serverrootdirectory} / server / $ {serverconfig} / deploy
Org.jnp.interfaces.namingContextFactory
JNP: // $ {serveraddress}: 1099
Org.jboss.main
$ {ServerRootDirectory} / bin
-c $ {serverconfig}
Org.jboss.shutdown
$ {ServerRootDirectory} / bin
-S
JDK_TOOLS
$ {classpathvariablename} /bin/run.jar
$ {classpathvariablename} /bin/shutdown.jar
$ {classpathvariablename} /client/jboss-j2ee.jar
$ {classpathvariablename} /lib/concurrent.jar
$ {classpathvariablename} /lib/jboss-system.jar
$ {classpathvariablename} /lib/dom4j.jar
$ {classpathvariablename} /lib/xercesimpl.jar
$ {classpathvariablename} /lib/xml-apis.jar
$ {classpathvariablename} /lib/gnu-regExp.jar
$ {classpathvariablename} /lib/getopt.jar
$ {classpathvariablename} / server / $ {serverconfig} /deploy/jbossweb-tomcat50.sar/servlet-api.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/bcel.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/jboss.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/jboss-transaction.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/jnpserver.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/jpl-pattern.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/jpl-util.jar
$ {classpathvariablename} /client/jboss-j2ee.jar
$ {classpathvariablename} /client/jboss-client.jar
$ {classpathvariablename} /client/jboss-common-client.jar
$ {classpathvariablename} /client/jboss-jaas.jar
$ {classpathvariablename} /client/jbossx-client.jar
$ {classpathvariablename} /client/jnet.jar
$ {classpathvariablename} /client/jnp-client.jar
$ {classpathvariablename} /client/log4j.jar
$ {classpathvariablename} /server/default/lib/jnpserver.jar
JDK_TOOLS
$ {classpathvariablename} /bin/run.jar
$ {classpathvariablename} /bin/shutdown.jar $ {classpathvariablename} /client/jboss-j2ee.jar
$ {classpathvariablename} /lib/concurrent.jar
$ {classpathvariablename} /lib/jboss-system.jar
$ {classpathvariablename} / server / $ {serverconfig} /deploy/jbossweb-tomcat50.sar/servlet-api.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/bcel.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/jboss.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/jboss-transaction.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/jnpserver.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/jpl-pattern.jar
$ {classpathvariablename} / server / $ {serverconfig} /lib/jpl-util.jar