Ok! I didn't understand why you've got Tomcat and IIS at first. So IIS is
your main HTTP server and Tomcat is there to run the servlets? Ok I think
we can forget about IIS for this. So Tomcat is at port 8080.
So try this
listenport: XXXX (anyport you'd like exept 8080 and 80 as they are already
used. XXXX is the port your client will have to contact to get the soap
service)
tunnelport: 8080 (all request will be resent to this port where Tomcat is
listenning.)
tunnelhost: localhost
Good luck!
Steeve...
Richard Heintze <[EMAIL PROTECTED]> on 30/07/2001 12:07:27 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Steeve Gilbert/G_STGEORGES/CANAM_MANAC)
Subject: RE: Soap 2.2: Fault String = java.lang.AbstractMethodError
Steeve,
What is "> service via the tcptunnel."?
I have IIS on the default port of 80 and tomcat
running on the default port of 8080. Sample cocoon,
jsp and other serlets seem to work when I point my
browser to http://localhost:80 -- apache soap does
not.
Here is what I get when I try your suggestion:
c:\apache_soap>java -cp
c:\apache_soap\bsf-2_2\lib\bsf.jar;c:
\apache_soap\jaf\jaf1_0_1\jaf-1.0.1\activation.jar;c:
\apache_soap\java_mail\javamail-1_2\javamail-1.2\imap.jar;c:
\apache_soap\java_mail\javamail-1_2\javamail-1.2\mail.jar;c:
\apache_soap\java_mail\javamail-1_2\javamail-1.2\mailapi.jar;c:
\apache_soap\java_mail\javamail-1_2\javamail-1.2\pop3.jar;c:
\apache_soap\java_mail\javamail-1_2\javamail-1.2\smtp.jar;c:
\apache_soap\rhino\rhino\js.jar;c:\apache_soap\soap-2_2\lib\soap.jar;c:
\apache_soap\soap-2_2\samples\ejb\hellobean.jar;c:
\apache_soap\xerces\xerces-1_4_0\xerces.jar;c:
\apache_soap\xerces\xerces-1_4_0\xercesSamples.jar
org.apache.soap.util.net.TcpTunnel 80 localhost 8080
TcpTunnel: ready to rock and roll on port 80
Exception in thread "main" java.net.BindException:
Address in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native
Method)
at java.net.PlainSocketImpl.bind(Unknown
Source)
at java.net.ServerSocket.<init>(Unknown
Source)
at java.net.ServerSocket.<init>(Unknown
Source)
at
org.apache.soap.util.net.TcpTunnel.main(TcpTunnel.java:84)
Administrator@ANGEL //c/apache_soap
$
--- Steeve Gilbert <[EMAIL PROTECTED]>
wrote:
>
> Hi Siegfried!
>
> listenport: the port that your client will be
> pointing to reach the web
> service via the tcptunnel.
> tunnelport: the port of the server that is hosting
> the web service.
> (Tomcat?)
> tunnelhost: the address of the host of your tunnel.
> Where you tunnel is
> running. I guess it's "localhost".
>
> By the way you must set the client or the server to
> a different port then
> the other. Otherwise the tcptunnel won't work.
>
> Steeve...
>
>
>
>
>
>
> Richard Heintze <[EMAIL PROTECTED]> on
> 30/07/2001 12:46:47 AM
>
> Please respond to [EMAIL PROTECTED]
>
> To: [EMAIL PROTECTED]
> cc: (bcc: Steeve Gilbert/G_STGEORGES/CANAM_MANAC)
>
> Subject: RE: Soap 2.2: Fault String =
> java.lang.AbstractMethodError
>
>
> Mathew,
> Thanks for the advice. I did a search and found
> org.apache.soap.util.net.TcpTunnel.mainl which I
> could
> run if I knew what to specify as the listenport
> tunnelhost and tunnelport.
>
> I'm running IIS on port 80 and tomcat on 8080.
>
> Thanks,
> Siegfried
>
> --- "Matthew J. Duftler" <[EMAIL PROTECTED]>
> wrote:
> > Hi Richard,
> >
> > Use the TcpTunnelGui tool as described in the docs
> > to see what is being sent
> > back. There is most likely a stack-track in the
> > details section of the
> > fault.
> >
> > Thanks,
> > -Matt
> >
> > > -----Original Message-----
> > > From: Richard Heintze
> > [mailto:[EMAIL PROTECTED]]
> > > Sent: Saturday, July 28, 2001 12:52 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Soap 2.2: Fault String =
> > java.lang.AbstractMethodError
> > >
> > >
> > > Hi Folks,
> > > I'm runnning Tomcat 3.2.3 on Win2K with IIS V5.
> > > Servlets, JSP, Cocoon
> > > work.
> > > Soap 2.2 does not!
> > >
> > > I can point my browser to
> > > http://localhost/soal/servlet/messagerouter
> > > and
> > > receive the "Sorry, I don't speak via HTTP Get-
> > you
> > > have to use HTTP
> > > POST to
> > > talk to me."
> > >
> > >
> > > However, when I here is what I get when I run
> > the
> > > test client
> > > program:
> > >
> > > C:\jakarta-tomcat-3.2.3>java -cp
> > > .;c:\apache_soap\xerces\xerces-1_4_0\xerces.jar
> > >
> >
>
;c:\apache_soap\jaf\jaf1_0_1\jaf-1.0.1\activation.jar;c:\apache_so
> > > ap\java_ma
> > > il\j
> > >
> >
>
avamail-1_2\javamail-1.2\mail.jar;c:\apache_soap\soap-2_2\lib\soap.jar
> > > org.apach
> > > e.soap.server.ServiceManagerClient
> > > http://localhost/soap/servlet/rpcrouter
> > > list
> > >
> > > Ouch, the call failed:
> > > Fault Code = SOAP-ENV:Server.Exception:
> > > Fault String = java.lang.AbstractMethodError
> > >
> > > C:\jakarta-tomcat-3.2.3>
> > >
> > > I've searched the mail archives and found
> nothing
> > > when searching for
> > > those
> > > error codes.
> > >
> > > Thanks much!
> > > Siegfried
> > >
> > >
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Make international calls for as low as
> $.04/minute
> > with Yahoo! Messenger
> > > http://phonecard.yahoo.com/
> > >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
>
>
>
>
>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/