Is webtools support to JBoss [message #76328] |
Thu, 24 February 2005 00:56  |
Eclipse User |
|
|
|
Originally posted by: mingkit.spymac.com
I would like to know the webtools can use with JBoss or not?
Is it change the eclipse server setting then the webtools will work?
|
|
|
|
|
|
|
|
|
|
|
|
Re: Is webtools support to JBoss [message #80963 is a reply to message #80786] |
Mon, 07 March 2005 14:36   |
Eclipse User |
|
|
|
Originally posted by: darko.lexgen.com
ECLIPSE WTP:
Well, I disocvered that, after I would add the jboss4.server and
jboss4.xml and changed the plugin.xml, I would not run the eclipse with "-
clean" option. That was why Eclipse IDE would not load the JBoss 4 into
server list.
Lomboz:
I set the lomboz and found the jboss4.server file on the net. Guy said
that it was for Eclipse + JBoss 4 + Lomboz. The problem with this file was
that it was full of TYPOS ! More than 200. It was obviously auto-generated
and errors were probably auto generated. So, finally, after I cleaned it
completely, JBoss 4 appeared in my Server list under Lomboz. I did not try
to Launch the JBoss 4 from Lomboz, I am going to do it in next few hours,
but I am posting the jboss4.server file here, cleaned, without typos in
xml element names, so it appears in Lomboz server list. If someone try to
launch JBoss using the .server file I am posting here, may experience
exceptions and errors because I AM SURE THAT THERE ARE TYPOS IN JAR FILE
NAMES. I just did not clean them because I was aiming to have it accepted
by the Eclipse/Lomboz IDE.
DO NOT FORGET TO RUN ECLIPSE WITH - clean OPTION.
<serverDefinition
name="JBOSS 401"
ejbModules="true"
webModules="true"
earModules="true">
<property id="serverRootDirectory"
label="Application Server Directory:"
type="directory"
default="C:/jboss401" />
<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="jboss401" />
<property id="classPath"
label="Classpath Variable:"
type="directory"
default="C:/jboss401" />
<property id="minimumHeapSize"
label="Minimum total heap size:"
type="string"
default="256m" />
<property id="maximumHeapSize"
label="Maximum total heap size:"
type="string"
default="256m" />
<property id="proxyProperties"
label="Proxy properties:"
type="string"
default="-DproxySet=true -DproxyHost=proxy -DproxyPort=8080" />
<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>-Xms${minimumHeapSize} -Xmx${maximumHeapSize}
${proxyProperties}
-Djava.endorsed.dirs=${serverRootDirectory}/lib/endorsed</startVmParameters >
<startProgramArguments>-c ${serverConfig}</startProgramArguments>
<stopClass>org.jboss.Shutdown</stopClass>
<stopWorkingDirectory>${serverRootDirectory}/bin</stopWorkingDirectory >
<stopVmParameters></stopVmParameters>
<stopProgramArguments>${serverAddress}
${serverPort}</stopProgramArguments>
<serverClassPath>
<jar type="variable">${classPathVariableName}/bin/run.jar</jar >
<jar type="variable">${classPathVariableName}/bin/shutdown.jar</jar >
<jar type="variable">${classPathVariableName}/bin/twiddle.jar</jar >
<jar
type="variable">${classPathVariableName}/lib/endorsed/resolver.jar </jar>
<jar type="variable">${classPathVariableName}/lib/endorsed/xalan.jar </jar>
<jar
type="variable">${classPathVariableName}/lib/endorsed/xercesImpl.jar </jar>
<jar
type="variable">${classPathVariableName}/lib/endorsed/xmlapis.jar </jar>
<jar type="variable">${classPathVariableName}/client/jboss-j2ee.jar </jar>
<jar
type="variable">${classPathVariableName}/lib/commons-httpclient.jar </jar>
<jar
type="variable">${classPathVariableName}/lib/commons-logging.jar </jar>
<jar type="variable">${classPathVariableName}/lib/concurrent.jar </jar>
<jar type="variable">${classPathVariableName}/lib/dom4j.jar</jar >
<jar type="variable">${classPathVariableName}/lib/getopt.jar</jar >
<jar type="variable">${classPathVariableName}/lib/gnu-regexp.jar </jar>
<jar type="variable">${classPathVariableName}/lib/jboss-common.jar </jar>
<jar type="variable">${classPathVariableName}/lib/jboss-jmx.jar </jar>
<jar type="variable">${classPathVariableName}/lib/jboss-system.jar </jar>
<jar type="variable">${classPathVariableName}/lib/log4j-boot.jar </jar>
<jar type="variable">${classPathVariableName}/lib/namespace.jar </jar>
<jar type="variable">${classPathVariableName}/lib/webdavlib.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/activati on.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/all/lib/autonumber-plugin. jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/avalon-f ramework.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bcel.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/all/lib/bindingserviceplugin .jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bsh-comm ands-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-depl oyer.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-fu ll-2.0.1.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hibernat e2.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb-p lugin.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb.j ar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jacorb.j ar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jsp.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jaxr-cli ent.jar </jar>
<jar
type="variable">${classPathVariableName}/server/all/lib/jboss-cache.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-co mmon-jdbc-wrapper.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-hi bernate.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ii op.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-j2 ee.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ja xrpc.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-jc a.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-js r77.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ma nagement.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-mo nitoring.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/all/lib/jboss-remoting.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-sa aj.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-tr ansaction.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss.ja r </jar>
<jar
type="variable">${classPathVariableName}/server/all/lib/jbossha.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/all/lib/jgroups.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jmx-adap tor-plugin.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jnpserve r.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-patt ern.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-util .jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/log4j.ja r </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail-plu gin.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/odmg-3.0 .jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/properti es-plugin.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/all/lib/scheduler-plugin-e xample.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/schedule r-plugin.jar </jar>
<jar
type="variable">${classPathVariableName}/server/all/lib/snmpadaptor.jar </jar>
</serverClassPath>
<clientClassPath>
<jar
type="variable">${classPathVariableName}/client/avalon-framework.jar </jar>
<jar type="variable">${classPathVariableName}/client/axis-ws4ee.jar </jar>
<jar
type="variable">${classPathVariableName}/client/commons-discovery.jar </jar>
<jar
type="variable">${classPathVariableName}/client/commons-logging.jar </jar>
<jar type="variable">${classPathVariableName}/client/concurrent.jar </jar>
<jar type="variable">${classPathVariableName}/client/getopt.jar </jar>
<jar type="variable">${classPathVariableName}/client/jacorb.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jaxr-client.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-deployment.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jboss-iiop-client.jar </jar>
<jar type="variable">${classPathVariableName}/client/jboss-j2ee.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jboss-jaxrpc.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jboss-jsr77-client.jar </jar>
<jar type="variable">${classPathVariableName}/client/jboss-saaj.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jboss-system-client.jar </jar>
<jar
type="variable"> ${classPathVariableName}/client/jboss-transaction-client.j ar </jar>
<jar
type="variable">${classPathVariableName}/client/jboss-ws4ee-client.jar </jar>
<jar
type="variable"> ${classPathVariableName}/client/jboss${serverConfig}-clien t.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jbosscx-client.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jbossha-client.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jbossjmx-ant.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jbossmq-client.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jbosssx-client.jar </jar>
<jar type="variable">${classPathVariableName}/client/jmx-client.jar </jar>
<jar
type="variable"> ${classPathVariableName}/client/jmx-invoker-adaptor-client.j ar </jar>
<jar type="variable">${classPathVariableName}/client/jnp-client.jar </jar>
<jar type="variable">${classPathVariableName}/client/log4j.jar</jar >
<jar type="variable">${classPathVariableName}/client/logkit.jar </jar>
</clientClassPath>
<projectClassPath>
<jar type="variable">${classPathVariableName}/bin/run.jar</jar >
<jar type="variable">${classPathVariableName}/bin/shutdown.jar</jar >
<jar type="variable">${classPathVariableName}/bin/twiddle.jar</jar >
<jar
type="variable">${classPathVariableName}/lib/endorsed/resolver.jar </jar>
<jar type="variable">${classPathVariableName}/lib/endorsed/xalan.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}/client/jboss-j2ee.jar </jar>
<jar
type="variable">${classPathVariableName}/lib/commons-httpclient.jar </jar>
<jar
type="variable">${classPathVariableName}/lib/commons-logging.jar </jar>
<jar type="variable">${classPathVariableName}/lib/concurrent.jar </jar>
<jar type="variable">${classPathVariableName}/lib/dom4j.jar</jar >
<jar type="variable">${classPathVariableName}/lib/getopt.jar</jar >
<jar type="variable">${classPathVariableName}/lib/gnu-regexp.jar </jar>
<jar type="variable">${classPathVariableName}/lib/jboss-common.jar </jar>
<jar type="variable">${classPathVariableName}/lib/jboss-jmx.jar </jar>
<jar type="variable">${classPathVariableName}/lib/jboss-system.jar </jar>
<jar type="variable">${classPathVariableName}/lib/log4j-boot.jar </jar>
<jar type="variable">${classPathVariableName}/lib/namespace.jar </jar>
<jar type="variable">${classPathVariableName}/lib/webdavlib.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/activati on.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/all/lib/autonumber-plugin. jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/avalon-f ramework.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bcel.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/all/lib/bindingservice-plu gin.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bsh-comm ands-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-depl oyer.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-fu ll-2.0.1.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hibernat e2.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb-p lugin.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb.j ar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jacorb.j ar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jsp.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jaxr-cli ent.jar </jar>
<jar
type="variable">${classPathVariableName}/server/all/lib/jboss-cache.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-co mmon-jdbc-wrapper.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-hi bernate.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ii op.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-j2 ee.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ja xrpc.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-jc a.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-js r77.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ma nagement.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-mo nitoring.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/all/lib/jboss-remoting.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-sa aj.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-tr ansaction.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss.ja r </jar>
<jar
type="variable">${classPathVariableName}/server/all/lib/jbossha.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/all/lib/jgroups.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jmx-adap tor-plugin.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jnpserve r.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-patt ern.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-util .jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/log4j.ja r </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail-plu gin.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/odmg-3.0 .jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/properti es-plugin.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/all/lib/scheduler-plugin-e xample.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/schedule r-plugin.jar </jar>
<jar
type="variable">${classPathVariableName}/server/all/lib/snmp-adaptor.jar </jar>
<jar
type="variable">${classPathVariableName}/server/all/lib/snmpsupport.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>
|
|
|
Re: Is webtools support to JBoss [message #81639 is a reply to message #80963] |
Wed, 09 March 2005 12:03   |
Eclipse User |
|
|
|
Originally posted by: sully6768.yahoo.com
Below is a copy of my jboss401.server file. Stops, starts and deploys.
I keep getting a deployment error from eclipse but it does get deployed.
<!-- BUG(?) WORK AROUND -->
During the pursuit of the ability to launch and deploy to JBoss 4.0.1 I
came across the following issue. If you are using the flexible project
support, it will add .war to the name of the deployable project in your
..wtpmodules file under your project. The ant build files under
org.eclipse.jst.server.generic.serverdefinitions_1.0.0\build files
also appends .war to the deployed project so in the case of the Flexible
tutorial you end up with csrweb.war.war. So you either need to remove
the .war from your new jboss401.xml build file or the .wtpmodules file.
I changed my jboss401.xml file.
I am not sure which is correct. If anyone wants to shed some light on
this, I would appreciate a response.
Thanks,
ses
The jboss401.server :
<?xml version="1.0" encoding="UTF-8"?>
<tns:ServerRuntime
xmlns:tns="http://eclipse.org/jst/server/generic/ServerTypeDefinition"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://eclipse.org/jst/server/generic/ServerTypeDefinition
ServerTypeDefinitionSchema.xsd"
name="JBOSS 4.0.1"
version="v4.0.1">
<property
id="serverRootDirectory"
label="Application Server Directory:"
type="directory"
context="runtime"
default="C:/dev/jboss/jboss-4.0.1" />
<property
id="serverAddress"
label="Address:"
type="string"
context="server"
default="127.0.0.1" />
<property
id="port"
label="Port:"
type="string"
context="server"
default="8080" />
<property
id="serverConfig"
label="Server Configuration (minimal/default/all/cdg):"
type="string"
context="server"
default="cdg" />
<property
id="classPath"
label="Classpath Variable:"
type="directory"
context="runtime"
default="C:/dev/jboss/jboss-4.0.1" />
<property
id="javaHome"
label="Classpath Variable:"
type="directory"
context="runtime"
default="C:/java/j2sdk1.4.2_06" />
<port>
<no>${port}</no>
<name>Http</name>
<protocol>http</protocol>
</port>
<module>
<type>j2ee.web</type>
<publishDir>${serverRootDirectory}/server/${serverConfig}/deploy </publishDir>
<publisherReference>org.eclipse.jst.server.generic.antpublisher </publisherReference>
</module>
<module>
<type>j2ee.ejb</type>
<publishDir>${serverRootDirectory}/server/${serverConfig}/deploy </publishDir>
<publisherReference>org.eclipse.jst.server.generic.antpublisher </publisherReference>
</module>
<project>
<classpathReference>jboss.project</classpathReference>
</project>
<start>
<class>org.jboss.Main</class>
<workingDirectory>${serverRootDirectory}/bin</workingDirectory >
<programArguments>-c ${serverConfig}</programArguments>
<vmParameters>
-Xms512m -Xmx756m -Dprogram.name=${serverRootDirectory}/bin/run.bat
-Djava.endorsed.dirs=${serverRootDirectory}/lib/endorsed
</vmParameters>
<classpathReference>jboss.start</classpathReference>
</start>
<stop>
<class>org.jboss.Shutdown</class>
<workingDirectory>${serverRootDirectory}/bin</workingDirectory >
<programArguments>-S</programArguments>
<vmParameters>-Djboss.boot.loader.name=run.bat</vmParameters >
<classpathReference>jboss.stop</classpathReference>
</stop>
<publisher id="org.eclipse.jst.server.generic.antpublisher">
<publisherdata>
<dataname>build.file</dataname>
<datavalue>/buildfiles/jboss401.xml</datavalue>
</publisherdata>
<publisherdata>
<dataname>target.publish.j2ee.web</dataname>
<datavalue>deploy.j2ee.web</datavalue>
</publisherdata>
<publisherdata>
<dataname>target.publish.j2ee.ejb</dataname>
<datavalue>deploy.j2ee.ejb</datavalue>
</publisherdata>
<publisherdata>
<dataname>target.unpublish.j2ee.web</dataname>
<datavalue>undeploy.j2ee.web</datavalue>
</publisherdata>
<publisherdata>
<dataname>target.unpublish.j2ee.ejb</dataname>
<datavalue>undeploy.j2ee.ejb</datavalue>
</publisherdata>
</publisher>
<classpath
id="jboss.start"
isLibrary="true">
<archive path="${classPath}/bin/run.jar" />
<archive path="${javaHome}/lib/tools.jar" />
<archive path="${javaHome}/jre/lib/rt.jar" />
</classpath>
<classpath
id="jboss.stop"
isLibrary="true">
<archive path="${classPath}/bin/run.jar" />
<archive path="${javaHome}/lib/tools.jar" />
<archive path="${javaHome}/jre/lib/rt.jar" />
<archive path="${classPath}/bin/shutdown.jar" />
<archive path="${classPath}/client/jbossall-client.jar" />
</classpath>
<classpath
id="jboss.project"
isLibrary="true">
<archive path="${classPath}/client/jboss-j2ee.jar" />
<archive
path="${classPath}/server/${serverConfig}/lib/javax.servlet.jar " />
<archive path="${classPath}/lib/jboss-system.jar" />
<archive path="${classPath}/lib/concurrent.jar" />
<archive path="${classPath}/server/${serverConfig}/lib/jboss.jar" />
<archive
path="${classPath}/server/${serverConfig}/lib/jnpserver.jar " />
<archive
path="${classPath}/server/${serverConfig}/lib/jpl-pattern.jar " />
<archive path="${classPath}/server/${serverConfig}/lib/jpl-util.jar" />
<archive
path=" ${classPath}/server/${serverConfig}/lib/jboss-transaction.ja r " />
<archive path="${classPath}/server/${serverConfig}/lib/bcel.jar" />
<archive path="${classPath}/lib/dom4j.jar" />
<archive path="${classPath}/lib/endorsed/xercesImpl.jar" />
<archive path="${classPath}/lib/endorsed/xml-apis.jar" />
<archive path="${classPath}/lib/gnu-regexp.jar" />
<archive path="${classPath}/lib/getopt.jar" />
</classpath>
</tns:ServerRuntime>
Darko Stefanovic wrote:
> ECLIPSE WTP:
> Well, I disocvered that, after I would add the jboss4.server and
> jboss4.xml and changed the plugin.xml, I would not run the eclipse with
> "- clean" option. That was why Eclipse IDE would not load the JBoss 4
> into server list.
>
> Lomboz:
> I set the lomboz and found the jboss4.server file on the net. Guy said
> that it was for Eclipse + JBoss 4 + Lomboz. The problem with this file
> was that it was full of TYPOS ! More than 200. It was obviously
> auto-generated and errors were probably auto generated. So, finally,
> after I cleaned it completely, JBoss 4 appeared in my Server list under
> Lomboz. I did not try to Launch the JBoss 4 from Lomboz, I am going to
> do it in next few hours, but I am posting the jboss4.server file here,
> cleaned, without typos in xml element names, so it appears in Lomboz
> server list. If someone try to launch JBoss using the .server file I am
> posting here, may experience exceptions and errors because I AM SURE
> THAT THERE ARE TYPOS IN JAR FILE NAMES. I just did not clean them
> because I was aiming to have it accepted by the Eclipse/Lomboz IDE.
>
> DO NOT FORGET TO RUN ECLIPSE WITH - clean OPTION.
>
>
> <serverDefinition name="JBOSS 401"
> ejbModules="true"
> webModules="true"
> earModules="true">
> <property id="serverRootDirectory"
> label="Application Server Directory:"
> type="directory"
> default="C:/jboss401" />
> <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="jboss401" />
> <property id="classPath"
> label="Classpath Variable:"
> type="directory"
> default="C:/jboss401" />
> <property id="minimumHeapSize"
> label="Minimum total heap size:"
> type="string"
> default="256m" />
> <property id="maximumHeapSize"
> label="Maximum total heap size:"
> type="string"
> default="256m" />
> <property id="proxyProperties"
> label="Proxy properties:"
> type="string"
> default="-DproxySet=true -DproxyHost=proxy -DproxyPort=8080" />
> <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>-Xms${minimumHeapSize} -Xmx${maximumHeapSize}
> ${proxyProperties}
> -Djava.endorsed.dirs=${serverRootDirectory}/lib/endorsed</startVmParameters >
>
> <startProgramArguments>-c ${serverConfig}</startProgramArguments>
> <stopClass>org.jboss.Shutdown</stopClass>
> <stopWorkingDirectory>${serverRootDirectory}/bin</stopWorkingDirectory >
> <stopVmParameters></stopVmParameters>
> <stopProgramArguments>${serverAddress} ${serverPort}</stopProgramArguments>
> <serverClassPath>
> <jar type="variable">${classPathVariableName}/bin/run.jar</jar >
> <jar type="variable">${classPathVariableName}/bin/shutdown.jar</jar >
> <jar type="variable">${classPathVariableName}/bin/twiddle.jar</jar >
> <jar
> type="variable">${classPathVariableName}/lib/endorsed/resolver.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/endorsed/xalan.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/endorsed/xercesImpl.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/endorsed/xmlapis.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jboss-j2ee.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/commons-httpclient.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/commons-logging.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/concurrent.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/dom4j.jar</jar >
> <jar type="variable">${classPathVariableName}/lib/getopt.jar</jar >
> <jar type="variable">${classPathVariableName}/lib/gnu-regexp.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/jboss-common.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/jboss-jmx.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/jboss-system.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/log4j-boot.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/namespace.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/webdavlib.jar </jar>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/activati on.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/all/lib/autonumber-plugin. jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/avalon-f ramework.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bcel.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/all/lib/bindingserviceplugin .jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bsh-comm ands-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-depl oyer.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-fu ll-2.0.1.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hibernat e2.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb-p lugin.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb.j ar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jacorb.j ar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jsp.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jaxr-cli ent.jar </jar>
>
> <jar
> type="variable">${classPathVariableName}/server/all/lib/jboss-cache.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-co mmon-jdbc-wrapper.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-hi bernate.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ii op.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-j2 ee.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ja xrpc.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-jc a.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-js r77.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ma nagement.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-mo nitoring.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/all/lib/jboss-remoting.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-sa aj.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-tr ansaction.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss.ja r </jar>
>
> <jar
> type="variable">${classPathVariableName}/server/all/lib/jbossha.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/all/lib/jgroups.jar </jar>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jmx-adap tor-plugin.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jnpserve r.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-patt ern.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-util .jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/log4j.ja r </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail-plu gin.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/odmg-3.0 .jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/properti es-plugin.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/all/lib/scheduler-plugin-e xample.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/schedule r-plugin.jar </jar>
>
> <jar
> type="variable">${classPathVariableName}/server/all/lib/snmpadaptor.jar </jar>
>
> </serverClassPath>
> <clientClassPath>
> <jar
> type="variable">${classPathVariableName}/client/avalon-framework.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/axis-ws4ee.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/commons-discovery.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/commons-logging.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/concurrent.jar </jar>
> <jar type="variable">${classPathVariableName}/client/getopt.jar </jar>
> <jar type="variable">${classPathVariableName}/client/jacorb.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jaxr-client.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-deployment.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jboss-iiop-client.jar </jar>
>
> <jar
> type="variable">${classPathVariableName}/client/jboss-j2ee.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jboss-jaxrpc.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jboss-jsr77-client.jar </jar>
>
> <jar
> type="variable">${classPathVariableName}/client/jboss-saaj.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jboss-system-client.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/client/jboss-transaction-client.j ar </jar>
>
> <jar
> type="variable">${classPathVariableName}/client/jboss-ws4ee-client.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/client/jboss${serverConfig}-clien t.jar </jar>
>
> <jar
> type="variable">${classPathVariableName}/client/jbosscx-client.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jbossha-client.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jbossjmx-ant.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jbossmq-client.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jbosssx-client.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jmx-client.jar </jar>
> <jar
> type="variable"> ${classPathVariableName}/client/jmx-invoker-adaptor-client.j ar </jar>
>
> <jar
> type="variable">${classPathVariableName}/client/jnp-client.jar </jar>
> <jar type="variable">${classPathVariableName}/client/log4j.jar</jar >
> <jar type="variable">${classPathVariableName}/client/logkit.jar </jar>
> </clientClassPath>
> <projectClassPath>
> <jar type="variable">${classPathVariableName}/bin/run.jar</jar >
> <jar type="variable">${classPathVariableName}/bin/shutdown.jar</jar >
> <jar type="variable">${classPathVariableName}/bin/twiddle.jar</jar >
> <jar
> type="variable">${classPathVariableName}/lib/endorsed/resolver.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/endorsed/xalan.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}/client/jboss-j2ee.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/commons-httpclient.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/commons-logging.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/concurrent.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/dom4j.jar</jar >
> <jar type="variable">${classPathVariableName}/lib/getopt.jar</jar >
> <jar type="variable">${classPathVariableName}/lib/gnu-regexp.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/jboss-common.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/jboss-jmx.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/jboss-system.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/log4j-boot.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/namespace.jar </jar>
> <jar type="variable">${classPathVariableName}/lib/webdavlib.jar </jar>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/activati on.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/all/lib/autonumber-plugin. jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/avalon-f ramework.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bcel.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/all/lib/bindingservice-plu gin.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bsh-comm ands-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-depl oyer.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-fu ll-2.0.1.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hibernat e2.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb-p lugin.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb.j ar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jacorb.j ar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jsp.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jaxr-cli ent.jar </jar>
>
> <jar
> type="variable">${classPathVariableName}/server/all/lib/jboss-cache.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-co mmon-jdbc-wrapper.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-hi bernate.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ii op.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-j2 ee.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ja xrpc.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-jc a.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-js r77.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ma nagement.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-mo nitoring.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/all/lib/jboss-remoting.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-sa aj.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-tr ansaction.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss.ja r </jar>
>
> <jar
> type="variable">${classPathVariableName}/server/all/lib/jbossha.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/all/lib/jgroups.jar </jar>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jmx-adap tor-plugin.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jnpserve r.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-patt ern.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-util .jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/log4j.ja r </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail-plu gin.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/odmg-3.0 .jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/properti es-plugin.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/all/lib/scheduler-plugin-e xample.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/schedule r-plugin.jar </jar>
>
> <jar
> type="variable">${classPathVariableName}/server/all/lib/snmp-adaptor.jar </jar>
>
> <jar
> type="variable">${classPathVariableName}/server/all/lib/snmpsupport.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>
>
>
>
|
|
|
Re: Is webtools support to JBoss [message #85391 is a reply to message #81639] |
Mon, 21 March 2005 12:25   |
Eclipse User |
|
|
|
I tried this file, unfortunately it didn't work for me.
When I try to start JBoss from the servers view, I get the following
error message:
"Error occurred during initialization of VM
Could not reserve enough space for object heap"
JBoss starts normally when starting it via run.sh on the command line.
Also, I don't know what the jboss401.xml file should look like, I just
copied the existing jboss323.xml.
I googled around hoping to find a solution to this problem to no avail.
Any ideas?
Thanks in advance,
Ray
On Wed, 2005-03-09 at 11:03 -0600, Scott ES wrote:
> Below is a copy of my jboss401.server file. Stops, starts and deploys.
> I keep getting a deployment error from eclipse but it does get deployed..
>
> <!-- BUG(?) WORK AROUND -->
> During the pursuit of the ability to launch and deploy to JBoss 4.0.1 I
> came across the following issue. If you are using the flexible project
> support, it will add .war to the name of the deployable project in your
> .wtpmodules file under your project. The ant build files under
>
> org.eclipse.jst.server.generic.serverdefinitions_1.0.0\build files
>
> also appends .war to the deployed project so in the case of the Flexible
> tutorial you end up with csrweb.war.war. So you either need to remove
> the .war from your new jboss401.xml build file or the .wtpmodules file.
> I changed my jboss401.xml file.
>
> I am not sure which is correct. If anyone wants to shed some light on
> this, I would appreciate a response.
>
> Thanks,
> ses
>
>
>
> The jboss401.server :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <tns:ServerRuntime
> xmlns:tns="http://eclipse.org/jst/server/generic/ServerTypeDefinition"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
> xsi:schemaLocation="http://eclipse.org/jst/server/generic/ServerTypeDefinition
> ServerTypeDefinitionSchema.xsd"
> name="JBOSS 4.0.1"
> version="v4.0.1">
> <property
> id="serverRootDirectory"
> label="Application Server Directory:"
> type="directory"
> context="runtime"
> default="C:/dev/jboss/jboss-4.0.1" />
> <property
> id="serverAddress"
> label="Address:"
> type="string"
> context="server"
> default="127.0.0.1" />
> <property
> id="port"
> label="Port:"
> type="string"
> context="server"
> default="8080" />
> <property
> id="serverConfig"
> label="Server Configuration (minimal/default/all/cdg):"
> type="string"
> context="server"
> default="cdg" />
> <property
> id="classPath"
> label="Classpath Variable:"
> type="directory"
> context="runtime"
> default="C:/dev/jboss/jboss-4.0.1" />
> <property
> id="javaHome"
> label="Classpath Variable:"
> type="directory"
> context="runtime"
> default="C:/java/j2sdk1.4.2_06" />
>
> <port>
> <no>${port}</no>
> <name>Http</name>
> <protocol>http</protocol>
> </port>
>
> <module>
> <type>j2ee.web</type>
>
> <publishDir>${serverRootDirectory}/server/${serverConfig}/deploy </publishDir>
>
> <publisherReference>org.eclipse.jst.server.generic.antpublisher </publisherReference>
> </module>
> <module>
> <type>j2ee.ejb</type>
>
> <publishDir>${serverRootDirectory}/server/${serverConfig}/deploy </publishDir>
>
> <publisherReference>org.eclipse.jst.server.generic.antpublisher </publisherReference>
> </module>
>
>
> <project>
> <classpathReference>jboss.project</classpathReference>
> </project>
>
> <start>
> <class>org.jboss.Main</class>
> <workingDirectory>${serverRootDirectory}/bin</workingDirectory >
> <programArguments>-c ${serverConfig}</programArguments>
> <vmParameters>
> -Xms512m -Xmx756m -Dprogram.name=${serverRootDirectory}/bin/run.bat
> -Djava.endorsed.dirs=${serverRootDirectory}/lib/endorsed
> </vmParameters>
> <classpathReference>jboss.start</classpathReference>
> </start>
>
> <stop>
> <class>org.jboss.Shutdown</class>
> <workingDirectory>${serverRootDirectory}/bin</workingDirectory >
> <programArguments>-S</programArguments>
> <vmParameters>-Djboss.boot.loader.name=run.bat</vmParameters >
> <classpathReference>jboss.stop</classpathReference>
> </stop>
>
> <publisher id="org.eclipse.jst.server.generic.antpublisher">
> <publisherdata>
> <dataname>build.file</dataname>
> <datavalue>/buildfiles/jboss401.xml</datavalue>
> </publisherdata>
> <publisherdata>
> <dataname>target.publish.j2ee.web</dataname>
> <datavalue>deploy.j2ee.web</datavalue>
> </publisherdata>
> <publisherdata>
> <dataname>target.publish.j2ee.ejb</dataname>
> <datavalue>deploy.j2ee.ejb</datavalue>
> </publisherdata>
> <publisherdata>
> <dataname>target.unpublish.j2ee.web</dataname>
> <datavalue>undeploy.j2ee.web</datavalue>
> </publisherdata>
> <publisherdata>
> <dataname>target.unpublish.j2ee.ejb</dataname>
> <datavalue>undeploy.j2ee.ejb</datavalue>
> </publisherdata>
> </publisher>
>
> <classpath
> id="jboss.start"
> isLibrary="true">
> <archive path="${classPath}/bin/run.jar" />
> <archive path="${javaHome}/lib/tools.jar" />
> <archive path="${javaHome}/jre/lib/rt.jar" />
> </classpath>
>
> <classpath
> id="jboss.stop"
> isLibrary="true">
> <archive path="${classPath}/bin/run.jar" />
> <archive path="${javaHome}/lib/tools.jar" />
> <archive path="${javaHome}/jre/lib/rt.jar" />
> <archive path="${classPath}/bin/shutdown.jar" />
> <archive path="${classPath}/client/jbossall-client.jar" />
> </classpath>
>
> <classpath
> id="jboss.project"
> isLibrary="true">
> <archive path="${classPath}/client/jboss-j2ee.jar" />
> <archive
> path="${classPath}/server/${serverConfig}/lib/javax.servlet.jar " />
> <archive path="${classPath}/lib/jboss-system.jar" />
> <archive path="${classPath}/lib/concurrent.jar" />
> <archive path="${classPath}/server/${serverConfig}/lib/jboss.jar" />
> <archive
> path="${classPath}/server/${serverConfig}/lib/jnpserver.jar " />
> <archive
> path="${classPath}/server/${serverConfig}/lib/jpl-pattern.jar " />
> <archive path="${classPath}/server/${serverConfig}/lib/jpl-util.jar" />
> <archive
> path=" ${classPath}/server/${serverConfig}/lib/jboss-transaction.ja r " />
> <archive path="${classPath}/server/${serverConfig}/lib/bcel.jar" />
> <archive path="${classPath}/lib/dom4j.jar" />
> <archive path="${classPath}/lib/endorsed/xercesImpl.jar" />
> <archive path="${classPath}/lib/endorsed/xml-apis.jar" />
> <archive path="${classPath}/lib/gnu-regexp.jar" />
> <archive path="${classPath}/lib/getopt.jar" />
> </classpath>
>
> </tns:ServerRuntime>
>
> Darko Stefanovic wrote:
> > ECLIPSE WTP:
> > Well, I disocvered that, after I would add the jboss4.server and
> > jboss4.xml and changed the plugin.xml, I would not run the eclipse with
> > "- clean" option. That was why Eclipse IDE would not load the JBoss 4
> > into server list.
> >
> > Lomboz:
> > I set the lomboz and found the jboss4.server file on the net. Guy said
> > that it was for Eclipse + JBoss 4 + Lomboz. The problem with this file
> > was that it was full of TYPOS ! More than 200. It was obviously
> > auto-generated and errors were probably auto generated. So, finally,
> > after I cleaned it completely, JBoss 4 appeared in my Server list under
> > Lomboz. I did not try to Launch the JBoss 4 from Lomboz, I am going to
> > do it in next few hours, but I am posting the jboss4.server file here,
> > cleaned, without typos in xml element names, so it appears in Lomboz
> > server list. If someone try to launch JBoss using the .server file I am
> > posting here, may experience exceptions and errors because I AM SURE
> > THAT THERE ARE TYPOS IN JAR FILE NAMES. I just did not clean them
> > because I was aiming to have it accepted by the Eclipse/Lomboz IDE.
> >
> > DO NOT FORGET TO RUN ECLIPSE WITH - clean OPTION.
> >
> >
> > <serverDefinition name="JBOSS 401"
> > ejbModules="true"
> > webModules="true"
> > earModules="true">
> > <property id="serverRootDirectory"
> > label="Application Server Directory:"
> > type="directory"
> > default="C:/jboss401" />
> > <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="jboss401" />
> > <property id="classPath"
> > label="Classpath Variable:"
> > type="directory"
> > default="C:/jboss401" />
> > <property id="minimumHeapSize"
> > label="Minimum total heap size:"
> > type="string"
> > default="256m" />
> > <property id="maximumHeapSize"
> > label="Maximum total heap size:"
> > type="string"
> > default="256m" />
> > <property id="proxyProperties"
> > label="Proxy properties:"
> > type="string"
> > default="-DproxySet=true -DproxyHost=proxy -DproxyPort=8080" />
> > <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>-Xms${minimumHeapSize} -Xmx${maximumHeapSize}
> > ${proxyProperties}
> > -Djava.endorsed.dirs=${serverRootDirectory}/lib/endorsed</startVmParameters >
> >
> > <startProgramArguments>-c ${serverConfig}</startProgramArguments>
> > <stopClass>org.jboss.Shutdown</stopClass>
> > <stopWorkingDirectory>${serverRootDirectory}/bin</stopWorkingDirectory >
> > <stopVmParameters></stopVmParameters>
> > <stopProgramArguments>${serverAddress} ${serverPort}</stopProgramArguments>
> > <serverClassPath>
> > <jar type="variable">${classPathVariableName}/bin/run.jar</jar >
> > <jar type="variable">${classPathVariableName}/bin/shutdown.jar</jar >
> > <jar type="variable">${classPathVariableName}/bin/twiddle.jar</jar >
> > <jar
> > type="variable">${classPathVariableName}/lib/endorsed/resolver.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/endorsed/xalan.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/endorsed/xercesImpl.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/endorsed/xmlapis.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jboss-j2ee.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/commons-httpclient.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/commons-logging.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/concurrent.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/dom4j.jar</jar >
> > <jar type="variable">${classPathVariableName}/lib/getopt.jar</jar >
> > <jar type="variable">${classPathVariableName}/lib/gnu-regexp.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/jboss-common.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/jboss-jmx.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/jboss-system.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/log4j-boot.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/namespace.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/webdavlib.jar </jar>
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/activati on.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/all/lib/autonumber-plugin. jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/avalon-f ramework.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bcel.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/all/lib/bindingserviceplugin .jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bsh-comm ands-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-depl oyer.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-fu ll-2.0.1.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hibernat e2.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb-p lugin.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb.j ar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jacorb.j ar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jsp.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jaxr-cli ent.jar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/server/all/lib/jboss-cache.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-co mmon-jdbc-wrapper.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-hi bernate.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ii op.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-j2 ee.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ja xrpc.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-jc a.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-js r77.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ma nagement.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-mo nitoring.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/all/lib/jboss-remoting.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-sa aj.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-tr ansaction.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss.ja r </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/server/all/lib/jbossha.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/all/lib/jgroups.jar </jar>
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jmx-adap tor-plugin.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jnpserve r.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-patt ern.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-util .jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/log4j.ja r </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail-plu gin.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/odmg-3.0 .jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/properti es-plugin.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/all/lib/scheduler-plugin-e xample.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/schedule r-plugin.jar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/server/all/lib/snmpadaptor.jar </jar>
> >
> > </serverClassPath>
> > <clientClassPath>
> > <jar
> > type="variable">${classPathVariableName}/client/avalon-framework.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/axis-ws4ee.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/commons-discovery.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/commons-logging.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/concurrent.jar </jar>
> > <jar type="variable">${classPathVariableName}/client/getopt.jar </jar>
> > <jar type="variable">${classPathVariableName}/client/jacorb.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jaxr-client.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-deployment.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jboss-iiop-client.jar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/client/jboss-j2ee.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jboss-jaxrpc.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jboss-jsr77-client.jar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/client/jboss-saaj.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jboss-system-client.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/client/jboss-transaction-client.j ar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/client/jboss-ws4ee-client.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/client/jboss${serverConfig}-clien t.jar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/client/jbosscx-client.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jbossha-client.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jbossjmx-ant.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jbossmq-client.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jbosssx-client.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jmx-client.jar </jar>
> > <jar
> > type="variable"> ${classPathVariableName}/client/jmx-invoker-adaptor-client.j ar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/client/jnp-client.jar </jar>
> > <jar type="variable">${classPathVariableName}/client/log4j.jar</jar >
> > <jar type="variable">${classPathVariableName}/client/logkit.jar </jar>
> > </clientClassPath>
> > <projectClassPath>
> > <jar type="variable">${classPathVariableName}/bin/run.jar</jar >
> > <jar type="variable">${classPathVariableName}/bin/shutdown.jar</jar >
> > <jar type="variable">${classPathVariableName}/bin/twiddle.jar</jar >
> > <jar
> > type="variable">${classPathVariableName}/lib/endorsed/resolver.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/endorsed/xalan.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}/client/jboss-j2ee.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/commons-httpclient.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/commons-logging.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/concurrent.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/dom4j.jar</jar >
> > <jar type="variable">${classPathVariableName}/lib/getopt.jar</jar >
> > <jar type="variable">${classPathVariableName}/lib/gnu-regexp.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/jboss-common.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/jboss-jmx.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/jboss-system.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/log4j-boot.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/namespace.jar </jar>
> > <jar type="variable">${classPathVariableName}/lib/webdavlib.jar </jar>
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/activati on.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/all/lib/autonumber-plugin. jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/avalon-f ramework.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bcel.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/all/lib/bindingservice-plu gin.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/bsh-comm ands-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-depl oyer.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-fu ll-2.0.1.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hibernat e2.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb-p lugin.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/hsqldb.j ar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jacorb.j ar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/javax.se rvlet.jsp.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jaxr-cli ent.jar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/server/all/lib/jboss-cache.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-co mmon-jdbc-wrapper.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-hi bernate.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ii op.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-j2 ee.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ja xrpc.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-jc a.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-js r77.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-ma nagement.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-mo nitoring.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/all/lib/jboss-remoting.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-sa aj.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-tr ansaction.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss.ja r </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/server/all/lib/jbossha.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/all/lib/jgroups.jar </jar>
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jmx-adap tor-plugin.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jnpserve r.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-patt ern.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jpl-util .jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/log4j.ja r </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail-plu gin.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/mail.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/odmg-3.0 .jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/properti es-plugin.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/all/lib/scheduler-plugin-e xample.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/schedule r-plugin.jar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/server/all/lib/snmp-adaptor.jar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/server/all/lib/snmpsupport.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>
> >
> >
> >
|
|
|
|
Re: Is webtools support to JBoss [message #90744 is a reply to message #89762] |
Thu, 07 April 2005 13:58  |
Eclipse User |
|
|
|
Thanks for your work on this. The files work great. However you missed
one line in jboss401.server where you had a hardcoded path. The old
line is:
<archive path="C:/devl/jboss-4.0.1sp1/server/${serverConfig}/conf"/ >
The line should read:
<archive path="${classPath}/server/${serverConfig}/conf"/>
Christopher M. Judd wrote:
> It took almost and entire day of trial and error but I was ultimately able
> to create a server configuration for JBoss 4.0.1. See attached
> jboss401.server, jboss401.xml and plugin.xml. They need to be placed in the
> eclipse\plugins\org.eclipse.jst.server.generic.serverdefinit ions_1.0.0\serve
> rs,
> eclipse\plugins\org.eclipse.jst.server.generic.serverdefinit ions_1.0.0\build
> files and
> eclipse\plugins\org.eclipse.jst.server.generic.serverdefinit ions_1.0.0
> directories respectively. I also submitted bug report 90100 and attached the
> files.
>
> "Darko Stefanovic" <darkos@lexgen.com> wrote in message
> news:d0d3uk$d9h$1@www.eclipse.org...
>
>>I followed every step in this thread but no success at all.
>>Finally, I changed jboss323.server file and modified it for JBoss4
>>settings and it started launching but throwing the ClassCast and Naming
>>Exceptions.
>>I did lost of googling and other searching and no solution. dead-end.
>>Just curious if if happened to anyone here.
>>
>>
>>
>>
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?eclipse version="3.0"?>
> <plugin
> id="org.eclipse.jst.server.generic.serverdefinitions"
> name="Serverdefinitions Plug-in"
> version="1.0.0"
> provider-name="Eclipse.org"
> class=" org.eclipse.jst.server.generic.serverdefinitions.Serverdefin itionsPlugin ">
>
> <runtime>
> <library name="serverdefinitions.jar">
> <export name="*"/>
> </library>
> </runtime>
>
> <requires>
> <import plugin="org.eclipse.core.runtime"/>
> <import plugin="org.eclipse.jst.server.generic.core"/>
> </requires>
>
> <extension point="org.eclipse.jst.server.generic.core.serverdefinition ">
> <serverdefinition id="Weblogic8.1" definitionfile="/servers/weblogic81.server">
> </serverdefinition>
> <serverdefinition id="JBoss 3.2.3" definitionfile="/servers/jboss323.server">
> </serverdefinition>
> <serverdefinition id="Jonas 4.1.4" definitionfile="/servers/jonas.server">
> </serverdefinition>
> <serverdefinition id="JBoss 4.0.1" definitionfile="/servers/jboss401.server">
> </serverdefinition>
> </extension>
> </plugin>
>
> <project name="deployextension" default="deploy.j2ee.web" basedir=".">
> <target name="deploy.j2ee.web">
> <jar destfile="${module.name}.war">
> <zipfileset dir="${module.dir}">
> <include name="**/*.*"/>
> <exclude name="**/*.war"/>
> </zipfileset>
> </jar>
> <move file="${module.name}.war" todir="${server.publish.dir}"/>
> </target>
>
> <target name="deploy.j2ee.ejb">
> <jar destfile="${module.name}.jar">
> <zipfileset dir="${module.dir}">
> <include name="**/*.*"/>
> <exclude name="**/*.java"/>
> <exclude name="**/*.jar"/>
> </zipfileset>
> </jar>
> <move file="${module.name}.jar" todir="${server.publish.dir}"/>
> </target>
> <target name="undeploy.j2ee.web">
> <delete file="${server.publish.dir}/${module.name}.war"> </delete>
> </target>
> <target name="undeploy.j2ee.ejb">
> <delete file="${server.publish.dir}/${module.name}.jar"> </delete>
> </target>
> </project>
|
|
|
Powered by
FUDForum. Page generated in 0.07319 seconds