0 Replies Latest reply on Jul 15, 2003 4:04 AM by ged

    Problem with the Security realm in cluster

    ged Newbie

      Hello.
      I'm trying to get a webapp with an Oracle JDBC security realm to work with session replication. This is the error msg I get when I kill one of my servers and the other is trying to take over the session:

      java.lang.NullPointerException
      at org.jboss.jetty.security.JBossUserRealm$JBossUserPrincipal.isAuthenti
      cated(JBossUserRealm.java:89)
      at org.jboss.jetty.security.JBossUserRealm$JBossUserPrincipal.isAuthenti
      cated(JBossUserRealm.java:172)
      at org.mortbay.jetty.servlet.FormAuthenticator.authenticated(FormAuthent
      icator.java:148)
      at org.mortbay.http.SecurityConstraint.check(SecurityConstraint.java:401
      )
      at org.mortbay.http.HttpContext.checkSecurityConstraints(HttpContext.jav
      a:1456)
      at org.mortbay.jetty.servlet.ServletHttpContext.checkSecurityConstraints
      (ServletHttpContext.java:137)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
      onHandler.java:235)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
      58)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
      Context.java:507)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
      at org.mortbay.http.HttpServer.service(HttpServer.java:863)
      at org.jboss.jetty.Jetty.service(Jetty.java:460)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
      at org.mortbay.http.ajp.AJP13Connection.handleNext(AJP13Connection.java:
      257)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
      at org.mortbay.http.ajp.AJP13Listener.handleConnection(AJP13Listener.jav
      a:204)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
      at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)

      I'm using JBoss 3.2.1 with j2sdk1.4.1_02 on win2k.
      Regards,
      Daniel