JBoss Community

Re: Migrating from JBoss AS 4.2.1 to 5.1.0

created by jaikiran pai in Beginner's Corner - View the full discussion

Michael Huang wrote:

 


<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/application_5.xsd">
<application>

The file has a problem. Notice the "application" element starting twice? Change it to:

 

 

 

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/application_5.xsd">

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community