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:08:53 UTC

[jira] Closed: (AXISCPP-9) If no newline in axiscpp.conf apache won't start

Message:

   The following issue has been closed.

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

Closed as fixed
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-9
    Summary: If no newline in axiscpp.conf apache won't start
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: Axis-C++
 Components: 
             Deployment / Registries
   Versions:
             current (nightly)

   Assignee: 
   Reporter: sanjaya singharage

    Created: Thu, 23 Oct 2003 8:37 AM
    Updated: Thu, 14 Oct 2004 9:08 AM
Environment: Operating System: Windows NT/2K
Platform: PC

Description:
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.


---------------------------------------------------------------------
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