axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24034] New: - If no newline in axiscpp.conf apache won't start
Date Thu, 23 Oct 2003 08:38:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24034>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24034

If no newline in axiscpp.conf apache won't start

           Summary: If no newline in axiscpp.conf apache won't start
           Product: Axis-C++
           Version: current (nightly)
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Deployment / Registries
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: sanjayas@opensource.lk


If there is no newline after the last line in axiscpp.conf the apache module 
will not load and apache will not start.

The problem was traced to AxisConfig.cpp in the method 
int AxisConfig::ReadConfFile(). 

If the piece of code..

        while(line[k] != '\n')
        {
            value[j]=line[k];
            k += 1;
            j += 1;

        }

is replaced with..
        while(line[k] != '\n' && line[k]!='\0')
        {
            value[j]=line[k];
            k += 1;
            j += 1;

        }

The problems seems to be solved.

Mime
View raw message