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:
- com.ibm.datatools.core_3.0.101.v200811190853.jar
- org.eclipse.datatools.modelbase.sql.query_1.0.1.v200811050430.jar
Resolving the problem
Remove the old data tool plugins:
- Navigate to "deploytools/itp/plugins/" directory
- Back up the following jar files:
- com.ibm.datatools.core_3.0.101.v200811190853.jar
- org.eclipse.datatools.modelbase.sql.query_1.0.1.v200811050430.jar
- Remove the jar files from step #2 in the "deploytools/itp/plugins/" directory
- Navigate to "/opt/IBM/WebSphere/AppServer/deploytool/itp/configuration"
- Back up the "/configuration" directory
- Delete all the files and directories within "/configuration" directory
Note: Except "config.ini" if present.
- Run wcbd-build again and verify the result.
分享到:
相关推荐
ejb-3_0-fr-spec-ejbcore.pdf,ejb-3_0-fr-spec-persistence.pdf,ejb-3_0-fr-spec-simplified.pdf
EJB3 IN ACTION EJB3 IN ACTION EJB3 IN ACTION EJB3 IN ACTION EJB3 IN ACTION EJB3 IN ACTION
EJB3的三本好书第二本,最好的介绍ejb3的书,看过之后,其他的书都送人了,而且附带的源代码,几乎包括了所有的主流应用服务器的例子,glassfish, jboss, weblogic, oracleAS 3本书分别是: 1. Beginning EJB3 ...
EJB中ejb-jar——xml文件说明.pdf
Manning - EJB3 in Action.pdf Manning - EJB3 in Action.pdf
中文版EXPERT-ONE-ON-ONE-J2EE-DEVELOPMENT-WITHOUT-EJB.part2.rar
ejb-api-3.0-sources ejb3.0资源文件,源代码文件
Build applications with Enterprise JavaBeans (EJBs) in the new Java EE 8 platform Discover when to use EJBs over contexts and dependency injection Use message-driven beans to do tasks ...
EJB3+In+Action.rarEJB3+In+Action.rarEJB3+In+Action.rarEJB3+In+Action.rarEJB3+In+Action.rarEJB3+In+Action.rarEJB3+In+Action.rarEJB3+In+Action.rarEJB3+In+Action.rarEJB3+In+Action.rarEJB3+In+Action....
EJB3 IN ACTION pdf java j2ee
EJB 3.0 实战 EJB 3.0 实战 EJB 3.0 实战 EJB 3.0 in action EJB 3.0 in action EJB 3.0 in action EJB 3.0 in action
很好的EJB3入门经典,全面的介绍了EJB3的原理,开发和部署,包括session bean,实体bean和消息驱动bean的详细介绍。
《Expert-One-on-one J2EE Development Without EJB》一书的英文版本
Expert One-on-One J2EE Development Without EJB中文版.pdf.7z.002(共3个)
EJB的Ant配置文件build.xml,每段代码附有中文说明,通俗易懂,还根据不同版本的JBoss有不同的配置说明,以及需要修改的点。本人使用的是JBoss7.1.1,这其中也说明了更老版本的配置方式,完全能理解修改
ejb-3_0-fr-spec-ejbcore.pdf ejb-3_0-fr-spec-persistence.pdf ejb-3_0-fr-spec-simplified.pdf
ejb-3_1-pr-api ejb api
ejb-3_0-pfd-spec-persistence ejb-3_0-pfd-spec-simplified ejb-3_0-fr-spec-ejbcore
ejb-jar元素是EJB发布描述器的根元素,它包含一个可选的EJB-JAR文件的描述,可选显示的名称,可选小图标的文件名,可选的大图标的文件名,必须的所有被包含的enterprise bean 的结构信息 ,可选的应用装配描述器,可选的...
EJB.3.in.Action