WebSphere Application Server - EJBDeploy code generation problem

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > April 2005 > EJBDeploy code generation problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author EJBDeploy code generation problem

2005-04-19, 6:11 pm

Hi All,
I am using EJBDeploy.bat on Websphere 6.0.1.0 to create the final deployable ear .But the process is failing because EJBDeploy generates uncompilable code.The same example runs fine on Websphere 5.1 .

I have a entity bean "Emp" which has a self bidirectional relationship (one to many) i.e. (Employee to Manager) .This is the command I am using


<WS6-AppServer-Install>/bin ejbdeploy D:\temp\EJBModule1.jar D:\temp1\wstemp5 D:\temp1\wstemp5\ejbmod.jar -keep -dbvendor ORACLE_V9I -dbschema "scott"

where EJBModule1.jar is EJB 2.1 compliant has the bean classes , ejb-jar.xml , ibm-ejb-jar-bnd.xmi,ibm-ejb-jar-ext.xmi

I get the following error:
[*Error] ejbModule/untitled14/websphere_deploy/ORACLE_V9_1/EmpBeanCacheEntryImpl
_ff9856d8.java(209): MGR_IsNull cannot be resolved
[*Error] ejbModule/untitled14/websphere_deploy/ORACLE_V9_1/EmpBeanCacheEntryImpl
_ff9856d8.java(211): MGR_IsNull cannot be resolved

And if open the code genereated the field MGR_IsNull is not defined .This field is used in the setManagerKey method .Also while i was comparing with WS 5.1 generated code i noticed that in that case it does not have the setManagerKey method.

Any help would be highly appreciated .I am seeing other use cases too where i see the similar code generation problems .

Cheers,
Sandeep

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com