aspose file tools*
The moose likes Websphere and the fly likes Deployment of CMP beans created and working in WAS3.5 to WAS4.0.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Deployment of CMP beans created and working in WAS3.5 to WAS4.0.2" Watch "Deployment of CMP beans created and working in WAS3.5 to WAS4.0.2" New topic
Author

Deployment of CMP beans created and working in WAS3.5 to WAS4.0.2

Sriram Sankar
Greenhorn

Joined: Mar 01, 2001
Posts: 22
Hello All,
We have a working enterprise application that uses WAS3.5.4. We have quite a few Entity and session beans. We use DB27.1 database in NT.
However, when i deployed the same application after creating the deployed ear file using the AAT for WAS4.0.2, i get the error from DB2 as
"Trying to insert a null into a NOT NULL column". This happens randomly to all my Entity beans. I am not clear how to solve this problem.
Can any body please suggest a way out of this issue. I did not find any help in the ibm site.
All the columns in all my tables are defined as "Not Null". I am using VAJ4.0 to create my Deployed jar.
Thanks
Sriram
Baba Batsha
Ranch Hand

Joined: Jul 16, 2002
Posts: 94
VAge 4.0 deployed code is compliant with EJB 1.0 spec
AAT deployed code is compliant with EJB 1.1 spec.
Does it trigger anything Kyle?
Naveen Kumar
Ranch Hand

Joined: May 29, 2002
Posts: 30
Hi SriRam,
I am also using entity beans.
I had not used VAJ at all. If your table name & the EJB name are the same then using the EJBDeploy utility from the DOS command prompt you can generate all the deployable code.
Else I suggest you to use the WebSphere Studio Application Developer (which is a replacement for VAJ). Using this tool you can map the colomns properly (GUI interface).
Regards
Naveen Kumar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployment of CMP beans created and working in WAS3.5 to WAS4.0.2