Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:

Go Back   Caucho Forums > Resin

Thread Tools Display Modes
Old 08-13-2009, 03:40 PM
ferg ferg is offline
Join Date: Aug 2009
Posts: 190
Default xmlns:resin change in Resin 4.0.x

Based on a support email, there's a bit of confusion about the resin namespace in Resin 4.0.x with the <resin:StatService/> type of services.

With Resin 4.0, the services are configured with CanDI (JSR-299), not specialized tags in the Resin XML schema. With CanDI, the service classes use the XML namespace to find the Java package of the service, and the XML tag name for the service class.

So, the xmlns:resin needs to change to xmlns:resin="urn:java:com.caucho.resin".

For example, <resin:StatService/> is com.caucho.admin.StatService (there's an alias file in com.caucho.resin which includes com.caucho.admin in a search path.)

The sample resin.xml in the Resin 4.0 distribution already include this change, but people converting resin.conf from Resin 3.1.x or earlier might be tripped up by the new namespace.
Reply With Quote

candi, configuration, resin 4.0

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:48 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.