以下是网上的:
1、已经安装了lomboz3.0.1插件
2、在插件目录:eclipse\plugins\com.objectlearn.jdt.j2ee_3.0.1\servers
需要添加一个文件jboss325.server,内容为:
<serverDefinition
name="JBOSS 3.2.5"
ejbModules="true"
webModules="true"
earModules="true">
<property id="serverRootDirectory"
label="Application Server Directory:"
type="directory"
default="F:/jboss-3.2.5" />
<property id="serverAddress"
label="Address:"
type="string"
default="127.0.0.1" />
<property id="serverPort"
label="Port:"
type="string"
default="8080" />
<property id="serverConfig"
label="Server Configuration (minimal/default/all):"
type="string"
default="default" />
<property id="classPathVariableName"
label="Classpath Variable Name:"
type="string"
default="JBOSS325" />
<property id="classPath"
label="Classpath Variable:"
type="directory"
default="F:/jboss-3.2.5" />
<serverHome>$</serverHome>
<webModulesDeployDirectory>$/server/$/deploy</webModulesDeployDirectory>
<ejbModulesDeployDirectory>$/server/$/deploy</ejbModulesDeployDirectory>
<earModulesDeployDirectory>$/server/$/deploy</earModulesDeployDirectory>
<jndiInitialContextFactory>org.jnp.interfaces.NamingContextFactory</jndiInitialContextFactory>
<jndiProviderUrl>jnp://$:1099</jndiProviderUrl>
<startClass>org.jboss.Main</startClass>
<startWorkingDirectory>$/bin</startWorkingDirectory>
<startVmParameters></startVmParameters>
<startProgramArguments>-c $</startProgramArguments>
<stopClass>org.jboss.Shutdown</stopClass>
<stopWorkingDirectory>$/bin</stopWorkingDirectory>
<stopVmParameters></stopVmParameters>
<stopProgramArguments>-S</stopProgramArguments>
<serverClassPath>
<jar type="variable">JDK_TOOLS</jar>
<jar type="variable">$/bin/run.jar</jar>
<jar type="variable">$/bin/shutdown.jar</jar>
<jar type="variable">$/client/jboss-j2ee.jar</jar>
<jar type="variable">$/lib/concurrent.jar</jar>
<jar type="variable">$/lib/jboss-system.jar</jar>
<jar type="variable">$/lib/dom4j.jar</jar>
<jar type="variable">$/lib/xercesImpl.jar</jar>
<jar type="variable">$/lib/xml-apis.jar</jar>
<jar type="variable">$/lib/gnu-regexp.jar</jar>
<jar type="variable">$/lib/getopt.jar</jar>
<jar type="variable">$/server/$/deploy/jbossweb-tomcat50.sar/servlet-api.jar</jar>
<jar type="variable">$/server/$/lib/bcel.jar</jar>
<jar type="variable">$/server/$/lib/jboss.jar</jar>
<jar type="variable">$/server/$/lib/jboss-transaction.jar</jar>
<jar type="variable">$/server/$/lib/jnpserver.jar</jar>
<jar type="variable">$/server/$/lib/jpl-pattern.jar</jar>
<jar type="variable">$/server/$/lib/jpl-util.jar</jar>
</serverClassPath>
<clientClassPath>
<jar type="variable">$/client/jboss-j2ee.jar</jar>






