3 Replies Latest reply on May 14, 2011 7:31 AM by rbattenfeld

    ApplicationDescriptor - Missing javaee namespace?

    rbattenfeld

      Hi

       

      I was pointet by another discussion to the shrinkwrap descriptor project. This is something I can definitely reuse

       

      I tried the ApplicationDescriptor for definining the application.xml. The file looks like this:

       

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>

      <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="6">

        <display-name>test.ear</display-name>

        <module>

          <ejb>kernel.jar</ejb>

        </module>

        <module>

          <ejb>service.jar</ejb>

        </module>

        <module>

          <ejb>module.jar</ejb>

        </module>

        <module>

          <connector>jca-qfj-adapter-sti-1_19-1.0.0.7.rar</connector>

        </module>

      </application>

       

      But this declaration doesn't work for me. JBoss 6 finallogs the following:

       

      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to resolve schema binding for QName {http://java.sun.com/xml/ns/javaee}application with schemaLocation=null

          at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:180) [jbossxb.jar:2.0.3.GA]

       

      When I include the namespace for javaee, then the deployment works:

      <application xmlns:javaee="http://java.sun.com/xml/ns/javaee" 

       

      I think, it would be good to make all declarations changeable.

       

      What are the plans for the rest of the deployment descriptors? I can offer to implemented some of the ejb related descriptors.

       

      Regards,

      Ralf