ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Kearney" <>
Subject Re: Deploying EJBs to WebSphere
Date Mon, 15 Sep 2003 20:36:41 GMT

     Thanks a lot for your reply, it was helpful.  While I was not able to 
deploy the EJBs using ANT's optional task, I did get around it using your 

For those still having difficulty, there is a IBM resource at

A couple of things to keep in mind
You must define an ant.home property if you plan to use the execute task
You must add permissions to antRun
   <chmod file="./Ant/bin/antRun" perm="777"/>

thanks again,

>From: "Timothy Kearney" <>
>Reply-To: "Ant Users List" <>
>Subject: Deploying EJBs to WebSphere
>Date: Wed, 10 Sep 2003 20:54:57 +0000
>Hi all,
>     I am attempting to generated the deployed code for an EJB jar using 
>the ANT's ejbjar WebSphere subtask.  I am running the build script locally 
>and pointing to WebSphere resources in WSAD5.  While running the script I 
>get the following error:
>[ejbdeploy] Starting workbench.
>[ejbdeploy] Shutting down workbench.
>[ejbdeploy] *Could not delete 
>[ejbdeploy] Error starting EJBDeploy environment: null.
>[ejbdeploy] java.lang.reflect.InvocationTargetException: 
>[ejbdeploy] 	at 
>[ejbdeploy] 	at 
>[ejbdeploy] 	at java.lang.reflect.Method.invoke(Native Method)
>[ejbdeploy] 	at 
>[ejbdeploy] 	at 
>[ejbdeploy] 	at 
>[ejbdeploy] 	at 
>[ejbdeploy] 	at 
>[ejbdeploy] 	at
>[ejbdeploy] Java Result: 1
>Has anyone else encountered this problem?  My target is below:
><property name="websphere.home" value="E:/was"/>
><target name="test" depends="compileAIQEJB">
>	<ejbjar srcdir="${DEST_DIR}/build_temp_aiq/AIQEJBJar" 
>	  <include name="ejb-jar.xml"/>
>	<websphere ejbdeploy="true" oldCMP="false" destdir="${DEST_DIR}/ejb" 
>	<wasclasspath>
>	<pathelement 
>	<pathelement 
>	<pathelement 
>	<pathelement location="${was.home}/lib/xerces.jar"/>
>	<pathelement location="${was.home}/lib/ivjejb35.jar"/>
>	<pathelement location="${was.home}/lib/j2ee.jar"/>
>	<pathelement location="${was.home}/lib/vaprt.jar"/>
>    	</wasclasspath>
>	</websphere>
><dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" 
>In help resolving this matter would be appreciated.
>Try MSN Messenger 6.0 with integrated webcam functionality! 
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message