facebook

Deploying Web Service .war file on WebSphere 6.1

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #289208 Reply

    jlmapinfo
    Member

    Hello,

    I’ve created a Java Web Service using the Xfire libraries in MyEclipse 6.0.1. The service is successfully tested and deployed within Tomcat 6.0 (embedded within MyEclipse).

    I need to deploy this service within WebSphere 6.1 ND(not embedded wihtin MyEclipse) within AIX. I exported a .war file and attempted to install the Web Service with WS 6.1. I first recieved the error:
    IWAE0007E Could not load resource “META-INF/application.xml”

    This is a known issue within WS where the applicaiton.xml must be provided instead of being optional. A WS patch is required to move past this issue. After creating an application.xml and redeploying a .war file, I recieved the following error:
    [ADMA0084E: The archive /ras/IBM/WebSphere/AppServer/profiles/Dmgr01/wstemp/92668751/upload/PBServices.war to wrap is not a module of type JAR or WAR.]

    I believe that the .war file I’m exporting from MyEclipse may not be valid for WS as it does successfully deploy and work wtihin Tomcat 6.
    Have you seen the above issue? I don’t want to patch WS and then see other issues arise because of the .war file created from MyEclipse. Would you recommend I deploy a local WS 6.1 and embed within MyEclipse, then create the .war file for deployment on aix server?

    Thanks in advance for you assistance.

    #289240 Reply

    Loyal Water
    Member

    jlmapinfo,
    Im not sure if I have come across any other user facing such an issue with websphere deployment. If you setup the server under MyEclipse and deply your app, does it work without issues?

    I’ll check with my team if they are aware of such an issue.

    #289247 Reply

    jlmapinfo
    Member

    Thanks for the response. I was able to set up a local WebSphere 6.1 ND instance on my Windows environment and setup this instance under myeclipse. The .war file created by myEclipse successfully deployed within my WAS 6.1 windows instance.

    Using the same .war file, I attempted to deploy it within the AIX WAS 6.1 instance and recieved again the IWAE0007E Could not load resource “META-INF/application.xml” error message. After further research I found that this may in fact be related to a known WAS issue – http://www-01.ibm.com/support/docview.wss?uid=swg1PK45042

    I’m currently working on patching my WAS instance to 6.1.0.19 to hopefully resolve this issue. Please let me know if you have any other information which may be pertinant to this issue.

    Thanks.

    #289340 Reply

    Loyal Water
    Member

    I hope the patch works. Ill see if I can get any more information on this.

    #289341 Reply

    jlmapinfo
    Member

    The Patch did in fact resolve the issue. Thanks.

    #289383 Reply

    Loyal Water
    Member

    Glad to know you got it to work. Thanks for letting me know.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Deploying Web Service .war file on WebSphere 6.1

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in