1. JPA2 deploy error in JBoss forum.hibernate.orgHello, I'm trying to use a Hibernate3 project as JPA2 in JBoss 6.0.0.M3. My entities where mapped using .hbm.xml files, not annotations, they are used in a JSE environment and work fine. I've added a persistence.xml file in my jar and I can see the deployer mapping the classes. However there's an error at deploy time: Code: 2010-06-23 14:17:27,638 WARN ... |
2. Need Help! proxy error under JBoss/Hibernate forum.hibernate.orgHi, I am getting this when running HIbernate objects under JBoss as a MBean: java.lang.ClassCastException: cannot assign instance of net.sf.hibernate.proxy.SerializableProxy to field com.db.device.NetPortalSubnetwork.network of type com.db.device.NetPortalNetwork in instance of com.db.device.NetPortalSubnetwork If I run the same code outside of JBoss everything works fine ! pls help, TIA, --steve p. (mappings) Code: |
3. Urgent Help needed. Proxy error with JBoss/Hibernate forum.hibernate.orgHi, I am getting this when running HIbernate objects under JBoss as a MBean: java.lang.ClassCastException: cannot assign instance of net.sf.hibernate.proxy.SerializableProxy to field com.db.device.NetPortalSubnetwork.network of type com.db.device.NetPortalNetwork in instance of com.db.device.NetPortalSubnetwork If I run the same code outside of JBoss everything works fine ! pls help, TIA, --steve p. (mappings) Code: |
4. Jboss + hibernate deployment error forum.hibernate.orgBeginner Joined: Wed Mar 24, 2004 8:43 am Posts: 42 hi all i am using jboss 3 with hibernate 2.1.2 and mysql i have followed the http://www.hibernate.org/66.html and was trying to deploy a hibernate application in to the jboss i created .sar as tutorial mentioned. and also i put the musql-service.xml file in to the jboss_home/deploy/default.. here is my jboss-service.xml |
5. Jboss + hibernate deployment error forum.hibernate.orgBeginner Joined: Wed Mar 24, 2004 8:43 am Posts: 42 hi all i am using jboss 3 with hibernate 2.1.2 and mysql i have followed the http://www.hibernate.org/66.html and was trying to deploy a hibernate application in to the jboss i created .sar as tutorial mentioned. and also i put the musql-service.xml file in to the jboss_home/deploy/default.. here is my jboss-service.xml |
6. Jboss + hibernate error forum.hibernate.orgBeginner Joined: Wed Mar 24, 2004 8:43 am Posts: 42 hi all i am using jboss 3 with hibernate 2.1.2 and mysql i have followed the http://www.hibernate.org/66.html and was trying to deploy a hibernate application in to the jboss i created .sar as tutorial mentioned. and also i put the musql-service.xml file in to the jboss_home/deploy/default.. here is my jboss-service.xml |
7. Hibernate 3 in JBoss errors forum.hibernate.orgHibernate version: hibernate-3.0alpha I am trying to upgrade to Hibernate3alpha release . My code used to work fine in Hibernate2.1.4. I have made no changes to jboss.xml and the sar ant script. The only changes I have made is the run time class path changed to include new jar files from D:\hibernate-3.0alpha\lib jboss.xml ---------------------- |
8. Hibernate with JBoss Error forum.hibernate.orgMy code is executing on standalone Tomcat but its giving me a strange exception on jboss. Configuration cfg = new Configuration(); SessionFactory factory = cfg.configure().buildSessionFactory(); Session sessions = factory.openSession(); Transaction t = sessions.beginTransaction(); sessions.save(c); sessions.save(p); t.commit(); sessions.close(); ///////////////////////////// STACK TRACE /////////////////////////// org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:520) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) root cause java.lang.NullPointerException org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:153) org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464) org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374) java.lang.ClassLoader.loadClass(ClassLoader.java:235) ... |
9. jbosscache - error in TransactionManagerLookup forum.hibernate.orgHi, I am using jboss cache as my 2nd level caching policy. My persistence.xml has the following configuration: |