You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yoko-commits@incubator.apache.org by en...@apache.org on 2006/08/24 13:42:52 UTC
svn commit: r434395 - in
/incubator/yoko/trunk/distribution/src/main/samples/ws: bank/README.txt
bank/celtix-yoko-router.xml etc/corba_bus_config.xml
Author: enolan
Date: Thu Aug 24 06:42:49 2006
New Revision: 434395
URL: http://svn.apache.org/viewvc?rev=434395&view=rev
Log:
Yoko-150 - fix for bank demo.
Modified:
incubator/yoko/trunk/distribution/src/main/samples/ws/bank/README.txt
incubator/yoko/trunk/distribution/src/main/samples/ws/bank/celtix-yoko-router.xml
incubator/yoko/trunk/distribution/src/main/samples/ws/etc/corba_bus_config.xml
Modified: incubator/yoko/trunk/distribution/src/main/samples/ws/bank/README.txt
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/distribution/src/main/samples/ws/bank/README.txt?rev=434395&r1=434394&r2=434395&view=diff
==============================================================================
--- incubator/yoko/trunk/distribution/src/main/samples/ws/bank/README.txt (original)
+++ incubator/yoko/trunk/distribution/src/main/samples/ws/bank/README.txt Thu Aug 24 06:42:49 2006
@@ -62,8 +62,8 @@
UNIX (must use forward slashes):
java -Xbootclasspath/p:$YOKO_HOME/lib/yoko-spec-corba-1.0-incubating-M1-SNAPSHOT.jar:$YOKO_HOME/lib/yoko-core-1.0-incubating-M1-SNAPSHOT.jar
- -Dceltix.config.file=file:$YOKO_HOME/samples/ws/etc/corba_bus_config.xml
- -classpath $CLASSPATH:build/classes yoko.server.Server &
+ -Dceltix.config.file=file:$YOKO_HOME/samples/ws/etc/corba_bus_config.xml
+ -classpath $CLASSPATH:build/classes yoko.server.Server &
Windows (may use either forward or back slashes):
@@ -84,7 +84,8 @@
Windows:
- java -Xbootclasspath/p:%YOKO_HOME%\lib\yoko-spec-corba-1.0-incubating-M1-SNAPSHOT.jar;%YOKO_HOME%\lib\yoko-core-1.0-incubating-M1-SNAPSHOT.jar
+ java -Xbootclasspath/p:%YOKO_HOME%\lib\yoko-spec-corba-1.0-incubating-M1-SNAPSHOT.jar \
+ ;%YOKO_HOME%\lib\yoko-core-1.0-incubating-M1-SNAPSHOT.jar
-Dceltix.config.file=file:/%YOKO_HOME%\samples\ws\etc\corba_bus_config.xml
-classpath %CLASSPATH%;build\classes yoko.client.Client
@@ -105,13 +106,13 @@
java -Xbootclasspath/p:$YOKO_HOME/lib/yoko-spec-corba-1.0-incubating-M1-SNAPSHOT.jar:$YOKO_HOME/lib/yoko-core-1.0-incubating-M1-SNAPSHOT.jar
-Dceltix.config.file=file:$YOKO_HOME/samples/ws/etc/corba_bus_config.xml
- -classpath $CLASSPATH:build/classes yoko.server.Server &
+ -classpath $CLASSPATH:build/classes:. yoko.server.Server &
Windows (may use either forward or back slashes):
start java -Xbootclasspath/p:%YOKO_HOME%\lib\yoko-spec-corba-1.0-incubating-M1-SNAPSHOT.jar;%YOKO_HOME%\lib\yoko-core-1.0-incubating-M1-SNAPSHOT.jar
-Dceltix.config.file=file:/%YOKO_HOME%\samples\ws\etc\corba_bus_config.xml
- -classpath %CLASSPATH%;build\classes yoko.server.Server
+ -classpath %CLASSPATH%;build\classes;. yoko.server.Server
The server process starts in the background. We have to set the Xbootclasspath,
because the ORB classes in Yoko conflict with the JDK ORB classes.
@@ -121,7 +122,7 @@
UNIX (must use forward slashes):
java -Xbootclasspath/p:$YOKO_HOME/lib/yoko-spec-corba-1.0-incubating-M1-SNAPSHOT.jar:$YOKO_HOME/lib/yoko-core-1.0-incubating-M1-SNAPSHOT.jar
- -Dceltix.config.file=file:$YOKO_HOME/samples/ws/bank/celtix-yoko-router.xml
+ -Dceltix.config.file=file:$YOKO_HOME/samples/ws/etc/corba_bus_config.xml
-classpath $CLASSPATH:build/classes:. org.objectweb.celtix.routing.RouterManager
-BUSid celtix-yoko
@@ -136,15 +137,11 @@
UNIX:
- java -Xbootclasspath/p:$YOKO_HOME/lib/yoko-spec-corba-1.0-incubating-M1-SNAPSHOT.jar:$YOKO_HOME/lib/yoko-core-1.0-incubating-M1-SNAPSHOT.jar
- -Dceltix.config.file=file:$YOKO_HOME/samples/ws/etc/corba_bus_config.xml
- -classpath $CLASSPATH:build/classes soap.client.Client
+ java -classpath $CLASSPATH:build/classes;. soap.client.Client
Windows:
- java -Xbootclasspath/p:%YOKO_HOME%\lib\yoko-spec-corba-1.0-incubating-M1-SNAPSHOT.jar;%YOKO_HOME%\lib\yoko-core-1.0-incubating-M1-SNAPSHOT.jar
- -Dceltix.config.file=file:/%YOKO_HOME%\samples\ws\etc\corba_bus_config.xml
- -classpath %CLASSPATH%;build\classes soap.client.Client
+ java -classpath %CLASSPATH%;build\classes;. soap.client.Client
4. After running the client, use the kill command to terminate the server & router process (UNIX) or
type Ctrl-C in the server's & router's command window (Windows).
Modified: incubator/yoko/trunk/distribution/src/main/samples/ws/bank/celtix-yoko-router.xml
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/distribution/src/main/samples/ws/bank/celtix-yoko-router.xml?rev=434395&r1=434394&r2=434395&view=diff
==============================================================================
--- incubator/yoko/trunk/distribution/src/main/samples/ws/bank/celtix-yoko-router.xml (original)
+++ incubator/yoko/trunk/distribution/src/main/samples/ws/bank/celtix-yoko-router.xml Thu Aug 24 06:42:49 2006
@@ -72,4 +72,19 @@
</property>
</bean>
+ <bean id="celtix.bus"
+ class="org.objectweb.celtix.bus.bus_config.spring.BusConfigBean">
+
+ <property name="bindingFactories">
+ <value>
+ <ct:classNamespaceMappingListValue>
+ <ct:map>
+ <ct:classname>org.apache.yoko.bindings.corba.CorbaBindingFactory</ct:classname>
+ <ct:namespace>http://schemas.apache.org/yoko/bindings/corba</ct:namespace>
+ </ct:map>
+ </ct:classNamespaceMappingListValue>
+ </value>
+ </property>
+ </bean>
+
</beans>
Modified: incubator/yoko/trunk/distribution/src/main/samples/ws/etc/corba_bus_config.xml
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/distribution/src/main/samples/ws/etc/corba_bus_config.xml?rev=434395&r1=434394&r2=434395&view=diff
==============================================================================
--- incubator/yoko/trunk/distribution/src/main/samples/ws/etc/corba_bus_config.xml (original)
+++ incubator/yoko/trunk/distribution/src/main/samples/ws/etc/corba_bus_config.xml Thu Aug 24 06:42:49 2006
@@ -37,8 +37,28 @@
</property>
</bean>
+ <bean id="celtix-yoko.bus"
+ class="org.objectweb.celtix.bus.bus_config.spring.BusConfigBean">
- <bean id="celtix"
+ <property name="bindingFactories">
+ <value>
+ <ct:classNamespaceMappingListValue>
+ <ct:map>
+ <ct:classname>org.apache.yoko.bindings.corba.CorbaBindingFactory</ct:classname>
+ <ct:namespace>http://schemas.apache.org/yoko/bindings/corba</ct:namespace>
+ </ct:map>
+ <ct:map>
+ <ct:classname>org.objectweb.celtix.bus.bindings.soap.SOAPBindingFactory</ct:classname>
+ <ct:namespace>http://schemas.xmlsoap.org/wsdl/soap/</ct:namespace>
+ <ct:namespace>http://schemas.xmlsoap.org/wsdl/soap/http</ct:namespace>
+ <ct:namespace>http://celtix.objectweb.org/transports/jms</ct:namespace>
+ </ct:map>
+ </ct:classNamespaceMappingListValue>
+ </value>
+ </property>
+ </bean>
+
+ <bean id="celtix.bus"
class="org.objectweb.celtix.bus.bus_config.spring.BusConfigBean">
<property name="bindingFactories">