axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/engine Axis.cpp
Date Thu, 30 Sep 2004 09:36:03 GMT
samisa      2004/09/30 02:36:03

  Modified:    c/src/engine Axis.cpp
  Log:
  Fixed the problem of the message "deployment descripter not found"
  comming up on the web page when  Apache web server (and so, Axis)
  has no write access to the logs (or log directory).
  See Jira: AXISCPP-115.
  Also Added "Welcome to Axis C++" as the title shown on web page.
  
  Revision  Changes    Path
  1.72      +9 -4      ws-axis/c/src/engine/Axis.cpp
  
  Index: Axis.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/engine/Axis.cpp,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- Axis.cpp	28 Sep 2004 11:07:18 -0000	1.71
  +++ Axis.cpp	30 Sep 2004 09:36:03 -0000	1.72
  @@ -156,15 +156,19 @@
                       pSrvMap = g_pWSDDDeployment->getWSDDServiceMap ();
                       if (!pSrvMap)
                       {
  -                        pStream->sendBytes("<html><body>\
  +                        pStream->sendBytes("<html> \
  +                            <head><title>Welcome to Axis C++</title></head>\
  +                            <body>\
                               <h1 align=\"center\">Welcome to Axis C++</h1>\
                               <br>\
  -                            <h2>Deployment Descripter Not Found</h2>\
  +                            <h2>Deployment Descriptor Not Found</h2>\
                               <br>\
                               </body></html>", NULL);
                           return AXIS_FAIL;
                       }
  -                    pStream->sendBytes("<html><body>\
  +                    pStream->sendBytes("<html>\
  +                        <head><title>Welcome to Axis C++</title></head>\
  +                        <body>\
                           <h1 align=\"center\">Welcome to Axis C++</h1>\
                           <br>\
                           <h2 align=\"center\">List of Deployed Web services</h2><br>\
  @@ -275,7 +279,8 @@
               status = g_pAT->openFile ();
               if (status == AXIS_FAIL)
               {
  -                return AXIS_FAIL;
  +                // Samisa - make sure that we start service, even if we cannot open log
file
  +                //return AXIS_FAIL;
               }
   #endif
               try
  
  
  

Mime
View raw message