apache call third-part library(openSAML)

2010-07-19 Thread whut_jia
Hi all, Apache module can't call third-part libraryopenSAML,why??In myself handler module , I validate assertion by calling openSAML library.But,everytime ,openSAML lib initial always failed .Process are always staying this initial sentence,why?? Thanks, avaster

Re: Re: a questions about calling opensaml lib

2010-07-19 Thread Ben Noordhuis
You didn't mention what MPM you are using but I assume it's the prefork one. You need to register a hook with ap_hook_child_init() and call SAMLConfig::getConfig().init() from there.

Re:Re: Re: a questions about calling opensaml lib

2010-07-19 Thread whut_jia
Ohh!You are right that my apache server work as a prefork MPM!Are there some examples?? >You didn't mention what MPM you are using but I assume it's the >prefork one. You need to register a hook with ap_hook_child_init() and >call SAMLConfig::getConfig().init() from there.