Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Is webtools support to JBoss
Is webtools support to JBoss [message #76328] Thu, 24 February 2005 05:56 Go to next message
Eclipse UserFriend
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 #76482 is a reply to message #76328] Thu, 24 February 2005 15:52 Go to previous messageGo to next message
Vijay Bhadriraju is currently offline Vijay BhadrirajuFriend
Messages: 67
Registered: July 2009
Member
mingkit wrote:
> 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?
>


Yes, JBoss is supported. To set up JBoss you need to define it as server
runtime using Window -> Preferences -> Server -> Installed Runtimes. You
need to use the Generic Server Runtime to setup JBoss that is available
under the All runtimes in the New Server Runtime dialog

- Vijay
Re: Is webtools support to JBoss [message #76733 is a reply to message #76482] Fri, 25 February 2005 09:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: harri.pesonen.wicom.com

"Vijay Bhadriraju" <vbhadrir@us.ibm.com> wrote in message
news:cvkt7i$ahi$1@www.eclipse.org...
> mingkit wrote:
>> 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?
>
> Yes, JBoss is supported. To set up JBoss you need to define it as server
> runtime using Window -> Preferences -> Server -> Installed Runtimes. You
> need to use the Generic Server Runtime to setup JBoss that is available
> under the All runtimes in the New Server Runtime dialog

It seems that only JBoss 3.2.3 is supported. When I try to add
D:\jboss-4.0.1sp1 and enter

Application server directory: D:\jboss-4.0.1sp1
Classpath variable: D:\jboss-4.0.1sp1

it complains that

Missing classpath entry D:\jboss-4.0.1sp1\lib\jboss-boot.jar

-- Harri
Re: Is webtools support to JBoss [message #76766 is a reply to message #76733] Fri, 25 February 2005 09:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: j.rehpoehler.s2neueinformatik.de

Hi Harri,

you can customize the server definitions in the
org.eclipse.jst.server.generic.serverdefinitions_1.0.0 plugin. Copy the
jboss323.server file rename it to jboss400.server and change the
required libraries needed to start jboss. maybe you have to puzzle over
it a while but you should get it working if you know your jboss.

regards
Jens

Harri Pesonen schrieb:
> "Vijay Bhadriraju" <vbhadrir@us.ibm.com> wrote in message
> news:cvkt7i$ahi$1@www.eclipse.org...
>
>>mingkit wrote:
>>
>>>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?
>>
>>Yes, JBoss is supported. To set up JBoss you need to define it as server
>>runtime using Window -> Preferences -> Server -> Installed Runtimes. You
>>need to use the Generic Server Runtime to setup JBoss that is available
>>under the All runtimes in the New Server Runtime dialog
>
>
> It seems that only JBoss 3.2.3 is supported. When I try to add
> D:\jboss-4.0.1sp1 and enter
>
> Application server directory: D:\jboss-4.0.1sp1
> Classpath variable: D:\jboss-4.0.1sp1
>
> it complains that
>
> Missing classpath entry D:\jboss-4.0.1sp1\lib\jboss-boot.jar
>
> -- Harri
>
>
Re: Is webtools support to JBoss [message #77757 is a reply to message #76766] Sun, 27 February 2005 16:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: siarhei.dudzin.nospam.gmail.com

I had to leave the file name jboss323.server , otherwise Eclipse doesn't
pick up the .server file...

--
Regards,
Siarhei Dudzin
"Jens" <j.rehpoehler@s2neueinformatik.de> wrote in message
news:cvmrsf$g65$1@www.eclipse.org...
> Hi Harri,
>
> you can customize the server definitions in the
> org.eclipse.jst.server.generic.serverdefinitions_1.0.0 plugin. Copy the
> jboss323.server file rename it to jboss400.server and change the required
> libraries needed to start jboss. maybe you have to puzzle over it a while
> but you should get it working if you know your jboss.
>
> regards
> Jens
>
> Harri Pesonen schrieb:
>> "Vijay Bhadriraju" <vbhadrir@us.ibm.com> wrote in message
>> news:cvkt7i$ahi$1@www.eclipse.org...
>>
>>>mingkit wrote:
>>>
>>>>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?
>>>
>>>Yes, JBoss is supported. To set up JBoss you need to define it as server
>>>runtime using Window -> Preferences -> Server -> Installed Runtimes. You
>>>need to use the Generic Server Runtime to setup JBoss that is available
>>>under the All runtimes in the New Server Runtime dialog
>>
>>
>> It seems that only JBoss 3.2.3 is supported. When I try to add
>> D:\jboss-4.0.1sp1 and enter
>>
>> Application server directory: D:\jboss-4.0.1sp1
>> Classpath variable: D:\jboss-4.0.1sp1
>>
>> it complains that
>>
>> Missing classpath entry D:\jboss-4.0.1sp1\lib\jboss-boot.jar
>>
>> -- Harri
>>
Re: Is webtools support to JBoss [message #77915 is a reply to message #77757] Sun, 27 February 2005 18:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gercan.REMOVEME.acm.org

Siarhei Dudzin wrote:
> I had to leave the file name jboss323.server , otherwise Eclipse doesn't
> pick up the .server file...
>
In addition to adding the .server file, you have the add an entry into
the plugin.xml for your new file. Then generic server tooling will
pickup the newly added definition.
Re: Is webtools support to JBoss [message #77931 is a reply to message #77757] Mon, 28 February 2005 05:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mingkit.spymac.com

Siarhei Dudzin wrote:

> I had to leave the file name jboss323.server , otherwise Eclipse doesn't
> pick up the .server file...

Hi all,
Does anyone can provide the jboss4XX.server file, i have been tried to
create it and modify the library path but i still cannot run the jboss 4
without error. i think the error is come from the jboss missing some jar
file. Maybe anybody can provide the list of jar file require for the jboss
4 to startup. Thank you
Re: Is webtools support to JBoss [message #80589 is a reply to message #77757] Sat, 05 March 2005 20:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: darkos.lexgen.com

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.
Re: Is webtools support to JBoss [message #80602 is a reply to message #80589] Sun, 06 March 2005 03:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rohitbrai.rediffmail.com

I am also trying to set up the same thing. It always ends up with Class
not found. May be I am missing some Jar. Will anyone please give in the
list of JBoss Jars required for starting it up.
Re: Is webtools support to JBoss [message #80786 is a reply to message #80602] Mon, 07 March 2005 09:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: friv9821.sverige.nu

Hi.

I tried to get JBoss 4.0.1 to work some week ago. I found a Lomboz file om
the internet. ItŽs kind of similar to the webtools *.server file since
itŽs based on Lomboz.

However, after rewriting the lomboz file it seemed to work, until I
started the server. Then i got a ClassCastException during startup. I
didnŽt bother to examine it too much, but I think itŽs JNDI-related.

Somehow JBoss classpath gets misconfigured though pointing out correct
libs in the .server file. If I add j2ee.jar first in JBoss classpath, (in
run.bat, running standalone), I get the same error. Probably some eclipse
libs is added first in JBoss classpath.

Heres my non-working rewrite of JBoss4.0.1.server file.
***
<?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:\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):"
type="string"
context="server"
default="default" />
<property id="classPath"
label="Classpath Variable:"
type="directory"
context="runtime"
default="C:\jboss-4.0.1" />

<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></vmParameters>
<classpathReference>jboss</classpathReference>
</start>

<stop>
<class>org.jboss.Shutdown</class>
<workingDirectory>${serverRootDirectory}/bin</workingDirectory >
<programArguments>-S</programArguments>
<vmParameters></vmParameters>
<classpathReference>jboss</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" isLibrary="true">
<archive path="${classPath}/bin/run.jar" />
<archive path="${classPath}/bin/shutdown.jar" />
<archive path="${classPath}/lib/concurrent.jar" />
<archive path="${classPath}/lib/dom4j.jar" />
<archive path="${classPath}/lib/gnu-regexp.jar" />
<archive path="${classPath}/lib/jboss-jmx.jar" />
<archive path="${classPath}/lib/jboss-common.jar" />
<archive path="${classPath}/lib/jboss-system.jar" />
<archive path="${classPath}/lib/endorsed/xercesImpl.jar" />
<archive path="${classPath}/lib/endorsed/xml-apis.jar" />
<archive
path="${classPath}/server/${serverConfig}/lib/activation.jar " />
<archive path="${classPath}/server/${serverConfig}/lib/bcel.jar" />
<archive
path="${classPath}/server/${serverConfig}/lib/bsh-1.3.0.jar " />
<archive
path="${classPath}/server/${serverConfig}/lib/bsh-deployer.jar " />
<archive path="${classPath}/server/${serverConfig}/lib/hsqldb.jar" />
<archive
path="${classPath}/server/${serverConfig}/lib/hsqldb-plugin.jar " />
<archive
path="${classPath}/server/${serverConfig}/lib/javax.servlet.jar " />
<archive
path=" ${classPath}/server/${serverConfig}/lib/javax.servlet.jsp.ja r " />
<archive path="${classPath}/server/${serverConfig}/lib/jboss.jar" />
<archive
path=" ${classPath}/server/${serverConfig}/lib/jboss-common-jdbc-wr apper.jar "
/>
<archive
path="${classPath}/server/${serverConfig}/lib/jboss-j2ee.jar " />
<archive
path="${classPath}/server/${serverConfig}/lib/jboss-jaxrpc.jar " />
<archive
path="${classPath}/server/${serverConfig}/lib/jboss-jca.jar " />
<archive
path="${classPath}/server/${serverConfig}/lib/jboss-jsr77.jar " />
<archive
path=" ${classPath}/server/${serverConfig}/lib/jboss-management.jar " />
<archive
path=" ${classPath}/server/${serverConfig}/lib/jboss-monitoring.jar " />
<archive
path="${classPath}/server/${serverConfig}/lib/jboss-saaj.jar " />
<archive
path=" ${classPath}/server/${serverConfig}/lib/jboss-transaction.ja r " />
<archive path="${classPath}/server/${serverConfig}/lib/jbossmq.jar"
/>
<archive path="${classPath}/server/${serverConfig}/lib/jbosssx.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"
/>
</classpath>

<classpath id="jboss.project" isLibrary="false">
<archive path="${classPath}/client/jboss-j2ee.jar" />
<archive path="${classPath}/server/default/lib/javax.servlet.jar" />
</classpath>

</tns:ServerRuntime>
***

Rohit Rai wrote:

> I am also trying to set up the same thing. It always ends up with Class
> not found. May be I am missing some Jar. Will anyone please give in the
> list of JBoss Jars required for starting it up.
Re: Is webtools support to JBoss [message #80963 is a reply to message #80786] Mon, 07 March 2005 19:36 Go to previous messageGo to next message
Eclipse UserFriend
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${minim­umHeapSize} -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/xerces­Impl.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/auto­number-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/jbos­s-cache.jar </jar>
<jar
type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-co mmon-jdbc-wrap­per.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/jbos­s-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/jbos­sha.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/jgro­ups.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/sche­duler-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>
</serverClassPath>
<clientClassPath>
<jar
type="variable">${classPathVariableName}/client/avalon-frame­work.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-deploy­ment.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jboss-iiop-c­lient.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-transa­ction-client.j ar </jar>
<jar
type="variable">${classPathVariableName}/client/jboss-ws4ee-client.jar </jar>
<jar
type="variable"> ${classPathVariableName}/client/jboss${serve­rConfig}-clien t.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jbosscx-clie­nt.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jbossha-clie­nt.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jbossjmx-ant­.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jbossmq-clie­nt.jar </jar>
<jar
type="variable">${classPathVariableName}/client/jbosssx-clie­nt.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/xerces­Impl.jar </jar>
<jar
type="variable">${classPathVariableName}/lib/endorsed/xml-ap­is.jar </jar>
<jar type="variable">${classPathVariableName}/client/jboss-j2ee.jar </jar>
<jar
type="variable">${classPathVariableName}/lib/commons-httpcli­ent.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/auto­number-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/bind­ingservice-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-wrap­per.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/jbos­s-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/jbos­sha.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/jgro­ups.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/sche­duler-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/snmp­support.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 17:03 Go to previous messageGo to next message
Eclipse UserFriend
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${minim­umHeapSize} -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/xerces­Impl.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/auto­number-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/jbos­s-cache.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-co mmon-jdbc-wrap­per.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/jbos­s-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/jbos­sha.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/jgro­ups.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/sche­duler-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>
>
> </serverClassPath>
> <clientClassPath>
> <jar
> type="variable">${classPathVariableName}/client/avalon-frame­work.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-deploy­ment.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jboss-iiop-c­lient.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-transa­ction-client.j ar </jar>
>
> <jar
> type="variable">${classPathVariableName}/client/jboss-ws4ee-client.jar </jar>
>
> <jar
> type="variable"> ${classPathVariableName}/client/jboss${serve­rConfig}-clien t.jar </jar>
>
> <jar
> type="variable">${classPathVariableName}/client/jbosscx-clie­nt.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jbossha-clie­nt.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jbossjmx-ant­.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jbossmq-clie­nt.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jbosssx-clie­nt.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/xerces­Impl.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/endorsed/xml-ap­is.jar </jar>
> <jar
> type="variable">${classPathVariableName}/client/jboss-j2ee.jar </jar>
> <jar
> type="variable">${classPathVariableName}/lib/commons-httpcli­ent.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/auto­number-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/bind­ingservice-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-wrap­per.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/jbos­s-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/jbos­sha.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/jgro­ups.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/sche­duler-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/snmp­support.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 17:25 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: July 2009
Junior Member
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${minim­umHeapSize} -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/xerces­Impl.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/auto­number-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/jbos­s-cache.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/server/${serverConfig}/lib/jboss-co mmon-jdbc-wrap­per.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/jbos­s-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/jbos­sha.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/jgro­ups.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/sche­duler-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>
> >
> > </serverClassPath>
> > <clientClassPath>
> > <jar
> > type="variable">${classPathVariableName}/client/avalon-frame­work.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-deploy­ment.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jboss-iiop-c­lient.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-transa­ction-client.j ar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/client/jboss-ws4ee-client.jar </jar>
> >
> > <jar
> > type="variable"> ${classPathVariableName}/client/jboss${serve­rConfig}-clien t.jar </jar>
> >
> > <jar
> > type="variable">${classPathVariableName}/client/jbosscx-clie­nt.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jbossha-clie­nt.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jbossjmx-ant­.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jbossmq-clie­nt.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jbosssx-clie­nt.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/xerces­Impl.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/endorsed/xml-ap­is.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/client/jboss-j2ee.jar </jar>
> > <jar
> > type="variable">${classPathVariableName}/lib/commons-httpcli­ent.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/auto­number-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/bind­ingservice-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-wrap­per.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/jbos­s-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/jbos­sha.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/jgro­ups.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/sche­duler-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/snmp­support.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 #89762 is a reply to message #80589] Sun, 03 April 2005 03:46 Go to previous messageGo to next message
Christopher M. Judd is currently offline Christopher M. JuddFriend
Messages: 39
Registered: July 2009
Member
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.
>
>
>
>




  • Attachment: plugin.xml
    (Size: 1.05KB, Downloaded 132 times)
  • Attachment: jboss401.server
    (Size: 3.99KB, Downloaded 154 times)
  • Attachment: jboss401.xml
    (Size: 0.89KB, Downloaded 122 times)
Re: Is webtools support to JBoss [message #90744 is a reply to message #89762] Thu, 07 April 2005 17:58 Go to previous message
Eric Layton is currently offline Eric LaytonFriend
Messages: 1
Registered: July 2009
Junior Member
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>
Previous Topic:null pointer exception using New Web Service Wizard
Next Topic:How to integrate existing WebApps
Goto Forum:
  


Current Time: Thu Dec 26 20:21:51 GMT 2024

Powered by FUDForum. Page generated in 0.05023 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top