ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Kearney" <isotyp...@hotmail.com>
Subject Deploying EJBs to WebSphere
Date Wed, 10 Sep 2003 20:54:57 GMT
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]
[ejbdeploy] Starting workbench.

[ejbdeploy]
[ejbdeploy] Shutting down workbench.
[ejbdeploy] *Could not delete 
E:\was\_ejbdeploy_temp\_.ejb.jar._\.metadata\.lock

[ejbdeploy] Error starting EJBDeploy environment: null.
[ejbdeploy] java.lang.reflect.InvocationTargetException: 
java.lang.NullPointerException
[ejbdeploy] 	at 
org.eclipse.core.internal.runtime.InternalPlatform.activateDefaultPlugins(InternalPlatform.java:104)
[ejbdeploy] 	at 
org.eclipse.core.internal.runtime.InternalPlatform.loaderStartup(InternalPlatform.java:580)
[ejbdeploy] 	at java.lang.reflect.Method.invoke(Native Method)
[ejbdeploy] 	at 
org.eclipse.core.internal.boot.InternalBootLoader.startup(InternalBootLoader.java:912)
[ejbdeploy] 	at 
org.eclipse.core.boot.BootLoader.startup(BootLoader.java:340)
[ejbdeploy] 	at 
com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.startup(BatchDeploy.java:169)
[ejbdeploy] 	at 
com.ibm.etools.ejbdeploy.EJBDeploy.startup(EJBDeploy.java:309)
[ejbdeploy] 	at 
com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:65)
[ejbdeploy] 	at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:248)
[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" 
descriptordir="${AIQEJB}/source/META-INF">
	  <include name="ejb-jar.xml"/>
	<websphere ejbdeploy="true" oldCMP="false" destdir="${DEST_DIR}/ejb" 
quiet="false">
	<wasclasspath>
	<pathelement 
location="${was.home}/deploytool/itp/plugins/org.eclipse.core.boot/boot.jar" 
/>
	<pathelement 
location="${was.home}/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime/batch.jar"/>
	<pathelement 
location="${was.home}/deploytool/itp/plugins/org.eclipse.core.runtime/runtime.jar"/>
	<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" 
location="${was.home}/deploytool/itp/plugins/com.ibm.etools.j2ee/dtds/ejb-jar_1_1.dtd"/>
</ejbjar>
</target>

In help resolving this matter would be appreciated.

thanks,
Tim

_________________________________________________________________
Try MSN Messenger 6.0 with integrated webcam functionality! 
http://www.msnmessenger-download.com/tracking/reach_webcam


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message