You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Pratik Lohia <Pr...@quinnox.com> on 2005/05/11 17:23:24 UTC

Need Help with ejb-jar task ... very very urgent [ejbdeploy] Erro r starting EJBDeploy environment: null.

Attached herewith is the build.xml


I am using Ant 1.6.2 with WSAD 4.1 and the integrated JDK(Version 1.5.3)


Trying to run the ejbdeploy2 target...
NOTE: the classpath is set to ejbdeploy1.classpath

<path id="ejbdeploy1.classpath">
		<fileset dir="${WAS_HOME}\runtimes\aes_v4\lib">
			<include name="*.jar"/>
		</fileset>
		<pathelement
location="${WAS_HOME}\runtimes\aes_v4\deploytool\itp\plugins\org.eclipse.cor
e.boot\boot.jar"/>
</path>



Get the follwing error when executing the script

D:\stride\vfcstride>ant ejbdeploy2
Buildfile: build.xml

ejbdeploy2:
   [ejbjar] building ejb.jar with 41 files
[ejbdeploy] *Could not delete D:\Program Files\IBM\WebSphere
Studio\Application Developer\v5.1\_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(In
ternalPlatform.java:104)
[ejbdeploy]     at
org.eclipse.core.internal.runtime.InternalPlatform.loaderStartup(InternalPla
tform.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

BUILD SUCCESSFUL
Total time: 6 seconds
"Quinnox is a SEI-CMM; ISO 9001:2000 accredited Global IT Services company
providing solutions in areas of E-Business, ERP, Application Management
Services and EAI to customers in BFSI, Manufacturing, Retail, Telecom and
Healthcare sector, powered by our Global Delivery Model."

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