File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Unable to deploy ejbs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Unable to deploy ejbs" Watch "Unable to deploy ejbs" New topic
Author

Unable to deploy ejbs

Dan Pete
Greenhorn

Joined: Aug 21, 2003
Posts: 3
Hi All,
I have problem building ejb with ant.
<target name="ejbjar">
<ejbjar srcdir="build\classes" basejarname="DataShopperEJB" descriptordir="ejbxmls">
<websphere ejbdeploy="true"
newCMP="false"
tempdir="tmp"
destdir="${jars}">
<wasclasspath>
<pathelement location="${websphere.home}/deploytool/itp/plugins/org.eclipse.core.boot/boot.jar"/>
<pathelement location="${websphere.home}/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime/batch.jar"/>
<pathelement location="${websphere.home}/lib/xerces.jar"/>
<pathelement location="${websphere.home}/lib/ivjejb35.jar"/>
<pathelement location="${websphere.home}/lib/j2ee.jar"/>
<pathelement location="${websphere.home}/lib/vaprt.jar"/>
</wasclasspath>
<classpath>
<pathelement path="${datashopper.classpath}"/>
</classpath>
</websphere>

</ejbjar>
</target>
Problem is:
[ejbdeploy] Failure invoking BootLoader.startup method
[ejbdeploy] java.lang.reflect.InvocationTargetException: java.lang.VerifyError:
org.eclipse.core.internal.runtime.InternalPlatform
[ejbdeploy] java.lang.reflect.Method java.lang.Class.getMethod0(java.lang.St
ring, java.lang.Class[], int)
[ejbdeploy] java.lang.reflect.Method java.lang.Class.getDeclaredMethod(java.
lang.String, java.lang.Class[])
[ejbdeploy] java.lang.String[] org.eclipse.core.internal.boot.InternalBootLo
ader.startup(java.net.URL, java.lang.String, java.lang.String[], java.lang.Runna
ble)
[ejbdeploy] java.lang.String[] org.eclipse.core.boot.BootLoader.startup(java
.net.URL, java.lang.String, java.lang.String[])
[ejbdeploy] java.lang.Object java.lang.reflect.Method.invoke(java.lang.Objec
t, java.lang.Object[])
[ejbdeploy] void com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.startu
p(java.lang.String, java.lang.String[])
[ejbdeploy] void com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.startup()
[ejbdeploy] void com.ibm.etools.ejbdeploy.EJBDeploy.startup(com.ibm.etools.e
jbdeploy.Options)
[ejbdeploy] void com.ibm.etools.ejbdeploy.EJBDeploy.execute(com.ibm.etools.e
jbdeploy.Options, com.ibm.etools.ejbdeploy.IStatusMonitor)
[ejbdeploy] void com.ibm.etools.ejbdeploy.EJBDeploy.main(java.lang.String[])
[ejbdeploy] EJBDeploy level: 20021023_1257-WB201-AD-V50D-GA-I
[ejbdeploy] Java Result: 1
Thanks in advance for your help.
Dan.
Doreen Pittner
Greenhorn

Joined: Jul 08, 2004
Posts: 1
Hi!

This is an old post. But actually I have the same problem. I'm trying to get it work since 5 days. Its really frustrating. Is there someone who knows what going wrong?

deployEJB:
[wsejbdeploy] Starting workbench.
[wsejbdeploy] 20040204_1915-WB213-AD-V512D-W5
[wsejbdeploy] Workspace location:
[wsejbdeploy] D:\temp\97efda06
[wsejbdeploy] Debug-Options:
[wsejbdeploy] file :/temp/.options
[wsejbdeploy] Install URL: file:/D:/Programme/IBM/WSAD511/runtimes/base_v5/deploytool/itp/
[wsejbdeploy] Shutting down workbench.
[wsejbdeploy] Failure invoking BootLoader.startup method
[wsejbdeploy] java.lang.reflect.InvocationTargetException: java.lang.RuntimeException: Fatal Error: Unable to locate matching org.eclipse.core.runtime plug-in.
[wsejbdeploy] at org.eclipse.core.internal.boot.PlatformConfiguration.locateDefaultPlugins(PlatformConfiguration.java:2264)
[wsejbdeploy] at org.eclipse.core.internal.boot.PlatformConfiguration.<init>(PlatformConfiguration.java:903)
[wsejbdeploy] at org.eclipse.core.internal.boot.PlatformConfiguration.startup(PlatformConfiguration.java:1368)
[wsejbdeploy] at org.eclipse.core.internal.boot.InternalBootLoader.initialize(InternalBootLoader.java:582)
[wsejbdeploy] at org.eclipse.core.internal.boot.InternalBootLoader.startup(InternalBootLoader.java:1035)
[wsejbdeploy] at org.eclipse.core.boot.BootLoader.startup(BootLoader.java:516)
[wsejbdeploy] at java.lang.reflect.Method.invoke(Native Method)
[wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.startup(BootLoaderLoader.java:315)
[wsejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.startup(BatchDeploy.java:207)
[wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.startup(EJBDeploy.java:382)
[wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:77)
[wsejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:307)
[wsejbdeploy] EJBDeploy level: 20040204_1915-WB213-AD-V512D-W5
[wsejbdeploy] Java Result: 1
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


Unable to locate matching org.eclipse.core.runtime plug-in

What are you doing that requires eclipse plugin classes? I presume you are trying to run the server in you IDE's JVM?
[ July 08, 2004: Message edited by: Paul Sturrock ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to deploy ejbs