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

Oracle Community | cupahjoe | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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