Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/hibernate/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hibernate 身份验证在一天后不起作用_Hibernate_Authentication_Deployment_Glassfish - Fatal编程技术网

Hibernate 身份验证在一天后不起作用

Hibernate 身份验证在一天后不起作用,hibernate,authentication,deployment,glassfish,Hibernate,Authentication,Deployment,Glassfish,我的JSF应用程序有一些问题。当我在WindowsServer12的GlassFish服务器中部署它时,一切都很好,直到我尝试登录的前几天。我在应用程序中获得密码错误身份验证 我正在使用JSF2.2、PrimeFaces5、Hibernate4和GlassFish 4 这是我的hibernate配置 <property name="hibernate.dialect"> org.hibernate.dialect.MySQLDialect</property&

我的JSF应用程序有一些问题。当我在WindowsServer12的GlassFish服务器中部署它时,一切都很好,直到我尝试登录的前几天。我在应用程序中获得密码错误身份验证

我正在使用JSF2.2、PrimeFaces5、Hibernate4和GlassFish 4

这是我的hibernate配置

    <property name="hibernate.dialect">
     org.hibernate.dialect.MySQLDialect</property>
    <property name="hibernate.connection.driver_class">
     com.mysql.jdbc.Driver</property>
    <propertyname="hibernate.connection.url">
        jdbc:mysql://localhost:3306/fashionzeroDateTimeBehavior=
         convertToNull</property>
    <property name="hibernate.connection.username">root</property>
    <property name="hibernate.connection.password">root</property>
    <property name="hibernate.show_sql">true</property>
    <property name="hibernate.hbm2ddl.auto">update</property>
    <propertyname="hibernate.enable_lazy_load_no_trans">
     true</property>
    <property name="hibernate.current_session_context_class">
      thread</property> 
    <property name="cache.provider_class">
      org.hibernate.cache.internal.NoCacheProvider
    </property>     

如果你需要任何细节,请询问。我需要帮助来解决这个问题

检查密码是否过期或已锁定。Glassfish服务器日志将包含一些有关身份验证的信息。你能检查并张贴在这里认证不是为glassfish是为我的应用程序,我有一个页面进行认证,当我使用一天后,它给了我这个错误。但当我重新部署时,它又能工作了:/可能是应用程序缓存或浏览器缓存问题