Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » JBoss 3.2.6 problem
JBoss 3.2.6 problem [message #93079] Tue, 19 April 2005 07:38 Go to next message
Eclipse UserFriend
Hi all; i'm tring to create a generic server definition for JBoss 3.2.6; i
have created these files:
jboss326.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/ServerTypeDef
inition ServerTypeDefinitionSchema.xsd "
name="JBOSS 3.2.6" version="v3.2.6">
<property id="serverRootDirectory"
label="Application Server Directory:"
type="directory"
context="runtime"
default="/your_server_root/appservers/jboss-3.2.6" />
<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="/your_server_root/appservers/jboss-3.2.6" />

<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 </publis
herReference>
</module>
<module>
<type>j2ee.ejb</type>
<publishDir>${serverRootDirectory}/server/
${serverConfig}/deploy</publishDir>

<publisherReference>org.eclipse.jst.server.generic.antpublisher </publis
herReference>
</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/jboss326.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}/client/jboss-j2ee.jar" />
<archive path="${classPath}/server/
${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.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.jar" />
<archive path="${classPath}/server/
${serverConfig}/lib/bcel.jar" />
<archive path="${classPath}/lib/dom4j.jar" />
<archive path="${classPath}/lib/xercesImpl.jar" />
<archive path="${classPath}/lib/xml-apis.jar" />
<archive path="${classPath}/lib/gnu-regexp.jar" />
<archive path="${classPath}/lib/getopt.jar" />
</classpath>

<classpath id="jboss.project" isLibrary="false">
<archive path="${classPath}/client/jboss-j2ee.jar" />
<archive path="${classPath}/server/
${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar " />
</classpath>

</tns:ServerRuntime>

jboss326.xml:

<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>

Then i have updated my plugin.xml:

<?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 3.2.6"
definitionfile="/servers/jboss326.server">
</serverdefinition> </extension>
</plugin>

I haved inserted these file into these directory:
in
$ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0
i have inserted plugin.xml
In
$ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0/se
rvers i have inserted jboss326.server
in
$ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0/bu
ildfiles i have inserted jboss326.xml

After these operation i have started eclipse and by selecting:
Window -> Preferences -> Server -> Installed Runtime -> add -> all ->
Generic
Server Runtime -> next in the server types combo box i'm not able to see the
JBoss 3.2.6 definition... i can see only Weblogic 8.1, JBoss 3.2.3 and JonAS
4.1.4. This is my environment:
Windows XP Home edition SP2, wtp-eclipse-prereqs-sdk-1.0M3-win32 (downloaded
form web tools home site), Java SDK1.4.2._07.

Am i wrong or is not this operation supported?
Thanks
Re: JBoss 3.2.6 problem [message #93248 is a reply to message #93079] Tue, 19 April 2005 17:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gercan.REMOVEME.acm.org

Hi Angelo,
Everything seems in order, I am changing the mechanism for defining a
new server definition quite a bit for M4. May I suggest that you try
your server definition in M4.

Gorkem Ercan

Angelo Immediata wrote:
> Hi all; i'm tring to create a generic server definition for JBoss 3.2.6; i
> have created these files:
> jboss326.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/ServerTypeDef
> inition ServerTypeDefinitionSchema.xsd "
> name="JBOSS 3.2.6" version="v3.2.6">
> <property id="serverRootDirectory"
> label="Application Server Directory:"
> type="directory"
> context="runtime"
> default="/your_server_root/appservers/jboss-3.2.6" />
> <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="/your_server_root/appservers/jboss-3.2.6" />
>
> <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 </publis
> herReference>
> </module>
> <module>
> <type>j2ee.ejb</type>
> <publishDir>${serverRootDirectory}/server/
> ${serverConfig}/deploy</publishDir>
>
> <publisherReference>org.eclipse.jst.server.generic.antpublisher </publis
> herReference>
> </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/jboss326.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}/client/jboss-j2ee.jar" />
> <archive path="${classPath}/server/
> ${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.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.jar" />
> <archive path="${classPath}/server/
> ${serverConfig}/lib/bcel.jar" />
> <archive path="${classPath}/lib/dom4j.jar" />
> <archive path="${classPath}/lib/xercesImpl.jar" />
> <archive path="${classPath}/lib/xml-apis.jar" />
> <archive path="${classPath}/lib/gnu-regexp.jar" />
> <archive path="${classPath}/lib/getopt.jar" />
> </classpath>
>
> <classpath id="jboss.project" isLibrary="false">
> <archive path="${classPath}/client/jboss-j2ee.jar" />
> <archive path="${classPath}/server/
> ${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar " />
> </classpath>
>
> </tns:ServerRuntime>
>
> jboss326.xml:
>
> <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>
>
> Then i have updated my plugin.xml:
>
> <?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 3.2.6"
> definitionfile="/servers/jboss326.server">
> </serverdefinition> </extension>
> </plugin>
>
> I haved inserted these file into these directory:
> in
> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0
> i have inserted plugin.xml
> In
> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0/se
> rvers i have inserted jboss326.server
> in
> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0/bu
> ildfiles i have inserted jboss326.xml
>
> After these operation i have started eclipse and by selecting:
> Window -> Preferences -> Server -> Installed Runtime -> add -> all ->
> Generic
> Server Runtime -> next in the server types combo box i'm not able to see the
> JBoss 3.2.6 definition... i can see only Weblogic 8.1, JBoss 3.2.3 and JonAS
> 4.1.4. This is my environment:
> Windows XP Home edition SP2, wtp-eclipse-prereqs-sdk-1.0M3-win32 (downloaded
> form web tools home site), Java SDK1.4.2._07.
>
> Am i wrong or is not this operation supported?
> Thanks
>
>
Re: JBoss 3.2.6 problem [message #93381 is a reply to message #93248] Wed, 20 April 2005 12:23 Go to previous messageGo to next message
Eclipse UserFriend
Hi Gorkem.
First of all thanks for your answer. I wanted to know.... where can i
download the M4? I have seen the web tools project and it seems to me very
very interesting but i must use JBoss 3.2.6 (later also 4.0 but now
3.2.6)... i can't use tomcat 5.0 also because i need to write several EJB
and i don't want to use several eclipse plugin.
Thanks
"Gorkem Ercan" <gercan@REMOVEME.acm.org> ha scritto nel messaggio
news:42657957.2080408@REMOVEME.acm.org...
> Hi Angelo,
> Everything seems in order, I am changing the mechanism for defining a new
> server definition quite a bit for M4. May I suggest that you try your
> server definition in M4.
>
> Gorkem Ercan
>
> Angelo Immediata wrote:
>> Hi all; i'm tring to create a generic server definition for JBoss 3.2.6;
>> i
>> have created these files:
>> jboss326.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/ServerTypeDef
>> inition ServerTypeDefinitionSchema.xsd "
>> name="JBOSS 3.2.6" version="v3.2.6">
>> <property id="serverRootDirectory"
>> label="Application Server Directory:"
>> type="directory"
>> context="runtime"
>> default="/your_server_root/appservers/jboss-3.2.6" />
>> <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="/your_server_root/appservers/jboss-3.2.6" />
>>
>> <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 </publis
>> herReference>
>> </module>
>> <module>
>> <type>j2ee.ejb</type>
>> <publishDir>${serverRootDirectory}/server/
>> ${serverConfig}/deploy</publishDir>
>>
>> <publisherReference>org.eclipse.jst.server.generic.antpublisher </publis
>> herReference>
>> </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/jboss326.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}/client/jboss-j2ee.jar" />
>> <archive path="${classPath}/server/
>> ${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.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.jar" />
>> <archive path="${classPath}/server/
>> ${serverConfig}/lib/bcel.jar" />
>> <archive path="${classPath}/lib/dom4j.jar" />
>> <archive path="${classPath}/lib/xercesImpl.jar" />
>> <archive path="${classPath}/lib/xml-apis.jar" />
>> <archive path="${classPath}/lib/gnu-regexp.jar" />
>> <archive path="${classPath}/lib/getopt.jar" />
>> </classpath>
>>
>> <classpath id="jboss.project" isLibrary="false">
>> <archive path="${classPath}/client/jboss-j2ee.jar" />
>> <archive path="${classPath}/server/
>> ${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar " />
>> </classpath>
>>
>> </tns:ServerRuntime>
>>
>> jboss326.xml:
>>
>> <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>
>>
>> Then i have updated my plugin.xml:
>>
>> <?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 3.2.6"
>> definitionfile="/servers/jboss326.server">
>> </serverdefinition> </extension>
>> </plugin>
>>
>> I haved inserted these file into these directory:
>> in
>> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0
>> i have inserted plugin.xml
>> In
>> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0/se
>> rvers i have inserted jboss326.server
>> in
>> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0/bu
>> ildfiles i have inserted jboss326.xml
>>
>> After these operation i have started eclipse and by selecting:
>> Window -> Preferences -> Server -> Installed Runtime -> add -> all ->
>> Generic
>> Server Runtime -> next in the server types combo box i'm not able to see
>> the
>> JBoss 3.2.6 definition... i can see only Weblogic 8.1, JBoss 3.2.3 and
>> JonAS
>> 4.1.4. This is my environment:
>> Windows XP Home edition SP2, wtp-eclipse-prereqs-sdk-1.0M3-win32
>> (downloaded
>> form web tools home site), Java SDK1.4.2._07.
>>
>> Am i wrong or is not this operation supported?
>> Thanks
Re: JBoss 3.2.6 problem [message #95568 is a reply to message #93248] Wed, 27 April 2005 14:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dominic_mailhot.videotron.ca

Gorkem, Angelo,

I need to do the same for jBoss 4.0.2.. Where can I find the instructions
to do that before M4? Can you also tell me what will be part of M4 wrt
servers definition??

Thanks

"Gorkem Ercan" <gercan@REMOVEME.acm.org> wrote in message
news:42657957.2080408@REMOVEME.acm.org...
> Hi Angelo,
> Everything seems in order, I am changing the mechanism for defining a new
> server definition quite a bit for M4. May I suggest that you try your
> server definition in M4.
>
> Gorkem Ercan
>
> Angelo Immediata wrote:
>> Hi all; i'm tring to create a generic server definition for JBoss 3.2.6;
>> i
>> have created these files:
>> jboss326.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/ServerTypeDef
>> inition ServerTypeDefinitionSchema.xsd "
>> name="JBOSS 3.2.6" version="v3.2.6">
>> <property id="serverRootDirectory"
>> label="Application Server Directory:"
>> type="directory"
>> context="runtime"
>> default="/your_server_root/appservers/jboss-3.2.6" />
>> <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="/your_server_root/appservers/jboss-3.2.6" />
>>
>> <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 </publis
>> herReference>
>> </module>
>> <module>
>> <type>j2ee.ejb</type>
>> <publishDir>${serverRootDirectory}/server/
>> ${serverConfig}/deploy</publishDir>
>>
>> <publisherReference>org.eclipse.jst.server.generic.antpublisher </publis
>> herReference>
>> </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/jboss326.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}/client/jboss-j2ee.jar" />
>> <archive path="${classPath}/server/
>> ${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.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.jar" />
>> <archive path="${classPath}/server/
>> ${serverConfig}/lib/bcel.jar" />
>> <archive path="${classPath}/lib/dom4j.jar" />
>> <archive path="${classPath}/lib/xercesImpl.jar" />
>> <archive path="${classPath}/lib/xml-apis.jar" />
>> <archive path="${classPath}/lib/gnu-regexp.jar" />
>> <archive path="${classPath}/lib/getopt.jar" />
>> </classpath>
>>
>> <classpath id="jboss.project" isLibrary="false">
>> <archive path="${classPath}/client/jboss-j2ee.jar" />
>> <archive path="${classPath}/server/
>> ${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar " />
>> </classpath>
>>
>> </tns:ServerRuntime>
>>
>> jboss326.xml:
>>
>> <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>
>>
>> Then i have updated my plugin.xml:
>>
>> <?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 3.2.6"
>> definitionfile="/servers/jboss326.server">
>> </serverdefinition> </extension>
>> </plugin>
>>
>> I haved inserted these file into these directory:
>> in
>> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0
>> i have inserted plugin.xml
>> In
>> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0/se
>> rvers i have inserted jboss326.server
>> in
>> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0/bu
>> ildfiles i have inserted jboss326.xml
>>
>> After these operation i have started eclipse and by selecting:
>> Window -> Preferences -> Server -> Installed Runtime -> add -> all ->
>> Generic
>> Server Runtime -> next in the server types combo box i'm not able to see
>> the
>> JBoss 3.2.6 definition... i can see only Weblogic 8.1, JBoss 3.2.3 and
>> JonAS
>> 4.1.4. This is my environment:
>> Windows XP Home edition SP2, wtp-eclipse-prereqs-sdk-1.0M3-win32
>> (downloaded
>> form web tools home site), Java SDK1.4.2._07.
>>
>> Am i wrong or is not this operation supported?
>> Thanks
Re: JBoss 3.2.6 problem [message #100035 is a reply to message #95568] Fri, 06 May 2005 06:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: webmaster.forentersoft.com

Hi all :-)
I have the same problems!

"Dominic Mailhot" <dominic_mailhot@videotron.ca> wrote in message
news:d4ommk$pse$1@news.eclipse.org...
> Gorkem, Angelo,
>
> I need to do the same for jBoss 4.0.2.. Where can I find the instructions
> to do that before M4? Can you also tell me what will be part of M4 wrt
> servers definition??
>
> Thanks
>
> "Gorkem Ercan" <gercan@REMOVEME.acm.org> wrote in message
> news:42657957.2080408@REMOVEME.acm.org...
> > Hi Angelo,
> > Everything seems in order, I am changing the mechanism for defining a
new
> > server definition quite a bit for M4. May I suggest that you try your
> > server definition in M4.
> >
> > Gorkem Ercan
> >
> > Angelo Immediata wrote:
> >> Hi all; i'm tring to create a generic server definition for JBoss
3.2.6;
> >> i
> >> have created these files:
> >> jboss326.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/ServerTypeDef
> >> inition ServerTypeDefinitionSchema.xsd "
> >> name="JBOSS 3.2.6" version="v3.2.6">
> >> <property id="serverRootDirectory"
> >> label="Application Server Directory:"
> >> type="directory"
> >> context="runtime"
> >> default="/your_server_root/appservers/jboss-3.2.6" />
> >> <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="/your_server_root/appservers/jboss-3.2.6" />
> >>
> >> <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 </publis
> >> herReference>
> >> </module>
> >> <module>
> >> <type>j2ee.ejb</type>
> >> <publishDir>${serverRootDirectory}/server/
> >> ${serverConfig}/deploy</publishDir>
> >>
> >> <publisherReference>org.eclipse.jst.server.generic.antpublisher </publis
> >> herReference>
> >> </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/jboss326.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}/client/jboss-j2ee.jar" />
> >> <archive path="${classPath}/server/
> >> ${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.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.jar" />
> >> <archive path="${classPath}/server/
> >> ${serverConfig}/lib/bcel.jar" />
> >> <archive path="${classPath}/lib/dom4j.jar" />
> >> <archive path="${classPath}/lib/xercesImpl.jar" />
> >> <archive path="${classPath}/lib/xml-apis.jar" />
> >> <archive path="${classPath}/lib/gnu-regexp.jar" />
> >> <archive path="${classPath}/lib/getopt.jar" />
> >> </classpath>
> >>
> >> <classpath id="jboss.project" isLibrary="false">
> >> <archive path="${classPath}/client/jboss-j2ee.jar" />
> >> <archive path="${classPath}/server/
> >> ${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar " />
> >> </classpath>
> >>
> >> </tns:ServerRuntime>
> >>
> >> jboss326.xml:
> >>
> >> <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>
> >>
> >> Then i have updated my plugin.xml:
> >>
> >> <?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 itionsPlu
gin
> >> ">
> >>
> >> <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 3.2.6"
> >> definitionfile="/servers/jboss326.server">
> >> </serverdefinition> </extension>
> >> </plugin>
> >>
> >> I haved inserted these file into these directory:
> >> in
> >>
$ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0
> >> i have inserted plugin.xml
> >> In
> >>
$ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0
/se
> >> rvers i have inserted jboss326.server
> >> in
> >>
$ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0
/bu
> >> ildfiles i have inserted jboss326.xml
> >>
> >> After these operation i have started eclipse and by selecting:
> >> Window -> Preferences -> Server -> Installed Runtime -> add -> all ->
> >> Generic
> >> Server Runtime -> next in the server types combo box i'm not able to
see
> >> the
> >> JBoss 3.2.6 definition... i can see only Weblogic 8.1, JBoss 3.2.3 and
> >> JonAS
> >> 4.1.4. This is my environment:
> >> Windows XP Home edition SP2, wtp-eclipse-prereqs-sdk-1.0M3-win32
> >> (downloaded
> >> form web tools home site), Java SDK1.4.2._07.
> >>
> >> Am i wrong or is not this operation supported?
> >> Thanks
>
>
Re: JBoss 3.2.6 problem [message #100300 is a reply to message #100035] Fri, 06 May 2005 12:43 Go to previous message
Eclipse UserFriend
Try to use these files
"Darius" <webmaster@forentersoft.com> ha scritto nel messaggio
news:d5fhbl$h3r$1@news.eclipse.org...
> Hi all :-)
> I have the same problems!
>
> "Dominic Mailhot" <dominic_mailhot@videotron.ca> wrote in message
> news:d4ommk$pse$1@news.eclipse.org...
>> Gorkem, Angelo,
>>
>> I need to do the same for jBoss 4.0.2.. Where can I find the
>> instructions
>> to do that before M4? Can you also tell me what will be part of M4 wrt
>> servers definition??
>>
>> Thanks
>>
>> "Gorkem Ercan" <gercan@REMOVEME.acm.org> wrote in message
>> news:42657957.2080408@REMOVEME.acm.org...
>> > Hi Angelo,
>> > Everything seems in order, I am changing the mechanism for defining a
> new
>> > server definition quite a bit for M4. May I suggest that you try your
>> > server definition in M4.
>> >
>> > Gorkem Ercan
>> >
>> > Angelo Immediata wrote:
>> >> Hi all; i'm tring to create a generic server definition for JBoss
> 3.2.6;
>> >> i
>> >> have created these files:
>> >> jboss326.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/ServerTypeDef
>> >> inition ServerTypeDefinitionSchema.xsd "
>> >> name="JBOSS 3.2.6" version="v3.2.6">
>> >> <property id="serverRootDirectory"
>> >> label="Application Server Directory:"
>> >> type="directory"
>> >> context="runtime"
>> >> default="/your_server_root/appservers/jboss-3.2.6" />
>> >> <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="/your_server_root/appservers/jboss-3.2.6" />
>> >>
>> >> <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 </publis
>> >> herReference>
>> >> </module>
>> >> <module>
>> >> <type>j2ee.ejb</type>
>> >> <publishDir>${serverRootDirectory}/server/
>> >> ${serverConfig}/deploy</publishDir>
>> >>
>> >> <publisherReference>org.eclipse.jst.server.generic.antpublisher </publis
>> >> herReference>
>> >> </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/jboss326.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}/client/jboss-j2ee.jar" />
>> >> <archive path="${classPath}/server/
>> >> ${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.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.jar" />
>> >> <archive path="${classPath}/server/
>> >> ${serverConfig}/lib/bcel.jar" />
>> >> <archive path="${classPath}/lib/dom4j.jar" />
>> >> <archive path="${classPath}/lib/xercesImpl.jar" />
>> >> <archive path="${classPath}/lib/xml-apis.jar" />
>> >> <archive path="${classPath}/lib/gnu-regexp.jar" />
>> >> <archive path="${classPath}/lib/getopt.jar" />
>> >> </classpath>
>> >>
>> >> <classpath id="jboss.project" isLibrary="false">
>> >> <archive path="${classPath}/client/jboss-j2ee.jar" />
>> >> <archive path="${classPath}/server/
>> >> ${serverConfig}/deploy/jbossweb-tomcat50.sar/servlet-api.jar " />
>> >> </classpath>
>> >>
>> >> </tns:ServerRuntime>
>> >>
>> >> jboss326.xml:
>> >>
>> >> <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>
>> >>
>> >> Then i have updated my plugin.xml:
>> >>
>> >> <?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 itionsPlu
> gin
>> >> ">
>> >>
>> >> <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 3.2.6"
>> >> definitionfile="/servers/jboss326.server">
>> >> </serverdefinition> </extension>
>> >> </plugin>
>> >>
>> >> I haved inserted these file into these directory:
>> >> in
>> >>
> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0
>> >> i have inserted plugin.xml
>> >> In
>> >>
> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0
> /se
>> >> rvers i have inserted jboss326.server
>> >> in
>> >>
> $ECLIPSE_HOME/plugins/org.eclipse.jst.server.generic.serverd efinitions_1.0.0
> /bu
>> >> ildfiles i have inserted jboss326.xml
>> >>
>> >> After these operation i have started eclipse and by selecting:
>> >> Window -> Preferences -> Server -> Installed Runtime -> add -> all ->
>> >> Generic
>> >> Server Runtime -> next in the server types combo box i'm not able to
> see
>> >> the
>> >> JBoss 3.2.6 definition... i can see only Weblogic 8.1, JBoss 3.2.3 and
>> >> JonAS
>> >> 4.1.4. This is my environment:
>> >> Windows XP Home edition SP2, wtp-eclipse-prereqs-sdk-1.0M3-win32
>> >> (downloaded
>> >> form web tools home site), Java SDK1.4.2._07.
>> >>
>> >> Am i wrong or is not this operation supported?
>> >> Thanks
>>
>>
>
>


Previous Topic:Bugzilla Bug 84843
Next Topic:Define custom mapping for package to namespace
Goto Forum:
  


Current Time: Sun Jul 27 14:16:24 EDT 2025

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

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

Back to the top