[
https://issues.apache.org/jira/browse/AXIS2C-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449513#comment-13449513
]
Serghei Samsi edited comment on AXIS2C-1552 at 9/6/12 7:20 PM:
---------------------------------------------------------------
In reality init_with_conf () doesn't work in Axis2/C-1.6.0 too (if init ()
isn't implemented and init_with_conf () is implemented, axis2_conf pointer is
still invalid and all tries to use it ends with SEGFAULT). Lookup through the
sources showes that current implementation is broken in Axis2/C-1.6.0.
Patch which solves the problem is attached to the case
(axis2-1.6.0-fix_init_with_conf.patch).
was (Author: sscdvp):
In reality init_with_conf () doesn't work in Axis2/C-1.6.0 too (if init ()
isn't implemented and init_with_conf () is implemented, axis2_conf pointer is
still invalid and all tries to use it ends with SEGFAULT). Lookup through the
sources showes that current implementation is broken in Axis2/C-1.6.0.
Patch which solves the problem is attached to the case.
> Initializing service skeleton with init_with_conf
> -------------------------------------------------
>
> Key: AXIS2C-1552
> URL: https://issues.apache.org/jira/browse/AXIS2C-1552
> Project: Axis2-C
> Issue Type: Bug
> Components: core/deployment
> Affects Versions: 1.7.0
> Reporter: Dmitry Utkin
> Assignee: Samisa Abeysinghe
> Fix For: 1.7.0
>
> Attachments: axis2-1.6.0-fix_init_with_conf.patch,
> axis2c-1.7.0-init_with_conf.patch
>
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> Service skeleton's function init_with_conf is not called.
> In Axis2/C-1.6.0 all works perfectly, but in current trunk of Axis2/C-1.7.0
> this function is never called.
> As I see in conf_init.c service initialization with
> AXIS2_SVC_SKELETON_INIT_WITH_CONF is now commented out.
> But why?
> For example, I use this function (init_with_conf) to work with axis2_conf at
> init time: should made some work before any service operation (where
> axis2_conf is also available) is called.
> Is there any other methods to get axis2_conf within service_init function?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]