You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jeff Genender <jg...@savoirtech.com> on 2005/12/16 17:20:35 UTC

Race condition for Tomcat too?

The WARNINGs we are getting:

[*********>              ] 40%  37s Starting geronimo/tomcat/1.0/car
07:55:03,808 WARN  [MapperListener] Unknown default host: localhost

Appears to be intermittent.  Some get it, and some do not.  The issue
here is the Engine does not seem to wait for the Host GBeans to start.

They seemed to work for the longest time, and now we are starting to see
this problem.

Anyone have any insight to this?

Jeff

Re: Race condition for Tomcat too?

Posted by Jeff Genender <jg...@apache.org>.
I don't think so...

The j2eeType is of type "Host" for the host.

Did you try this?

anita kulshreshtha wrote:
>     The EngineGBean in j2ee-tomcat-plan.xml contains :
> <gbean-name>geronimo.server:j2eeType=Host,*</gbean-name>
>       I think it should be 
> ................j2eeType=GBean, name=TomcatHost
> 
> Thanks
> Anita
> --- Jeff Genender <jg...@savoirtech.com> wrote:
> 
>> The WARNINGs we are getting:
>>
>> [*********>              ] 40%  37s Starting
>> geronimo/tomcat/1.0/car
>> 07:55:03,808 WARN  [MapperListener] Unknown default
>> host: localhost
>>
>> Appears to be intermittent.  Some get it, and some
>> do not.  The issue
>> here is the Engine does not seem to wait for the
>> Host GBeans to start.
>>
>> They seemed to work for the longest time, and now we
>> are starting to see
>> this problem.
>>
>> Anyone have any insight to this?
>>
>> Jeff
>>
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

Re: Race condition for Tomcat too?

Posted by Jeff Genender <jg...@apache.org>.
Correct.  It needs to be type "Host".

anita kulshreshtha wrote:
>      Should I not see waiting to start
> ....TomcatEngine......because no targets are running
> for reference TomcatHost matching .....? I might be
> way off ....
> 
> Thanks
> Anita
> 
> 10:07:57,421 DEBUG [GBeanSingleReference] Waiting to
> start
> geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatEngine
> because no targets are running for reference
> TomcatValveChain matching the patterns
> geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=TomcatValve,name=FirstValve
> 
> 10:07:57,437 DEBUG [GBeanSingleReference] Waiting to
> start
> geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatEngine
> because no targets are running for the dependency
> matching the patternspatterns
> geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatResources
> 
> 10:07:57,484 DEBUG [GBeanSingleReference] Waiting to
> start
> geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatEngine
> because no targets are running for the dependency
> matching the patternspatterns
> geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatResources
>  
> 10:07:57,484 DEBUG [GBeanSingleReference] Waiting to
> start
> geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatWebContainer
> because no targets are running for reference
> EngineGBean matching the patterns
> geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatEngine
> 
> 10:08:00,171 WARN  [MapperListener] Unknown default
> host: localhost
> 10:08:00,687 WARN  [MapperListener] Unknown default
> host: localhost
> 10:08:01,140 WARN  [MapperListener] Unknown default
> host: localhost
> 10:08:04,062 DEBUG [GBeanSingleReference] Waiting to
> start 
> 
> --- anita kulshreshtha <a_...@yahoo.com> wrote:
> 
>>     The EngineGBean in j2ee-tomcat-plan.xml contains
>> :
>>
> <gbean-name>geronimo.server:j2eeType=Host,*</gbean-name>
>>       I think it should be 
>> ................j2eeType=GBean, name=TomcatHost
>>
>> Thanks
>> Anita
>> --- Jeff Genender <jg...@savoirtech.com> wrote:
>>
>>> The WARNINGs we are getting:
>>>
>>> [*********>              ] 40%  37s Starting
>>> geronimo/tomcat/1.0/car
>>> 07:55:03,808 WARN  [MapperListener] Unknown
>> default
>>> host: localhost
>>>
>>> Appears to be intermittent.  Some get it, and some
>>> do not.  The issue
>>> here is the Engine does not seem to wait for the
>>> Host GBeans to start.
>>>
>>> They seemed to work for the longest time, and now
>> we
>>> are starting to see
>>> this problem.
>>>
>>> Anyone have any insight to this?
>>>
>>> Jeff
>>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam
>> protection around 
>> http://mail.yahoo.com 
>>
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

Re: Race condition for Tomcat too?

Posted by anita kulshreshtha <a_...@yahoo.com>.
     Should I not see waiting to start
....TomcatEngine......because no targets are running
for reference TomcatHost matching .....? I might be
way off ....

Thanks
Anita

10:07:57,421 DEBUG [GBeanSingleReference] Waiting to
start
geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatEngine
because no targets are running for reference
TomcatValveChain matching the patterns
geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=TomcatValve,name=FirstValve

10:07:57,437 DEBUG [GBeanSingleReference] Waiting to
start
geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatEngine
because no targets are running for the dependency
matching the patternspatterns
geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatResources

10:07:57,484 DEBUG [GBeanSingleReference] Waiting to
start
geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatEngine
because no targets are running for the dependency
matching the patternspatterns
geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatResources
 
10:07:57,484 DEBUG [GBeanSingleReference] Waiting to
start
geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatWebContainer
because no targets are running for reference
EngineGBean matching the patterns
geronimo.server:J2EEApplication=null,J2EEModule=geronimo/tomcat/1.0/car,J2EEServer=geronimo,j2eeType=GBean,name=TomcatEngine

10:08:00,171 WARN  [MapperListener] Unknown default
host: localhost
10:08:00,687 WARN  [MapperListener] Unknown default
host: localhost
10:08:01,140 WARN  [MapperListener] Unknown default
host: localhost
10:08:04,062 DEBUG [GBeanSingleReference] Waiting to
start 

--- anita kulshreshtha <a_...@yahoo.com> wrote:

>     The EngineGBean in j2ee-tomcat-plan.xml contains
> :
>
<gbean-name>geronimo.server:j2eeType=Host,*</gbean-name>
>       I think it should be 
> ................j2eeType=GBean, name=TomcatHost
> 
> Thanks
> Anita
> --- Jeff Genender <jg...@savoirtech.com> wrote:
> 
> > The WARNINGs we are getting:
> > 
> > [*********>              ] 40%  37s Starting
> > geronimo/tomcat/1.0/car
> > 07:55:03,808 WARN  [MapperListener] Unknown
> default
> > host: localhost
> > 
> > Appears to be intermittent.  Some get it, and some
> > do not.  The issue
> > here is the Engine does not seem to wait for the
> > Host GBeans to start.
> > 
> > They seemed to work for the longest time, and now
> we
> > are starting to see
> > this problem.
> > 
> > Anyone have any insight to this?
> > 
> > Jeff
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Race condition for Tomcat too?

Posted by anita kulshreshtha <a_...@yahoo.com>.
    The EngineGBean in j2ee-tomcat-plan.xml contains :
<gbean-name>geronimo.server:j2eeType=Host,*</gbean-name>
      I think it should be 
................j2eeType=GBean, name=TomcatHost

Thanks
Anita
--- Jeff Genender <jg...@savoirtech.com> wrote:

> The WARNINGs we are getting:
> 
> [*********>              ] 40%  37s Starting
> geronimo/tomcat/1.0/car
> 07:55:03,808 WARN  [MapperListener] Unknown default
> host: localhost
> 
> Appears to be intermittent.  Some get it, and some
> do not.  The issue
> here is the Engine does not seem to wait for the
> Host GBeans to start.
> 
> They seemed to work for the longest time, and now we
> are starting to see
> this problem.
> 
> Anyone have any insight to this?
> 
> Jeff
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com