[jira] Created: (AXIS2C-1266) axis2_msg_recv_make_new_svc_obj can lead to a seg fault in a threaded situation
axis2_msg_recv_make_new_svc_obj can lead to a seg fault in a threaded situation --- Key: AXIS2C-1266 URL: https://issues.apache.org/jira/browse/AXIS2C-1266 Project: Axis2-C Issue Type: Bug Environment: WIndows Reporter: Supun Kamburugamuva msg_recv.c function axis2_msg_recv_make_new_svc_obj. In this function we load the service dll if it is not loaded already. This dll loading happens when the first request comes to the service. it is possible to have two threads concurrently accessing this function for the first time. i.e. Two requests to the same service at the same time. Then this function leads to a seg fault. This is the situation. First thread executes to the line 161 then second thread runs. When second thread accesses line 143 the loaded dll is still not set to the axis2_svc. So the second thread will also try to load the same dll and causes a seg fault. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (AXIS2C-1266) axis2_msg_recv_make_new_svc_obj can lead to a seg fault in a threaded situation
[ https://issues.apache.org/jira/browse/AXIS2C-1266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Supun Kamburugamuva updated AXIS2C-1266: Attachment: jira-1266.patch Here is a patch. Please test and verify. axis2_msg_recv_make_new_svc_obj can lead to a seg fault in a threaded situation --- Key: AXIS2C-1266 URL: https://issues.apache.org/jira/browse/AXIS2C-1266 Project: Axis2-C Issue Type: Bug Environment: WIndows Reporter: Supun Kamburugamuva Attachments: jira-1266.patch msg_recv.c function axis2_msg_recv_make_new_svc_obj. In this function we load the service dll if it is not loaded already. This dll loading happens when the first request comes to the service. it is possible to have two threads concurrently accessing this function for the first time. i.e. Two requests to the same service at the same time. Then this function leads to a seg fault. This is the situation. First thread executes to the line 161 then second thread runs. When second thread accesses line 143 the loaded dll is still not set to the axis2_svc. So the second thread will also try to load the same dll and causes a seg fault. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (AXIS2C-1143) Implement CGI deployment support for Axis2/C
[ https://issues.apache.org/jira/browse/AXIS2C-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12632127#action_12632127 ] Sanjaya Ratnaweera commented on AXIS2C-1143: Please use /* */ for comments instead of //. This doesn't compile on Linux. Implement CGI deployment support for Axis2/C -- Key: AXIS2C-1143 URL: https://issues.apache.org/jira/browse/AXIS2C-1143 Project: Axis2-C Issue Type: New Feature Environment: Linux\Windows Reporter: Nandika Jayawardana Assignee: Nandika Jayawardana Fix For: 1.4.1 Attachments: Axis2C CGI.zip This would require implementing an executable that will enable deploying Axis2/C on Web Servers that Support CGI. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SV: Axis2/c source in VS
Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED]wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED]wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu [Wed Sep 17 16:16:20 2008] [info] Starting Axis2 HTTP server [Wed Sep 17 16:16:20 2008] [info] Apache Axis2/C version in use : 1.5.0 [Wed Sep 17 16:16:20 2008] [info] Server port : 9090 [Wed Sep 17 16:16:20 2008] [info] Repo location : ../ [Wed Sep 17 16:16:20 2008] [info] Read Timeout : 6 ms [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\util\src\class_loader.c(167) Loading shared library ..//lib/axis2_http_sender.dll Failed. DLERROR IS DLL Load Error 126: T [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\conf_builder.c(898) Transport sender is NULL for transport http, unable to continue [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\conf_builder.c(261) Processing transport senders failed, unable to continue [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\dep_engine.c(752) Populating Axis2 Configuration failed [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\conf_init.c(64) Loading deployment engine failed for repository ../. [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\transport\http\receiver\http_receiver.c(127) unable to create private configuration contextfor repo path ../ [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215) Server creation failed: Error code: 101 :: Failed in creating DLL I have tested to fix this and then discovered that something seems to be wrong with the axutil.dll... Does anyone know what might be wrong? Sincerely Indra Sharma - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Software Engineer, WSO2 Inc http://wso2.com -- Software Engineer, WSO2 Inc http://wso2.com -- Software Engineer, WSO2 Inc http://wso2.com winmail.dat- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Axis2/c source in VS
Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu [Wed Sep 17 16:16:20 2008] [info] Starting Axis2 HTTP server [Wed Sep 17 16:16:20 2008] [info] Apache Axis2/C version in use : 1.5.0 [Wed Sep 17 16:16:20 2008] [info] Server port : 9090 [Wed Sep 17 16:16:20 2008] [info] Repo location : ../ [Wed Sep 17 16:16:20 2008] [info] Read Timeout : 6 ms [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\util\src\class_loader.c(167) Loading shared library ..//lib/axis2_http_sender.dll Failed. DLERROR IS DLL Load Error 126: T [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\conf_builder.c(898) Transport sender is NULL for transport http, unable to continue [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\conf_builder.c(261) Processing transport senders failed, unable to continue [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\dep_engine.c(752) Populating Axis2 Configuration failed [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\conf_init.c(64) Loading deployment engine failed for repository ../. [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\transport\http\receiver\http_receiver.c(127) unable to create private configuration contextfor repo path ../ [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215) Server creation failed: Error code: 101 :: Failed in creating DLL I have tested to fix this and then discovered that something seems to be wrong with the axutil.dll... Does anyone know what might be wrong? Sincerely Indra Sharma -
SV: Axis2/c source in VS
I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu [Wed Sep 17 16:16:20 2008] [info] Starting Axis2 HTTP server [Wed Sep 17 16:16:20 2008] [info] Apache Axis2/C version in use : 1.5.0 [Wed Sep 17 16:16:20 2008] [info] Server port : 9090 [Wed Sep 17 16:16:20 2008] [info] Repo location : ../ [Wed Sep 17 16:16:20 2008] [info] Read Timeout : 6 ms [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\util\src\class_loader.c(167) Loading shared library ..//lib/axis2_http_sender.dll Failed. DLERROR IS DLL Load Error 126: T [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\conf_builder.c(898) Transport sender is NULL for transport http, unable to continue [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\conf_builder.c(261) Processing transport senders failed, unable to continue [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\dep_engine.c(752) Populating Axis2 Configuration failed [Wed Sep 17 16:16:20 2008] [error]
Re: Axis2/c source in VS
Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu [Wed Sep 17 16:16:20 2008] [info] Starting Axis2 HTTP server [Wed Sep 17 16:16:20 2008] [info] Apache Axis2/C version in use : 1.5.0 [Wed Sep 17 16:16:20 2008] [info] Server port : 9090 [Wed Sep 17 16:16:20 2008] [info] Repo location : ../ [Wed Sep 17 16:16:20 2008] [info] Read Timeout : 6 ms [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\deployment\conf_builder.c(233) No custom dispatching order found. Continue with the default dispatching order [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\deployment\conf_builder.c(378) Module addressing found in axis2.xml [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\util\src\class_loader.c(167) Loading shared library ..//lib/axis2_http_sender.dll Failed. DLERROR IS DLL Load Error 126: T [Wed Sep 17 16:16:20 2008] [error] ..\..\..\..\src\core\deployment\conf_builder.c(898) Transport sender is NULL for transport http, unable to continue [Wed Sep 17 16:16:20 2008]
SV: Axis2/c source in VS
Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu [Wed Sep 17 16:16:20 2008] [info] Starting Axis2 HTTP server [Wed Sep 17 16:16:20 2008] [info] Apache Axis2/C version in use : 1.5.0 [Wed Sep 17 16:16:20 2008] [info] Server port : 9090 [Wed Sep 17 16:16:20 2008] [info] Repo location : ../ [Wed Sep 17 16:16:20 2008] [info] Read Timeout : 6 ms [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler
Re: Axis2/c source in VS
Did you try to run the NR2 from the command line? On Thu, Sep 18, 2008 at 2:00 PM, [EMAIL PROTECTED] wrote: Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu [Wed Sep 17 16:16:20 2008] [info] Starting Axis2 HTTP server [Wed Sep 17 16:16:20 2008] [info] Apache Axis2/C version in use : 1.5.0 [Wed Sep 17 16:16:20 2008] [info] Server port : 9090 [Wed Sep 17 16:16:20 2008] [info] Repo location : ../ [Wed Sep 17 16:16:20 2008] [info] Read Timeout : 6 ms [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug]
SV: Axis2/c source in VS
Yes, I tried to run it from the command prompt -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:05 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Did you try to run the NR2 from the command line? On Thu, Sep 18, 2008 at 2:00 PM, [EMAIL PROTECTED] wrote: Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu [Wed Sep 17 16:16:20 2008] [info] Starting Axis2 HTTP server [Wed Sep 17 16:16:20 2008] [info] Apache Axis2/C version in use : 1.5.0 [Wed Sep 17 16:16:20 2008] [info] Server port : 9090 [Wed Sep 17 16:16:20 2008] [info] Repo location : ../ [Wed Sep 17 16:16:20 2008] [info] Read Timeout : 6 ms [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch [Wed Sep
Re: Axis2/c source in VS
You can verify weather there is something wrong with the DLLs by usign depends.exe tool. Try to load the axis2_http_server.exe from depends and see if everything is ok. Supun.. On Thu, Sep 18, 2008 at 2:06 PM, [EMAIL PROTECTED] wrote: Yes, I tried to run it from the command prompt -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:05 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Did you try to run the NR2 from the command line? On Thu, Sep 18, 2008 at 2:00 PM, [EMAIL PROTECTED] wrote: Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu [Wed Sep 17 16:16:20 2008] [info] Starting Axis2 HTTP server [Wed Sep 17 16:16:20 2008] [info] Apache Axis2/C version in use : 1.5.0 [Wed Sep 17 16:16:20 2008] [info] Server port : 9090 [Wed Sep 17 16:16:20 2008] [info] Repo location : ../ [Wed Sep 17 16:16:20 2008] [info] Read Timeout : 6 ms [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of
SV: Axis2/c source in VS
It might also be good to know that I have enable_libcurl = 0 in NR2. I did it by adding enable_libcurl =0 in my preprocessor settings and removing libcurl_imp from properties - Linker - Input - additional dependencies. /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:05 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Did you try to run the NR2 from the command line? On Thu, Sep 18, 2008 at 2:00 PM, [EMAIL PROTECTED] wrote: Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu [Wed Sep 17 16:16:20 2008] [info] Starting Axis2 HTTP server [Wed Sep 17 16:16:20 2008] [info] Apache Axis2/C version in use : 1.5.0 [Wed Sep 17 16:16:20 2008] [info] Server port : 9090 [Wed Sep 17 16:16:20 2008] [info] Repo location : ../ [Wed Sep 17 16:16:20 2008] [info] Read Timeout : 6 ms [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport [Wed Sep 17 16:16:20 2008] [debug] ..\..\..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch [Wed Sep 17
Re: Axis2/c source in VS
AFAIK what you did doesn't have any effect. By default libcul is disabled. If you want to enable libcurl you need to define the preprocessor directive AXIS2_LIBCURL_ENABLED. You can check weather you are linking to libcurl by using the depends.exe that comes with VS. Supun.. On Thu, Sep 18, 2008 at 2:15 PM, [EMAIL PROTECTED] wrote: It might also be good to know that I have enable_libcurl = 0 in NR2. I did it by adding enable_libcurl =0 in my preprocessor settings and removing libcurl_imp from properties - Linker - Input - additional dependencies. /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:05 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Did you try to run the NR2 from the command line? On Thu, Sep 18, 2008 at 2:00 PM, [EMAIL PROTECTED] wrote: Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu [Wed Sep 17 16:16:20 2008] [info] Starting Axis2 HTTP server [Wed Sep 17 16:16:20 2008] [info] Apache Axis2/C version in use : 1.5.0 [Wed Sep 17 16:16:20 2008] [info] Server port : 9090 [Wed Sep 17 16:16:20 2008] [info] Repo location : ../ [Wed Sep 17 16:16:20 2008] [info] Read Timeout : 6 ms [Wed Sep 17 16:16:20 2008] [debug]
SV: Axis2/c source in VS
This it what it says: DWMAPI.DLL Error opening file. The system cannot find the file specified(2) Warning: At least one delay-load dependency module was not found. Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. The other files seem to be ok... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:14 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS You can verify weather there is something wrong with the DLLs by usign depends.exe tool. Try to load the axis2_http_server.exe from depends and see if everything is ok. Supun.. On Thu, Sep 18, 2008 at 2:06 PM, [EMAIL PROTECTED] wrote: Yes, I tried to run it from the command prompt -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:05 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Did you try to run the NR2 from the command line? On Thu, Sep 18, 2008 at 2:00 PM, [EMAIL PROTECTED] wrote: Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu [Wed Sep 17 16:16:20 2008] [info] Starting Axis2 HTTP server [Wed Sep 17 16:16:20 2008] [info] Apache Axis2/C version in use : 1.5.0 [Wed Sep 17
Re: Axis2/c source in VS
You are using VS 2008. We don't have any experience with VS 2008 and Axis2/C. When we move from VS 2003 to VS 2005 one problem that we encountered was the project property character set. By default it was set to unicord. But Axis2/C doesn't support uncode and uses multibye character set. After changing that everything worked well. Supun. On Thu, Sep 18, 2008 at 2:27 PM, [EMAIL PROTECTED] wrote: That's strange because when I was compiling the compiler was complaining about not beeing able to find libcur_imp.lib was missing. This was before I put enable_libcurl = 0. -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS AFAIK what you did doesn't have any effect. By default libcul is disabled. If you want to enable libcurl you need to define the preprocessor directive AXIS2_LIBCURL_ENABLED. You can check weather you are linking to libcurl by using the depends.exe that comes with VS. Supun.. On Thu, Sep 18, 2008 at 2:15 PM, [EMAIL PROTECTED] wrote: It might also be good to know that I have enable_libcurl = 0 in NR2. I did it by adding enable_libcurl =0 in my preprocessor settings and removing libcurl_imp from properties - Linker - Input - additional dependencies. /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:05 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Did you try to run the NR2 from the command line? On Thu, Sep 18, 2008 at 2:00 PM, [EMAIL PROTECTED] wrote: Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote:
SV: Axis2/c source in VS
Hi! I tried changing the settings for the axutil setting it from unicode to multi-byte character set and now the .exe starts. Do you know why this is? Anyways, thanks a lot for you time and help =) /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS AFAIK what you did doesn't have any effect. By default libcul is disabled. If you want to enable libcurl you need to define the preprocessor directive AXIS2_LIBCURL_ENABLED. You can check weather you are linking to libcurl by using the depends.exe that comes with VS. Supun.. On Thu, Sep 18, 2008 at 2:15 PM, [EMAIL PROTECTED] wrote: It might also be good to know that I have enable_libcurl = 0 in NR2. I did it by adding enable_libcurl =0 in my preprocessor settings and removing libcurl_imp from properties - Linker - Input - additional dependencies. /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:05 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Did you try to run the NR2 from the command line? On Thu, Sep 18, 2008 at 2:00 PM, [EMAIL PROTECTED] wrote: Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: Did you set the working directory? If you are running from the VS solution you should set the current working directory. Supun. On Wed, Sep 17, 2008 at 7:39 PM, [EMAIL PROTECTED] wrote: Hello, I'm trying to compile axis2/c in Visual Studios (2008) (using axis2c.sln) and it works out well in both release (and debug mode). I'm only using these projects: axutil, axis2_parser, axiom, neethi, axis2_engine, axis2_http_sender, axis2_httpreceiver, axis2_http_server, axis2_mod_addr. I'm having trouble to start the server. When I try to run the server wich was compiled in release mode it doesn't start and the log sais:pu
SV: Axis2/c source in VS
Ok! Thanks, just got ur mail! /indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:41 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS You are using VS 2008. We don't have any experience with VS 2008 and Axis2/C. When we move from VS 2003 to VS 2005 one problem that we encountered was the project property character set. By default it was set to unicord. But Axis2/C doesn't support uncode and uses multibye character set. After changing that everything worked well. Supun. On Thu, Sep 18, 2008 at 2:27 PM, [EMAIL PROTECTED] wrote: That's strange because when I was compiling the compiler was complaining about not beeing able to find libcur_imp.lib was missing. This was before I put enable_libcurl = 0. -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS AFAIK what you did doesn't have any effect. By default libcul is disabled. If you want to enable libcurl you need to define the preprocessor directive AXIS2_LIBCURL_ENABLED. You can check weather you are linking to libcurl by using the depends.exe that comes with VS. Supun.. On Thu, Sep 18, 2008 at 2:15 PM, [EMAIL PROTECTED] wrote: It might also be good to know that I have enable_libcurl = 0 in NR2. I did it by adding enable_libcurl =0 in my preprocessor settings and removing libcurl_imp from properties - Linker - Input - additional dependencies. /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:05 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Did you try to run the NR2 from the command line? On Thu, Sep 18, 2008 at 2:00 PM, [EMAIL PROTECTED] wrote: Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote:
A patch is available for bug 1258
Hi, I attached a patch file which fixes the bug. Please, have a look and apply if applicable. BR, Dmitry
[jira] Created: (AXIS2C-1267) HTTP headers case sensitive in http_sender.c
HTTP headers case sensitive in http_sender.c Key: AXIS2C-1267 URL: https://issues.apache.org/jira/browse/AXIS2C-1267 Project: Axis2-C Issue Type: Bug Components: core/transport Affects Versions: 1.5.0 Reporter: Mats Staffansson HTTP headers should be compared case insensitive. --- src/core/transport/http/sender/http_sender.c2008-09-18 11:25:39.0 +0200 +++ src/core/transport/http/sender/http_sender.c.patched2008-09-18 12:02:09.0 +0200 @@ -1471,7 +1471,7 @@ header, env); if (name) { -if (0 == axutil_strcmp (name, AXIS2_HTTP_HEADER_TRANSFER_ENCODING) +if (0 == axutil_strcasecmp (name, AXIS2_HTTP_HEADER_TRANSFER_ENCODING) 0 == axutil_strcmp (axis2_http_header_get_value (header, env), AXIS2_HTTP_HEADER_TRANSFER_ENCODING_CHUNKED)) @@ -1485,7 +1485,7 @@ env, transfer_encoding); } -if (0 != axutil_strcmp (name, AXIS2_HTTP_HEADER_CONTENT_TYPE)) +if (0 != axutil_strcasecmp (name, AXIS2_HTTP_HEADER_CONTENT_TYPE)) { axis2_char_t *tmp_charset = NULL; axis2_char_t *content_type = [ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SV: Axis2/c source in VS
Btw, du you want me to send you my axis2c.sln for VS2008? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:41 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS You are using VS 2008. We don't have any experience with VS 2008 and Axis2/C. When we move from VS 2003 to VS 2005 one problem that we encountered was the project property character set. By default it was set to unicord. But Axis2/C doesn't support uncode and uses multibye character set. After changing that everything worked well. Supun. On Thu, Sep 18, 2008 at 2:27 PM, [EMAIL PROTECTED] wrote: That's strange because when I was compiling the compiler was complaining about not beeing able to find libcur_imp.lib was missing. This was before I put enable_libcurl = 0. -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS AFAIK what you did doesn't have any effect. By default libcul is disabled. If you want to enable libcurl you need to define the preprocessor directive AXIS2_LIBCURL_ENABLED. You can check weather you are linking to libcurl by using the depends.exe that comes with VS. Supun.. On Thu, Sep 18, 2008 at 2:15 PM, [EMAIL PROTECTED] wrote: It might also be good to know that I have enable_libcurl = 0 in NR2. I did it by adding enable_libcurl =0 in my preprocessor settings and removing libcurl_imp from properties - Linker - Input - additional dependencies. /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:05 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Did you try to run the NR2 from the command line? On Thu, Sep 18, 2008 at 2:00 PM, [EMAIL PROTECTED] wrote: Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I think the problem is with the axis2_http_library.dll. Please make sure that all the libraries that are linked to this dll are in the PATH. Supun.. On Wed, Sep 17, 2008 at 7:58 PM, Supun Kamburugamuva [EMAIL
Re: Axis2/c source in VS
Yes, That would be nice. Supun.. On Thu, Sep 18, 2008 at 7:00 PM, [EMAIL PROTECTED] wrote: Btw, du you want me to send you my axis2c.sln for VS2008? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:41 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS You are using VS 2008. We don't have any experience with VS 2008 and Axis2/C. When we move from VS 2003 to VS 2005 one problem that we encountered was the project property character set. By default it was set to unicord. But Axis2/C doesn't support uncode and uses multibye character set. After changing that everything worked well. Supun. On Thu, Sep 18, 2008 at 2:27 PM, [EMAIL PROTECTED] wrote: That's strange because when I was compiling the compiler was complaining about not beeing able to find libcur_imp.lib was missing. This was before I put enable_libcurl = 0. -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS AFAIK what you did doesn't have any effect. By default libcul is disabled. If you want to enable libcurl you need to define the preprocessor directive AXIS2_LIBCURL_ENABLED. You can check weather you are linking to libcurl by using the depends.exe that comes with VS. Supun.. On Thu, Sep 18, 2008 at 2:15 PM, [EMAIL PROTECTED] wrote: It might also be good to know that I have enable_libcurl = 0 in NR2. I did it by adding enable_libcurl =0 in my preprocessor settings and removing libcurl_imp from properties - Linker - Input - additional dependencies. /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 11:05 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Did you try to run the NR2 from the command line? On Thu, Sep 18, 2008 at 2:00 PM, [EMAIL PROTECTED] wrote: Yes, I have it in the lib folder. I have 2 axis2_http_server.exe, one that is working and one that is not working. The one that is working i compiled with the instructions from the webpage with nmake and that .exe runs fine and i will call it NR1. The one I have compiled in VS is the one with an .exe that's not starting and I will call it NR2. I tried to exchange just axutil.dll generated for NR1 with the axutil.dll for NR2 and then NR1s' server (.exe) runs fine. So I guess that something is wrong generating the axutil.dll... /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:50 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Sorry I have misspelled the axis2_http_sender.dll as axis2_http_library.dll. Do you have the axis2_http_sender.dll? Supun.. On Thu, Sep 18, 2008 at 1:40 PM, [EMAIL PROTECTED] wrote: I have tried to build it in VS and it works, no compiling errors. The problem is when I try to run the .exe that is generated. I have OpenSSL installed and the axis2c lib-files. When I compile and run from the comand promt with nmake (as described on the webpage but without libcurl, enable_libcurl=0) it works and the .exe starts, but I need to get it working using VS environment. I don't have any library called axis2_http_library.dll in any project, not the one working nor the one I'm having trouble with... -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: to 2008-09-18 10:38 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Try to build the visual studio solution again and see what is the error. You need OpenSLL installed and configured for building the sender from the visual studio. You need OpenSSL include files and library files included for the axis2_http_sender project. Supun. On Thu, Sep 18, 2008 at 1:22 PM, [EMAIL PROTECTED] wrote: Hi Supun! Thank you for your reply. I've checked for the library named axis2_http_library but I can't find one. It seems I don't have it but I don't know why, do you? /Indra -Ursprungligt meddelande- Från: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Skickat: on 2008-09-17 18:25 Till: Apache AXIS C Developers List Ämne: Re: Axis2/c source in VS Also please make sure that the axis2_http_sender.dll is in the lib folder of Axis2/C build. Supun.. On Wed, Sep 17, 2008 at 8:47 PM, Supun Kamburugamuva [EMAIL PROTECTED] wrote: I
Re: Adding CGI module to the svn truck
+1 thanks, Milinda On Tue, Sep 16, 2008 at 7:38 PM, Manjula Peiris [EMAIL PROTECTED] wrote: +1 thanks, Manjula On Tue, 2008-09-16 at 08:51 -0400, Dinesh Premalal wrote: +1 thanks, Dinesh Nandika Jayawardana [EMAIL PROTECTED] writes: Hi devs, We have the code developed by Nikola Tankovic for the google summer of code project done for axis2c. The code is found at [1]. What would be a proper svn location to add this code. I think [2] is a good location to commit this code under a folder named CGI. WDYT ? Regards Nandika [1]. https://issues.apache.org/jira/browse/AXIS2C-1143 [2] https://svn.apache.org/repos/asf/webservices/axis2/trunk/c/src/core/ transport/http/server -- http://nandikajayawardana.blogspot.com/ WSO2 Inc: http://www.wso2.com - 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] -- http://mpathirage.com http://wso2.org Oxygen for Web Service Developers http://wsaxc.blogspot.com Web Services With Axis2/C
CGI Makefile.am is missing
Hi, src/core/transport/http/server/CGI/Makefile entry is added to main configure.ac but apprarently whoever put that entry has forgotten to commit the corresponding Makefile.am. This cause automake failure thanks Damitha -- __ Damitha Kumarage http://people.apache.org/ __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding CGI module to the svn truck
With the addition of CGI module there is a build break in the trunk. The reason is CGI Makefile.am is not committed. So can u please commit the Makefile.am Thanks, -Manjula. On Thu, 2008-09-18 at 22:10 +0530, Milinda Pathirage wrote: +1 thanks, Milinda On Tue, Sep 16, 2008 at 7:38 PM, Manjula Peiris [EMAIL PROTECTED] wrote: +1 thanks, Manjula On Tue, 2008-09-16 at 08:51 -0400, Dinesh Premalal wrote: +1 thanks, Dinesh Nandika Jayawardana [EMAIL PROTECTED] writes: Hi devs, We have the code developed by Nikola Tankovic for the google summer of code project done for axis2c. The code is found at [1]. What would be a proper svn location to add this code. I think [2] is a good location to commit this code under a folder named CGI. WDYT ? Regards Nandika [1]. https://issues.apache.org/jira/browse/AXIS2C-1143 [2] https://svn.apache.org/repos/asf/webservices/axis2/trunk/c/src/core/ transport/http/server -- http://nandikajayawardana.blogspot.com/ WSO2 Inc: http://www.wso2.com - 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] -- http://mpathirage.com http://wso2.org Oxygen for Web Service Developers http://wsaxc.blogspot.com Web Services With Axis2/C - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]