2 Replies Latest reply on Mar 14, 2005 9:15 AM by Ricardo Arguello

    Exception in RealmBase - Possible Bug

    Mike Duffy Novice

      Searching various archives, I found two similar issues from earlier this year that were unanswered:

      http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg131837.html//www.mail-archive.com/tomcat-user@jakarta.apache.org/msg131837.html
      http://www.junlu.com/msg/44667.html

      Basically, there is an exception at startup when using a custom realm implementation (in my case I am using Security Filter: http://securityfilter.sourceforge.net)

      Here is the exception:

      03:42:59,976 INFO [RealmBase] Parent not available yet: null:type=Engine
      03:42:59,983 ERROR [RealmBase] Can't register null
      java.lang.NullPointerException
      at org.apache.catalina.realm.RealmBase.init(RealmBase.java:1194)
      at org.apache.catalina.realm.RealmBase.start(RealmBase.java:875)
      at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:669)

      Thx.

      Mike