build automation - Error using Ant to create EJB after upgrading WAS from 6.0 to 7.0 -


ant task breaks @ <wsejbdeploy> tag. exception message :

[wsejbdeploy] error executing deployment: java.lang.classnotfoundexception.  error com.ibm.etools.ejbdeploy.batch.plugin.batchextension. [wsejbdeploy] java.lang.classnotfoundexception:  com.ibm.etools.ejbdeploy.batch.plugin.batchextension [wsejbdeploy]   @ java.lang.class.forname(class.java:136) 

in addition that, ivy.xml reports problems, when inspect it, messages have no sense (screenshot). suspect problems be:

a) additional files have build conflict upgraded ant (in rsa 7.0 i've had ant 1.6.5 , rsa 8.0 comes ant 1.7.1). additional files are:

required ant tasks execution

  • ant-contrib/ant-contrib.jar
  • antelope-tasks/antelopetasks_3.2.10.jar
  • antform/antform.jar
  • antform/defaultstyle.txt
  • antlr/antlr.jar
  • checkstyle/checkstyle-4.2.jar
  • checkstyle/checkstyle-optional-4.2.jar
  • checkstyle/checkstyle-frames-errors.xsl
  • clover/clover.jar
  • clover/cenquatasks.jar
  • clover/clover.license
  • doccheck/doccheck-modified.jar
  • ivy/ivy-20060723172807.jar
  • jakarta-commons/commons-beanutils.jar
  • resources/checkstyle/checks-source.xml
  • resources/checkstyle/checkstransformation.xsl

b) changes in ant regarding ejb build require settings reconfigured.

c) else :)

except error, else stab in dark feel free ask additional info.

the problem in additional file needed wsejbdeploy. in 6.0 version, copy wsanttasks.jar , wsprofile.jar websphere 6.0 installation folder , reference this

<taskdef name="wsejbdeploy" classname="com.ibm.websphere.ant.tasks.wsejbdeploy"        classpathref="all-libs"/> 

where "all-libs" reference folder copied jars. in websphere 7.0 there no wsanttasks.jar , must reference runtime file, eg

<taskdef name="wsejbdeploy" classname="com.ibm.websphere.ant.tasks.wsejbdeploy"> <classpath>  <pathelement path="c:/ibm/sdp80/runtimes/base_v7/plugins/com.ibm.ws.runtime.jar" />  </classpath>  


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -