-
1. Re: Deployment exception: No META-INF/application.xml found
theute Mar 21, 2007 6:25 AM (in response to simplex-software)http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017464#4017464
Anyway, it looks like an encoding issue.
Was it compressed using jar in ant ? or compressed afterward.
Do you have a MANIFEST.MF file along application.xml ?
If so please post it here with your application.xml -
2. Re: Deployment exception: No META-INF/application.xml found
simplex-software Mar 22, 2007 10:01 AM (in response to simplex-software)Yes, it is compressed with tne ant's task ear and the MANIFEST.MF doesn't containg anything. Here is the MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.5.0_10-b03 (Sun Microsystems Inc.)
And here is the application.xml
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
<web-uri>happyportal.war</web-uri>
<context-root/>
happyportal.jar
The message apears only during the hot deployment. If I stop the server and I start it again, it doesn't apear any more. And the application works properly wether the exception is raised or not. I noticed also that the hot deployment doesn't work for EJB3, raising ClassCastException. Stoping and starting the server solve the problem.
Thanks for the help,
Nicolas -
3. Re: Deployment exception: No META-INF/application.xml found
simplex-software Mar 22, 2007 10:03 AM (in response to simplex-software)I dont know why the application.xml file didn't copy correctly. here is once again:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
<web-uri>happyportal.war</web-uri>
<context-root/>
happyportal.jar -
4. Re: Deployment exception: No META-INF/application.xml found
simplex-software Mar 22, 2007 10:04 AM (in response to simplex-software)no way to copy here the application.xml file.
-
5. Re: Deployment exception: No META-INF/application.xml found
peterj Mar 22, 2007 12:14 PM (in response to simplex-software)Place the [ code ] [ /code] tags around the xml text, or select the xml text and click the Code button.