• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deploying RAD 6 developed ear in WAS

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a new project developed in RAD 6. I have WAS 5.12 on the server that I want to deploy to. Is this allowed?

Here's the error that I get:
The EAR file could be corrupt and/or incomplete.
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/application.xml

This happens after I select the EAR file and hit next in the Admin Console. Anybody can tell me if what I'm trying to do is possible and if it is, what could be wrong?

Thanks.
 
Kevin Cheong
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An update on this.. It seems that the application.xml file in the RAD 6 EAR file has some namespaces (which it doesn't even use). On the other hand, if I built a similar project in WSAD 5.12, I don't get that namespaces (in the application element of the application.xml file). If built using 5.12, I also get a doctype element which is not found if I build using RAD6. Could all this be due to a different J2EE version? 1.3 for WSAD 5.12 and 1.4 for RAD 6.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kevin,
Welcome to JavaRanch!

RAD can be used to developer J2EE 1.3 or 1.4 applications. If you have a J2EE 1.3 application, you can deploy it to WAS 5. Otherwise, you will need to use WAS 6.
 
Kevin Cheong
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jeanne. That makes total sense and it must be the problem why I cannot deploy a J2EE 1.4 jar to WAS 5. Do you know if its possible to have WAS 5 and WAS 6 on the same machine? I know its possible with WSAD 5.12 and RAD 6 since I have both of them on my machine but I'm not sure if its possible for the 2 server applications to be on one machine.
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, you can have WAS 5 and 6 on the same machine. Just make sure they are using different ports.
 
Kevin Cheong
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeanne, I have another question I am hoping you can help with.

Can we deploy a WSAD 5.12 developed EAR to WAS 6? I'm guessing it should be fine since the EAR file follows the J2EE 1.3 specs?
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Kevin Cheong:
Can we deploy a WSAD 5.12 developed EAR to WAS 6? I'm guessing it should be fine since the EAR file follows the J2EE 1.3 specs?


Yes. You are correct.
 
Kevin Cheong
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jeanne! You've been great help.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Odd, I'm getting the DeploymentDescriptorLoadException: META-INF/application.xml

I'm developing in Rad6 with jvm = 1.4 and deploying to was6...

Any idea why?

The content of the application.xml is:
 
David Ziebol
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The rest of the application.xml
 
David Ziebol
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmmm, trying one more time...
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
David,
Welcome to JavaRanch! For the future, note that we encourage you to start a new thread for a new question. It makes things easier to follow.

I've noticed the error you described come up a few times. Try the following:
1) Check the modules referenced in the application.xml really exist. (this means the error message is correct and something really is wrong with the application.xml)
2) Try editing the application.xml to add a space and save the file. I've seen RAD need this nudging to re-run the validation and notice things are ok.
3) Try deleting the project and reimporting it.
 
reply
    Bookmark Topic Watch Topic
  • New Topic