I am deploying an J2EE application which uses Hibernate as ORM on Oracle 10g Application Server (10.1.3 OC4J).
Application gets deployed successfully, however when i request for initial pages through browser, queries do not fetch any data,from the logs it is seen that SQL queries failed to fetch records from Oracle 10g database.
One of the log message is: No Persistent classes found for Query Class
same application works fine & gives expected results on Tomcat 5.0.28
We do have .hbm.xml configuration files in one of the jars & it is placed under "OC4J_HOME\applib" folder(Global library for OC4J) & it is also present under application's \WEB-INF\lib folder.
Actually it should read these config files from jar placed under \WEB-INF\lib or any other jar for that matter from \WEB-INF\lib, whereas during deployment we faced few errors & those were resolved when we place all application specific jar files under OC4J_HOME\applib folder.
Just curious to know why it is not recognizing the jar files under \WEB-INF\lib.