You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Prabakar Rangarajan <pr...@db.com> on 2002/07/24 13:33:28 UTC

Migration to Apache SOAP 2.3.1

Hi,

I am currently using Apache SOAP 2.2 and want to migrate to Apache 2.3.1 (The reason is because i am not able to maintain Session in 2.2, and thought that it may work with 2.3.1)

After successfully installing 2.3.1, i am trying to deploy a service by using the sample scripts and am getting the following error.

Could anybody help

This test assumes a server URL of http://10.171.158.82:8082/servlet/rpcrouter
Deploying the addressbook2 service...
Exception in thread "main" java.lang.ClassFormatError: org/apache/soap/encoding/
literalxml/XMLParameterSerializer (Bad magic number)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass0(Compiled Code)
        at java.lang.ClassLoader.defineClass(Compiled Code)
        at java.security.SecureClassLoader.defineClass(Compiled Code)
        at java.net.URLClassLoader.defineClass(Compiled Code)
        at java.net.URLClassLoader.access$1(Compiled Code)
        at java.net.URLClassLoader$1.run(Compiled Code)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessController.doPrivileged(Compiled Code)
        at java.net.URLClassLoader.findClass(Compiled Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClassInternal(Compiled Code)
        at <Unloaded Method>
        at org.apache.soap.rpc.Call.getSOAPMappingRegistry(Call.java:120)
        at org.apache.soap.server.ServiceManagerClient.<init>(ServiceManagerClie
nt.java:89)
        at org.apache.soap.server.ServiceManagerClient.main(Compiled Code)

Thanks  & Regards
Prabakar



--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.



RE: Migration to Apache SOAP 2.3.1

Posted by Erich Izdepski <ei...@cysive.com>.
Look for code from apache 2.2 still being on your classpath. May just need
to re-install 2.3.

Erich Izdepski
Senior Software Engineer
Cysive, Inc.


-----Original Message-----
From: Prabakar Rangarajan [mailto:prabakar.rangarajan@db.com]
Sent: Wednesday, July 24, 2002 7:33 AM
To: soap-user@xml.apache.org
Subject: Migration to Apache SOAP 2.3.1


Hi,

I am currently using Apache SOAP 2.2 and want to migrate to Apache 2.3.1
(The reason is because i am not able to maintain Session in 2.2, and thought
that it may work with 2.3.1)

After successfully installing 2.3.1, i am trying to deploy a service by
using the sample scripts and am getting the following error.

Could anybody help

This test assumes a server URL of
http://10.171.158.82:8082/servlet/rpcrouter
Deploying the addressbook2 service...
Exception in thread "main" java.lang.ClassFormatError:
org/apache/soap/encoding/
literalxml/XMLParameterSerializer (Bad magic number)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass0(Compiled Code)
        at java.lang.ClassLoader.defineClass(Compiled Code)
        at java.security.SecureClassLoader.defineClass(Compiled Code)
        at java.net.URLClassLoader.defineClass(Compiled Code)
        at java.net.URLClassLoader.access$1(Compiled Code)
        at java.net.URLClassLoader$1.run(Compiled Code)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessController.doPrivileged(Compiled Code)
        at java.net.URLClassLoader.findClass(Compiled Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClassInternal(Compiled Code)
        at <Unloaded Method>
        at org.apache.soap.rpc.Call.getSOAPMappingRegistry(Call.java:120)
        at
org.apache.soap.server.ServiceManagerClient.<init>(ServiceManagerClie
nt.java:89)
        at org.apache.soap.server.ServiceManagerClient.main(Compiled Code)

Thanks  & Regards
Prabakar



--

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>


RE: Migration to Apache SOAP 2.3.1

Posted by Erich Izdepski <ei...@cysive.com>.
Look for code from apache 2.2 still being on your classpath. May just need
to re-install 2.3.

Erich Izdepski
Senior Software Engineer
Cysive, Inc.


-----Original Message-----
From: Prabakar Rangarajan [mailto:prabakar.rangarajan@db.com]
Sent: Wednesday, July 24, 2002 7:33 AM
To: soap-user@xml.apache.org
Subject: Migration to Apache SOAP 2.3.1


Hi,

I am currently using Apache SOAP 2.2 and want to migrate to Apache 2.3.1
(The reason is because i am not able to maintain Session in 2.2, and thought
that it may work with 2.3.1)

After successfully installing 2.3.1, i am trying to deploy a service by
using the sample scripts and am getting the following error.

Could anybody help

This test assumes a server URL of
http://10.171.158.82:8082/servlet/rpcrouter
Deploying the addressbook2 service...
Exception in thread "main" java.lang.ClassFormatError:
org/apache/soap/encoding/
literalxml/XMLParameterSerializer (Bad magic number)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass0(Compiled Code)
        at java.lang.ClassLoader.defineClass(Compiled Code)
        at java.security.SecureClassLoader.defineClass(Compiled Code)
        at java.net.URLClassLoader.defineClass(Compiled Code)
        at java.net.URLClassLoader.access$1(Compiled Code)
        at java.net.URLClassLoader$1.run(Compiled Code)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessController.doPrivileged(Compiled Code)
        at java.net.URLClassLoader.findClass(Compiled Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClassInternal(Compiled Code)
        at <Unloaded Method>
        at org.apache.soap.rpc.Call.getSOAPMappingRegistry(Call.java:120)
        at
org.apache.soap.server.ServiceManagerClient.<init>(ServiceManagerClie
nt.java:89)
        at org.apache.soap.server.ServiceManagerClient.main(Compiled Code)

Thanks  & Regards
Prabakar



--

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.



--
To unsubscribe, e-mail:   <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>