Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 82474 invoked from network); 16 Apr 2008 09:29:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2008 09:29:36 -0000 Received: (qmail 70768 invoked by uid 500); 16 Apr 2008 09:29:36 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 70599 invoked by uid 500); 16 Apr 2008 09:29:36 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 70588 invoked by uid 99); 16 Apr 2008 09:29:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2008 02:29:36 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.191.88.224] (HELO web611.biz.mail.mud.yahoo.com) (209.191.88.224) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 16 Apr 2008 09:28:40 +0000 Received: (qmail 68349 invoked by uid 60001); 16 Apr 2008 09:28:59 -0000 X-YMail-OSG: QRrDpi8VM1msMmcV1odQWBiq9EMSDOP0maT9w2mrmViewpW0GmYaF4FQ5ny7lrfZ.ntmXoA88V7TEFnSmbFhfOkyPSennYU- Received: from [213.130.121.163] by web611.biz.mail.mud.yahoo.com via HTTP; Wed, 16 Apr 2008 02:28:59 PDT Date: Wed, 16 Apr 2008 02:28:59 -0700 (PDT) From: Rahil Ali Subject: Re: Problem while deploying service.. To: Apache AXIS C User List In-Reply-To: <48049823.3030302@wso2.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1307698120-1208338139=:65735" Content-Transfer-Encoding: 8bit Message-ID: <71042.65735.qm@web611.biz.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1307698120-1208338139=:65735 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I tried it with axis1.3.1 and its now executing the code I wrote, but a strange thing is happening....I am using a function "stat" when I invoke my service using apache it fails at this function where as it works fine when I use axis2_http_server.. Any ideas, Thanks Rahil Samisa Abeysinghe wrote: Please make sure you have "-ldl -lpthread" in your linker flags. Samisa... Rahil Ali wrote: > Hello Manjula, > > I am using these commands: > WSDL2C.sh -uri abc.wsdl -ss -sd -d adb -u > > gcc $CFLAGS -g -shared -olibFundTransferRequest.so $FLIBS -I > $AXIS2C_HOME/include/axis2-1.3.0/ -L$AXIS2C_HOME/lib \ > -laxutil \ > -laxis2_axiom \ > -laxis2_engine \ > -laxis2_parser \ > -lpthread \ > -laxis2_http_sender \ > -laxis2_http_receiver \ > -laxis2_libxml2 \ > *.c > I will try 1.3.1 and update you... > Thanks, > > */Manjula Peiris /* wrote: > > Rahil, > > I didn't see any problems with your httpd.conf file. What are the > compiler options you used when compiling the service? > > BTW, We have added the dlerror to the log in 1.3.1. The RC [1] is > available, can you try with that? > > [1] http://people.apache.org/~dinesh/release/Axis2C-1.3.1-RC1/ > > Thanks, > -Manjula. > > > On Tue, 2008-04-15 at 03:10 -0700, Rahil Ali wrote: > > Hello, > > > > I am using httpd ver 2.0 and I am not using any libraries; When > I put > > nothing in the source file ( only autogenerated code ( return NULL)) > > even then its failing while creating dll, everything in my code > works > > fine with axis_http_server.. pls find the attached my httpd.conf > file. > > > > Regards, > > Rahil > > > > Manjula Peiris wrote: > > What is the HTTPD version you are using? And Can you send the > > httpd.conf > > file ? Also are you calling to any external libraries from > > your service? > > > > -Manjula > > > > > > On Tue, 2008-04-15 at 02:15 -0700, Rahil Ali wrote: > > > Hello again, > > > > > > I tried the same thing without apache server, it works fine > > with > > > axis2_http_server... Any ideas.. > > > > > > Rgds, > > > Rahil > > > > > > Rahil Ali wrote: > > > Hello All, > > > > > > I am having problem in deploying a service on other machine. > > I > > > made archive of entire service folder and extract it in the > > > service/ folder on the client machine. When I attempt to > > made > > > a call it displayed > > > "[error] raw_xml_in_out_msg_recv.c(115) Impl object for > > > service 'FundTransferRequest' not set in message receiver. > > > 100 :: Failed in creating DLL" > > > > > > Then I tried to these on client machine: > > > I removed all the lib* service.xml and ran WSDL2C again on > > > WSDL file it generated the code and service.xml, i didnt > > > implement any logic in the source files and compiled it. > > Even > > > now when I am trying to call the service it displaying the > > > same error message...I have configured axis2c with apache2. > > > > > > Can anyone tell what am I missing here... have I forgotten > > any > > > library or something... > > > > > > Thanks > > > Rahil > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-c-user-help@ws.apache.org > > > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date: 4/14/2008 9:26 AM > -- Samisa Abeysinghe Director, Engineering; WSO2 Inc. http://www.wso2.com/ - "The Open Source SOA Company" --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org --0-1307698120-1208338139=:65735 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
I tried it with axis1.3.1 and its now executing the code I wrote, but a strange thing is happening....I am using a function "stat" when I invoke my service using apache it fails at this function where as it works fine when I use axis2_http_server..
 
Any ideas,
Thanks
Rahil

Samisa Abeysinghe <samisa@wso2.com> wrote:
Please make sure you have "-ldl -lpthread" in your linker flags.

Samisa...

Rahil Ali wrote:
> Hello Manjula,
>
> I am using these commands:
> WSDL2C.sh -uri abc.wsdl -ss -sd -d adb -u
>
> gcc $CFLAGS -g -shared -olibFundTransferRequest.so $FLIBS -I
> $AXIS2C_HOME/include/axis2-1.3.0/ -L$AXIS2C_HOME/lib \
> -laxutil \
> -laxis2_axiom \
> -laxis2_engine \
> -laxis2_parser \
> -lpthread \
> -laxis2_http_sender \
> -laxis2_http_receiver \
> -laxis2_libxml2 \
> *.c
> I will try 1.3.1 and update you...
> Thanks,
>
> */Manjula Peiris /* wrote:
>
> Rahil,
>
> I didn't see any problems with your httpd.conf file. What are the
> compiler options you used when compiling the service?
>
> BTW, We have added the dlerror to the log in 1.3.1. The RC [1] is
> available, can you try with that?
>
> [1] http://people.apache.org/~dinesh/release/Axis2C-1.3.1-RC1/
>
> Thanks,
> -Manjula.
>
>
> On Tue, 2008-04-15 at 03:10 -0700, Rahil Ali wrote:
> > Hello,
> >
> > I am using httpd ver 2.0 and I am not using any libraries; When
> I put
> > nothing in the source file ( only autogenerated code ( return NULL))
> > even then its failing while creating dll, everything in my code
> works
> > fine with axis_http_server.. pls find the attached my httpd.conf
> file.
> >
> > Regards,
> > Rahil
> >
> > Manjula Peiris wrote:
> > What is the HTTPD version you are using? And Can you send the
> > httpd.conf
> > file ? Also are you calling to any external libraries from
> > your service?
> >
> > -Manjula
> >
> >
> > On Tue, 2008-04-15 at 02:15 -0700, Rahil Ali wrote:
> > > Hello again,
> > >
> > > I tried the same thing without apache server, it works fine
> > with
> > > axis2_http_server... Any ideas..
> > >
> > > Rgds,
> > > Rahil
> > >
> > > Rahil Ali wrote:
> > > Hello All,
> > >
> > > I am having problem in deploying a service on other machine.
> > I
> > > made archive of entire service folder and extract it in the
> > > service/ folder on the client machine. When I attempt to
> > made
> > > a call it displayed
> > > "[error] raw_xml_in_out_msg_recv.c(115) Impl object for
> > > service 'FundTransferRequest' not set in message receiver.
> > > 100 :: Failed in creating DLL"
> > >
> > > Then I tried to these on client machine:
> > > I removed all the lib* service.xml and ran WSDL2C again on
> > > WSDL file it generated the code and service.xml, i didnt
> > > implement any logic in the source files and compiled it.
> > Even
> > > now when I am trying to call the service it displaying the
> > > same error message...I have configured axis2c with apache2.
> > >
> > > Can anyone tell what am I missing here... have I forgotten
> > any
> > > library or something...
> > >
> > > Thanks
> > > Rahil
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date: 4/14/2008 9:26 AM
>


--
Samisa Abeysinghe
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org




--0-1307698120-1208338139=:65735--