You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Kasun Indrasiri <ka...@gmail.com> on 2008/04/26 07:29:27 UTC

Axis2/c failed on Windows

Hi,
Axis2/C was successfully built on windows.. but when we start the axis2_http
server.. it failed by giving an strange error..

Thanks,
Kasun

Re: Axis2/c failed on Windows

Posted by Samisa Abeysinghe <sa...@wso2.com>.
This is a bug. See the 1.3.1 release vote thread take#2 foe details.

Samisa...

Kasun Indrasiri wrote:
> Hi,
>
> I tested axis2/c on windows with both Guththila and libxml.
>  
> - Everything works perfectly with Guththila
> - it failed with libxml.
>  
> (We tested this on couple of win xp and vista machines)
>  
> Can it be due to a version incompatibility with external libraries.
>  
> Here are the library versions that were used,
> - iconv-1.9.1.win32
> - libxml2-2.6.26.win32
> - zlib-1.2.1.win32
>
>
> Thanks,
> Kasun
>
>
> On 4/26/08, *Samisa Abeysinghe* <samisa@wso2.com 
> <ma...@wso2.com>> wrote:
>
>     Did you try with libxml2?
>
>     Samisa...
>
>     -- 
>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 4/26/2008 2:17 PM
>   


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

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


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


Re: Axis2/c failed on Windows

Posted by Kasun Indrasiri <ka...@gmail.com>.
Hi,

I tested axis2/c on windows with both Guththila and libxml.

- Everything works perfectly with Guththila
- it failed with libxml.

(We tested this on couple of win xp and vista machines)

Can it be due to a version incompatibility with external libraries.

Here are the library versions that were used,
- iconv-1.9.1.win32
- libxml2-2.6.26.win32
- zlib-1.2.1.win32


Thanks,
Kasun


On 4/26/08, Samisa Abeysinghe <sa...@wso2.com> wrote:

> Did you try with libxml2?
>
> Samisa...
>
> --
>

Re: Axis2/c failed on Windows

Posted by Samisa Abeysinghe <sa...@wso2.com>.
Kasun Indrasiri wrote:
>
> Hi,
> I tested this with getting a fresh copy of axis. Anyway I attached the 
> axis2.xml herewith.

Did you try with libxml2?

Samisa...

>
> Thanks,
> Kasun
>
> On 4/26/08, *Dinesh Premalal* <xydinesh@gmail.com 
> <ma...@gmail.com>> wrote:
>
>     Hi Kasun,
>
>     After looking at your axis2.log file
>
>     [Sat Apr 26 13:07:43 2008] [debug]
>     e:\axis2c\src\core\engine\phase.c(121) axis2_handler_t
>     *request_uri_based_dispatcher added to the index 0 of the phase
>     Transport
>     [Sat Apr 26 13:07:43 2008] [debug]
>     e:\axis2c\src\core\engine\phase.c(121) axis2_handler_t
>     *addressing_based_dispatcher added to the index 1 of the phase
>     Transport
>
>
>     It seems to me that axis2 engine crashed at deployment engine, did you
>     do some modification to axis2.xml ?
>
>     thanks,
>     Dinesh
>
>     --
>     http://nethu.org
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
>     <ma...@ws.apache.org>
>     For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>     <ma...@ws.apache.org>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 269.23.5/1399 - Release Date: 4/26/2008 2:17 PM


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

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


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


Re: Axis2/c failed on Windows

Posted by Kasun Indrasiri <ka...@gmail.com>.
Hi,
I tested this with getting a fresh copy of axis. Anyway I attached the
axis2.xml herewith.

Thanks,
Kasun

On 4/26/08, Dinesh Premalal <xy...@gmail.com> wrote:
>
> Hi Kasun,
>
> After looking at your axis2.log file
>
> [Sat Apr 26 13:07:43 2008] [debug] e:\axis2c\src\core\engine\phase.c(121)
> axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the
> phase Transport
> [Sat Apr 26 13:07:43 2008] [debug] e:\axis2c\src\core\engine\phase.c(121)
> axis2_handler_t *addressing_based_dispatcher added to the index 1 of the
> phase Transport
>
>
> It seems to me that axis2 engine crashed at deployment engine, did you
> do some modification to axis2.xml ?
>
> thanks,
> Dinesh
>
> --
> http://nethu.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>

Re: Axis2/c failed on Windows

Posted by Dinesh Premalal <xy...@gmail.com>.
Hi Kasun,

After looking at your axis2.log file

[Sat Apr 26 13:07:43 2008] [debug] e:\axis2c\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Sat Apr 26 13:07:43 2008] [debug] e:\axis2c\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport


It seems to me that axis2 engine crashed at deployment engine, did you
do some modification to axis2.xml ? 

thanks,
Dinesh
-- 
http://nethu.org

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


Re: Axis2/c failed on Windows

Posted by Samisa Abeysinghe <sa...@wso2.com>.
Are you using the latest release artifacts?
This seems to crash while freeing XML comment. There was such a bug with 
Guththila and that was fixed for the latest release artifacts.

Alternatively, you can check with libxml2 as well.

Samisa...

Kasun Indrasiri wrote:
>
>
>     This looks to me as if something wrong with repository. Did you
>     make sure that you cleaned the old repo?
>
>     Samisa...
>
>
> Hi,
>
> I have cleaned the  old repo and  we tested  this on two  machines and 
> still getting the same error.
>
> Thanks.
> Kasun
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 269.23.5/1398 - Release Date: 4/25/2008 2:31 PM
>   


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

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


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


Re: Axis2/c failed on Windows

Posted by Kasun Indrasiri <ka...@gmail.com>.
This looks to me as if something wrong with repository. Did you make sure
> that you cleaned the old repo?
>
> Samisa...
>

Hi,

I have cleaned the  old repo and  we tested  this on two  machines and still
getting the same error.

Thanks.
Kasun

Re: Axis2/c failed on Windows

Posted by Samisa Abeysinghe <sa...@wso2.com>.
This looks to me as if something wrong with repository. Did you make 
sure that you cleaned the old repo?

Samisa...

Kasun Indrasiri wrote:
> Hi,
>
> Here is the call stack. I've attached the log file but theres not much 
> info in it.
>
> Kasun
>
>      msvcr80d.dll!_CrtIsValidHeapPointer(const void * 
> pUserData=0x007c2788)  Line 1963    C++
>      msvcr80d.dll!_free_dbg_nolock(void * pUserData=0x007c2788, int 
> nBlockUse=1)  Line 1252 + 0x9 bytes    C++
>      msvcr80d.dll!_free_dbg(void * pUserData=0x007c2788, int 
> nBlockUse=1)  Line 1194 + 0xd bytes    C++
>      msvcr80d.dll!free(void * pUserData=0x007c2788)  Line 1152 + 0xb 
> bytes    C++
>      axutil.dll!axutil_allocator_free_impl(axutil_allocator * 
> allocator=0x007b2c08, void * ptr=0x007c2788)  Line 91 + 0xc bytes    C
> >    axiom.dll!axiom_stax_builder_create_om_comment(axiom_stax_builder 
> * om_builder=0x007b8348, const axutil_env * env=0x007b4b28)  Line 646 
> + 0x16 bytes    C
>      axiom.dll!axiom_stax_builder_next(axiom_stax_builder * 
> om_builder=0x007b8348, const axutil_env * env=0x007b4b28)  Line 851 + 
> 0xd bytes    C
>      axiom.dll!axiom_document_build_next(axiom_document * 
> document=0x007b8498, const axutil_env * env=0x007b4b28)  Line 131 + 
> 0x10 bytes    C
>      axiom.dll!axiom_document_build_all(axiom_document * 
> document=0x007b8498, const axutil_env * env=0x007b4b28)  Line 204 + 
> 0xd bytes    C
>      axis2_engine.dll!axis2_desc_builder_build_om(axis2_desc_builder * 
> desc_builder=0x007b8168, const axutil_env * env=0x007b4b28)  Line 211    C
>      
> axis2_engine.dll!axis2_conf_builder_populate_conf(axis2_conf_builder * 
> conf_builder=0x007b8120, const axutil_env * env=0x007b4b28)  Line 157 
> + 0x10 bytes    C
>      axis2_engine.dll!axis2_dep_engine_load(axis2_dep_engine * 
> dep_engine=0x007b5c68, const axutil_env * env=0x007b4b28)  Line 747 + 
> 0x10 bytes    C
>      axis2_engine.dll!axis2_build_conf_ctx(const axutil_env * 
> env=0x007b4b28, const char * repo_name=0x0040600c)  Line 61 + 0xd 
> bytes    C
>      axis2_http_receiver.dll!axis2_http_server_create(const axutil_env 
> * env=0x007b4b28, const char * repo=0x0040600c, const int port=9090)  
> Line 124 + 0xd bytes    C
>      axis2_http_server.exe!main(int argc=1, char * * argv=0x007b2b90)  
> Line 209 + 0x11 bytes    C
>      axis2_http_server.exe!__tmainCRTStartup()  Line 586 + 0x19 bytes    C
>      axis2_http_server.exe!mainCRTStartup()  Line 403    C
>
>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 7.5.524 / Virus Database: 269.23.5/1398 - Release Date: 4/25/2008 2:31 PM
>   


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

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


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


Re: Axis2/c failed on Windows

Posted by Kasun Indrasiri <ka...@gmail.com>.
Hi,

Here is the call stack. I've attached the log file but theres not much info
in it.

Kasun

     msvcr80d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x007c2788)
Line 1963    C++
     msvcr80d.dll!_free_dbg_nolock(void * pUserData=0x007c2788, int
nBlockUse=1)  Line 1252 + 0x9 bytes    C++
     msvcr80d.dll!_free_dbg(void * pUserData=0x007c2788, int nBlockUse=1)
Line 1194 + 0xd bytes    C++
     msvcr80d.dll!free(void * pUserData=0x007c2788)  Line 1152 + 0xb
bytes    C++
     axutil.dll!axutil_allocator_free_impl(axutil_allocator *
allocator=0x007b2c08, void * ptr=0x007c2788)  Line 91 + 0xc bytes    C
>    axiom.dll!axiom_stax_builder_create_om_comment(axiom_stax_builder *
om_builder=0x007b8348, const axutil_env * env=0x007b4b28)  Line 646 + 0x16
bytes    C
     axiom.dll!axiom_stax_builder_next(axiom_stax_builder *
om_builder=0x007b8348, const axutil_env * env=0x007b4b28)  Line 851 + 0xd
bytes    C
     axiom.dll!axiom_document_build_next(axiom_document *
document=0x007b8498, const axutil_env * env=0x007b4b28)  Line 131 + 0x10
bytes    C
     axiom.dll!axiom_document_build_all(axiom_document *
document=0x007b8498, const axutil_env * env=0x007b4b28)  Line 204 + 0xd
bytes    C
     axis2_engine.dll!axis2_desc_builder_build_om(axis2_desc_builder *
desc_builder=0x007b8168, const axutil_env * env=0x007b4b28)  Line 211    C
     axis2_engine.dll!axis2_conf_builder_populate_conf(axis2_conf_builder *
conf_builder=0x007b8120, const axutil_env * env=0x007b4b28)  Line 157 + 0x10
bytes    C
     axis2_engine.dll!axis2_dep_engine_load(axis2_dep_engine *
dep_engine=0x007b5c68, const axutil_env * env=0x007b4b28)  Line 747 + 0x10
bytes    C
     axis2_engine.dll!axis2_build_conf_ctx(const axutil_env *
env=0x007b4b28, const char * repo_name=0x0040600c)  Line 61 + 0xd bytes    C
     axis2_http_receiver.dll!axis2_http_server_create(const axutil_env *
env=0x007b4b28, const char * repo=0x0040600c, const int port=9090)  Line 124
+ 0xd bytes    C
     axis2_http_server.exe!main(int argc=1, char * * argv=0x007b2b90)  Line
209 + 0x11 bytes    C
     axis2_http_server.exe!__tmainCRTStartup()  Line 586 + 0x19 bytes    C
     axis2_http_server.exe!mainCRTStartup()  Line 403    C

<ax...@ws.apache.org>
>
>

Re: Axis2/c failed on Windows

Posted by Kaushalye Kapuruge <ka...@wso2.com>.
Hi Kasun,
Could you please attach the error log?
Cheers,
Kaushalye

Kasun Indrasiri wrote:
> Hi,
> Axis2/C was successfully built on windows.. but when we start the 
> axis2_http server.. it failed by giving an strange error..
>  
> Thanks,
> Kasun


-- 
http://blog.kaushalye.org/
http://wso2.org/



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