>
> 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="http://geronimo.apache.org/xml/ns/j2ee/web-1.1"
> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"
> xmlns:naming="http://geronimo.apache.org/xml/ns/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 soap.zip is (only the relevant info's):
----------------------------
soap.zip
+ 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
'[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1
[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1
[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1
[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1'
instead of
'[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1' here in
element
[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1]
Descriptor: <xml-fragment
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"
xmlns:jet="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.1"
xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1">
<dep:environment>
<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>
<dep:moduleId>
<dep:groupId>com.sqlgmbh.tcsap.ci</dep:groupId>
<dep:artifactId>tcserver</dep:artifactId>
<dep:version>1.0</dep:version>
<dep:type>war</dep:type>
</dep:moduleId>
</dep:environment>
...
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,
mika
--
Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl