EJB module build fails in EJBDeploy phase while executing wcbd-build in WebSpher

Problem(Abstract)

This technote explains an issue in the IBM Websphere Commerce environment where wcbd-build scripts fail in the EJBDeploy phase so the EJB module can not be built successfully.

Symptom

While executing wcbd-build in WebSphere Commerce v7.0, the following errors are seen while building the EJB module (WebSphereCommerceServerExtensionsData):

The full error message is as follows:

java.lang.NoSuchFieldError:

 

com/ibm/datatools/internal/core/util/EngineeringOptionID.GLOBAL_VARIABLE

[wsejbdeploy]  at

com.ibm.datatools.db2.luw.ddl.LUWDdlGenerator$SingletonOptionDependency.

getSingletonObject(LUWDdlGenerator.java:2414)

[wsejbdeploy]  at

com.ibm.datatools.db2.luw.ddl.LUWDdlGenerator.getAllContainedDisplayable

ElementSetDepedency(LUWDdlGenerator.java:1602)

[wsejbdeploy]  at

com.ibm.datatools.db2.luw.ddl.LUWDdlGenerator.access$1(LUWDdlGenerator.j

ava:1601)  

[wsejbdeploy]  at    

com.ibm.datatools.db2.luw.ddl.LUWDdlGenerator$OptionDependency.doDiscove

ry(LUWDdlGenerator.java:1971)

[wsejbdeploy]  at

com.ibm.datatools.db2.luw.ddl.LUWDdlGenerator$OptionDependency.<init>(LU

WDdlGenerator.java:1875)

[wsejbdeploy]  at

com.ibm.datatools.db2.luw.ddl.LUWDdlGenerator.getOptions(LUWDdlGenerator

.java:1801)

[wsejbdeploy]  at

com.ibm.datatools.db2.luw.ddl.LUWDdlGenerator.getOptions(LUWDdlGenerator

.java:1782)


Cause

This is a known issue cause by two old data tool plugins that existed in "deploytools/itp/plugins/" directory:

Resolving the problem

Remove the old data tool plugins:

 

  1. Navigate to "deploytools/itp/plugins/" directory

  2. Back up the following jar files:
  3. Remove the jar files from step #2 in the "deploytools/itp/plugins/" directory

  4. Navigate to "/opt/IBM/WebSphere/AppServer/deploytool/itp/configuration"

  5. Back up the "/configuration" directory

  6. Delete all the files and directories within "/configuration" directory

    Note: Except "config.ini" if present.

  7. Run wcbd-build again and verify the result.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值