Here's the ant scripting code for the run-client target that was missing in my
first post
| <!-- Run the standalone client -->
| <target name="run-client">
| <echo>${java.class.path}</echo>
| <java classname="com.sun.ebank.appclient.BankAdmin" fork="yes">
| <!-- The following vm args are needed for connecting the client
via IIOP -->
| <jvmarg value="-Djava.security.manager" />
| <jvmarg
value="-Djava.security.policy=./dd/client/client.policy" />
| <jvmarg value="-Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB" />
| <jvmarg
value="-Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton" />
| <jvmarg value="-Djacorb.verbosity=0" />
| <jvmarg value="-Djacorb.suppress_no_props_warning=on" />
| <jvmarg value="-Djacorb.hashtable_class=java.util.Hashtable" />
|
| <!-- this was the one added for the bank example -->
| <jvmarg
value="-Djava.security.auth.login.config=dd/client/auth.conf" />
| <classpath>
| <pathelement path="jar/app-client.jar"/>
| <path refid="client.classpath"/>
| <pathelement path="${java.class.path}"/>
| </classpath>
| </java>
| </target>
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882847#3882847
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882847
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user