Did that and it seems to have stopped the error. So, I am assuming it works.
Merci beaucoup Guillaume.
I am running servicemix 3.0-snap as a web client so, the jars are not automatically on the classpath in the lib dir.
Guillaume why not add ALL the jars to the web app build as this would stop confusion with novices like myself?
Also in my web.xml I removed the listener for SPRING and replaced it with my servlets like so:
<servlet>
<servlet-name>Logging</servlet-name>
<servlet-class>LoggerServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>context</servlet-name>
<servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<!-- Original listener, replaced with the ContextLoaderServlet above. -->
<!--
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
-->
This allows my logger servlet to start up (and start logging) before the servcemix component constructors are called, which means I can log from them on initialization.
However I suspect there is a better way to do this from ServiceMix in a webapp no?
Regards Rick
"Guillaume Nodet" <[EMAIL PROTECTED]>
27/03/2006 12:41 | To: [email protected] cc: Subject: Re: simple XSL tag problem where <jbi:copyProperties/> is throwing 'Unrecognized XSLTC extension' error |
Could you try adding xalan in servicemix classpath ?
It seems the xslt transformer used is in the com.sun.org.apache.xalan.*package,
and I'm not sure if it works with this one...
Cheers,
Guillaume Nodet
Direct Line Group Limited, registered in England with number 2811437, registered office 3 Edridge Road, Croydon, Surrey CR9 1AG. The following companies are members of the Direct Line Group: Direct Line Insurance plc, Direct Line Life Insurance Company Limited, Direct Line Unit Trusts Limited and Direct Line Financial Services Limited, all of which are authorised and regulated by the Financial Services Authority. All are members of The Royal Bank of Scotland Group. |
This email is intended for the addressee only and may contain confidential, proprietary or legally privileged information. If you are not the intended recipient of this email you should notify us immediately and delete it. You should not copy, print, distribute, disclose or use any part of it. We reserve the right to monitor and record all electronic communications through our networks. We cannot accept any liability for viruses transmitted via this email once it has left our network. |
