Configuring JBoss 4.0.1 in Lomboz

Source: Internet
Author: User
Tags variable client jboss
This article is for Eclipse fast-start EJB-1. Lomboz + jboss-ide Configuration 1 is a supplement to the article. In that article, jboss400.server This configuration is for JBoss 4.0.0, and if you are using JBoss 4.0.1, you need to use the following configuration file:
Jboss401.server





<serverdefinition name= "JBOSS 4.0.1" ejbmodules= "true" webmodules= "true" earmodules= "true" ><property id= " Serverrootdirectory "label=" Application Server directory: "type= directory" default= "i:/software/jboss-4.0.1"/> <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=" JBOSS4.0.1 "/><property id=" ClassPath "label=" ClassPath Variable: "Type=" Directory "default=" i:/software/jboss-4.0.1 "/><serverhome>${serverrootdirectory}</serverhome> <webmodulesdeploydirectory>${serverrootdirectory}/server/${serverconfig}/deploy</ webmodulesdeploydirectory><ejbmodulesdeploydirectory>${serverrootdirectory}/server/${serverconfig}/ Deploy</ejbmodulesdeploydirectory><earmodulesdeploydirectory>${serverrootdirectory}/server/${serverconfig}/deploy</ earmodulesdeploydirectory><jndiinitialcontextfactory>org.jnp.interfaces.namingcontextfactory</ jndiinitialcontextfactory><jndiproviderurl>jnp://${serveraddress}:1099</jndiproviderurl>< startclass>org.jboss.main</startclass><startworkingdirectory>${serverrootdirectory}/bin</ startworkingdirectory><startvmparameters>-dprogram.name=run.bat-djava.endorsed.dirs=${ serverrootdirectory}/bin/.. /lib/endorsed-xms128m-xmx512m</startvmparameters><startprogramarguments>-c ${serverConfig}</ startprogramarguments><stopclass>org.jboss.shutdown</stopclass><stopworkingdirectory>${ SERVERROOTDIRECTORY}/BIN&LT;/STOPWORKINGDIRECTORY&GT;&LT;STOPVMPARAMETERS&GT;-CP ${classPathVariableName}/bin/ shutdown.jar-djboss.boot.loader.name=shutdown.bat</stopvmparameters><stopprogramarguments>-s</ StopprogramaRguments><serverclasspath><jar type= "variable" >jdk_tools</jar><jar type= "variable" >${ Classpathvariablename}/bin/run.jar</jar></serverclasspath><clientclasspath><jar type= " Variable ">${classpathvariablename}/client/jboss-j2ee.jar</jar><jar type=" variable ">${ Classpathvariablename}/client/jnp-client.jar</jar><jar type= "Variable" >${classpathvariablename}/ Client/jbossall-client.jar</jar><jar type= "Variable" >${classpathvariablename}/client/ Jboss-common-client.jar</jar><jar type= "Variable" >${classpathvariablename}/client/ Jbosssx-client.jar</jar><jar type= "Variable" >${classPathVariableName}/client/log4j.jar</jar> <jar type= "Variable" >${classpathvariablename}/server/default/lib/jnpserver.jar</jar></ Clientclasspath><projectclasspath><jar type= "variable" >jdk_tools</jar><jar type= " Variable ">${classpathvariablename}/bin/run.jar</jar><jAR type= "variable" >${classpathvariablename}/bin/shutdown.jar</jar><jar type= "variable" >${ Classpathvariablename}/client/jboss-j2ee.jar</jar><jar type= "Variable" >${classpathvariablename}/ Server/${serverconfig}/lib/javax.servlet.jar</jar><jar type= "Variable" >${classpathvariablename}/lib /jboss-system.jar</jar><jar type= "Variable" >${classPathVariableName}/lib/concurrent.jar</jar> <jar type= "variable" >${classpathvariablename}/server/${serverconfig}/lib/jboss.jar</jar><jar type = "variable" >${classpathvariablename}/server/${serverconfig}/lib/jnpserver.jar</jar><jar type= " Variable ">${classpathvariablename}/server/${serverconfig}/lib/jpl-pattern.jar</jar><jar type=" Variable ">${classpathvariablename}/server/${serverconfig}/lib/jpl-util.jar</jar><jar type=" variable ">${classpathvariablename}/server/${serverconfig}/lib/jboss-transaction.jar</jar><jar type=" Variable ">${classpathvarIablename}/server/${serverconfig}/lib/bcel.jar</jar></projectclasspath><admintool><web ><deploy/><undeploy/></web><ejb><deploy/><undeploy/></ejb><ear ><deploy/><undeploy/><webmodule><deploy/><undeploy/></webModule>< Ejbmodule><deploy/><undeploy/></ejbmodule></ear></admintool><admintoolpath ></adminToolPath></serverDefinition>


You need to change the bold italic portion of the file according to your own JBoss 4.0.1 installation path, or you can change it in the Lomboz configuration in Eclipse. Tested successfully in JBoss 4.0.1 and JBoss 4.0.1sp1.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.