Help~~Deployment CMP2.0 on JBuilder9+WAS5.02


2003-10-21 07:04:00 PM
jbuilder11
Hi:
I hava a very knotty problem~~I need somone help me!!!
I use JB9 wizard to create CMP2.0,but when build the CMP occurs errors.
thanks a lot~~
a.. C:\Program
Files\WebSphere\AppServer\java\bin\javaw -Dwebsphere.lib.dir="C:\Program
Files\WebSphere\AppServer\lib" -Dws.ext.dirs="C:\Program
Files\WebSphere\AppServer\java\lib;C:\Program
Files\WebSphere\AppServer\classes;C:\Program
Files\WebSphere\AppServer\lib;C:\Program
Files\WebSphere\AppServer\lib\ext;C:\Program
Files\WebSphere\AppServer\web\help;C:\Program
Files\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\ru
ntime;C:\java\lib" -classpath "C:\Program
Files\WebSphere\AppServer\deploytool\itp\batch.jar" -Xquickstart -Xmx256M
com.ibm.etools.ejbdeploy.EJBDeploy D:\magjava\TestCMP2\temp_CMP2EJB.jar
D:\magjava\TestCMP2\websphere_temp D:\magjava\TestCMP2\CMP2EJB.jar -dbvendor
MSSQLSERVER_2000
b.. C:\Program
Files\WebSphere\AppServer\java\bin\javaw -Dwebsphere.lib.dir="C:\Program
Files\WebSphere\AppServer\lib" -Dws.ext.dirs="C:\Program
Files\WebSphere\AppServer\java\lib;C:\Program
Files\WebSphere\AppServer\classes;C:\Program
Files\WebSphere\AppServer\lib;C:\Program
Files\WebSphere\AppServer\lib\ext;C:\Program
Files\WebSphere\AppServer\web\help;C:\Program
Files\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\ru
ntime;C:\java\lib" -classpath "C:\Program
Files\WebSphere\AppServer\deploytool\itp\batch.jar" -Xquickstart -Xmx256M
com.ibm.etools.ejbdeploy.EJBDeploy D:\magjava\TestCMP2\temp_CMP2EJB.jar
D:\magjava\TestCMP2\websphere_temp D:\magjava\TestCMP2\CMP2EJB.jar -dbvendor
MSSQLSERVER_2000
c..
d.. Starting workbench.
e..
f.. 20030608_1900-WB211-AD-V51D-GM
g..
h.. Creating the project.
i..
j.. 正在建立 EJB 專案...
k..
l.. 正在建立 EJB 專案... Opening: /temp_CMP2EJB.
m..
n.. 正在建立 EJB 專案...
o..
p.. 正在建立 EJB 專案... Setting output location for: 'temp_CMP2EJB'
q..
r.. 正在建立 EJB 專案... Setting classpath for: temp_CMP2EJB
s..
t.. 正在建立 EJB 專案...
u..
v.. 正在匯入 JAR..META-INF/ejb-jar.xml
w..
x.. 正在匯入 JAR..META-INF/ibm-ejb-jar-ext.xmi
y..
z.. 正在匯入 JAR..META-INF/ibm-ejb-jar-bnd.xmi
aa..
ab.. 正在匯入 JAR..META-INF/backends/MSSQLSERVER_V7_1/Map.mapxmi
ac..
ad.. 正在匯入 JAR..META-INF/backends/MSSQLSERVER_V7_1/TopDown1.dbxmi
ae..
af.. 正在匯入
JAR..META-INF/backends/MSSQLSERVER_V7_1/TopDown1_NULLID.schxmi
ag..
ah.. 正在匯入
JAR..META-INF/backends/MSSQLSERVER_V7_1/TopDown1_NULLID_DATA.tblxmi
ai..
aj.. 正在驗證
ak..
al.. 已開始移除 temp_CMP2EJB 上的 對映驗證器 訊息...
am..
an.. 已移除訊息。
ao..
ap.. 已開始使用 對映驗證器 對 temp_CMP2EJB 的驗證程序...
aq.. *** ERROR *** Tue Oct 21 19:01:49 CST 2003 caller:
ar.. at
com.ibm.etools.ejb.mapvalidator.SchemaValidator.validate(SchemaValidator.jav
a:99)
as.. java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at..
au.. at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
av..
aw.. at java.util.ArrayList.get(ArrayList.java(Compiled Code))
ax..
ay.. at
com.ibm.etools.ejbrdbmapping.impl.RDBEjbMapperImpl.getTables(RDBEjbMapperImp
l.java:785)
az..
ba.. at
com.ibm.etools.ejb.mapvalidator.SchemaValidator.validate(SchemaValidator.jav
a:71)
bb..
bc.. at
com.ibm.etools.ejb.mapvalidator.MapValidation.runSchemaValidation(MapValidat
ion.java:149)
bd..
be.. at
com.ibm.etools.ejb.mapvalidator.MapValidation.validateFor20Project(MapValida
tion.java:119)
bf..
bg.. at
com.ibm.etools.ejb.mapvalidator.MapValidation.validate(MapValidation.java:92
)
bh..
bi.. at
com.ibm.etools.validation.ValidatorLauncher.start(ValidatorLauncher.java:58)
bj..
bk.. at
com.ibm.etools.validate.ValidationOperation.launchValidator(ValidationOperat
ion.java:1267)
bl..
bm.. at
com.ibm.etools.validate.ValidationOperation.internalValidate(ValidationOpera
tion.java:1091)
bn..
bo.. at
com.ibm.etools.validate.ValidationOperation.validate(ValidationOperation.jav
a:1020)
bp..
bq.. at
com.ibm.etools.validate.ValidationOperation.run(ValidationOperation.java:908
)
br..
bs.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.validate(BatchExtension
.java:1654)
bt..
bu.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.internalJarProcess(Batc
hExtension.java:460)
bv..
bw.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runJarDeploy(BatchExten
sion.java:420)
bx..
by.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$100(BatchExtensi
on.java:107)
bz..
ca.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExte
nsion.java:238)
cb..
cc.. at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
cd..
ce.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(Batch
Extension.java:220)
cf..
cg.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java
:183)
ch..
ci.. at java.lang.reflect.Method.invoke(Native Method)
cj..
ck.. at
com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.ja
va:255)
cl..
cm.. at
com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:133
)
cn..
co.. at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:80)
cp..
cq.. at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:307)
cr..
cs.. 使用 對映驗證器 對 temp_CMP2EJB 的驗證程序異常終止。問題清單可能不完
整。有關異常終止的原因,請參閱參考訊息。
ct..
cu.. 已開始移除 temp_CMP2EJB 上的 EJB 驗證器 訊息...
cv..
cw.. 已移除訊息。
cx..
cy.. 已開始使用 EJB 驗證器 對 temp_CMP2EJB 的驗證程序...
cz..
da.. 正在驗證 testcmp2.DataBean。
db..
dc.. 正在驗證 testcmp2.Data。
dd..
de.. 正在驗證 testcmp2.DataHome。
df..
dg.. 正在驗證 testcmp2.DataPK。
dh..
di.. 完成 EJB 驗證器 對 temp_CMP2EJB 的驗證程序。已報告所有常見的問題。
dj..
dk.. "CMP2EJB.ejbgrpx": [*Warning] /temp_CMP2EJB: 執行「綱目驗證」時發生錯
誤。
dl..
dm.. 正在產生部署程式碼
dn..
do.. Generating queries
dp..
dq.. Refreshing: /temp_CMP2EJB/ejbModule.
dr..
ds.. Updating.
dt..
du.. "CMP2EJB.ejbgrpx": [*Error] An unexpected exception was thrown.
Halting execution.
dv..
dw.. Shutting down workbench.
dx.. 產生部署程式碼期間發生錯誤:null。
dy..>com.ibm.etools.ejbdeploy.EJBDeploymentException (產生部署程式碼期間
發生錯誤:null。)
dz.. java.lang.NullPointerException
ea.. at
com.ibm.etools.ejbdeploy.gen20.jdbc.CMPAttributeMapHelper.add(CMPAttributeMa
pHelper.java:97)
eb.. at
com.ibm.etools.ejbdeploy.gen20.jdbc.CMPAttributeMapHelper.createMapForColumn
(CMPAttributeMapHelper.java:212)
ec.. at
com.ibm.etools.ejbdeploy.gen20.jdbc.CMPAttributeMapHelper.populateLists(CMPA
ttributeMapHelper.java:436)
ed.. at
com.ibm.etools.ejbdeploy.gen20.jdbc.CMPAttributeMapHelper.initAttributeMappe
rList(CMPAttributeMapHelper.java:398)
ee.. at
com.ibm.etools.ejbdeploy.gen20.jdbc.QueryCacheHelper.(QueryCacheHelper.java:
29)
ef.. at
com.ibm.etools.ejbdeploy.gen20.jdbc.QueryCacheCache.initQueries(QueryCacheCa
che.java:69)
eg.. at
com.ibm.etools.ejbdeploy.gen20.jdbc.QueryCacheCache.init(QueryCacheCache.jav
a:172)
eh.. at
com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.generateQueries(EJBDeploy
Operation.java:1633)
ei.. at
com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.getClassMapsForBackend(EJ
BDeployOperation.java:1581)
ej.. at
com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doRun(EJBDeployOperation.
java:1305)
ek.. at
com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeployOperation.ja
va:1172)
el.. at
com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doit(EJBDeployOperation.j
ava:843)
em.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.invokeDeploymentCodegen
(BatchExtension.java:1477)
en.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.internalJarProcess(Batc
hExtension.java:494)
eo.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runJarDeploy(BatchExten
sion.java:420)
ep.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access$100(BatchExtensi
on.java:107)
eq.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExte
nsion.java:238)
er.. at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
es.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(Batch
Extension.java:220)
et.. at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java
:183)
eu.. at java.lang.reflect.Method.invoke(Native Method)
ev.. at
com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.ja
va:255)
ew.. at
com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:133
)
ex.. at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:80)
ey.. at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:307)
ez.. EJBDeploy level: 20030608_1900-WB211-AD-V51D-GM