0 Replies Latest reply on Oct 20, 2004 6:22 AM by Yuriy Guskov

    Hibernate exception (datasource, security domain -> null use

    Yuriy Guskov Newbie

      I deploy .har which uses datasource which in turn use security domain. Everything is fine except the fact when Hibernate initialized it throws an exception

      org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Null user or password not supported in THIN driver)

      It happens because LoginContext here is not set what's natural. And actually it doesn't hurt much. But anyway I would like to avoid this. How to do this?