سلام
در دیتابیس oracle یک تابع نوشته شده است که از طریق hibernate به آن متصل می شویم در هنگام استفاده از jndi برای DataSource در jboss با خطای زیر مواجه می شویم :
16:00:13,540 ERROR [stderr] (http-/0.0.0.0:443-1) org.hibernate.HibernateException: Unable to locate OracleTypes class
16:00:13,543 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.dialect.Oracle8iDialect.extractOracleCursorTypeValue(Oracle8iDialect.java:437)
16:00:13,543 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.dialect.Oracle8iDialect.getOracleCursorTypeSqlType(Oracle8iDialect.java:422)
16:00:13,544 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.dialect.Oracle8iDialect.registerResultSetOutParameter(Oracle8iDialect.java:451)
16:00:13,544 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1734)
16:00:13,545 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.loader.Loader.doQuery(Loader.java:828)
16:00:13,545 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289)
16:00:13,546 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.loader.Loader.doList(Loader.java:2447)
16:00:13,546 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.loader.Loader.doList(Loader.java:2433)
16:00:13,547 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2263)
16:00:13,547 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.loader.Loader.list(Loader.java:2258)
16:00:13,547 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:331)
16:00:13,548 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.internal.SessionImpl.listCustomQuery(SessionImpl.java:1697)
16:00:13,548 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.internal.AbstractSessionImpl.list(AbstractSessionImpl.java:225)
16:00:13,549 ERROR [stderr] (http-/0.0.0.0:443-1) at org.hibernate.internal.SQLQueryImpl.list(SQLQueryImpl.java:156)
16:00:13,549 ERROR [stderr] (http-/0.0.0.0:443-1) at