users@grizzly.java.net

Re: GrizzlyWebServerDeployer -- Error could not deploy WAR correctly

From: Survivant 00 <survivant00_at_gmail.com>
Date: Mon, 23 Nov 2009 20:54:19 -0500

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>

> 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>>
>>
>>
>> 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>> 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>>
>>
>> >>
>> >> 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>>
>>
>> >> 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