• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ant Build in Websphere Application Server5

 
Sac Ram
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Any one of you know how to configure ant with Websphere Application Server.
I have created EAR file using ant, When i try to deploy this EAR file on to the Application Server. i am getting error as below.
If you know such problem pls let me know.
Thanks in Advance.

**************************************************************************
Installing..
If there are EJB's in the application, the EJB Deploy process may take several minutes. Please do not save the configuration until the process is complete.
Check the SystemOut.log on the Deployment Manager or Server where the application is deployed for specific information about the EJB Deploy process as it occurs.
ADMA5016I: Installation of harcourt started.
ADMA5018I: Starting EJBDeploy on ear C:\Program Files\WebSphere\AppServer\wstemp\Harcourt\upload\harcourt.ear..
Starting workbench.
ADMA5008E: EJBDeploy failed on C:\TEMP\app_f8a1f4eed5\dpl\dpl_harcourt.ear: com.ibm.etools.ejbdeploy.EJBDeploymentException: Error executing EJBDeploy
ADMA5011I: Cleanup of temp dir for app harcourt done.
ADMA5014E: Installation of application harcourt failed.
Installation of application harcourt failed.
If you want to work with installed applications, then click Manage Applications.
Manage Applications
***********************************************************************
content of "ejb-jar.xml" is as below
<?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<display-name>harcourt</display-name>
<enterprise-beans>
<session id="ServiceBO">
<ejb-name>ServiceBO</ejb-name>
<home>com.harcourt.elearning.stars.business.bo.ServiceBOHome</home>
<remote>com.harcourt.elearning.stars.business.bo.ServiceBO</remote>
<ejb-class>com.harcourt.elearning.stars.business.bo.ServiceBOBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session id="TreeViewBO">
<ejb-name>TreeViewBO</ejb-name>
<home>com.harcourt.elearning.stars.business.bo.TreeViewBOHome</home>
<remote>com.harcourt.elearning.stars.business.bo.TreeViewBO</remote>
<ejb-class>com.harcourt.elearning.stars.business.bo.TreeViewBOBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session id="CorrelateBO">
<ejb-name>CorrelateBO</ejb-name>
<home>com.harcourt.elearning.stars.business.bo.CorrelateBOHome</home>
<remote>com.harcourt.elearning.stars.business.bo.CorrelateBO</remote>
<ejb-class>com.harcourt.elearning.stars.business.bo.CorrelateBOBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
</session>
<session id="AdminBO">
<ejb-name>AdminBO</ejb-name>
<home>com.harcourt.elearning.stars.business.bo.AdminBOHome</home>
<remote>com.harcourt.elearning.stars.business.bo.AdminBO</remote>
<ejb-class>com.harcourt.elearning.stars.business.bo.AdminBOBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
</session>
<session id="UniqueKeyBO">
<ejb-name>UniqueKeyBO</ejb-name>
<home>com.harcourt.elearning.stars.business.bo.UniqueKeyBOHome</home>
<remote>com.harcourt.elearning.stars.business.bo.UniqueKeyBO</remote>
<ejb-class>com.harcourt.elearning.stars.business.bo.UniqueKeyBOBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session id="ImportBO">
<ejb-name>ImportBO</ejb-name>
<home>com.harcourt.elearning.stars.business.bo.ImportBOHome</home>
<remote>com.harcourt.elearning.stars.business.bo.ImportBO</remote>
<ejb-class>com.harcourt.elearning.stars.business.bo.ImportBOBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
</session>
<session id="MaintainBO">
<ejb-name>MaintainBO</ejb-name>
<home>com.harcourt.elearning.stars.business.bo.MaintainBOHome</home>
<remote>com.harcourt.elearning.stars.business.bo.MaintainBO</remote>
<ejb-class>com.harcourt.elearning.stars.business.bo.MaintainBOBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic