You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Bashar Altakrouri <b....@comp.lancs.ac.uk> on 2008/08/02 18:18:33 UTC

sendsoap exception

Hi,

 

I have deployed ODE on Tomcat 6.0 and Java 1.5. Everything seems to work
fine. I could access http://localhost:8080/ode. Services, Validation and
administration could be accessed and work fine. I have deployed the three
examples and they are all listed in the services section and could access
their WSDLs (e.g. http://localhost:8080/ode/processes/helloWorld?wsdl ).
 
According to use guide
(http://ode.apache.org/user-guide.html#UserGuide-InaWebApplication) I have
tried to use sendsoap to test the examples: 
C:\sendsoap http://localhost:8080/ode/processes/helloWorld
examples/HelloWorld2/testRequest.soap

 

but I am getting the following exception :

 

> Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/ode/tools/sendsoap/cline/HttpSoapSender

 

Any ideas, thoughts or help will be appreciated !!!

 

P.S the problem is very similar to
(http://mail-archives.apache.org/mod_mbox/ode-user/200612.mbox/%3C68b75b5f06
12072043x59b483e8j6e13878ceea9dfce@mail.gmail.com%3E)

 

Cheers,

Bashar 

 


Re: sendsoap exception

Posted by Matthieu Riou <ma...@offthelip.org>.
On Mon, Aug 4, 2008 at 2:26 AM, Bashar Altakrouri <
b.altakrouri@comp.lancs.ac.uk> wrote:

> Hi Paul,
>
> May be I am missing something trivial! But I am just using windows + Tomcat
> 6.0 + Java 1.5. all the class paths are defined in windows environment
> variable so they should be ok! (if you refer to any class in particular
> then
> please let me know.)
>

I've tried on Linux and it works pretty well but it could the the windows
batch script. Could you try to echo the LOCALCLASSPATH variable used in the
script and check that it properly lists all the jars?

Thanks,
Matthieu


>
> bashar
>
> -----Original Message-----
> From: Paul Brown [mailto:paulrbrown@gmail.com]
> Sent: Monday, August 04, 2008 8:10 AM
> To: user@ode.apache.org
> Subject: Re: sendsoap exception
>
>
> Are you using Ode on Windows with Cygwin or perhaps with a space in
> the path?
>
> -- Paul
>
> On Aug 2, 2008, at 9:18 AM, Bashar Altakrouri wrote:
>
> > Hi,
> >
> >
> >
> > I have deployed ODE on Tomcat 6.0 and Java 1.5. Everything seems to
> > work
> > fine. I could access http://localhost:8080/ode. Services, Validation
> > and
> > administration could be accessed and work fine. I have deployed the
> > three
> > examples and they are all listed in the services section and could
> > access
> > their WSDLs (e.g. http://localhost:8080/ode/processes/helloWorld?
> > wsdl ).
> >
> > According to use guide
> > (http://ode.apache.org/user-guide.html#UserGuide-InaWebApplication)
> > I have
> > tried to use sendsoap to test the examples:
> > C:\sendsoap http://localhost:8080/ode/processes/helloWorld
> > examples/HelloWorld2/testRequest.soap
> >
> >
> >
> > but I am getting the following exception :
> >
> >
> >
> >> Exception in thread "main" java.lang.NoClassDefFoundError:
> > org/apache/ode/tools/sendsoap/cline/HttpSoapSender
> >
> >
> >
> > Any ideas, thoughts or help will be appreciated !!!
> >
> >
> >
> > P.S the problem is very similar to
> >
> (
> http://mail-archives.apache.org/mod_mbox/ode-user/200612.mbox/%3C68b75b5f06
> > 12072043x59b483e8j6e13878ceea9dfce@mail.gmail.com%3E)
> >
> >
> >
> > Cheers,
> >
> > Bashar
> >
> >
> >
>
>
>

RE: sendsoap exception

Posted by Bashar Altakrouri <b....@comp.lancs.ac.uk>.
Hi Paul,

May be I am missing something trivial! But I am just using windows + Tomcat
6.0 + Java 1.5. all the class paths are defined in windows environment
variable so they should be ok! (if you refer to any class in particular then
please let me know.)

bashar

-----Original Message-----
From: Paul Brown [mailto:paulrbrown@gmail.com] 
Sent: Monday, August 04, 2008 8:10 AM
To: user@ode.apache.org
Subject: Re: sendsoap exception


Are you using Ode on Windows with Cygwin or perhaps with a space in  
the path?

-- Paul

On Aug 2, 2008, at 9:18 AM, Bashar Altakrouri wrote:

> Hi,
>
>
>
> I have deployed ODE on Tomcat 6.0 and Java 1.5. Everything seems to  
> work
> fine. I could access http://localhost:8080/ode. Services, Validation  
> and
> administration could be accessed and work fine. I have deployed the  
> three
> examples and they are all listed in the services section and could  
> access
> their WSDLs (e.g. http://localhost:8080/ode/processes/helloWorld? 
> wsdl ).
>
> According to use guide
> (http://ode.apache.org/user-guide.html#UserGuide-InaWebApplication)  
> I have
> tried to use sendsoap to test the examples:
> C:\sendsoap http://localhost:8080/ode/processes/helloWorld
> examples/HelloWorld2/testRequest.soap
>
>
>
> but I am getting the following exception :
>
>
>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/ode/tools/sendsoap/cline/HttpSoapSender
>
>
>
> Any ideas, thoughts or help will be appreciated !!!
>
>
>
> P.S the problem is very similar to
>
(http://mail-archives.apache.org/mod_mbox/ode-user/200612.mbox/%3C68b75b5f06
> 12072043x59b483e8j6e13878ceea9dfce@mail.gmail.com%3E)
>
>
>
> Cheers,
>
> Bashar
>
>
>



Re: sendsoap exception

Posted by Paul Brown <pa...@gmail.com>.
Are you using Ode on Windows with Cygwin or perhaps with a space in  
the path?

-- Paul

On Aug 2, 2008, at 9:18 AM, Bashar Altakrouri wrote:

> Hi,
>
>
>
> I have deployed ODE on Tomcat 6.0 and Java 1.5. Everything seems to  
> work
> fine. I could access http://localhost:8080/ode. Services, Validation  
> and
> administration could be accessed and work fine. I have deployed the  
> three
> examples and they are all listed in the services section and could  
> access
> their WSDLs (e.g. http://localhost:8080/ode/processes/helloWorld? 
> wsdl ).
>
> According to use guide
> (http://ode.apache.org/user-guide.html#UserGuide-InaWebApplication)  
> I have
> tried to use sendsoap to test the examples:
> C:\sendsoap http://localhost:8080/ode/processes/helloWorld
> examples/HelloWorld2/testRequest.soap
>
>
>
> but I am getting the following exception :
>
>
>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/ode/tools/sendsoap/cline/HttpSoapSender
>
>
>
> Any ideas, thoughts or help will be appreciated !!!
>
>
>
> P.S the problem is very similar to
> (http://mail-archives.apache.org/mod_mbox/ode-user/200612.mbox/%3C68b75b5f06
> 12072043x59b483e8j6e13878ceea9dfce@mail.gmail.com%3E)
>
>
>
> Cheers,
>
> Bashar
>
>
>


RE: sendsoap exception

Posted by Bashar Altakrouri <b....@comp.lancs.ac.uk>.
Hi,

There is a problem in the ".bat" getting the path from the windows
environmental variables. So I hard coded the path and it worked!

No optimal but! This is what works so far.

bashar

-----Original Message-----
From: Sandro Reichert [mailto:reichert@wwwrn.inf.tu-dresden.de] 
Sent: Tuesday, August 12, 2008 3:31 PM
To: user@ode.apache.org; b.altakrouri@comp.lancs.ac.uk
Subject: Re: sendsoap exception

Hi,

do you have a space in your path? If so, rename the respective folder. 
See bug 359 [1] which has been discovered recently. Does this solve your 
problem?

[1] https://issues.apache.org/jira/browse/ODE-359

Cheers,
Sandro


Bashar Altakrouri schrieb:
> Hi,
> 
>  
> 
> I have deployed ODE on Tomcat 6.0 and Java 1.5. Everything seems to work
> fine. I could access http://localhost:8080/ode. Services, Validation and
> administration could be accessed and work fine. I have deployed the three
> examples and they are all listed in the services section and could access
> their WSDLs (e.g. http://localhost:8080/ode/processes/helloWorld?wsdl ).
>  
> According to use guide
> (http://ode.apache.org/user-guide.html#UserGuide-InaWebApplication) I have
> tried to use sendsoap to test the examples: 
> C:\sendsoap http://localhost:8080/ode/processes/helloWorld
> examples/HelloWorld2/testRequest.soap
> 
>  
> 
> but I am getting the following exception :
> 
>  
> 
>> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/ode/tools/sendsoap/cline/HttpSoapSender
> 
>  
> 
> Any ideas, thoughts or help will be appreciated !!!
> 
>  
> 
> P.S the problem is very similar to
>
(http://mail-archives.apache.org/mod_mbox/ode-user/200612.mbox/%3C68b75b5f06
> 12072043x59b483e8j6e13878ceea9dfce@mail.gmail.com%3E)
> 
>  
> 
> Cheers,
> 
> Bashar 
> 
>  
> 
> 

-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.



Re: sendsoap exception

Posted by pushpeen <pu...@gmail.com>.
Hi

I am also getting the same errors while using sendsoap. I tried hard coding 
classpath in .bat file but it doesn't work still. Can you please tell me what 
all changes you made in the .bat file in order to make it work! I am not sure 
which bin , lib and etc file it is referring to and what is dp0 pointing to!

Thanks



Re: sendsoap exception

Posted by Sandro Reichert <re...@rn.inf.tu-dresden.de>.
Hi,

do you have a space in your path? If so, rename the respective folder. 
See bug 359 [1] which has been discovered recently. Does this solve your 
problem?

[1] https://issues.apache.org/jira/browse/ODE-359

Cheers,
Sandro


Bashar Altakrouri schrieb:
> Hi,
> 
>  
> 
> I have deployed ODE on Tomcat 6.0 and Java 1.5. Everything seems to work
> fine. I could access http://localhost:8080/ode. Services, Validation and
> administration could be accessed and work fine. I have deployed the three
> examples and they are all listed in the services section and could access
> their WSDLs (e.g. http://localhost:8080/ode/processes/helloWorld?wsdl ).
>  
> According to use guide
> (http://ode.apache.org/user-guide.html#UserGuide-InaWebApplication) I have
> tried to use sendsoap to test the examples: 
> C:\sendsoap http://localhost:8080/ode/processes/helloWorld
> examples/HelloWorld2/testRequest.soap
> 
>  
> 
> but I am getting the following exception :
> 
>  
> 
>> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/ode/tools/sendsoap/cline/HttpSoapSender
> 
>  
> 
> Any ideas, thoughts or help will be appreciated !!!
> 
>  
> 
> P.S the problem is very similar to
> (http://mail-archives.apache.org/mod_mbox/ode-user/200612.mbox/%3C68b75b5f06
> 12072043x59b483e8j6e13878ceea9dfce@mail.gmail.com%3E)
> 
>  
> 
> Cheers,
> 
> Bashar 
> 
>  
> 
> 

-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.


Re: sendsoap exception

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi,

I currently cannot help on this particular question (though, it looks 
like a simple class path issue), but I can highly recommend soapUI 
(soapui.org) for exploring Web services.

Best,
   Tammo

Bashar Altakrouri wrote:
> Hi,
> 
>  
> 
> I have deployed ODE on Tomcat 6.0 and Java 1.5. Everything seems to work
> fine. I could access http://localhost:8080/ode. Services, Validation and
> administration could be accessed and work fine. I have deployed the three
> examples and they are all listed in the services section and could access
> their WSDLs (e.g. http://localhost:8080/ode/processes/helloWorld?wsdl ).
>  
> According to use guide
> (http://ode.apache.org/user-guide.html#UserGuide-InaWebApplication) I have
> tried to use sendsoap to test the examples: 
> C:\sendsoap http://localhost:8080/ode/processes/helloWorld
> examples/HelloWorld2/testRequest.soap
> 
>  
> 
> but I am getting the following exception :
> 
>  
> 
>> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/ode/tools/sendsoap/cline/HttpSoapSender
> 
>  
> 
> Any ideas, thoughts or help will be appreciated !!!
> 
>  
> 
> P.S the problem is very similar to
> (http://mail-archives.apache.org/mod_mbox/ode-user/200612.mbox/%3C68b75b5f06
> 12072043x59b483e8j6e13878ceea9dfce@mail.gmail.com%3E)
> 
>  
> 
> Cheers,
> 
> Bashar 
> 
>  
> 
> 


Re: sendsoap exception

Posted by Sandro Reichert <re...@rn.inf.tu-dresden.de>.
Hi!

don't move the sendsoap script to another location, IMHO this causes the 
error. Try to call it again in the bin/ directory.

I get the same error when I create a symbolic link like [1] and call it.

[1] ln -s ~/apache-ode-war-1.2/bin/sendsoap /usr/bin/sendsoap


Cheers,
Sandro


Bashar Altakrouri schrieb:
> Hi,
> 
>  
> 
> I have deployed ODE on Tomcat 6.0 and Java 1.5. Everything seems to work
> fine. I could access http://localhost:8080/ode. Services, Validation and
> administration could be accessed and work fine. I have deployed the three
> examples and they are all listed in the services section and could access
> their WSDLs (e.g. http://localhost:8080/ode/processes/helloWorld?wsdl ).
>  
> According to use guide
> (http://ode.apache.org/user-guide.html#UserGuide-InaWebApplication) I have
> tried to use sendsoap to test the examples: 
> C:\sendsoap http://localhost:8080/ode/processes/helloWorld
> examples/HelloWorld2/testRequest.soap
> 
>  
> 
> but I am getting the following exception :
> 
>  
> 
>> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/ode/tools/sendsoap/cline/HttpSoapSender
> 
>  
> 
> Any ideas, thoughts or help will be appreciated !!!
> 
>  
> 
> P.S the problem is very similar to
> (http://mail-archives.apache.org/mod_mbox/ode-user/200612.mbox/%3C68b75b5f06
> 12072043x59b483e8j6e13878ceea9dfce@mail.gmail.com%3E)
> 
>  
> 
> Cheers,
> 
> Bashar 
> 
>  
> 
> 

-- 
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.