Author: objectiser
Date: 2011-01-27 06:06:04 -0500 (Thu, 27 Jan 2011)
New Revision: 1282
Added:
dsp/trunk/samples/example-deployer/deployer/conf/
dsp/trunk/samples/example-deployer/deployer/conf/jbossas5/
dsp/trunk/samples/example-deployer/deployer/conf/jbossas5/WEB-INF/
dsp/trunk/samples/example-deployer/deployer/conf/jbossas5/WEB-INF/classes/
dsp/trunk/samples/example-deployer/deployer/conf/jbossas5/WEB-INF/classes/dsp.properties
dsp/trunk/samples/example-deployer/deployer/conf/jbossas6/
dsp/trunk/samples/example-deployer/deployer/conf/jbossas6/WEB-INF/
dsp/trunk/samples/example-deployer/deployer/conf/jbossas6/WEB-INF/classes/
dsp/trunk/samples/example-deployer/deployer/conf/jbossas6/WEB-INF/classes/dsp.properties
dsp/trunk/samples/example-deployer/deployer/conf/jbossas6/WEB-INF/jboss-beans.xml
dsp/trunk/samples/example-deployer/deployer/conf/tomcat/
dsp/trunk/samples/example-deployer/deployer/conf/tomcat/WEB-INF/
dsp/trunk/samples/example-deployer/deployer/conf/tomcat/WEB-INF/classes/
dsp/trunk/samples/example-deployer/deployer/conf/tomcat/WEB-INF/classes/dsp.properties
Removed:
dsp/trunk/samples/example-deployer/deployer/resources/WEB-INF/classes/dsp.properties
Modified:
dsp/trunk/samples/example-deployer/build.xml
dsp/trunk/samples/example-deployer/readme.txt
Log:
RIFTSAW-336 - DSP now supports JBossAS 5 and 6.
Modified: dsp/trunk/samples/example-deployer/build.xml
===================================================================
--- dsp/trunk/samples/example-deployer/build.xml 2011-01-27 09:54:00 UTC (rev 1281)
+++ dsp/trunk/samples/example-deployer/build.xml 2011-01-27 11:06:04 UTC (rev 1282)
@@ -22,8 +22,12 @@
<fileset dir="deployer/resources" />
</copy>
+ <copy todir="${build.dir}/war" >
+ <fileset dir="deployer/conf/${platform}" />
+ </copy>
+
<copy todir="${build.dir}/war/WEB-INF/lib" >
- <fileset dir="../../lib" includes="dsp*.jar" />
+ <fileset dir="../../lib"
includes="dsp-api-*.jar,dsp-${platform}-*.jar" />
</copy>
<copy todir="${build.dir}/war/WEB-INF/lib" >
Added:
dsp/trunk/samples/example-deployer/deployer/conf/jbossas5/WEB-INF/classes/dsp.properties
===================================================================
---
dsp/trunk/samples/example-deployer/deployer/conf/jbossas5/WEB-INF/classes/dsp.properties
(rev 0)
+++
dsp/trunk/samples/example-deployer/deployer/conf/jbossas5/WEB-INF/classes/dsp.properties 2011-01-27
11:06:04 UTC (rev 1282)
@@ -0,0 +1,4 @@
+# JBOSS APPLICATION SERVER 5
+dsp.server.config.factory = org.jboss.soa.dsp.server.jbossas5.JBossServerConfigFactory
+dsp.service.deployer = org.jboss.soa.dsp.deployer.jbossas5.JBossServiceDeployer
+
Added:
dsp/trunk/samples/example-deployer/deployer/conf/jbossas6/WEB-INF/classes/dsp.properties
===================================================================
---
dsp/trunk/samples/example-deployer/deployer/conf/jbossas6/WEB-INF/classes/dsp.properties
(rev 0)
+++
dsp/trunk/samples/example-deployer/deployer/conf/jbossas6/WEB-INF/classes/dsp.properties 2011-01-27
11:06:04 UTC (rev 1282)
@@ -0,0 +1,4 @@
+# JBOSS APPLICATION SERVER 6
+dsp.server.config.factory = org.jboss.soa.dsp.server.jbossas6.JBossServerConfigFactory
+dsp.service.deployer = org.jboss.soa.dsp.deployer.jbossas6.JBossServiceDeployer
+
Added: dsp/trunk/samples/example-deployer/deployer/conf/jbossas6/WEB-INF/jboss-beans.xml
===================================================================
--- dsp/trunk/samples/example-deployer/deployer/conf/jbossas6/WEB-INF/jboss-beans.xml
(rev 0)
+++
dsp/trunk/samples/example-deployer/deployer/conf/jbossas6/WEB-INF/jboss-beans.xml 2011-01-27
11:06:04 UTC (rev 1282)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <!--
+ Locate the single instance of the kernel
+ -->
+ <bean name="org.jboss.soa.dsp:service=KernelLocator"
+ class="org.jboss.soa.dsp.server.jbossas6.KernelLocator">
+ <property name="kernel">
+ <inject bean="jboss.kernel:service=Kernel" />
+ </property>
+ </bean>
+
+ <!--
+ ServerConfig
+ -->
+ <bean name="org.jboss.soa.dsp:service=ServerConfig"
+ class="org.jboss.soa.dsp.server.jbossas6.JBossServerConfigImpl">
+ <property name="mbeanServer"><inject bean="JMXKernel"
property="mbeanServer"/></property>
+ <property
name="webServiceHost">${jboss.bind.address}</property>
+ </bean>
+
+
+</deployment>
Added:
dsp/trunk/samples/example-deployer/deployer/conf/tomcat/WEB-INF/classes/dsp.properties
===================================================================
---
dsp/trunk/samples/example-deployer/deployer/conf/tomcat/WEB-INF/classes/dsp.properties
(rev 0)
+++
dsp/trunk/samples/example-deployer/deployer/conf/tomcat/WEB-INF/classes/dsp.properties 2011-01-27
11:06:04 UTC (rev 1282)
@@ -0,0 +1,3 @@
+# APACHE TOMCAT
+dsp.server.config.factory = org.jboss.soa.dsp.server.tomcat.TomcatServerConfigFactory
+dsp.service.deployer = org.jboss.soa.dsp.deployer.tomcat.TomcatServiceDeployer
Deleted:
dsp/trunk/samples/example-deployer/deployer/resources/WEB-INF/classes/dsp.properties
===================================================================
---
dsp/trunk/samples/example-deployer/deployer/resources/WEB-INF/classes/dsp.properties 2011-01-27
09:54:00 UTC (rev 1281)
+++
dsp/trunk/samples/example-deployer/deployer/resources/WEB-INF/classes/dsp.properties 2011-01-27
11:06:04 UTC (rev 1282)
@@ -1,12 +0,0 @@
-
-# JBOSS APPLICATION SERVER 5
-dsp.server.config.factory = org.jboss.soa.dsp.server.jbossas5.JBossServerConfigFactory
-dsp.service.deployer = org.jboss.soa.dsp.deployer.jbossas5.JBossServiceDeployer
-
-# JBOSS APPLICATION SERVER 6
-#dsp.server.config.factory = org.jboss.soa.dsp.server.jbossas6.JBossServerConfigFactory
-#dsp.service.deployer = org.jboss.soa.dsp.deployer.jbossas6.JBossServiceDeployer
-
-# APACHE TOMCAT
-#dsp.server.config.factory = org.jboss.soa.dsp.server.tomcat.TomcatServerConfigFactory
-#dsp.service.deployer = org.jboss.soa.dsp.deployer.tomcat.TomcatServiceDeployer
Modified: dsp/trunk/samples/example-deployer/readme.txt
===================================================================
--- dsp/trunk/samples/example-deployer/readme.txt 2011-01-27 09:54:00 UTC (rev 1281)
+++ dsp/trunk/samples/example-deployer/readme.txt 2011-01-27 11:06:04 UTC (rev 1282)
@@ -8,17 +8,14 @@
Build the Example
-----------------
-1) Set the properties for the target environment
+The only task is to build the war ready for deployment.
-Uncomment the relevant properties in the
$DSP/samples/example-deployer/deployer/resources/WEB-INF/classes/dsp.properties
-file. Currently only Apache Tomcat and JBoss App Server are supported.
+From the $DSP/samples/example-deployer folder, run the following command:
-2) Build the war ready for deployment
+ ant build -Dplatform=<platform>
-From the $DSP/samples/example-deployer folder, run the following command:
+(current platforms supported are: jbossas5, jbossas6 and tomcat)
- ant build
-
If built successfully, this will create a war file in the build folder.
@@ -86,6 +83,11 @@
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
+NOTE: The response may vary slightly depending upon the platform used. The important part
of the
+response is the fault code, which should represent an 'ExampleFault' in the
'http://www.example.org'
+namespace.
+
+
3) Undeploy the service
Select the service in the undeploy section of the deployer's web page. This will
remove the web service
Show replies by date