users@jersey.java.net

Re: [Jersey] WADL generator resource loading uses the wrong class loader

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Fri, 13 Feb 2009 12:01:13 +0100

On Fri, Feb 13, 2009 at 11:13:33AM +0100, Paul Sandoz wrote:
>
> On Feb 13, 2009, at 1:23 AM, Martin Grotzke wrote:
>
>> Hi Paul,
>>
>> holding the commit was fairly easy. :)
>> And also congrats to the release!
>>
>
> Thanks!
>
>
>> I modified the plan: I kept support for Files in the WadlGeneratorLoader
>> (and related files), as in some environments Files can be used and then
>> nobody has to change anything if it was working already. So we have it
>> fully backwards compatible.
>>
>> I just added the support for InputStream properties (in
>> WadlGeneratorLoader) and added props taking an InputStream to the
>> existing WadlGenerators.
>>
>> The extended-wadl-webapp sample is also updated:
>> SampleWadlGeneratorConfig now configures the InputStream properties of
>> the WadlGenerators.
>>
>
> Thanks.
>
>
>> Can I somehow reproduce the issue you ran into with GF? Or do you just
>> want to verify that the encountered problem is solved with this
>> solution? I didn't change issue 207 ([1]) to fixed as I wasn't sure
>> about this.
>>
>
> I just changed it to fixed, it works in the trunk.
>
> Jakub or I need to verify against an installation in GF. Once done we will
> mark it as verified.

Tried to verify, but got:

remote failure: Exception while deploying the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: java.lang.RuntimeException: Could not load WadlGeneratorConfiguration, check the configuration of com.sun.jersey.config.property.WadlGeneratorConfig

when deploying the app. Attaching also my [server.log] file with stack trace.

Any thoughts?

~Jakub

>
> Paul.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>