Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ANT ejbjar task fails for Webshpere Appserver

 
Hemnathbabu Kottaiveedu
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

We are trying to generate the deployment code of ejb using the ant ejbjar optional task. The deployment code is generated properly using the WSAD v 5.1.2 but it fails when we use the ejbjar task of ant. Following is the snippet of our build.xml:





[*Error] ejbModule/updateFNORA/EJSStatelessUpdateHomeBean_4d6c968d.java(8): EJSHome cannot be resolved or is not a valid superclass
[*Error] ejbModule/updateFNORA/EJSStatelessUpdateHomeBean_4d6c968d.java(18): BeanO cannot be resolved or is not a type
[*Error] ejbModule/updateFNORA/EJSStatelessUpdateHomeBean_4d6c968d.java(22): BeanId cannot be resolved or is not a type
[*Error] ejbModule/updateFNORA/EJSStatelessUpdateHomeBean_4d6c968d.java(32): CreateFailureException cannot be resolved or is not a type
[*Error] ejbModule/updateFNORA/EJSStatelessUpdateHomeBean.java(6): The hierarchy of the type EJSStatelessUpdateHomeBean is inconsistent
[*Error] ejbModule/updateFNORA/EJSStatelessUpdateCitiScanHomeBean_14c3694e.java(8): EJSHome cannot be resolved or is not a valid superclass
[*Error] ejbModule/updateFNORA/EJSStatelessUpdateCitiScanHomeBean_14c3694e.java(18): BeanO cannot be resolved or is not a type
[*Error] ejbModule/updateFNORA/EJSStatelessUpdateCitiScanHomeBean_14c3694e.java(22): BeanId cannot be resolved or is not a type
[*Error] ejbModule/updateFNORA/EJSStatelessUpdateCitiScanHomeBean_14c3694e.java(32): CreateFailureException cannot be resolved or is not a type
[*Error] ejbModule/updateFNORA/EJSStatelessUpdateCitiScanHomeBean.java(6): The hierarchy of the type EJSStatelessUpdateCitiScanHomeBean is inconsistent
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(8): Class must implement the inherited abstract method EJBObject.remove()
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(8): Class must implement the inherited abstract method EJBObject.getEJBHome()
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(8): Class must implement the inherited abstract method EJBObject.isIdentical(EJBObject)
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(8): Class must implement the inherited abstract method EJBObject.getPrimaryKey()
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(8): Class must implement the inherited abstract method EJBObject.getHandle()
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(8): EJSWrapper cannot be resolved or is not a valid superclass
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(17): com.ibm.ejs.container.EJSDeployedSupport cannot be resolved (or is not a valid return type) for the method getDeployedSupport
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(18): container cannot be resolved
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(23): com.ibm.ejs.container.EJSDeployedSupport cannot be resolved (or is not a valid type) for the argument support of the method putDeployedSupport
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(24): container cannot be resolved
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(31): EJSDeployedSupport cannot be resolved or is not a type
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(31): The method getDeployedSupport() is undefined for the type EJSRemoteStatelessUpdate_4d6c968d
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(34): container cannot be resolved
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdate_4d6c968d.java(62): container cannot be resolved
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(31): EJSDeployedSupport cannot be resolved or is not a type
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(31): The method getDeployedSupport() is undefined for the type EJSRemoteStatelessUpdateHome_4d6c968d
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(34): container cannot be resolved
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(35): The method getEJBMetaData() is undefined for the type EJSStatelessUpdateHomeBean_4d6c968d
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(47): container cannot be resolved
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(58): EJSDeployedSupport cannot be resolved or is not a type
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(58): The method getDeployedSupport() is undefined for the type EJSRemoteStatelessUpdateHome_4d6c968d
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(61): container cannot be resolved
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(62): The method getHomeHandle() is undefined for the type EJSStatelessUpdateHomeBean_4d6c968d
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(74): container cannot be resolved
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(85): EJSDeployedSupport cannot be resolved or is not a type
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(85): The method getDeployedSupport() is undefined for the type EJSRemoteStatelessUpdateHome_4d6c968d
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(88): container cannot be resolved
[*Error] ejbModule/updateFNORA/EJSRemoteStatelessUpdateHome_4d6c968d.java(105): container cannot be resolved and many more.....

Can anyone tell why these errors are coming up?

Thanks in advance
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like either there is something wrong with your deployment descriptors, or your Java classes have not been compiled (or not compiled to ${ejbbase}/bin/classes).
 
smita dhumal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

were you able to resolve this issue. I am getting similar errors for EJB 2.1 compilation with ejbdeploy.sh websphere 7.0 script.

It will be really helpful if you could share how you resolved it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic