File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Unable to deploy ejbs

Dan Pete

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"
<pathelement location="${websphere.home}/deploytool/itp/plugins/org.eclipse.core.boot/boot.jar"/>
<pathelement location="${websphere.home}/deploytool/itp/plugins/"/>
<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"/>
<pathelement path="${datashopper.classpath}"/>

Problem is:
[ejbdeploy] Failure invoking BootLoader.startup method
[ejbdeploy] java.lang.reflect.InvocationTargetException: java.lang.VerifyError:
[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.lang.String, java.lang.String[], java.lang.Runna
[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
p(java.lang.String, java.lang.String[])
[ejbdeploy] void
[ejbdeploy] void
[ejbdeploy] void
[ejbdeploy] void[])
[ejbdeploy] EJBDeploy level: 20021023_1257-WB201-AD-V50D-GA-I
[ejbdeploy] Java Result: 1
Thanks in advance for your help.
Doreen Pittner

Joined: Jul 08, 2004
Posts: 1

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?

[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(
[wsejbdeploy] at org.eclipse.core.internal.boot.PlatformConfiguration.<init>(
[wsejbdeploy] at org.eclipse.core.internal.boot.PlatformConfiguration.startup(
[wsejbdeploy] at org.eclipse.core.internal.boot.InternalBootLoader.initialize(
[wsejbdeploy] at org.eclipse.core.internal.boot.InternalBootLoader.startup(
[wsejbdeploy] at org.eclipse.core.boot.BootLoader.startup(
[wsejbdeploy] at java.lang.reflect.Method.invoke(Native Method)
[wsejbdeploy] at
[wsejbdeploy] at
[wsejbdeploy] at
[wsejbdeploy] at
[wsejbdeploy] at
[wsejbdeploy] EJBDeploy level: 20040204_1915-WB213-AD-V512D-W5
[wsejbdeploy] Java Result: 1
Paul Sturrock

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
I agree. Here's the link:
subject: Unable to deploy ejbs
It's not a secret anymore!