The Jboss32x.server file in the original Eclipse3.0.1 does not match jboss3.2.6! Depressed ~

Source: Internet
Author: User
Tags client jboss jboss application server log4j
Server
I've been configuring JBoss in eclipse since this afternoon, because it used to be JBoss3.0.0 and now I want to use JBoss3.2.6.

And then reconfigure it. But after the configuration is good, but found that will report the jar file path error, a total of two: one is Jboss-3.2.6\lib\jboss-boot.jar can not find, one is jboss-3.2.6 erver\default\lib\ Javax-servlet.jar can't find it.

Open eclipse\plugins\com.objectlearn.jdt.j2ee_3.0.1 with UE32 The Jboss32x.server file in the Ervers folder found that Jboss-boot.jar was actually written in the path, but I found the file below Jboss-3.2.6\lib. Results Google one afternoon found that the original Eclipse3.0.1 in the Jboss32x.server file does not match jboss3.2.6! Depressed ~

Now the rewrite of the Jboss326.server file posted out, we refer to:

<serverdefinition   name= "JBOSS 3.2.6"   ejbmodules= "true"   webmodules= "true"   earmodules= " True "><property id=" Serverrootdirectory " label=" Application Server directory: " type=" directory  default= "/your_server_root/appservers/jboss-3.2.6"/><property id= "ServerAddress" Address: " type=" string " default=" 127.0.0.1 "/><property id=" ServerPort "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= "JBOSS326"/><property id= "Classpath"  label = "Classpath Variable:"  type= "directory"  default= "/your_server_root/appservers/jboss-3.2.6"/>< 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></startvmparameters><startprogramarguments>-c ${ serverconfig}</startprogramarguments><stopclass>org.jboss.shutdown</stopclass>< stopworkingdirectory>${serverrootdirectory}/bin</stopworkingdirectory><stopvmparameters></ Stopvmparameters><stopprogramarguments>-s</stopprogramarguments><serverClasspath> <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}/lib/concurrent.jar</jar> <jar type= " Variable ">${classpathvariablename}/lib/jboss-system.jar</jar> <jar type=" variable ">${ Classpathvariablename}/lib/dom4j.jar</jar> <jar type= "Variable" >${classpathvariablename}/lib/ Xercesimpl.jar</jar> <jar type= "Variable" >${classpathvariablename}/lib/xml-apis.jar</jar > <jar type= "variable" >${classpathvariablename}/lib/gnu-regexp.jar</jar> <jar type= " Variable ">${classpathvariablename}/lib/getopt.jar</jar> <jar type=" variable ">${ Classpathvariablename}/server/${sErverconfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/server/${serverconfig}/lib/bcel.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/server/${serverconfig}/lib/jboss.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/server/${serverconfig}/lib/jboss-transaction.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></serverClassPath>< Clientclasspath> <jar type= "Variable" >${classPathVariableName}/client/jboss-j2ee.jar</jar>  <jar type= "variable" >${classpathvariablename}/client/jboss-client.jar</jar> <jar type= "Variable" >${classPathvariablename}/client/jboss-common-client.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/client/jboss-jaas.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/client/jbosssx-client.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/client/jnet.jar</jar> <jar type= "Variable" >${classpathvariablename}/ Client/jnp-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" &Gt;${classpathvariablename}/lib/concurrent.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/lib/jboss-system.jar</jar> <jar type= "Variable" >${classpathvariablename }/server/${serverconfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar</jar> <jar type= "Variable" >${classpathvariablename}/server/${serverconfig}/lib/bcel.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/server/${serverconfig}/lib/jboss.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/server/${serverconfig}/lib/jboss-transaction.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></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>

And Jboss400.server, which is still not in eclipse:

<serverDefinition  name= "JBOSS 4.0.0"   ejbmodules= "true"   webmodules= "true"   earmodules= " True "><property id=" Serverrootdirectory " label=" Application Server directory: " type=" directory  default= "/your_server_root/appservers/jboss-4.0.0"/><property id= "ServerAddress" Address: " type=" string " default=" 127.0.0.1 "/><property id=" ServerPort "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= "JBOSS400"/><property id= "Classpath"  label = "Classpath Variable:"  type= "directory"  default= "/your_server_root/appservers/jboss-4.0.0"/>< 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>-djava.endorsed.dirs=${serverrootdirectory}/lib/endorsed< /startvmparameters> <startprogramarguments>-c ${serverconfig}</startprogramarguments>< stopclass>org.jboss.shutdown</stopclass><stopworkingdirectory>${serverrootdirectory}/bin</ Stopworkingdirectory><stopvmparameters></stopvmparameters><stopprogrAmarguments>-s</stopprogramarguments><serverclasspath> <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}/lib/concurrent.jar</jar> <jar type= "Variable" >${classpathvariablename}/ Lib/dom4j.jar</jar> <jar type= "Variable" >${classpathvariablename}/lib/gnu-regexp.jar</jar > <jar type= "variable" >${classpathvariablename}/lib/jboss-jmx.jar</jar> <jar type= " Variable ">${classpathvariablename}/lib/jboss-common.jar</jar> <jar type=" variable ">${ Classpathvariablename}/lib/jboss-system.jar</jar> <jar type= "Variable" >${classpathvariablename }/lib/endorsed/xercesimpl.jar</jar> <jar type= "Variable" >${classpathvariablename}/lib/endorsed /xml-apis.jar</jar> <jar type= "Variable" >${classPathVariableName}/server/${serverConfig}/lib/activation.jar< /jar> <jar type= "Variable" >${classpathvariablename}/server/${serverconfig}/lib/ Avalon-framework.jar</jar> <jar type= "Variable" >${classpathvariablename}/server/${serverconfig }/lib/bcel.jar</jar> <jar type= "Variable" >${classpathvariablename}/server/${serverconfig}/lib/ Bsh-commands-1.3.0.jar</jar> <jar type= "Variable" >${classpathvariablename}/server/${ Serverconfig}/lib/bsh-core-1.3.0.jar</jar> <jar type= "Variable" >${classpathvariablename}/ Server/${serverconfig}/lib/bsh-deployer.jar</jar> <jar type= "Variable" >${classpathvariablename }/server/${serverconfig}/lib/castor-0.9.3.9-xml.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/server/${serverconfig}/lib/cglib-full-2.0.1.jar</jar> <jar type= "Variable" >${classpathvariablename}/server/${serverconFig}/lib/hibernate2.jar</jar> <jar type= "Variable" >${classpathvariablename}/server/${ Serverconfig}/lib/hsqldb.jar</jar> <jar type= "Variable" >${classpathvariablename}/server/${ Serverconfig}/lib/hsqldb-plugin.jar</jar> <jar type= "Variable" >${classpathvariablename}/server /${serverconfig}/lib/jacorb.jar</jar> <jar type= "Variable" >${classpathvariablename}/server/${ Serverconfig}/lib/javax.servlet.jar</jar> <jar type= "Variable" >${classpathvariablename}/server /${serverconfig}/lib/javax.servlet.jsp.jar</jar> <jar type= "variable" >${classpathvariablename} /server/${serverconfig}/lib/jaxr-client.jar</jar> <jar type= "Variable" >${classpathvariablename }/server/${serverconfig}/lib/jboss.jar</jar> <jar type= "Variable" >${classpathvariablename}/ Server/${serverconfig}/lib/jboss-common-jdbc-wrapper.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/serVer/${serverconfig}/lib/jboss-hibernate.jar</jar> <jar type= "Variable" >${classpathvariablename }/server/${serverconfig}/lib/jboss-iiop.jar</jar> <jar type= "Variable" >${classpathvariablename }/server/${serverconfig}/lib/jboss-j2ee.jar</jar> <jar type= "Variable" >${classpathvariablename }/server/${serverconfig}/lib/jboss-jaxrpc.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/server/${serverconfig}/lib/jboss-jca.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/server/${serverconfig}/lib/jboss-jsr77.jar</jar> <jar type= "Variable" >$ {Classpathvariablename}/server/${serverconfig}/lib/jboss-management.jar</jar> <jar type= "variable ">${classpathvariablename}/server/${serverconfig}/lib/jboss-monitoring.jar</jar> <jar type=" Variable ">${classpathvariablename}/server/${serverconfig}/lib/jboss-saaj.jar</jar> <jar type=" Variable ">${classpatHvariablename}/server/${serverconfig}/lib/jboss-transaction.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/server/${serverconfig}/lib/jbossmq.jar</jar> <jar type= "Variable" >${ Classpathvariablename}/server/${serverconfig}/lib/jbosssx.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></serverclasspath>< Clientclasspath> <jar type= "Variable" >${classPathVariableName}/client/jboss-j2ee.jar</jar>  <jar type= "Variable" >${classPathVariableName}/client/jboss-common-client.jar</jar> < Jar type= "variable" >${classpathvariablename}/client/jbossall-client.jar</jar> <jar type= " Variable ">${classpathVariablename}/client/jbosssx-client.jar</jar> <jar type= "Variable" >${classpathvariablename}/ Client/jnp-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}/lib/concurrent.jar </jar> <jar type= "Variable" >${classPathVariableName}/lib/jboss-system.jar</jar>  <jar type= "Variable" >${classPathVariableName}/server/${serverConfig}/lib/bcel.jar</jar> < Jar Type= "VariablE ">${classpathvariablename}/server/${serverconfig}/lib/javax.servlet.jar</jar> <jar type=" Variable ">${classpathvariablename}/server/${serverconfig}/lib/jboss.jar</jar> <jar type=" Variable ">${classPathVariableName}/server/${serverConfig}/lib/jboss-transaction.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></ Projectclasspath><admintool> <web>  <deploy/>  <undeploy/>  </web> <ejb>  <deploy/>  <undeploy/> </ejb>  <ear>  <deploy/>  <undeploy/>  <webmodule>    <deplOy/>   <undeploy/>  </webmodule>  <ejbmodule>    <deploy/>   <undeploy/>  </ejbmodule> </ear> </admintool><admintoolpath/></serverdefinition>

Finally, the two. Server files are found to be useful and will not be bothered by configuring the JBoss application Server. Oh


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.