problems in startup

View: New views
6 Messages — Rating Filter:   Alert me  

problems in startup

by Ivan Žučenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi I have googled a lot but can not find solution so may be someone....
I use develop/run  webapp which is being hit by several requests per sec
and uses tiles2 for main page composition.
All tested and works fine.. just serious issue is server restart. When
app is accessed by request in certian moment - when applistener loads
tiles.xml it may crash and then every request returns not such mapping
as... since configuration is not red.
I am considering doing my own .. probably filter to load cfg on init and
until not fully red.. keeping requests waiting..

or has anyone come across and solve this?

thanks a lot ivan


Re: problems in startup

by Antonio Petrelli-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/6/11 Ivan Zucenko <zucenko@...>:
> All tested and works fine.. just serious issue is server restart. When app
> is accessed by request in certian moment - when applistener loads tiles.xml
> it may crash and then every request returns not such mapping as... since
> configuration is not red.

What version of Tiles are you using? IIRC Tiles 2.0.4 has a bug that
makes it crash.

Antonio

Parent Message unknown Re: problems in startup

by Ivan Žučenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Antonio!
First thanks for fast reply.. what did I wrong that i could not find this
simple answer :( sorry to bother..
You are right.. I have the mentioned version which was packed with/inside S2
2.0.11
So I will just replace tiles-core,api,jsp with 2.0.6 right?
THANKS
Ivan

Re: problems in startup

by Antonio Petrelli-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/6/11 Ivan Žučenko <zucenko@...>:
> Hi Antonio!
> First thanks for fast reply.. what did I wrong that i could not find this
> simple answer :( sorry to bother..
> You are right.. I have the mentioned version which was packed with/inside S2
> 2.0.11
> So I will just replace tiles-core,api,jsp with 2.0.6 right?

Right, try it and let us know.

Antonio

Re: problems in startup

by Ivan Žučenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Antonio

BIG thanks!
now we (www.wow-raidar.com) are stable restarting!
but ... why do Struts bad name to your good work :(( and still
distribute 2.0.4...

ANYWAY THANKS FOR FAST HELP!

best regards
Ivan


Antonio Petrelli wrote:

> 2008/6/11 Ivan Žučenko <zucenko@...>:
>  
>> Hi Antonio!
>> First thanks for fast reply.. what did I wrong that i could not find this
>> simple answer :( sorry to bother..
>> You are right.. I have the mentioned version which was packed with/inside S2
>> 2.0.11
>> So I will just replace tiles-core,api,jsp with 2.0.6 right?
>>    
>
> Right, try it and let us know.
>
> Antonio
>  


Re: problems in startup

by Antonio Petrelli-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/6/11 Ivan Zucenko <zucenko@...>:
> but ... why do Struts bad name to your good work :(( and still distribute
> 2.0.4...

Simply because 2.0.11 was packaged before the release of Tiles 2.0.5.
Since Struts 2.0.11.1 is essentially a security-fix release, the Tiles
package remained there.

Antonio