Ok, can you put the openejb-jar.xml and the geronimo-web.xml
into the EARs META-INF directory. You can also put both files
into another dir (e.g. "deploy") an then referencing both with
the alt-dd element.


<module>
  <ejb>ccserver.jar</ejb>
  <alt-dd>deploy/openejb-jar.xml</alt-dd>
</module>

<module>
  <web>csample.war</web>
  <alt-dd>deploy/geronimo-web.xml</alt-dd>
</module>


Thanks,
Mario


mika wrote:
mika wrote:
Well,

I've started from zero again...

The first I made was to write the geronimo-application.xml. This
descriptor works in my assumption.

Can you post the geronimo-application.xml or a link to the mail-archive if
already done?

Thanks,
Mario

Jope...

#######################################################################

The geronimo-application.xml:

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

<application
    xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1";
    xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-1.1";
    xmlns:openejb="http://www.openejb.org/xml/ns/openejb-jar-2.1";
    application-name="Connector">

  <environment></environment>

  <module>
    <ejb>ccserver.jar</ejb>
    <openejb:emptyType/>
  </module>

  <module>
    <web>csample.war</web>
    <web:context-root>/sample</web:context-root>
  </module>

  <module>
    <web>ccserver.war</web>
    <web:context-root>/transconnect</web:context-root>
  </module>

  <module>
    <web>wsci.war</web>
    <web:context-root>/service</web:context-root>
  </module>

</application>

########################################################################

The application.xml:

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

<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 
1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'>

<application>
  <display-name>Connector</display-name>
  <description>Connector EAI Server</description>
  <module>
    <ejb>ccserver.jar</ejb>
  </module>
  <module>
    <web>
      <web-uri>ccserver.war</web-uri>
      <context-root>/connect</context-root>
    </web>
  </module>
  <module>
    <web>
      <web-uri>csample.war</web-uri>
      <context-root>/sample</context-root>
    </web>
  </module>
  <module>
    <web>
      <web-uri>wsci.war</web-uri>
      <context-root>/service</context-root>
    </web>
  </module>
</application>

#######################################################################

Thanks a lot,
mika

Reply via email to