geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "johnxmas" <johnx...@free.fr>
Subject J2EE Connector deployment problem
Date Wed, 08 Jul 2009 08:38:09 GMT
Hi,

I'm trying to add a GBean for log4j in a resource adapter, but I get the following error:
jar:file:/D:/geronimo-tomcat6-javaee5-2.1.3/var/temp/geronimo-deploymentUtil45578.rar!/META-INF/geronimo-ra.xml:58:3:
error: cvc-complex-type.2.4a: Expected element 'resourceadapter@http://geronimo.apache.org/xml/ns/j2ee/connector-1.2'
instead of 'service@http://geronimo.apache.org/xml/ns/j2ee/connector-1.2' here in element
connector@http://geronimo.apache.org/xml/ns/j2ee/connector-1.2


My geronimo-ra.xml looks like that

<connector>
  <environment>
           //
  </environment>

  <resourceadapter>
    //
  </resourceadapter>

  <service>
    <gbean name="DirectoryLog4jConfiguration" class="org.apache.geronimo.system.logging.log4j.ApplicationLog4jConfigurationGBean">
      <attribute name="log4jResource">META-INF/log4j.properties</attribute>
    </gbean>
  </service>


<connector>

Where must I include the GBean element ?

Thanks for your help

Jean-Noël
Mime
View raw message