resend

-----Original Message-----
From: Abu Obeida Bakhach [mailto:[email protected]] 
Sent: Thursday, March 19, 2009 5:24 PM
To: [email protected]
Subject: RE: need help building WS02 stack
Importance: High

Although my first attempt didn't succeed, I am retrying the WS02 stack, and 
documenting the issues I am running into to ensure a comprehensive list.

I am running into the same problem as before, yet my old solution is not 
working.

The situation is that clicking the sample code links generated the NO response 
receive error error message below. I tried two ways to fix it:

1- I've ensured that the samples directory is correlated located below the 
HTDOCS folder (my mistake in the past was directly copying the files without 
the 'samples' folder itself)

2- As you suggested back then, I examined the logs:

Examined the wsf_php_server.log
[Thu Mar 19 16:31:32 2009] [info]  No files in the path 
D:\Projects\WS02\WSF_PHP\wso2-wsf-php-bin-snapshot-win32\wsf_c/services.
[Thu Mar 19 16:31:32 2009] [info]  [rampart][rampart_mod] rampart_mod 
initialized
[Thu Mar 19 16:31:32 2009] [info]  [rahas]Rahas module initialized
[Thu Mar 19 16:31:32 2009] [info]  No files in the path 
D:\Projects\WS02\WSF_PHP\wso2-wsf-php-bin-snapshot-win32\wsf_c/services.
[Thu Mar 19 16:31:32 2009] [info]  [rampart][rampart_mod] rampart_mod 
initialized
[Thu Mar 19 16:31:32 2009] [info]  [rahas]Rahas module initialized

wsf_php_client.log
[Thu Mar 19 16:31:47 2009] [info]  No files in the path 
D:\Projects\WS02\WSF_PHP\wso2-wsf-php-bin-snapshot-win32\wsf_c/services.
[Thu Mar 19 16:31:47 2009] [info]  [rampart][rampart_mod] rampart_mod 
initialized
[Thu Mar 19 16:31:47 2009] [info]  [rahas]Rahas module initialized
[Thu Mar 19 16:31:47 2009] [info]  Starting addressing out handler
[Thu Mar 19 16:31:47 2009] [error] 
..\..\src\core\transport\http\sender\http_sender.c(1419) Error occurred in 
transport
[Thu Mar 19 16:31:47 2009] [error] ..\..\src\core\engine\engine.c(179) 
Transport sender invoke failed
[Thu Mar 19 16:31:47 2009] [error] wsf_client.c(1649) [WSF/PHP] Response 
Payload NULL( Error number and code) => : 74 :: Error occurred in transport
[Thu Mar 19 16:31:47 2009] [info]  [rampart][rampart_mod] rampart_mod shutdown
[Thu Mar 19 16:31:47 2009] [info]  [rahas] Rahas module shutdown


It seems that the client is not working right, unlike the first time I saw the 
same behavior.


BTW, I ensured that the http://localhost:8080/samples/echo_service.php link 
does work correctly
 

On separate note, I am seeing this error in the php_error.log

[19-Mar-2009 16:40:44] PHP Warning:  PHP Startup: Unable to load dynamic 
library 'C:\Program Files (x86)\PHP\ext\php_mssql.dll' - The specified module 
could not be found.

 in Unknown on line 0

[19-Mar-2009 16:40:45] PHP Warning:  PHP Startup: Unable to load dynamic 
library 'C:\Program Files (x86)\PHP\ext\php_mssql.dll' - The specified module 
could not be found.

 in Unknown on line 0

thanks,

-----Original Message-----
From: Dimuthu Gamage [mailto:[email protected]] 
Sent: Thursday, February 26, 2009 5:49 PM
To: [email protected]
Subject: Re: need help building WS02 stack

If you get this error message, the client side should be workiing correctly.
But there should be problem in the server side.
You can find the problem from the log files. (wsf_php_client.log,
wsf_php_server.log). it is in  where you put wsf.log_path.

1st make sure that you have a valid service endpoint. in the echo sample it
should be "http://localhost/samples/echo_service.php";. so you should have
the echo_service.php script inside the sample directory of the web root
(insdie htdocs)

you can type that serivce endpoint in the browser and check for its
availability.

Thanks
Dimuthu

On Fri, Feb 27, 2009 at 5:42 AM, Abu Obeida Bakhach <
[email protected]> wrote:

> Actually I figured out the problem
>
> The manual mentioned
> LoadModule php5_module modules/php5apache2.dll
>
> While the correct thing was
>
> LoadModule php5_module modules/php5apache2_2.dll   (note the _2)
>
> Now whenever I click on the sample code links, like
> http://localhost/echo_client.php
>
> I get
> Message = Error , NO Response Received
>
> Is that a sample config issue, or reflective of my installation?
>
> Thanks,
>
> -----Original Message-----
> From: Dimuthu Gamage [mailto:[email protected]]
> Sent: Wednesday, February 25, 2009 7:18 PM
> To: [email protected]
> Subject: Re: need help building WS02 stack
>
> Hi Abue Obeida,
>
> yes. you need to add the following line to apache to run .php extension
> with
> php extension.
>
>    AddType application/x-httpd-php .php
>
> You may have missed it in the README.INSTALL_WIN32
>
> Thanks
> Dimuthu
>
>
> On Thu, Feb 26, 2009 at 8:03 AM, Abu Obeida Bakhach <
> [email protected]> wrote:
>
> > Thanks Dimuthu!
> > I deployed the binaries, and copied the WSo2 sample code. The main page
> > worked, but I nocited that clicking on some the client tests would
> generate
> > an HTML page with the PHP code displayed, instead of actually running
> them.
> > Would that be due to an apache setting?
> > I tried running it again, and apache server refused to start. I will be
> > debugging it tomorrow.
> > thanks
> >
> > -----Original Message-----
> > From: Dimuthu Gamage [mailto:[email protected]]
> > Sent: Tuesday, February 24, 2009 1:46 AM
> > To: [email protected]
> > Subject: Re: need help building WS02 stack
> >
> > Hi Abu Obeida,
> >
> > We have uploaded the nightly build[1]. You need to try openssl version
> > 0.9.8d or 0.9.8e. If you can't find the library, use it from here[2]
> (this
> > is 32-bit version).
> >
> > [1] http://wso2.org/downloads/wsf/php/nightly-build
> > [2]
> http://people.apache.org/~dimuthu/public/downloads/OpenSSL-0.9.8d.zip<http://people.apache.org/%7Edimuthu/public/downloads/OpenSSL-0.9.8d.zip>
> <http://people.apache.org/%7Edimuthu/public/downloads/OpenSSL-0.9.8d.zip>
> >
> > Thanks
> > Dimuthu
> >
> > On Fri, Feb 20, 2009 at 6:37 AM, Abu Obeida Bakhach <
> > [email protected]> wrote:
> >
> > > I went ahead and tried building the wsf/phph stack, and I ran into more
> > > issues. Can I get some help with the these points:
> > >
> > > 1- I got WSF/PHP from the trunk [1] and started downloading the
> > > prerequisites: I noticed most of them refer to win32. However I have
> > Vista
> > > 64-bit, would that be a problem in general?
> > >
> > > 2- in the case of OpenSSL, I tried to install the 0.09.8J 64-bit
> version,
> > > Is my version choice correct?
> > > (basically I am checking to see if 64 bit is OK)
> > >
> > > 3- how exactly can I build in visual studio? The build script refers to
> > > unix nmake files and stuff...
> > > D:\Projects\WS02\WSF_PHP>build
> > >        1 file(s) copied.
> > >        1 file(s) copied.
> > > 'vcvars32.bat' is not recognized as an internal or external command,
> > > operable program or batch file.
> > > 'nmake' is not recognized as an internal or external command,
> > > operable program or batch file.
> > > A subdirectory or file wso2-wsf-php-bin-2.0.0-win32 already exists.
> > > File not found - wso2-wsf-c-bin-2.0.0
> > > 0 File(s) copied
> > > The system cannot find the path specified.
> > > 'nmake' is not recognized as an internal or external command,
> > > operable program or batch file.
> > > The system cannot find the path specified.
> > > The system cannot find the path specified.
> > >
> > > 4- My VS 9.0 installation directory does not have any vcvars32.bat,
> what
> > is
> > > that about?
> > >
> > >
> > > I really would prefer to have the build binaries for WSF/PHP available
> > > somewhere., any update on that?
> > >
> > >
> > > Thanks,
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Abu Obeida Bakhach [mailto:[email protected]]
> > > Sent: Wednesday, February 18, 2009 6:23 PM
> > > To: [email protected]
> > > Subject: RE: PHP and WSAS stocktrader committed to trunk
> > >
> > > Thanks for the details!
> > > I will be waiting for a binary distribution of WSF/PHP to be available.
> > > When do you think that will be?
> > >
> > >
> > > -----Original Message-----
> > > From: Dimuthu Gamage [mailto:[email protected]]
> > > Sent: Wednesday, February 18, 2009 6:48 AM
> > > To: [email protected]
> > > Subject: Re: PHP and WSAS stocktrader committed to trunk
> > >
> > > Hi Abu Obeida,
> > >
> > > I think you already have figured this out. Just trying to answer the
> > > questions in brief.
> > >
> > > On Wed, Feb 18, 2009 at 1:12 AM, Abu Obeida Bakhach <
> > > [email protected]> wrote:
> > >
> > > > Hello Shankar,
> > > > I would like to give this a try, can you help with some pointers on
> the
> > > > following newbie questions:
> > > >
> > > > - I understand that WSF/PHP is an extension to Axis2/C. So I need to
> > > > install both of them, does Axis2 rely on some other apache web server
> > as
> > > > well?
> > >
> > >
> > > When you download WSF/PHP axis2/c will be packed within the
> distribution
> > > (inside wsf_c/axis2 directory). In fact it is correct to mention
> wsf/php
> > as
> > > an extension to PHP. And Axis2/C (and all the other projects like
> Apache
> > > Rampart/C, Sandesha/C) is like embeded in WSF/PHP to get the web
> services
> > > functionality.
> > >
> > > You need web server (apache or IIS) to run PHP. And WSF/PHP will run on
> > > there as an extension to PHP.
> > >
> > > So there are 2 steps of configurations.
> > > 1. Configure Apache to run PHP (i.e. httpd.conf)
> > > 2. Configure PHP to enable wsf/php (i.e. in php.ini)
> > >
> > >
> > > >
> > > > - I read somewhere that "WSO2 Web Services Framework/PHP (WSO2
> WSF/PHP)
> > > > makes use of GNOME XML library." So I assume I need to install that
> as
> > > well.
> > >
> > >
> > > Yes.   WSF/PHP uses libxml library. You can find the download links in
> > the
> > > README_INSTALL_WIN32 file.
> > >
> > > >
> > > > - Since this is PHP, don't I need some runtime that can understand
> PHP?
> > > Is
> > > > there a PHP sdk/server I need to install? I figured I should, so I
> get
> > > one
> > > > off php.net
> > >
> > >
> > > Yea. you need to download php to use wsf/php.
> > >
> > >
> > > >
> > > >
> > > > Any other dependencies that I need to load and run PHP stocktrader?
> > >
> > >
> > > To run PHP stocktrader (in the stonehenge turnk), you need to install
> > > WSF/PHP from SVN trunk[1], You can't use wsf/php 2.0.0 (the latest
> > > distribution) as we have updated stocktrader to use some wsdl mode API
> > > changes in post wsf/php 2.0. I think this should be updated in the
> > WSF/PHP
> > > intallation guide as well. You need to get the WSF/PHP source from the
> > svn
> > > and build it. Meanwhile I will check the possibility of hosting a
> nightly
> > > build of windows binary.
> > >
> > >
> > > [1] https://wso2.org/repos/wso2/trunk/wsf/php
> > >
> > > Thanks
> > > Dimuthu
> > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: [email protected] [mailto:[email protected]] On
> > > Behalf
> > > > Of Uthaiyashankar
> > > > Sent: Thursday, February 12, 2009 9:18 AM
> > > > To: [email protected]
> > > > Subject: PHP and WSAS stocktrader committed to trunk
> > > >
> > > > Hi,
> > > >
> > > > I have moved and committed PHP and WSAS stocktrader to trunk. You can
> > > find
> > > > the installation guide in [1]. Please try them and report the
> > > > bugs/problems.
> > > >
> > > >
> > > > To try PHP stocktrader, get WSF/PHP from either trunk [2] or from
> > nightly
> > > > build [3].
> > > >
> > > > Currently, WSAS Stocktrader is dependent on jdts JDBC driver [4],
> which
> > > is
> > > > having LGPL licence. Will it be a problem to have this dependency?
> > > >
> > > > Regards,
> > > > Shankar
> > > >
> > > > [1]
> > > >
> > > >
> > >
> >
> http://cwiki.apache.org/confluence/display/STONEHENGE/Stonehenge+Stocktrader+Installation+Guide
> > > > [2] https://wso2.org/repos/wso2/trunk/wsf/php
> > > > [3] http://wso2.org/downloads/wsf/php/nightly-build
> > > > [4] http://jtds.sourceforge.net/
> > > >
> > > > --
> > > > S.Uthaiyashankar
> > > > Software Architect
> > > > WSO2 Inc.
> > > > http://wso2.com/ - "The Open Source SOA Company"
> > > >
> > >
> > >
> > >
> > > --
> > > Thanks,
> > > Dimuthu Gamage
> > >
> > > http://www.dimuthu.org
> > > http://www.wso2.org
> > >
> > >
> >
> >
> > --
> > Thanks,
> > Dimuthu Gamage
> >
> > http://www.dimuthu.org
> > http://www.wso2.org
> >
>
>
>
> --
> Thanks,
> Dimuthu Gamage
>
> http://www.dimuthu.org
> http://www.wso2.org
>



-- 
Thanks,
Dimuthu Gamage

http://www.dimuthu.org
http://www.wso2.org

Reply via email to