This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes ejbdeploy tag giving errors(using Wbespher5 nad java 1.5) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ejbdeploy tag giving errors(using Wbespher5 nad java 1.5)" Watch "ejbdeploy tag giving errors(using Wbespher5 nad java 1.5)" New topic
Author

ejbdeploy tag giving errors(using Wbespher5 nad java 1.5)

eeyryey eeyeyeryer
Greenhorn

Joined: Feb 20, 2004
Posts: 1
Hi,
I'am trying to deploy a simple session bean in Wbespher5.I've set java_home as IMB jdk and triying to create the jar file calling ant script file. script file listed below.
<target name="init">
<property name="WAS_HOME" value="D:/websphere/programmes"/>
<property name="destRoot" value="../../"/>
<property name="modulename" value="DailyOperationalReport"/>
<property name="dir" value=".."/>
<property name="src" value="."/>
<property name="libroot" value="../../lib"/>
<property name="etcroot" value="../../etc"/>
<property name="devRoot" value="../../"/>
<property name="websphere.home" value="C:/Program Files/WebSphere/AppServer"/>
<property name="entitydeploymentroot" value="${src}/no/braathens/dailyoperationalreport/session/deployment/"/>
<property name="psdeploymentroot" value="${src}/no/braathens/dailyoperationalreport/persistentservices/deployment/"/>
<property name="deploymentroot" value="${src}/no/braathens/dailyoperationalreport/server/deployment/"/>
<property name="webservicedeploymentroot" value="${src}/no/braathens/dailyoperationalreport/server/webservices/deployment"/>
<property name="clientjarfile" value="${modulename}.jar"/>
<property name="serverjarfile" value="${modulename}.jar"/>
<property name="warfile" value="${modulename}.war"/>
<property name="webservicewarfile" value="dailyoperationalreport.war"/>
<property name="testjarfile" value="UnitTest${modulename}.jar"/>
<property name="testwarfile" value="UnitTest${modulename}.war"/>
<!--<property name="classpath" value="${WAS_HOME}/java/jre/lib/ext/ibmorb.jar;${libroot}/junit.jar;${libroot}/jaxrpc.jar;${libroot}/axis.jar;${libroot}/wsdl4j.jar;${libroot}/saaj.jar;${libroot}/cactus.jar"/>-->
<property name="classpath" value=""/>
<property name="localclasses" value="${destRoot}localclasses"/>
<tstamp/>
<property name="build" value="${destRoot}/build/${modulename}"/>
<property name="dist" value="${destRoot}/dist"/>
<property name="webservicesdist" value="${dist}/webservices"/>
<property name="webservicedist" value="${webservicesdist}/webservice"/>
<property name="webinfdist" value="${webservicedist}/WEB-INF"/>
<property name="ejbdist" value="${dist}/ejb/"/>
<property name="clientdist" value="${dist}/client/"/>
<property name="serverdist" value="${dist}/server/"/>
<property name="servletdist" value="${dist}/servlet/"/>
<property name="testdist" value="${dist}/test/"/>
<property name="entityejbjarinclude" value="${ejbdist}GeneralInformation.jar;${ejbdist}UnsuitableFlight.jar;${ejbdist}FlightOperationalEvent.jar;${ejbdist}CrewOperationalEvent.jar;${ejbdist}InsufficientCrew.jar;${ejbdist}SickLeave.jar"/>
<property name="psejbjarinclude" value="${ejbdist}DORFlightControlServices.jar;${ejbdist}GeneralOperationalInformationPersistentServices.jar;${ejbdist}UnsuitableFlightPersistentServices.jar;${ejbdist}FlightOperationalEventPersistentServices.jar;${ejbdist}CrewOperationalEventPersistentServices.jar;${ejbdist}InsufficientCrewPersistentServices.jar;${ejbdist}SickLeavePersistentServices.jar"/>
<filter token="version" value="1.0"/>
<filter token="year" value="2001"/>
<path id="build.classpath">
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/org.eclipse.core.boot_2.1.1/boot.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/batch.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"/>
<pathelement location="${WAS_HOME}/properties"/>
<!--pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime/ejbdeploy.jar"/-->
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/org.eclipse.core.runtime_2.1.1/runtime.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/org.eclipse.core.resources_2.1.1/resources.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.j2ee.core/runtime/commonArchive.jar"/>
<pathelement location="${WAS_HOME}/lib/ecore.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/org.eclipse.emf.common_1.1.1/runtime/common.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.j2ee/runtime/j2eecreation.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.java/runtime/javaplugin.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.j2ee/runtime/ejbcreation.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.j2ee/runtime/j2eeplugin.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.j2ee/runtime/earproject.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/org.eclipse.jdt.core_2.1.2/jdtcore.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.emf.workbench/runtime/emfworkbench.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.j2ee/runtime/archiveops.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.logging.util/runtime/logutil.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime/rmic.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime/exec.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/com.ibm.etools.validation/runtime/validate.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/org.eclipse.hyades.logging.core_1.0.3/hlcore.jar"/>
<pathelement location="${WAS_HOME}/deploytool/itp/plugins/org.eclipse.hyades.execution.remote_1.0.3/hexr.jar"/>

</path>
</target>
<target name="entityejb" depends="init,compile">
<mkdir dir="${ejbdist}"/>
<property name="webpshere.home" value="${WAS_HOME}"/>
<ejbjar srcdir="${build}" descriptordir="${entitydeploymentroot}" dependency="full">
<include name="*ejb-jar.xml"/>
<websphere ejbdeploy="true" keepgeneric="true" quiet="false" oldCMP="false" tempdir="c:\temps" destdir="${ejbdist}">
<classpath>
<path refid="build.classpath"/>
</classpath>
</websphere>
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" location="C:/Program Files/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.j2ee/dtds/ejb-jar_2_0.dtd"/>
</ejbjar>
</target>

the error that I'am getting is listed below.

[ejbdeploy] Starting workbench.
[ejbdeploy] 20031007_1915-WB212-AD-V511D-W5
[*Error] An unexpected exception was thrown. Halting execution.
[ejbdeploy] Shutting down workbench.
[ejbdeploy] Could not locate extension point: com.ibm.etools.ejbdeploy.batch_extension
[ejbdeploy] com.ibm.etools.ejbdeploy.ConfigurationError: Could not locate extension point: com.ibm.etools.ejbdeploy.batch_exte
nsion
[ejbdeploy] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:146)
[ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:80)
[ejbdeploy] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:307)
[ejbdeploy] EJBDeploy level: 20031007_1915-WB212-AD-V511D-W5


Please be knid enough to reply for this mail as soon as possible.

thanx
vkr
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: ejbdeploy tag giving errors(using Wbespher5 nad java 1.5)
 
Similar Threads
Ant task ejbjar for Websphere
No stubs created for ejbdeploy taskdef.
What ejbjar task does ?
ejbjar in build.xml throws error
Unable to deploy ejbs