Hi Dan,
Dan Lowe wrote:
> Hi,
>
>
>
> I am configure multiple Resource Config classes.
>
> Does the property support this?
>
Unfortunately only one is supported.
> I have tried multiple configs, none seem to work.
>
> I have to use this property because resin can’t find my resources.
>
Why can't you use just one ResourceConfig instance?
I am a little busy this week but if you can provide some simple
instructions deploying with resin (e.g. a working example) then should
be able to debug the scanning issue at the start of next week.
Paul.
>
>
> Here is what I have tried so far:
>
> <init-param>
>
> <param-name>
>
> com.sun.ws.rest.config.property.resourceConfigClass
>
> </param-name>
>
> <param-value>
>
> path.to.resource.ResourceCfgClass1
>
> </param-value>
>
> <param-value>
>
> path.to.resource.ResourceCfgClass2
>
> </param-value>
>
> </init-param>
>
>
>
>
>
>
>
>
>
> <init-param>
>
> <param-name>
>
> com.sun.ws.rest.config.property.resourceConfigClass
>
> </param-name>
>
> <param-value>
>
>
> path.to.resource.ResourceCfgClass1,path.to.resource.ResourceCfgClass2
>
> </param-value>
>
> </init-param>
>
>
>
>
>
>
>
>
>
> <init-param>
>
> <param-name>
>
> com.sun.ws.rest.config.property.resourceConfigClass
>
> </param-name>
>
> <param-value>
>
>
> path.to.resource.ResourceCfgClass1:path.to.resource.ResourceCfgClass2
>
> </param-value>
>
> </init-param>
>
>
>
>
>
>
>
> <init-param>
>
> <param-name>
>
> com.sun.ws.rest.config.property.resourceConfigClass
>
> </param-name>
>
> <param-value>
>
>
> path.to.resource.ResourceCfgClass1;path.to.resource.ResourceCfgClass2
>
> </param-value>
>
> </init-param>
>
>
>
>
>
>
>
> TIA,
>
> **Dan Lowe**
>
>
>
>
>
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109