[
https://issues.apache.org/jira/browse/AXIS2C-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Lazarski resolved AXIS2C-1670.
-------------------------------------
Fix Version/s: 2.0.0
(was: 1.7.0)
Resolution: Fixed
Details: Improved warning message explaining what happens and how to
fix it
Before:
Provided client repository path %s does not exsist or no permission to
read,
therefore set axis2c home to DEFAULT_REPO_PATH.
After:
Client repository path '%s' does not exist or is not readable.
Falling back to current directory '%s'. This will scan ./modules
and ./services subdirectories which may cause performance issues.
Set a valid AXIS2C_HOME or pass a valid client_home path.
This helps users understand why their application might be doing
unexpected file I/O when they haven't configured the Axis2 repository
path correctly.
> Contents of every file in current directory read during
> axis2_stub_create_with_endpoint_ref_and_client_home()
> -------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2C-1670
> URL: https://issues.apache.org/jira/browse/AXIS2C-1670
> Project: Axis2-C
> Issue Type: Bug
> Components: core/clientapi, core/context, platforms/unix
> Affects Versions: 1.5.0, 1.6.0
> Environment: RedHat Linux 2.6.18-308.8.2.el5PAE
> Reporter: Richard Conner
> Priority: Minor
> Labels: performance
> Fix For: 2.0.0
>
>
> While investigating performance problems in our production machine, I ran an
> "strace" on an application using Axis2/c and discovered that during
> configuration/client-connection it was opening and reading the entire
> contents of every file in the current directory. We have been able to narrow
> it down into somewhere within the
> "axis2_stub_create_with_endpoint_ref_and_client_home()" subroutine.
> I haven't been able to find/trace through the sources below that yet but at
> least wanted to get this issue registered for some more experienced eyeballs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]