You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2006/11/10 03:30:53 UTC

svn commit: r473170 - in /incubator/cxf/trunk: distribution/src/main/release/samples/integration/JBI/external_provider_external_consumer/ distribution/src/main/release/samples/integration/JBI/external_provider_internal_consumer/ distribution/src/main/r...

Author: ffang
Date: Thu Nov  9 18:30:52 2006
New Revision: 473170

URL: http://svn.apache.org/viewvc?view=rev&rev=473170
Log:
[CXF-38] JBI Integration - 1.reuse SERVICEMIX_HOME variable defined by servicemix
                           2.minor configuration change for classloader

Modified:
    incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/external_provider_external_consumer/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/external_provider_internal_consumer/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_external_consumer/README.txt
    incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_external_consumer/service-unit/src/test/consumer/HelloWorldConsumer.java
    incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_internal_consumer/README.txt
    incubator/cxf/trunk/integration/jbi/src/main/java/org/apache/cxf/jbi/se/filters.properties

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/external_provider_external_consumer/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/external_provider_external_consumer/README.txt?view=diff&rev=473170&r1=473169&r2=473170
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/external_provider_external_consumer/README.txt (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/external_provider_external_consumer/README.txt Thu Nov  9 18:30:52 2006
@@ -54,17 +54,17 @@
   http://incubator.apache.org/servicemix/main/servicemix-30.html
   Note: Must isntall the  ServiceMix 3.0 Release.
 
-. export SERVICE_MIX_HOME for your shell envirnoment
+. export SERVICEMIX_HOME for your shell envirnoment
 
 . Edit build.properties to sepcify cxf.home and jbi.sdk.jar,
-  jbi.sdk.jar=$SERVICE_MIX_HOME/lib/servicemix-jbi-3.0-SNAPSHOT.jar
+  jbi.sdk.jar=$SERVICEMIX_HOME/lib/servicemix-jbi-3.0-SNAPSHOT.jar
 
 
 . build everything using ant: 'ant build'
 
 Installation & Deployment
 -------------------------
-Ensure that the $SERVICE_MIX_HOME/bin is on the path.
+Ensure that the $SERVICEMIX_HOME/bin is on the path.
 
 Start ServiceMix
  >servicemix
@@ -76,21 +76,20 @@
 java launch commandline
 
 Start cxf server
- > ant server
- -Dthirdparty.classpath=$SERVICE_MIX_HOME/lib/activemq-core-4.0.2.jar:$SERVICE_MIX_HOME/lib/backport-util-concurrent-2.1.jar:$SERVICE_MIX_HOME/lib/activeio-core-3.0-beta4.jar:$SERVICE_MIX_HOME/lib/geronimo-j2ee-management_1.0_spec-1.0.1.jar
+ > ant server -Dthirdparty.classpath=$SERVICEMIX_HOME/lib/activemq-core-4.0.2.jar:$SERVICEMIX_HOME/lib/backport-util-concurrent-2.1.jar:$SERVICEMIX_HOME/lib/activeio-core-3.0-beta4.jar:$SERVICEMIX_HOME/lib/geronimo-j2ee-management_1.0_spec-1.0.1.jar
 
 Install and start the ServiceMix soap/jms binding component
 copy servicemix-jms-3.0-incubating-installer.zip, servicemix-jms-3.0-incubating-installer.zip and
 servicemix-shared-3.0-incubating-installer.zip to the deploy directory
 where servicemix monitor on, for a instance, start servicemix from
-$SERVICE_MIX_HOME/bin, then copy the three zip files into deploy directory under
-$SERVICE_MIX_HOME/bin 
+$SERVICEMIX_HOME/bin, then copy the three zip files into deploy directory under
+$SERVICEMIX_HOME/bin 
 
 
 Deploy and start the CXF demo service assembly
 
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml  deploy-service-assembly -Dsm.deploy.file=./service-assembly/build/lib/cxf-service-assembly.zip -Dsm.username=smx -Dsm.password=smx
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml start-service-assembly -Dsm.service.assembly.name=cxf-demo-service-assembly -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml  deploy-service-assembly -Dsm.deploy.file=./service-assembly/build/lib/cxf-service-assembly.zip -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml start-service-assembly -Dsm.service.assembly.name=cxf-demo-service-assembly -Dsm.username=smx -Dsm.password=smx
 
 Start cxf client
  > ant client

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/external_provider_internal_consumer/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/external_provider_internal_consumer/README.txt?view=diff&rev=473170&r1=473169&r2=473170
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/external_provider_internal_consumer/README.txt (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/external_provider_internal_consumer/README.txt Thu Nov  9 18:30:52 2006
@@ -52,17 +52,17 @@
   http://incubator.apache.org/servicemix/main/servicemix-30.html
   Note: Must isntall the  ServiceMix 3.0 Release.
 
-. export SERVICE_MIX_HOME for your shell envirnoment
+. export SERVICEMIX_HOMEfor your shell envirnoment
 
 . Edit build.properties to sepcify cxf.home and jbi.sdk.jar,
-  jbi.sdk.jar=$SERVICE_MIX_HOME/lib/servicemix-jbi-3.0-SNAPSHOT.jar
+  jbi.sdk.jar=$SERVICEMIX_HOME/lib/servicemix-jbi-3.0-SNAPSHOT.jar
 
 
 . build everything using ant: 'ant build'
 
 Installation & Deployment
 -------------------------
-Ensure that the $SERVICE_MIX_HOME/bin is on the path.
+Ensure that the $SERVICEMIX_HOME/bin is on the path.
 
 Start ServiceMix
  >servicemix
@@ -74,24 +74,24 @@
 java launch commandline
 
 Start cxf server
-> ant server -Dthirdparty.classpath=$SERVICE_MIX_HOME/lib/activemq-core-4.0.2.jar:$SERVICE_MIX_HOME/lib/backport-util-concurrent-2.1.jar:$SERVICE_MIX_HOME/lib/activeio-core-3.0-beta4.jar:$SERVICE_MIX_HOME/lib/geronimo-j2ee-management_1.0_spec-1.0.1.jar
+> ant server -Dthirdparty.classpath=$SERVICEMIX_HOME/lib/activemq-core-4.0.2.jar:$SERVICEMIX_HOME/lib/backport-util-concurrent-2.1.jar:$SERVICEMIX_HOME/lib/activeio-core-3.0-beta4.jar:$SERVICEMIX_HOME/lib/geronimo-j2ee-management_1.0_spec-1.0.1.jar
 Install and start the CXF Service Engine:
 
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml install-component -Dsm.install.file=./service-engine/build/lib/cxf-service-engine.jar -Dsm.username=smx -Dsm.password=smx
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml start-component -Dsm.component.name=CXFServiceEngine -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml install-component -Dsm.install.file=./service-engine/build/lib/cxf-service-engine.jar -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml start-component -Dsm.component.name=CXFServiceEngine -Dsm.username=smx -Dsm.password=smx
 
 Install and start the ServiceMix jms binding component
 
 copy servicemix-jms-3.0-incubating-installer.zip and
 servicemix-shared-3.0-incubating-installer.zip to the deploy directory
 where servicemix monitor on, for a instance, start servicemix from
-$SERVICE_MIX_HOME/bin, then copy the two zip files into deploy directory under
-$SERVICE_MIX_HOME/bin 
+$SERVICEMIX_HOME/bin, then copy the two zip files into deploy directory under
+$SERVICEMIX_HOME/bin 
 
 Deploy the and start CXF demo service assembly
 
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml  deploy-service-assembly -Dsm.deploy.file=./service-assembly/build/lib/cxf-service-assembly.zip -Dsm.username=smx -Dsm.password=smx
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml start-service-assembly -Dsm.service.assembly.name=cxf-demo-service-assembly -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml  deploy-service-assembly -Dsm.deploy.file=./service-assembly/build/lib/cxf-service-assembly.zip -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml start-service-assembly -Dsm.service.assembly.name=cxf-demo-service-assembly -Dsm.username=smx -Dsm.password=smx
 
 
 

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_external_consumer/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_external_consumer/README.txt?view=diff&rev=473170&r1=473169&r2=473170
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_external_consumer/README.txt (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_external_consumer/README.txt Thu Nov  9 18:30:52 2006
@@ -54,16 +54,16 @@
   http://incubator.apache.org/servicemix/main/servicemix-30.html
   Note: Must isntall the  ServiceMix 3.0 Release.
 
-. export SERVICE_MIX_HOME for your shell envirnoment
+. export SERVICEMIX_HOME for your shell envirnoment
 
 . Edit build.properties to sepcify cxf.home and jbi.sdk.jar,
-  jbi.sdk.jar=$SERVICE_MIX_HOME/lib/servicemix-jbi-3.0-SNAPSHOT.jar
+  jbi.sdk.jar=$SERVICEMIX_HOME/lib/servicemix-jbi-3.0-SNAPSHOT.jar
 
 . build everything using ant: 'ant build'
 
 Installation & Deployment
 -------------------------
-Ensure that the $SERVICE_MIX_HOME/bin is on the path.
+Ensure that the $SERVICEMIX_HOME/bin is on the path.
 
 Start ServiceMix
  >servicemix
@@ -76,21 +76,21 @@
 
 Install and start the CXF Service Engine:
 
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml install-component -Dsm.install.file=./service-engine/build/lib/cxf-service-engine.jar  -Dsm.username=smx -Dsm.password=smx
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml start-component -Dsm.component.name=CXFServiceEngine  -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml install-component -Dsm.install.file=./service-engine/build/lib/cxf-service-engine.jar  -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml start-component -Dsm.component.name=CXFServiceEngine  -Dsm.username=smx -Dsm.password=smx
 
 Install and start the ServiceMix soap binding component
 
 copy servicemix-http-3.0-incubating-installer.zip and
 servicemix-shared-3.0-incubating-installer.zip to the deploy directory
 where servicemix monitor on, for a instance, start servicemix from
-$SERVICE_MIX_HOME/bin, then copy the two zip files into deploy directory under
-$SERVICE_MIX_HOME/bin 
+$SERVICEMIX_HOME/bin, then copy the two zip files into deploy directory under
+$SERVICEMIX_HOME/bin 
 
 Deploy the and start CXF demo service assembly
 
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml  deploy-service-assembly -Dsm.deploy.file=./service-assembly/build/lib/cxf-service-assembly.zip  -Dsm.username=smx -Dsm.password=smx
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml start-service-assembly -Dsm.service.assembly.name=cxf-demo-service-assembly  -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml  deploy-service-assembly -Dsm.deploy.file=./service-assembly/build/lib/cxf-service-assembly.zip  -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml start-service-assembly -Dsm.service.assembly.name=cxf-demo-service-assembly  -Dsm.username=smx -Dsm.password=smx
 
 Start cxf client
  > ant client

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_external_consumer/service-unit/src/test/consumer/HelloWorldConsumer.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_external_consumer/service-unit/src/test/consumer/HelloWorldConsumer.java?view=diff&rev=473170&r1=473169&r2=473170
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_external_consumer/service-unit/src/test/consumer/HelloWorldConsumer.java (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_external_consumer/service-unit/src/test/consumer/HelloWorldConsumer.java Thu Nov  9 18:30:52 2006
@@ -64,8 +64,6 @@
         resp = port.greetMe(System.getProperty("user.name"));
         System.out.println("Server responded with: " + resp);
         System.out.println();
-        System.out.println("Invoking greetMeOneWay...");
-        g.greetMeOneWay("ffang");
 
         System.exit(0);                 
     }

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_internal_consumer/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_internal_consumer/README.txt?view=diff&rev=473170&r1=473169&r2=473170
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_internal_consumer/README.txt (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/integration/JBI/internal_provider_internal_consumer/README.txt Thu Nov  9 18:30:52 2006
@@ -51,17 +51,17 @@
 . Download & Install ServiceMix 
   http://incubator.apache.org/servicemix/main/servicemix-30.html
   Note: Must isntall the  ServiceMix 3.0 Release.
-. export SERVICE_MIX_HOME for your shell envirnoment
+. export SERVICEMIX_HOME for your shell envirnoment
 
 . Edit build.properties to sepcify cxf.home and jbi.sdk.jar,
-  jbi.sdk.jar=$SERVICE_MIX_HOME/lib/servicemix-jbi-3.0-SNAPSHOT.jar
+  jbi.sdk.jar=$SERVICEMIX_HOME/lib/servicemix-jbi-3.0-SNAPSHOT.jar
 
 
 . build everything using ant: 'ant build'
 
 Installation & Deployment
 -------------------------
-Ensure that the $SERVICE_MIX_HOME/bin is on the path.
+Ensure that the $SERVICEMIX_HOME/bin is on the path.
 
 Start ServiceMix
  >servicemix
@@ -74,17 +74,17 @@
 
 Install and start the CXF Service Engine:
 
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml install-component -Dsm.install.file=./service-engine/build/lib/cxf-service-engine.jar -Dsm.username=smx -Dsm.password=smx
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml start-component -Dsm.component.name=CXFServiceEngine -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml install-component -Dsm.install.file=./service-engine/build/lib/cxf-service-engine.jar -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml start-component -Dsm.component.name=CXFServiceEngine -Dsm.username=smx -Dsm.password=smx
 
 Deploy and start the CXF demo service assembly
 
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml  deploy-service-assembly -Dsm.deploy.file=./service-assembly/build/lib/cxf-service-assembly.zip -Dsm.username=smx -Dsm.password=smx
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml start-service-assembly -Dsm.service.assembly.name=cxf-demo-service-assembly -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml  deploy-service-assembly -Dsm.deploy.file=./service-assembly/build/lib/cxf-service-assembly.zip -Dsm.username=smx -Dsm.password=smx
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml start-service-assembly -Dsm.service.assembly.name=cxf-demo-service-assembly -Dsm.username=smx -Dsm.password=smx
 
 
 More lifecycle management task
- > ant -f $SERVICE_MIX_HOME/ant/servicemix-ant-task.xml -projecthelp
+ > ant -f $SERVICEMIX_HOME/ant/servicemix-ant-task.xml -projecthelp
 
 Deploy CXF Service Engine into OpenESB
 =========================================

Modified: incubator/cxf/trunk/integration/jbi/src/main/java/org/apache/cxf/jbi/se/filters.properties
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/integration/jbi/src/main/java/org/apache/cxf/jbi/se/filters.properties?view=diff&rev=473170&r1=473169&r2=473170
==============================================================================
--- incubator/cxf/trunk/integration/jbi/src/main/java/org/apache/cxf/jbi/se/filters.properties (original)
+++ incubator/cxf/trunk/integration/jbi/src/main/java/org/apache/cxf/jbi/se/filters.properties Thu Nov  9 18:30:52 2006
@@ -24,4 +24,5 @@
 com.sun.*
 org.omg.*
 org.apache.*
+sun.*
 test.*