WarBasedAxisConfigurator does not load config file from WAS 6.0 (FIX included)
------------------------------------------------------------------------------
Key: AXIS2-1043
URL: http://issues.apache.org/jira/browse/AXIS2-1043
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: deployment
Environment: IBM WebSphere 6.0
Reporter: Rick Hogge
Missing forward slash causes WAS to not load configuration file.
from WarBasedAxisConfigurator.java (~line 112)
if (axis2Stream == null) {
// both the axis2.xml.path and axis2.xml.url init
parameters were not present
// try to find the default /WEB-INF/conf/axis2.xml
---> axis2Stream =
config.getServletContext().getResourceAsStream("WEB-INF/conf/axis2.xml");
log.debug("trying to load axis2.xml from module:
/WEB-INF/conf/axis2.xml");
}
should read ( see newly added forward slash ) -- other occurences in file are ok
axis2Stream =
config.getServletContext().getResourceAsStream("/WEB-INF/conf/axis2.xml");
funny thing is comment below line looks good :)
Rick
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
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]