当前位置:首页 > 开发 > 行业应用 > 正文

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

发表于: 2011-04-29   作者:xc_wangwang   来源:转载   浏览次数:
摘要: 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. Symp

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.

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

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
开发过程中发现build有这个warning。 就是把plist的info的target里面不要选任何东西 然后在target 的
QtCreator2.5.0 运行其它机器建立的工程文件,总会报错 When executing step 'qmake' . 一. 项目路径
QtCreator2.5.0 运行其它机器建立的工程文件,总会报错 When executing step 'qmake' . 一. 项目路径
4 EJB
1, Local/Remote/WebService Bean Local就是在自己应用中调用。 同一个JVM。 可以传递引用 Remote用R
停止线程是一个目标简单而实现却不那么简单的任务。首先,Java没有提供直接的API用于停止线程。此外
上篇博客说了下mahout的phase参数的含义,但是没有涉及到具体的应用,上次也只是说了一下这两个参数
上篇博客说了下mahout的phase参数的含义,但是没有涉及到具体的应用,上次也只是说了一下这两个参数
上篇博客说了下mahout的phase参数的含义,但是没有涉及到具体的应用,上次也只是说了一下这两个参数
Symptom 随便submit一个request,发现几乎所有的Concurrent Manager都为No Manager状态,Phase为Ina
Symptom 随便submit一个request,发现几乎所有的Concurrent Manager都为No Manager状态,Phase为Ina
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号