geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <jlaskow...@apache.org>
Subject WARN [SilentStartupMonitor] Unable to start ... (starting)
Date Wed, 09 Nov 2005 00:03:18 GMT
Hi,

What does it mean? Where should I look for answers?

00:56:17,016 WARN  [SilentStartupMonitor] Unable to start 
geronimo.server:name=petstore-realm,J2EEServer=geronimo,J2EEApplication=null,j2eeType=SecurityRealm,J2EEModule=org/apache/geronimo/PetStoreSecurity1.3.2

(starting)

I'm almost certain it is the reason why the authentication fails:

00:59:31,937 INFO  [JAASJettyRealm] problem
javax.security.auth.login.LoginException: No LoginModules configured for 
petstore-realm
         at 
javax.security.auth.login.LoginContext.init(LoginContext.java:256)
         at 
javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
         at 
org.apache.geronimo.jetty.JAASJettyRealm.authenticate(JAASJettyRealm.java:91)
         at 
org.mortbay.jetty.servlet.FormAuthenticator$FormCredential.authenticate(FormAuthenticator.java:305)
         at 
org.mortbay.jetty.servlet.FormAuthenticator.authenticate(FormAuthenticator.java:148)
         at 
org.apache.geronimo.jetty.interceptor.SecurityContextBeforeAfter.obtainUser(SecurityContextBeforeAfter.java:282)
         at 
org.apache.geronimo.jetty.interceptor.SecurityContextBeforeAfter.checkSecurityConstraints(SecurityContextBeforeAfter.java:191)
         at 
org.apache.geronimo.jetty.JettyWebAppContext.checkSecurityConstraints(JettyWebAppContext.java:516)
         at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:432)
         at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
         at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
         at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
         at org.mortbay.http.HttpServer.service(HttpServer.java:954)
         at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
         at 
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
         at 
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

even though the following is in the plan:

     <gbean name="petstore-realm"
         class="org.apache.geronimo.security.realm.GenericSecurityRealm">
         <attribute name="realmName">petstore-realm</attribute>
         <reference name="LoginModuleConfiguration">
             <name>petstore-login</name>
         </reference>
         <reference name="ServerInfo">
             <module>org/apache/geronimo/System</module>
             <name>ServerInfo</name>
         </reference>
         <reference 
name="LoginService"><name>JaasLoginService</name></reference>
     </gbean>

When the LoginService reference is removed, another exception 
(assertion, actually) is thrown during authentication with a message 
that the module is null or something alike.

Jacek

Mime
View raw message