geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mika" <>
Subject Re: Deploying EAR which has been already deployed in JBoss 4.0.4
Date Thu, 27 Jul 2006 08:00:10 GMT
> you can put the soap jar in a directoy in the repository like
> <geronimo-home>/repository/soap/soap/2.3.1/soap-2.3.1.jar
> and then add the dependency to that library in your geronimo-web-*.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns=""
>    xmlns:dep=""
>    xmlns:naming="">
>     <dep:environment>
>       <dep:moduleId>
>         <dep:groupId>com.myapps</dep:groupId>
>         <dep:artifactId>ccserver</dep:artifactId>
>         <dep:version>1.0</dep:version>
>         <dep:type>war</dep:type>
>       </dep:moduleId>
>      <dep:dependencies>
>        <dep:dependency>
>          <dep:groupId>soap</dep:groupId>
>          <dep:artifactId>soap</dep:artifactId>
>          <dep:version>2.3.1</dep:version>
>          <dep:type>jar</dep:type>
>        </dep:dependency>
>      </dep:dependencies>
> ...
> Thanks, Mario

Ähhhmmm, I've made an error in my last message. The soap.jar was in reality a soap.war.

Therefor I've created a JAR ;-).
The structure of the is (only the relevant info's):
  + webapps
    + soap
      + admin (some jsp's, html's and gif's)
      + WEB-INF
        - web.xml
    - soap.war

In the JAR I've created the content of the soap/ is included.

Sorry again!

But I've done you wrote...

Now occurs other errors:

Using GERONIMO_BASE:   C:\ApplicationServers\geronimo-1.1
Using GERONIMO_HOME:   C:\ApplicationServers\geronimo-1.1
Using GERONIMO_TMPDIR: C:\ApplicationServers\geronimo-1.1\var\temp
Using JRE_HOME:        C:\Programme\Java\jre1.5.0_06
    Error: Unable to distribute connector.ear: xml problem for web
    app ccserver.war

    	Invalid deployment descriptor: [error: cvc-complex-type.2.4a:
    Expected elements
    instead of
    'moduleId@' here in

    Descriptor: <xml-fragment

















I really don't understand these errors, because in the geronimo-module-1.1.xsd the elements
of the complexType environment are marked with minOccurs="0". This means in my opinion that
they need not occur, but this error says different things...

What is the reason therefor?!?

Thanks a lot,

Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL:

View raw message