EJB programming & troubleshooting: [jboss]no META-INF/application.xml found
Hello, good morning.
- Posted by: ha_ ha
- Posted on: June 03 2004 11:01 EDT
I´m trying to deploy an ear file in jboss 3.2.3 and I keep getting the following exception:
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
Here is my directory structure inside the ear file:
And the application.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application
<display-name>Hello Ear File</display-name>
What am I doing wrong?
Thanks a lot :D
Oh my god ...............
Can you guess what was the problem??? THE F* B* M*F* WINRAR FROM HELL ... jboss couldn´t find the folder and the file ... I used winzip and ... ta-dá ...
"Remeber kids, along the river, not across the road"
Why are you using WinRAR or WinZip anyway? The best way to create an EAR file is to just use the jar utility. That way, you at least know it will be compatible. Use an Ant script with a target that creates the EAR directory structure then just does a <jar> task with the EAR directory as the base dir.
Much easier, less headaches!