This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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?
Joined: May 17, 2006
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.
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.
author & internet detective
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.