hi all,

I am using the apache's mod_xslt.
The problem is that after few successful processed requests
transformer UNPREDICTABLY hangs in some sort of
infinite loop (that's at least what I see in the log file)

--------------------------->8---------------------------------
[GOT XML] at /usr/local/XMLServer/apache/libexec/mod_xslt.so 
PID:1589  TRANSFORMING  at /usr/local/XMLServer/apache/libexec/mod_xslt.so 
  (block...)
---------------------------8<--------------------------------


this problem does not appear when I set 
  MaxRequestsPerChild 1 (ugly..)
in httpd.conf 

Is this somehow related to previous 'Initializing and terminating
XMLPlatformUtils' problem.

Here is the part of code where hang occures:

----------------------------->8-----------------------------
        ap_soft_timeout("mod_xslt",r);


#if !defined(XALAN_NO_NAMESPACES)
        using std::ostrstream;
#endif

                int status;
                ap_log_rerror(APLOG_MARK,APLOG_DEBUG|APLOG_NOERRNO, r, 
                                          "[TRANSFORMING]");    

#if defined(XALAN_OLD_STYLE_CASTS)
        status = ((XalanTransformer*)xalan)->transform(inSource, cssSource, 
theOutputStream);
#else
        status = static_cast<XalanTransformer*>(xalan)->transform(inSource, cssSource, 
theOutputStream);
#endif
        
        out << '\0';    
        data = out.str();

        if(!status)
        {
                r->content_type = "text/html";
                ap_send_http_header(r);
                ap_rputs(data,r);
...

#if defined(XALAN_OLD_STYLE_CASTS)
        delete  (XalanTransformer*)xalan;
#else
        delete  static_cast<XalanTransformer*>(xalan);
#endif  

        return OK;
} /******* HANDLER END *************/
------------------------------>8-------------------------------------------


thanks


(PS: Platform is Linux, processor C++)

-- 
--
Sevenval AG  (HRB 32757) ecommerce-base-technologies
D-50667 Koeln . Alter Markt 36-42
Fon +49 221 650070 . Fax 4249891
www.sevenval.de . [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to