java.lang.ClassCastException: org.hibernate.impl.SessionFactoryImpl

Oracle Community | cupahjoe | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    JDBC Realm stops working after first login

    Oracle Community | 9 years ago | cupahjoe
    java.lang.ClassCastException: org.hibernate.impl.SessionFactoryImpl

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.hibernate.impl.SessionFactoryImpl

      at com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm.getConnection()
    2. Security Core Classes
      JDBCRealm.getConnection
      1. com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm.getConnection(JDBCRealm.java:467)
      1 frame