Richard-
what happens when you use the -0 (no compression) as in
jar -0 -cvf yourWebService.aar ...
if you have the src/modules/samples/version/build.xml you will see this target
to generate.service
<target name="generate.service" depends="clean,prepare">
<copy file="src/sample/axisversion/META-INF/services.xml"
tofile="${dest.dir.classes}/META-INF/services.xml" overwrite="true" />
<javac srcdir="src" destdir="${dest.dir.classes}"
includes="sample/axisversion/**">
<classpath refid="build.class.path" />
</javac>
<jar basedir="${dest.dir.classes}" destfile="${dest.dir}/version.aar" />
<copy file="${dest.dir}/version.aar" tofile="${repository.path}/version.aar"
overwrite="true" />
</target>
(Notice that the jar task does not use any compression parameters to generate
the .aar)
HTH
Martin--
---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use of
the individual or entity to which it is addressed and may contain information
that is privileged, proprietary , confidential and exempt from disclosure. If
you are not the intended recipient, you are notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
---------------------------------------------------------------------------
Le présent message électronique (y compris les pièces qui y sont annexées, le
cas échéant) s'adresse au destinataire indiqué et peut contenir des
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le
destinataire de ce document, nous vous signalons qu'il est strictement interdit
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message -----
From: "Richard DeGrande" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, March 28, 2007 6:51 PM
Subject: Has anyone seen this ?
org.apache.axis2.deployment.DeploymentException: Processing Operations Modules
Error in schema generating Unexpected end of ZLIB input stream; nested
exception is:
java.io.EOFException: Unexpected end of ZLIB input stream; nested
exception is:
org.apache.axis2.deployment.DeploymentException: Error in schema
generating Unexpected end of ZLIB input stream; nested exception is:
java.io.EOFException: Unexpected end of ZLIB input stream; nested
exception is:
org.apache.axis2.deployment.DeploymentException: Processing Operations
Modules Error in schema generating Unexpected end of ZLIB input stream; nested
exception is:
java.io.EOFException: Unexpected end of ZLIB input stream; nested
exception is:
org.apache.axis2.deployment.DeploymentException: Error in schema
generating Unexpected end of ZLIB input stream; nested exception is:
java.io.EOFException: Unexpected end of ZLIB input stream
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:139)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:528)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:196)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:227)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:174)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:219)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:61)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:68)
at org.apache.axis2.deployment.sch
I've googled this and found that it is sometimes caused by not closing the zip
stream. I'm using the jar command in Ant to create
the .aar file. I've tried to insure that the jar is not being compressed.
When I initially deployed the jar it seemed to work.
Code and services.xml enclosed...
package jeffco.us.service;
import org.apache.axiom.om.OMElement;
public class HelloService {
public HelloService(){
super();
}
public void doServiceOne(OMElement e){
System.out.println("This is doServiceOne()");
}
}
<service name="HelloService">
<description>
The Hello Service.
</description>
<parameter name="ServiceClass"
locked="false">jeffco.us.service.HelloService</parameter>
<operation name="doServiceOne">
<messageReceiver
class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
<actionMapping>urn:doServiceOne</actionMapping>
</operation>
</service>
thanks
rick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]