Hi lists,
I have deploy my EJB on Geronimo but it gives out errors. My program has
been tested on other application server and it is working fine.

I have upload my codes here
http://www.nabble.com/file/p16272291/MusicApp.ear MusicApp.ear 

This is the error it displays:
Error: Unable to distribute MusicApp.ear: Could not parse
    application.xml

        Invalid deployment descriptor: errors:

    error: cvc-complex-type.2.4a: Expected element
    '[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee' instead of
    '[EMAIL PROTECTED]://java.sun.com/xml/ns/javaee' here in element
    [EMAIL PROTECTED]://java.sun.com/xml/ns/javaee


    Descriptor:

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

      <description>Application description</description>

      <display-name>MusicDAOApp</display-name>

      <resource-ref>

        <res-ref-name>jdbc/MusicDB</res-ref-name>

        <jndi-name>java:/jdbc/MusicDB</jndi-name>

      </resource-ref>

      <module>

        <web>

          <web-uri>war-ic.war</web-uri>

          <context-root>music</context-root>

        </web>

      </module>

      <module>

        <ejb>ejb-jar-ic.jar</ejb>

      </module>

      <!--<module>

        <java>app-client-ic.jar</java>

      </module>-->

    </application>

Thanks

-- 
View this message in context: 
http://www.nabble.com/Deployment-error-when-i-deploy-my-EJB-program-in-Geronimo-tp16272291s134p16272291.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to