You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jacek Laskowski <jl...@apache.org> on 2005/11/11 01:16:00 UTC

Re: WARN [SilentStartupMonitor] Unable to start ... (starting) - SOLVED

David Jencks wrote:
> I think you have an unsatisfied reference in your generic security  
> realm. 

Thanks Dave! It took me additional 2 days when I finally figured out 
that a wrong GBean is looked up. I had to use the following reference 
configuration to get it working.

   <reference name="LoginService">
     <module>org/apache/geronimo/Security</module>
     <name>JaasLoginService</name>
   </reference>

Otherwise the module was assigned with 
org/apache/geronimo/PetStoreSecurity1.3.2. I wonder whether or not it's 
intended. Could you elaborate on it a little?

00:45:44,083 DEBUG [GBeanInstanceState] GBeanInstanceState for: 
geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/Security,J2EEServer=geronimo,j2eeType=JaasLoginService,name=JaasLoginService 
State changed from starting to running
...
00:45:44,654 DEBUG [GBeanSingleReference] Waiting to start 
geronimo.server:name=petstore-realm,J2EEServer=geronimo,J2EEApplication=null,j2eeType=SecurityRealm,J2EEModule=org/apache/geronimo/PetStoreSecurity1.3.2 
because no targets are running for reference LoginService matching the 
patterns 
geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/PetStoreSecurity1.3.2,J2EEServer=geronimo,j2eeType=JaasLoginService,name=JaasLoginService

> david jencks

Jacek

Re: WARN [SilentStartupMonitor] Unable to start ... (starting) - SOLVED

Posted by David Jencks <da...@yahoo.com>.
On Nov 10, 2005, at 4:16 PM, Jacek Laskowski wrote:

> David Jencks wrote:
>> I think you have an unsatisfied reference in your generic security   
>> realm.
>
> Thanks Dave! It took me additional 2 days when I finally figured out  
> that a wrong GBean is looked up. I had to use the following reference  
> configuration to get it working.
>
>   <reference name="LoginService">
>     <module>org/apache/geronimo/Security</module>
>     <name>JaasLoginService</name>
>   </reference>
>
> Otherwise the module was assigned with  
> org/apache/geronimo/PetStoreSecurity1.3.2. I wonder whether or not  
> it's intended. Could you elaborate on it a little?

That's expected.  When you specify only some components of a gbean name  
in a reference, the other components are determined from the context.   
For everything except j2eeType this means they are copied from the  
gbean that has the reference.  So, in particular, the module will be  
the same as the module of the gbean with the reference.  The j2eeType  
is determined by explicitly setting it in the GBeanReference object  
when constructing the GBeanInfo.

thanks
david jencks

>
> 00:45:44,083 DEBUG [GBeanInstanceState] GBeanInstanceState for:  
> geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/ 
> Security,J2EEServer=geronimo,j2eeType=JaasLoginService,name=JaasLoginSe 
> rvice State changed from starting to running
> ...
> 00:45:44,654 DEBUG [GBeanSingleReference] Waiting to start  
> geronimo.server:name=petstore- 
> realm,J2EEServer=geronimo,J2EEApplication=null,j2eeType=SecurityRealm,J 
> 2EEModule=org/apache/geronimo/PetStoreSecurity1.3.2 because no targets  
> are running for reference LoginService matching the patterns  
> geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/ 
> PetStoreSecurity1.3.2,J2EEServer=geronimo,j2eeType=JaasLoginService,nam 
> e=JaasLoginService
>
>> david jencks
>
> Jacek
>