Configure jboss3.2.5 under Eclipse3.0

xiaoxiao2021-03-06  99

1. Lomboz3.0.1 plugin 2 has been installed, in the plug-in directory: eclipse / plugins / com.objectlearn.jdt.j2ee_3.0.1 / servers Need to add a file jboss325.server, the content is: $ {serverRootDirectory} $ {serverRootDirectory} / server / $ {serverConfig} / deploy $ {serverRootDirectory} / server / $ {serverConfig} / dep loy $ {serverRootDirectory} / server / $ {serverConfig} / deploy org.jnp.interfaces.NamingContextFactory jnp: // $ {serverAddress} : 1099 <

/jndiProviderUrl>org.jboss.Main${serverRootDirectory}/bin-c $ {serverConfig} org.jboss.Shutdown $ {serverRootDirectory} / bin -S JDK_Tools $ {classpathvariablename} /bin/run.jar $ {classpathvariablename} /bin/shutdown.jar < JAR TYPE = "Variable"> $ {classpathvariablename} /client/jboss-j2ee.jar $ {classpathvariablename} /lib/concurrent.jar $ {classpathvariablename} /lib/dom4j.jar $ {classpathvariablename} /lib/xerceptimpl.jar $ {classpathvaria Blename} /lib/xml-apis.jar $ {classpathvariablename} /lib/gnu-regEXP.jar $ {classpathvariablename} /LIB/getopt.jar (/ja>)> $ {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 (/jater)> $ {classpathvariablename} / server / $ {serverconfig} /lib/jpl-pattern.jar $ {classPathVariableName} / server / $ {serverConfig} /lib/jpl-util.jar $ {classPathVariableName} /client/jboss-j2ee.jar < / jar> $ {classpathvariablename} /client/jboss-client.jar $ {classpathvariablename} /client/jboss-commonam-client.jar < / jar> $ {classpathvariablename} /client/jboss-jaas.jar $ {classpathvariablename} /client/jbosssx-client.jar $ {classpathvariablename} / client / j Net.jar $ {classpathvariablename} /client/jnp-client.jar $ {classpathvariablename} /client/log4j.jar < / jar> $ {classpathvariablename} /server/default/lib/jnpserver.jar jdk_tools < Jar type = "variable">

$ {classpathvariablename} /bin/run.jar $ {classpathvariablename} / bin/shutdown.jar $ {classpathvariablename} / client /jboss-j2ee.jar (/ja>)> $ {classpathvariablename} /lib/concurient.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 < Deploy /> > 3eclipse Using the menu: Window-> preferences.

2. Increase a classpath variables, method is java-> build path-> ClassPath variables. Add a JDK_Tools variable, directory points to% java_home% // lib / Tools.jar2.2, set the server. The method is Lomboz-> Server Definitions, selecting Jobss 3.2.5 on the right Server Types. Choose the correct Application Server Directory and ClassPath Variable for the JBoss installation directory. Test: Generate a Lomboz J2EE Project to generate a web module, there will be an index.jsp. Right-click Web Module, you can deploy module.

转载请注明原文地址:https://www.9cbs.com/read-104165.html

New Post(0)