Return-Path: Delivered-To: apmail-ws-wsif-user-archive@www.apache.org Received: (qmail 29428 invoked from network); 12 Feb 2005 03:02:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Feb 2005 03:02:12 -0000 Received: (qmail 23083 invoked by uid 500); 12 Feb 2005 03:02:11 -0000 Delivered-To: apmail-ws-wsif-user-archive@ws.apache.org Received: (qmail 23017 invoked by uid 500); 12 Feb 2005 03:02:11 -0000 Mailing-List: contact wsif-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: wsif-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list wsif-user@ws.apache.org Delivered-To: moderator for wsif-user@ws.apache.org Received: (qmail 18522 invoked by uid 99); 12 Feb 2005 02:52:06 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DATE_IN_FUTURE_03_06,HTML_60_70,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) From: "Lucy Rong & Qin Wu" To: Subject: Unable to find an available port in TOMCAT Date: Fri, 11 Feb 2005 21:57:20 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C51084.A8C70570" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C51084.A8C70570 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, Gurus, Please help on this issue. I could run WSIF dynamic invocation as stand alone, but fails in Tomcat. I did get WSIF0006W and WSIF0007I warning message when standalone invocation is used. the error in Tomcat is: org.apache.wsif.WSIFException: Unable to find an available port org.apache.wsif.base.WSIFServiceImpl.getPort(Unknown Source) org.apache.wsif.base.WSIFServiceImpl.getPort(Unknown Source) prof.DI.invokeMethod(DI.java:166) Could anyone tell me what should I do to resolve this problem? Is this caused by WSIF0006W? if yes, how should fix it? I have found there are two providers: 'org.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_ApacheAxis, org.apache.wsif.providers.soap.apachesoap.WSIFDynamicProvider_ApacheSOAP', how can I remove one? One aticle mentioned "META-INF/services/org.apache.wsif.spi.WSIFProvider file that's inside the jar when WSIF asked for it. I extracted that file and placed it into my webapp's classes directory (under META-INF/services, of course) and now it works. " http://www-106.ibm.com/developerworks/forums/dw_expandTree.jsp?thread=63061& forum=166&cat=7&message=4352829#4352829 But this hint is too vague to me, could anyone give some help? Where is the webapp's classes directory? I have tried it on jakarta-tomcat-5.0.28/common/classes and jakarta-tomcat-5.0.28/wabapps/myProject/WEB-INF/classes, both are not the solution. Please help, Thanks Qin ------=_NextPart_000_0007_01C51084.A8C70570 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi, = Gurus,=20
 
Please = help on this=20 issue.
 
I = could run WSIF=20 dynamic invocation as stand alone, but fails in = Tomcat.
I did = get WSIF0006W=20 and WSIF0007I warning message when standalone invocation is=20 used.
 
the = error in Tomcat=20 is:
org.apache.wsif.WSIFException: Unable to find = an=20 available port
org.apache.wsif.base.WSIFServiceImpl.getPort(Unknown=20 Source)
org.apache.wsif.base.WSIFServiceImpl.getPort(Unknown=20 Source)
prof.DI.invokeMethod(DI.java:166)
Could anyone = tell me what=20 should I do to resolve this problem?
Is this caused = by=20 WSIF0006W? if yes, how should fix it?
I have = found there=20 are two providers:
'org.apache.wsif.providers.soap.apacheaxis.WSIFDynamicProvider_A= pacheAxis,=20
org.apache.wsif.providers.soap.apachesoap.WSIFDynamicProvider_Ap= acheSOAP', =20
how can I = remove=20 one?
 
 
One aticle = mentioned=20 "META-INF/services/org.apache.wsif.spi.WSIFProvider file that's inside = the jar=20 when WSIF asked for it. I extracted that file and placed it into my = webapp's=20 classes directory (under META-INF/services, of course) and now it works. = " h= ttp://www-106.ibm.com/developerworks/forums/dw_expandTree.jsp?thread=3D63= 061&forum=3D166&cat=3D7&message=3D4352829#4352829 
But this hint = is too=20 vague to me, could anyone give some help? Where is the = webapp's=20 classes directory? I have tried it on = jakarta-tomcat-5.0.28/common/classes and=20 jakarta-tomcat-5.0.28/wabapps/myProject/WEB-INF/classes, both are not = the=20 solution.
 
Please = help,=20 Thanks
Qin=20
 
------=_NextPart_000_0007_01C51084.A8C70570--