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 Samisa Abeysinghe <sa...@gmail.com> on 2006/05/17 10:35:07 UTC
[Axis2] Use of AXIS2_CONFIGURATION_RESOURCE
What is the use of AXIS2_CONFIGURATION_RESOURCE? Are we not picking the
axis2.xml file from deploy folder?
This is related to http://issues.apache.org/jira/browse/AXIS2C-152?
Thanks,
Samisa...
Re: [Axis2] Use of AXIS2_CONFIGURATION_RESOURCE
Posted by Samisa Abeysinghe <sa...@gmail.com>.
Ok, then the solution is to remove the deault location and error if
deploy is missing. If this is fair enough I am going to do this.
Samisa...
Sahan Gamage wrote:
>Hi,
>
>A grep on my svn copy gave me the following results :
>
>include/platforms/unix/axis2_unix.h:#define AXIS2_CONFIGURATION_RESOURCE
>"/usr/local/axis2/axis2.xml"
>include/platforms/windows/axis2_windows.h:#define
>AXIS2_CONFIGURATION_RESOURCE "" /* should be set */
>modules/core/deployment/dep_engine.c:
>AXIS2_STRDUP(AXIS2_CONFIGURATION_RESOURCE, env);
>modules/core/deployment/dep_engine.c: dep_engine_impl->conf_name
>= AXIS2_STRDUP(AXIS2_CONFIGURATION_RESOURCE,
>modules/core/deployment/dep_engine.c: dep_engine_impl->conf_name
>= AXIS2_STRDUP(AXIS2_CONFIGURATION_RESOURCE, env);
>
>I exmined the dep_engine.c and it seems that the
>AXIS2_CONFIGURATION_RESOURCE is used as the default location for the
>axis2.xml. Bad thing is we haven't set it in Windows (or have set a
>path in Damitha's machine - which caused the JIRA)
>I think we can remove it and stop assuming the location. (i.e If it is
>not set we simply exit - no default locations)
>
>- Sahan
>
>Samisa Abeysinghe wrote:
>
>
>
>>What is the use of AXIS2_CONFIGURATION_RESOURCE? Are we not picking
>>the axis2.xml file from deploy folder?
>>
>>This is related to http://issues.apache.org/jira/browse/AXIS2C-152?
>>
>>Thanks,
>>Samisa...
>>
>>
>>
>
>
>
>
Re: [Axis2] Use of AXIS2_CONFIGURATION_RESOURCE
Posted by Sahan Gamage <sa...@wso2.com>.
Hi,
A grep on my svn copy gave me the following results :
include/platforms/unix/axis2_unix.h:#define AXIS2_CONFIGURATION_RESOURCE
"/usr/local/axis2/axis2.xml"
include/platforms/windows/axis2_windows.h:#define
AXIS2_CONFIGURATION_RESOURCE "" /* should be set */
modules/core/deployment/dep_engine.c:
AXIS2_STRDUP(AXIS2_CONFIGURATION_RESOURCE, env);
modules/core/deployment/dep_engine.c: dep_engine_impl->conf_name
= AXIS2_STRDUP(AXIS2_CONFIGURATION_RESOURCE,
modules/core/deployment/dep_engine.c: dep_engine_impl->conf_name
= AXIS2_STRDUP(AXIS2_CONFIGURATION_RESOURCE, env);
I exmined the dep_engine.c and it seems that the
AXIS2_CONFIGURATION_RESOURCE is used as the default location for the
axis2.xml. Bad thing is we haven't set it in Windows (or have set a
path in Damitha's machine - which caused the JIRA)
I think we can remove it and stop assuming the location. (i.e If it is
not set we simply exit - no default locations)
- Sahan
Samisa Abeysinghe wrote:
> What is the use of AXIS2_CONFIGURATION_RESOURCE? Are we not picking
> the axis2.xml file from deploy folder?
>
> This is related to http://issues.apache.org/jira/browse/AXIS2C-152?
>
> Thanks,
> Samisa...
>