aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes ANT ejbjar task fails for Webshpere Appserver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ANT ejbjar task fails for Webshpere Appserver" Watch "ANT ejbjar task fails for Webshpere Appserver" New topic
Author

ANT ejbjar task fails for Webshpere Appserver

Hemnathbabu Kottaiveedu
Greenhorn

Joined: Mar 13, 2008
Posts: 28
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


SCJP 5 (100%)
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5837
    
    7

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).


JBoss In Action
smita dhumal
Greenhorn

Joined: Apr 09, 2011
Posts: 2
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ANT ejbjar task fails for Webshpere Appserver