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 Sherwin <sh...@techhouse.com> on 2001/03/30 20:34:36 UTC

FIXED RE: Fault String = java.lang.NoSuchMethodError

I didn't actually followed your steps, but it did click something in my
mind.

When I moved from xerces-1_3_1 to xerces-1_2_3 I changed the classpath in
JMC but I forgot to change the jrun.classpath in "global.properties" located
in ..\Allaire\JRun\lib  (duh!)

Thanks for the hint!!

cheers,
sherwin

-----Original Message-----
From: yogesh palavalli [mailto:yogi@varros.com]
Sent: Friday, March 30, 2001 12:36 PM
To: soap-user@xml.apache.org
Subject: RE: Fault String = java.lang.NoSuchMethodError


I am using the JRun and I had the same problem. I don't know what the
problem is but sure it is the problem with the JRun classpath. So what I did
was I installed TOMCAT, and after setting as in the soap installation doc,
all my soap samples worked. I came back to Jrun and tried the same samples I
had the same problem. I deleted all the classpaths from the JRun other then
the default JRun classpath. Now I added the following classpath into the
default application classpath
..\..\..\xerces.jar  -> xerces version should be same as client (verify
carefully)
..\..\..\soap.jar  -> soap version used for client must be same as server
..\..\soap\        ->samples path
default JRun path follows

if the samples don't work try to put mail.jar and activation.jar at the end
before the JRun default classpath.

NOTE: better delete all the soap settings you did and start again, why I say
because most of the problem I saw was due to user errors.

best of luck... let me know if it worked.

regards,
yogesh.



-----Original Message-----
From: Sherwin [mailto:sherwin@techhouse.com]
Sent: Friday, March 30, 2001 9:57 AM
To: soap-user@xml.apache.org
Subject: Fault String = java.lang.NoSuchMethodError



Hi,

I am trying to run the Addressbook sample that came with SOAP-2_1.

When i run:

java org.apache.soap.server.ServiceManagerClient
http://localhost/xml-soap/servlet/rpcrouter deploy DeploymentDescriptor.xml

I am getting the following errors:

Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = java.lang.NoSuchMethodError

I am using Jrun 3.0 w/ IIS.  I have placed "soap-2_1\samples\addressbook" in
the CLASSPATH in Jrun's Java Settings.  I have xerces-1_2_3 which is also in
the CLASSPATH.

Am I missing anything?


cheers,
Sherwin


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: Again: Error when trying to run the samples.mime.MimeTestClient

Posted by Wouter Cloetens <wo...@mind.be>.
Sorry for the slow response, but it looks like instead of creating a new message to this forum, you responded
to a very old thread, thus making it appear to a threaded mail client that your message was still part of
that thread.

The "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" unique ID is built up from various
parts to try to guarantee universal uniqueness. The odd part there is the URLEncoded "%C3%B5%C7%F6%C0%E7".
That is supposed to be the user name, obtained by calling System.getProperty("user.name"). I didn't take
into account that that could be non-ASCII text... Hrmpf, I'll look into a work-around. For the time being,
you can patch org.apache.soap.util.mime.MimeUtils.getUniqueValue, or tell your JVM or OS that you have
an ASCII user ID...

bfn, Wouter

On Wed, Apr 04, 2001 at 07:36:10PM +0900, Hyeonjae Cheon wrote:
> Hi, soapers
> 
> I am trying to run the samples.mime.MimeTestClient sample that came with SOAP-2_1.
> 
> When I run:
> 
> --------------------------------------------------------------------------------------------------------------
> 
> C:\soap-2_1\samples\mime>java samples.mime.MimeTestClient
> http://localhost:8080/soap/servlet/rpcrouter sendFile foo.txt
> --------------------------------------------------------------------------------------------------------------
> 
> 
> 
> I am getting the following errors:
> 
> --------------------------------------------------------------------------------------------------------------
> 
> Generated fault:
>   Fault Code   = SOAP-ENV:Client
>   Fault String = Attachment tag "addedfile" refers to a Mime attachment with
> label "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" which
> could not be found.
> --------------------------------------------------------------------------------------------------------------
> 
> 
> 
> I am using jakarta-tomcat, apache, windows98.
> other sample codes were executed successfully!!!
> 
> Am I missing anything?
> 
> please, help me~
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
> 
---end quoted text---

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: Again: Error when trying to run the samples.mime.MimeTestClient

Posted by Wouter Cloetens <wo...@mind.be>.
Sorry for the slow response, but it looks like instead of creating a new message to this forum, you responded
to a very old thread, thus making it appear to a threaded mail client that your message was still part of
that thread.

The "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" unique ID is built up from various
parts to try to guarantee universal uniqueness. The odd part there is the URLEncoded "%C3%B5%C7%F6%C0%E7".
That is supposed to be the user name, obtained by calling System.getProperty("user.name"). I didn't take
into account that that could be non-ASCII text... Hrmpf, I'll look into a work-around. For the time being,
you can patch org.apache.soap.util.mime.MimeUtils.getUniqueValue, or tell your JVM or OS that you have
an ASCII user ID...

bfn, Wouter

On Wed, Apr 04, 2001 at 07:36:10PM +0900, Hyeonjae Cheon wrote:
> Hi, soapers
> 
> I am trying to run the samples.mime.MimeTestClient sample that came with SOAP-2_1.
> 
> When I run:
> 
> --------------------------------------------------------------------------------------------------------------
> 
> C:\soap-2_1\samples\mime>java samples.mime.MimeTestClient
> http://localhost:8080/soap/servlet/rpcrouter sendFile foo.txt
> --------------------------------------------------------------------------------------------------------------
> 
> 
> 
> I am getting the following errors:
> 
> --------------------------------------------------------------------------------------------------------------
> 
> Generated fault:
>   Fault Code   = SOAP-ENV:Client
>   Fault String = Attachment tag "addedfile" refers to a Mime attachment with
> label "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" which
> could not be found.
> --------------------------------------------------------------------------------------------------------------
> 
> 
> 
> I am using jakarta-tomcat, apache, windows98.
> other sample codes were executed successfully!!!
> 
> Am I missing anything?
> 
> please, help me~
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
> 
---end quoted text---

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Again: Error when trying to run the samples.mime.MimeTestClient

Posted by Hyeonjae Cheon <sl...@korea.ac.kr>.
Hi, soapers

I am trying to run the samples.mime.MimeTestClient sample that came with SOAP-2_1.

When I run:

--------------------------------------------------------------------------------------------------------------

C:\soap-2_1\samples\mime>java samples.mime.MimeTestClient
http://localhost:8080/soap/servlet/rpcrouter sendFile foo.txt
--------------------------------------------------------------------------------------------------------------



I am getting the following errors:

--------------------------------------------------------------------------------------------------------------

Generated fault:
  Fault Code   = SOAP-ENV:Client
  Fault String = Attachment tag "addedfile" refers to a Mime attachment with
label "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" which
could not be found.
--------------------------------------------------------------------------------------------------------------



I am using jakarta-tomcat, apache, windows98.
other sample codes were executed successfully!!!

Am I missing anything?

please, help me~


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Again: Error when trying to run the samples.mime.MimeTestClient

Posted by Hyeonjae Cheon <sl...@korea.ac.kr>.
Hi, soapers

I am trying to run the samples.mime.MimeTestClient sample that came with SOAP-2_1.

When I run:

--------------------------------------------------------------------------------------------------------------

C:\soap-2_1\samples\mime>java samples.mime.MimeTestClient
http://localhost:8080/soap/servlet/rpcrouter sendFile foo.txt
--------------------------------------------------------------------------------------------------------------



I am getting the following errors:

--------------------------------------------------------------------------------------------------------------

Generated fault:
  Fault Code   = SOAP-ENV:Client
  Fault String = Attachment tag "addedfile" refers to a Mime attachment with
label "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" which
could not be found.
--------------------------------------------------------------------------------------------------------------



I am using jakarta-tomcat, apache, windows98.
other sample codes were executed successfully!!!

Am I missing anything?

please, help me~


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Error when trying to execute the samples.mime.MimeTestClient

Posted by Hyeonjae Cheon <sl...@korea.ac.kr>.
Hi,

I am trying to run the samples.mime.MimeTestClient sample that came with
SOAP-2_1.

When I run:

C:\soap-2_1\samples\mime>java samples.mime.MimeTestClient http://localhost:8080/

soap/servlet/rpcrouter sendFile foo.txt

I am getting the following errors:


Generated fault:
  Fault Code   = SOAP-ENV:Client
  Fault String = Attachment tag "addedfile" refers to a Mime attachment with
label "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" which
coul
d not be found.

I am using jakarta-tomcat, apache, windows98.
Another sample codes were executed successfully!!!

Am I missing anything?






---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Error when trying to execute the samples.mime.MimeTestClient

Posted by Hyeonjae Cheon <sl...@korea.ac.kr>.
Hi,

I am trying to run the samples.mime.MimeTestClient sample that came with
SOAP-2_1.

When I run:

C:\soap-2_1\samples\mime>java samples.mime.MimeTestClient http://localhost:8080/

soap/servlet/rpcrouter sendFile foo.txt

I am getting the following errors:


Generated fault:
  Fault Code   = SOAP-ENV:Client
  Fault String = Attachment tag "addedfile" refers to a Mime attachment with
label "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" which
coul
d not be found.

I am using jakarta-tomcat, apache, windows98.
Another sample codes were executed successfully!!!

Am I missing anything?






---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: FIXED RE: Fault String = java.lang.NoSuchMethodError

Posted by yogesh palavalli <yo...@varros.com>.
I was like you and took long time to fix :-) good luck

-----Original Message-----
From: Sherwin [mailto:sherwin@techhouse.com]
Sent: Friday, March 30, 2001 12:35 PM
To: soap-user@xml.apache.org
Subject: FIXED RE: Fault String = java.lang.NoSuchMethodError



I didn't actually followed your steps, but it did click something in my
mind.

When I moved from xerces-1_3_1 to xerces-1_2_3 I changed the classpath in
JMC but I forgot to change the jrun.classpath in "global.properties" located
in ..\Allaire\JRun\lib  (duh!)

Thanks for the hint!!

cheers,
sherwin

-----Original Message-----
From: yogesh palavalli [mailto:yogi@varros.com]
Sent: Friday, March 30, 2001 12:36 PM
To: soap-user@xml.apache.org
Subject: RE: Fault String = java.lang.NoSuchMethodError


I am using the JRun and I had the same problem. I don't know what the
problem is but sure it is the problem with the JRun classpath. So what I did
was I installed TOMCAT, and after setting as in the soap installation doc,
all my soap samples worked. I came back to Jrun and tried the same samples I
had the same problem. I deleted all the classpaths from the JRun other then
the default JRun classpath. Now I added the following classpath into the
default application classpath
..\..\..\xerces.jar  -> xerces version should be same as client (verify
carefully)
..\..\..\soap.jar  -> soap version used for client must be same as server
..\..\soap\        ->samples path
default JRun path follows

if the samples don't work try to put mail.jar and activation.jar at the end
before the JRun default classpath.

NOTE: better delete all the soap settings you did and start again, why I say
because most of the problem I saw was due to user errors.

best of luck... let me know if it worked.

regards,
yogesh.



-----Original Message-----
From: Sherwin [mailto:sherwin@techhouse.com]
Sent: Friday, March 30, 2001 9:57 AM
To: soap-user@xml.apache.org
Subject: Fault String = java.lang.NoSuchMethodError



Hi,

I am trying to run the Addressbook sample that came with SOAP-2_1.

When i run:

java org.apache.soap.server.ServiceManagerClient
http://localhost/xml-soap/servlet/rpcrouter deploy DeploymentDescriptor.xml

I am getting the following errors:

Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = java.lang.NoSuchMethodError

I am using Jrun 3.0 w/ IIS.  I have placed "soap-2_1\samples\addressbook" in
the CLASSPATH in Jrun's Java Settings.  I have xerces-1_2_3 which is also in
the CLASSPATH.

Am I missing anything?


cheers,
Sherwin


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


RE: FIXED RE: Fault String = java.lang.NoSuchMethodError

Posted by yogesh palavalli <yo...@varros.com>.
I was like you and took long time to fix :-) good luck

-----Original Message-----
From: Sherwin [mailto:sherwin@techhouse.com]
Sent: Friday, March 30, 2001 12:35 PM
To: soap-user@xml.apache.org
Subject: FIXED RE: Fault String = java.lang.NoSuchMethodError



I didn't actually followed your steps, but it did click something in my
mind.

When I moved from xerces-1_3_1 to xerces-1_2_3 I changed the classpath in
JMC but I forgot to change the jrun.classpath in "global.properties" located
in ..\Allaire\JRun\lib  (duh!)

Thanks for the hint!!

cheers,
sherwin

-----Original Message-----
From: yogesh palavalli [mailto:yogi@varros.com]
Sent: Friday, March 30, 2001 12:36 PM
To: soap-user@xml.apache.org
Subject: RE: Fault String = java.lang.NoSuchMethodError


I am using the JRun and I had the same problem. I don't know what the
problem is but sure it is the problem with the JRun classpath. So what I did
was I installed TOMCAT, and after setting as in the soap installation doc,
all my soap samples worked. I came back to Jrun and tried the same samples I
had the same problem. I deleted all the classpaths from the JRun other then
the default JRun classpath. Now I added the following classpath into the
default application classpath
..\..\..\xerces.jar  -> xerces version should be same as client (verify
carefully)
..\..\..\soap.jar  -> soap version used for client must be same as server
..\..\soap\        ->samples path
default JRun path follows

if the samples don't work try to put mail.jar and activation.jar at the end
before the JRun default classpath.

NOTE: better delete all the soap settings you did and start again, why I say
because most of the problem I saw was due to user errors.

best of luck... let me know if it worked.

regards,
yogesh.



-----Original Message-----
From: Sherwin [mailto:sherwin@techhouse.com]
Sent: Friday, March 30, 2001 9:57 AM
To: soap-user@xml.apache.org
Subject: Fault String = java.lang.NoSuchMethodError



Hi,

I am trying to run the Addressbook sample that came with SOAP-2_1.

When i run:

java org.apache.soap.server.ServiceManagerClient
http://localhost/xml-soap/servlet/rpcrouter deploy DeploymentDescriptor.xml

I am getting the following errors:

Ouch, the call failed:
  Fault Code   = SOAP-ENV:Server.Exception:
  Fault String = java.lang.NoSuchMethodError

I am using Jrun 3.0 w/ IIS.  I have placed "soap-2_1\samples\addressbook" in
the CLASSPATH in Jrun's Java Settings.  I have xerces-1_2_3 which is also in
the CLASSPATH.

Am I missing anything?


cheers,
Sherwin


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org