users@grizzly.java.net

Re: GrizzlyWebServerDeployer -- Error could not deploy WAR correctly

From: Survivant 00 <survivant00_at_gmail.com>
Date: Mon, 7 Dec 2009 20:16:03 -0500

sorry I didn't had time. I was sick all week. Not the H1N1, but still
sick.

I'm better now. It's the rush at the office to release stuff before the
vacations so I don't have much free time right now.

I have to create a testcase using Tomcat embedded to see if it works, and
create the same thing with Embedded Grizzly.

I need to figure if the problem is it Deployer or GrizzlyAdapter..


will keep you inform.

thanks

Sébastien

2009/12/7 Shawn Pan <xpan_at_cdmtech.com>

> Hey Survivant:
>
> Any progress on the issue? Do you need anything else from me that might be
> of help? We have an internal project release in a few days, and I would love
> to have a working deployer for the cheer :)
>
> Thanks, Shawn
>
> Survivant 00 wrote:
>
>> I didn't forget you... I'm tracing into Spring now.. Still don't know why
>> Spring throw an Exception.
>>
>>
>> To simplify the test, I unpack the war file into a folder and run from
>> it.. but I still got this exception :
>>
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name 'authenticationManager' defined in ServletContext resource
>> [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean
>> 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#3f5ae2'
>> of type
>> [org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler]
>> while setting bean property 'authenticationHandlers' with key [0]; nested
>> exception is org.springframework.beans.factory.BeanCreationException: Error
>> creating bean with name
>> 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#3f5ae2'
>> defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]:
>> Cannot resolve reference to bean 'httpClient' while setting bean property
>> 'httpClient'; nested exception is
>> org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
>> named 'httpClient' is defined
>> authenticationManager
>> org.springframework.beans.factory.BeanCreationException: Error creating
>> bean with name
>> 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#3f5ae2'
>> defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]:
>> Cannot resolve reference to bean 'httpClient' while setting bean property
>> 'httpClient'; nested exception is
>> org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
>> named 'httpClient' is defined
>> Error creating bean with name 'authenticationManager' defined in
>> ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Cannot create
>> inner bean
>> 'org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler#3f5ae2'
>> of type
>> [org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler]
>> while setting bean property 'authenticationHandlers' with key [0]
>>
>>
>> Will give you feedback this week.. working on that every night for this
>> week.
>>
>> 2009/11/16 Shawn Pan <xpan_at_cdmtech.com <mailto:xpan_at_cdmtech.com>>
>>
>>
>> Among all the things I like about Grizzly, a big one is that it
>> has a much, much smaller footprint comparing to Glassfish... yes,
>> you are correct, I can use Glassfish as my backup :)
>>
>> Survivant 00 wrote:
>>
>> :)
>>
>> you could do the demo using Glassfish in the last resort..
>> it's build over Grizzly :)
>>
>>
>>
>> 2009/11/16 Shawn Pan <xpan_at_cdmtech.com
>> <mailto:xpan_at_cdmtech.com> <mailto:xpan_at_cdmtech.com
>>
>> <mailto:xpan_at_cdmtech.com>>>
>>
>>
>> Thanks whole bunch!
>>
>> My company will soon have an internal review on a project
>> that I am
>> working on, and I would like to convince them to use
>> Grizzly for many
>> good reasons. It would be nice if this deployer bug can be
>> fix by
>> then.
>>
>> Shawn
>>
>> On Mon, Nov 16, 2009 at 2:42 PM, Survivant 00
>> <survivant00_at_gmail.com <mailto:survivant00_at_gmail.com>
>> <mailto:survivant00_at_gmail.com <mailto:survivant00_at_gmail.com>>>
>>
>> wrote:
>> > Hubert release a internal patch, but it doesn't work on
>> Windows
>> with CAS.
>> > I'll pop him tonight ask if he did some progress.
>> >
>> > for my part.. I'll start a blog about WarAdapter with
>> example.
>> >
>> >
>> > 2009/11/16 Shawn Pan <xpan_at_cdmtech.com
>> <mailto:xpan_at_cdmtech.com> <mailto:xpan_at_cdmtech.com
>>
>> <mailto:xpan_at_cdmtech.com>>>
>>
>> >>
>> >> Hey survivant, any progress on the fix?
>> >>
>> >> On Tue, Nov 10, 2009 at 4:34 PM, Survivant 00
>> <survivant00_at_gmail.com <mailto:survivant00_at_gmail.com>
>> <mailto:survivant00_at_gmail.com <mailto:survivant00_at_gmail.com>>>
>>
>>
>> >> wrote:
>> >> > ok, I'll have to test them in debug.
>> >> >
>> >> > it sure that Grizzly have to support them. That was
>> what I
>> had in mind
>> >> > want
>> >> > I created Deployer.
>> >> >
>> >> > We started a embedded version for Deployer, but we
>> broke it,
>> and now
>> >> > I'll
>> >> > have to fix it, because the others are busy.
>> >> >
>> >> > I have tested lot of war with Deployer, but theses two are
>> differents.
>> >> > Look
>> >> > like I forgot to do a "if" somewhere.. Shouldn'T be to
>> hard
>> to find now
>> >> > that
>> >> > I have sample that doesn't work.
>> >
>> >
>> >
>> > --
>> >
>> > Vous pouvez me suivre sur Twitter / You can follow me on
>> Twitter :
>> > http://twitter.com/survivant
>> >
>>
>>
>>
>>
>> --
>> Vous pouvez me suivre sur Twitter / You can follow me on
>> Twitter : http://twitter.com/survivant
>>
>>
>>
>>
>>
>> --
>>
>> Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
>> http://twitter.com/survivant
>>
>
>


-- 
Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
http://twitter.com/survivant