• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Ant Build in Websphere Application Server5

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
 
Here. Have a potato. I grew it in my armpit. And from my other armpit, this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic