I'd like to do that... but can you explain me how I can debug a web
service running on apache ?
Thanks,
Jef
> Jef,
>
> Could you please recheck the entry that you made to httpd.conf , And
> if possible please send us axis2 log file.
>
> Please run it with gdb, and try to pinpoint the place where error
> occurs.
>
>
> thanks,
> Dinesh
> Jef Grezes <[EMAIL PROTECTED]> writes:
>
>> Suavi Ali Demir wrote:
>>> Do the user permissions matter? Does the process making the system
>>> request have required permissions? If thats the problem, and if you
>>> are using windows, in the thread you are making the request, you can
>>> logon as a different user, then make the thread impersonate that
>>> user, do the call, then restore old user. i forgot the details, but
>>> i remember doing something like this in iis.
>>> Regards,
>>> Ali
>>>
>> Why not. Unfortunately (or fortunately who knows), i'm running apache
>> on Linux (Ubuntu). I checked all the permissions and everything should
>> work.
>> As a test, i tried to execute something like system("echo hello >
>> /tmp/test.txt") and it also didn't work (but still running superb with
>> axis2_http_server).
>> I tried almost everything I knew possible ... I'm running out of
>> inspiration.
>>
>> Thanks for your attention.
>> Jef
>>
>>>
>>> */Jef Grezes <[EMAIL PROTECTED]>/* wrote:
>>>
>>> Royston Day wrote:
>>> > Hi Jef,
>>> >
>>> >
>>> >> Hi there,
>>> >>
>>> >
>>> >
>>> >> I developed a web service which invokes a system("") during its
>>> >> execution.
>>> >> Trying my webservice with axis_http_server works fine ...
>>> >> When I try my webservice with apache and axis2_mod, the system
>>> call fails.
>>> >>
>>> >
>>> >
>>> >> Can you help me with this ?
>>> >>
>>> >
>>> > Have you set-up the httpd.conf file appropriately?
>>> >
>>> > Are you using the correct path && port when sending a request
>>> from the
>>> > service client (when using apache)?
>>> >
>>> > Regards,
>>> >
>>> > Royston
>>> >
>>> Thanks for your quick answer.
>>> In fact, I'm sure my webservice is called since I left some traces
>>> (that
>>> are logged in a file).
>>> The only problem is that the call to system("whatever") does not
>>> work
>>> (ie not resulting in a core dump
>>> or whatever .. it just don't return 0).
>>>
>>> So to answer accurately to your question : yes, everything in
>>> apache is
>>> well configured (the axis2c samples works fine also).
>>>
>>> Regards,
>>>
>>> Jef
>>> begin:vcard
>>> fn;quoted-printable:Jean-Fran=C3=A7ois Grezes
>>> n;quoted-printable:Grezes;Jean-Fran=C3=A7ois
>>> email;internet:[EMAIL PROTECTED]
>>> version:2.1
>>> end:vcard
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam? Yahoo! Mail has the best spam protection around
>>> http://mail.yahoo.com
>>>
>>
>>
>> --
>> ------------------------------------------------------------------------
>> *Progexia*
>> 23, rue de la république
>> 13002 Marseille - FRANCE
>>
>> Téléphone : 04 91 91 73 21
>> web : http://www.progexia.net
>>
>> ------------------------------------------------------------------------
>> /
>>
>> "Ce courriel et les documents qui y sont attachés peuvent contenir des
>> informations confidentielles. Si vous n'êtes pas le destinataire
>> escompté, merci d'en informer l'expéditeur immédiatement et de
>> détruire ce courriel ainsi que tous les documents attachés de votre
>> système informatique. Toute divulgation, distribution ou copie du
>> présent courriel et des documents attachés sans autorisation
>> préalable
>> de son émetteur est interdite."
>>
>> "This e-mail and any attached documents may contain confidential or
>> proprietary information. If you are not the intended recipient, please
>> advise the sender immediately and delete this e-mail and all attached
>> documents from your computer system. Any unauthorised disclosure,
>> distribution or copying hereof is prohibited."
>>
>> /
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]