You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sander Smeenk <ss...@freshdot.net> on 2006/03/20 10:09:27 UTC

[users@httpd] Apache2 & mod_xslt trouble.

Hello everyone.

I'm running Apache 2.0.55, prefork mpm and mod_xslt 2004112100 on Debian
servers. From time to time it seems that the daily cronjob's 'apache2ctl
reload' causes Apache to 'forget' to load mod-xslt causing these
warnings for each xml/xsl related request:

| [error] an unknown filter was not added: mod-xslt

Doing a 'hard restart', eg, apache2ctl stop and apache2ctl start fixes it.
Any clue what might cause this?

The other thing is, i see Apache's segfault quite often while processing
xsl/xml, so i have my doubts about the 'cleanlyness' of the mod_xslt
code. Are there any other xml/xsl transformers that work like mod_xslt
but /are/ stable?

I'd be happy to hear from you all!

Kind regards,
Sander Smeenk.
-- 
| <Fooz> In a perfect world... spammers would get caught, go to jail, and
| share a cell with many men who have enlarged their penisses, taken
| Viagra and are looking for a new relationship.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache2 & mod_xslt trouble.

Posted by Sander Smeenk <ss...@freshdot.net>.
Quoting Nick Kew (nick@webthing.com):

> > > Erm, I don't see a warning ...
> > They were in my first post to the list. But i left them out on my second
> > post. The warnigs are:
> > | [error] an unknown filter was not added: mod-xslt
> Oh, right.  Either you've got the wrong filter name (check the
> source and/or docs for your XSLT module), or the module
> isn't loaded (see LoadModule in the Apache docs).

Come on, Nick. Don't act like i'm a complete idiot.

The module works fine, until the daily maintenance scripts start
apache2ctl reload'ing the server to ensure logrotation. Then, at random
intervals the server 'forgets' to load the mod-xslt module causing it to
start without the module and all these warnings or errors turn up.

You could have taken the time you've wasted on acting like i'm the idiot
to read my initial post instead.

> > > FWIW, mod_transform is another option for XSLT, and one I'd be
> > > in a better position to help with if you had questions.
> > Do you know other real-time xsl/xml transformers that can be used in
> > conjunction with Apache2? I'd be happy to receive names of alternatives.
> Erm, yes, I just told you one.

Oh really? I meant BESIDES mod_xslt and mod_transform, do you happen to
know any others?

Regards,
Sander.
-- 
| Visitors always give pleasure: if not on arrival, then on the departure.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache2 & mod_xslt trouble.

Posted by Nick Kew <ni...@webthing.com>.
On Thursday 23 March 2006 15:49, Sander Smeenk wrote:
> Quoting Nick Kew (nick@webthing.com):
> > > > From time to time it seems that the daily cronjob's 'apache2ctl
> > > > reload' causes Apache to 'forget' to load mod-xslt causing these
> > > > warnings for each xml/xsl related request:
> >
> > Erm, I don't see a warning ...
>
> They were in my first post to the list. But i left them out on my second
>
> post. The warnigs are:
> | [error] an unknown filter was not added: mod-xslt

Oh, right.  Either you've got the wrong filter name (check the
source and/or docs for your XSLT module), or the module
isn't loaded (see LoadModule in the Apache docs).

> > Nope.
> > Actually there are several different modules, from different authors,
> > called mod_xslt, so your question is already under-specified.
>
> Ok, I didn't really know that. I'm new to integrated xsl/xml
> transformation modules in Apache2, the one i'm using is aparently built
> from sources at http://www.mod-xslt2.com/

Is that the one originally by Philipp Dunkel and based on libxml2/libxslt?
If so, I think it's a perfectly sensible choice - unless something bad
happened since I looked.  If not, then I don't know.

> > FWIW, mod_transform is another option for XSLT, and one I'd be
> > in a better position to help with if you had questions.
>
> Do you know other real-time xsl/xml transformers that can be used in
> conjunction with Apache2? I'd be happy to receive names of alternatives.

Erm, yes, I just told you one.  mod_transform happens to be the one
I'm co-author of.


-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache2 & mod_xslt trouble.

Posted by Sander Smeenk <ss...@freshdot.net>.
Quoting Nick Kew (nick@webthing.com):
> > > From time to time it seems that the daily cronjob's 'apache2ctl
> > > reload' causes Apache to 'forget' to load mod-xslt causing these
> > > warnings for each xml/xsl related request:
> Erm, I don't see a warning ...

They were in my first post to the list. But i left them out on my second
post. The warnigs are:

| [error] an unknown filter was not added: mod-xslt

For every request that has the specified text/xml mimetype.
The raw xml is then returned to the client...

> > So no-one is using mod_xslt with Apache2 ?
> Nope.
> Actually there are several different modules, from different authors,
> called mod_xslt, so your question is already under-specified.

Ok, I didn't really know that. I'm new to integrated xsl/xml
transformation modules in Apache2, the one i'm using is aparently built
from sources at http://www.mod-xslt2.com/

> FWIW, mod_transform is another option for XSLT, and one I'd be
> in a better position to help with if you had questions.

Do you know other real-time xsl/xml transformers that can be used in
conjunction with Apache2? I'd be happy to receive names of alternatives.

> The fact that debian's packaging of Apache is terminally
> confusing makes it harder again to get help here.

:)

Regards,
Sander.
-- 
| Visitors always give pleasure: if not on arrival, then on the departure.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache2 & mod_xslt trouble.

Posted by Nick Kew <ni...@webthing.com>.
On Wednesday 22 March 2006 10:04, Sander Smeenk wrote:
> Quoting Sander Smeenk (ssmeenk+apacheusr@freshdot.net):
> > I'm running Apache 2.0.55, prefork mpm and mod_xslt 2004112100 on Debian
> > servers. From time to time it seems that the daily cronjob's 'apache2ctl
> > reload' causes Apache to 'forget' to load mod-xslt causing these
> > warnings for each xml/xsl related request:

Erm, I don't see a warning ...
>
> So no-one is using mod_xslt with Apache2 ?

Nope.

Actually there are several different modules, from different authors,
called mod_xslt, so your question is already under-specified.
FWIW, mod_transform is another option for XSLT, and one I'd be
in a better position to help with if you had questions.

The fact that debian's packaging of Apache is terminally
confusing makes it harder again to get help here.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache2 & mod_xslt trouble.

Posted by Sander Smeenk <ss...@freshdot.net>.
Quoting Sander Smeenk (ssmeenk+apacheusr@freshdot.net):

> I'm running Apache 2.0.55, prefork mpm and mod_xslt 2004112100 on Debian
> servers. From time to time it seems that the daily cronjob's 'apache2ctl
> reload' causes Apache to 'forget' to load mod-xslt causing these
> warnings for each xml/xsl related request:

So no-one is using mod_xslt with Apache2 ?

:(
Sander.
-- 
| How many of you believe in psycho-kinesis? Raise my hand . . .
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org