From: <nor...@jb...> - 2005-09-08 23:03:05
|
This happens regardless of how the classloader of the WAR is set up. The problem is that the directory of the WAR file is added to the hibernate MBean, which is incorrect, and neither WEB-INF/classes nor any of the jars in WEB-INF/lib are ever added to the hibernate configuration. (regardless of what the tomcat classloader configuration is) This is particularly annoying because a .hbm.xml file that happens in WEB-INF/classes will be seen because the WAR file is incorrectly put in the classpath (this would have been seen even if it were along side the JSP files). However, the classes can't be found since the WAR classloader is not used. I would expect the classes in the WAR file to have their normal visibility/invisibility as defined by the tomcat classloader configuration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893697#3893697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893697 |