[jboss-user] [Security & JAAS/JBoss] - Re: JDBC Realm

bjornn do-not-reply at jboss.com
Thu Aug 3 16:01:08 EDT 2006


Hi zurchman,

My datasource has some problemas, like as mismatch in url connection... but I was guess that jboss would complain... I work hard to discover it.

But I can't solve the problem yet. Now, after just one attempt I get a 403 error. The server log print this lines below just after my login fail:
  | 2006-08-03 16:55:54,983 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager at 182b9b5
  | 2006-08-03 16:55:54,983 DEBUG [org.jboss.security.plugins.JaasSecurityManager.JaasSampleDBRealm] CachePolicy set to: org.jboss.util.TimedCachePolicy at 16e46f5
  | 2006-08-03 16:55:54,983 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy at 16e46f5
  | 2006-08-03 16:55:54,983 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added JaasSampleDBRealm, org.jboss.security.plugins.SecurityDomainContext at f4a376 to map
  | 2006-08-03 16:55:54,999 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, password=--hidden--}
  | 2006-08-03 16:55:54,999 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Checking driver for URL: jdbc:hsqldb:hsql://localhost:9001/jaas
  | 2006-08-03 16:55:54,999 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Driver already registered for url: jdbc:hsqldb:hsql://localhost:9001/jaas
  | 2006-08-03 16:55:55,014 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, password=--hidden--}
  | 2006-08-03 16:55:55,077 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, password=--hidden--}
  | 2006-08-03 16:55:55,077 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, password=--hidden--}
  | 2006-08-03 16:55:55,092 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, password=--hidden--}

these lines are just after:
  | 2006-08-03 16:53:16,587 INFO  [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 34s:170ms
  | 

Why does jboss try to "connect" four times using LocalManagedConnectionFactory(last 4 lines above)? Do you think I still have some problem with my datasource?

Thanks again!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962996#3962996

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962996



More information about the jboss-user mailing list