I have created a small example having jar file,war files.My directory structure is
Hello SayHello HelloEjb classes folder having all ejb classes META-INF having ejb-jar.xml,weblogic-jar.xml HelloWeb classes folder haveing all servlet classes WEB-INF having web.xml HelloEjb.jar HelloWeb.war
After developing jar and war files I created new folder Helloear and placed ear file in that folder and its directory structure is Helloear META-INF application.xml weblogic-application.xml HelloWeb.war HelloEjb.jar Helloear.ear
Now for deploying I opened weblogic8.1 console and tried to deploy the ear file by uploading it.After uplodaing ear file when I click deploy button its giving error message as
J2EE:160043]Missing deployment descriptor "META-INF/application.xml" at "C:\beanew\user_projects\domains\mydomain\myserver\upload\Helloear.ear"
And my application.xml is ______________________________ <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
I am not able to figure out why this error is coming.Please some one help me with this.Is there any mistake with directory structure..or files . I want to try manually first without using ide tools or deploy tools.So some one please tell me how to resolve this error.