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 ax...@ws.apache.org on 2004/10/14 18:40:52 UTC

[jira] Closed: (AXISCPP-23) AxisConfig constructor doesn't error check

Message:

   The following issue has been closed.

   Resolver: John Hawkins
       Date: Thu, 14 Oct 2004 9:40 AM

Axis CPP conf has changed substantially since this issue
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-23

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-23
    Summary: AxisConfig constructor doesn't error check
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: Axis-C++
 Components: 
             Basic Architecture
   Versions:
             current (nightly)

   Assignee: 
   Reporter: Sam Lang

    Created: Thu, 30 Oct 2003 8:06 PM
    Updated: Thu, 14 Oct 2004 9:40 AM
Environment: Operating System: Other
Platform: All

Description:
If the ReadConfFile() call fails (AXIS_HOME env isn't set for example), the
error that gets returned is ignored in AxisConfig::AxisConfig().  Given that the
constructor doesn't allow for a return parameter, maybe the constructor should
just be empty, and the user should be required to call ReadConfFile() directly.
 That way they can at least determine if it fails.  Since a bad user
configuration is usually a common source of error, it would be nice if
ReadConfFile returned more informative error information, rather than just FAIL.  

Also, it would be nice if the filename and path of the axis config file could be
overridden from the default ($AXIS_HOME/axiscpp.conf).  Maybe overload the
ReadConfFile method with one that takes a parameter?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira