1. JNDI access to a SAR in JBoss forum.hibernate.org |
2. Hibernate 2.1rc1 problem: JBoss MBean/SAR deployment forum.hibernate.orgIn my application, which runs in JBoss 3.2.1, I have a SAR that contains the hbm.xmls + the jboss-service.xml, generated by Hibernate XDoclet 1.2beta4. Here is the generated jboss-service.xml. Code: |
3. hibernate 2.1 rc1 & jboss-3.2.1 sar deployment forum.hibernate.orgHi I'm trying to deploy hibernate as a .sar in jboss and I keep getting the following error: 11:27:44,770 INFO [Environment] Hibernate 2.1 rc1 11:27:44,780 INFO [Environment] hibernate.properties not found 11:27:44,786 INFO [Environment] using CGLIB reflection optimizer 11:27:44,795 INFO [Configuration] Mapping resource: com/generator/dom/hibernate/Assignment.hbm.xml 11:27:45,136 ERROR [XMLHelper] Error parsing XML: XML InputStream(33) The content of element type "class" must match "(meta*,(cache|jcs-cache)?,(id|composite-id),discriminator?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|any|map|set|list|bag|idbag|array|primitive-array)*,(subclass*|joined-subclass*))". 11:27:45,296 ... |
4. Problems deploying SAR in JBoss 3.2.3 forum.hibernate.orgI was using JBoss 3.2.1. Deployed the Hibernate SAR with no problems. I installed JBoss 3.2.3 and when I tried to deploy the same SAR I got: Code: 15:45:32,675 INFO [SARDeployer] nested deployment: file:/C:/jboss/server/arsol/ tmp/deploy/tmp4641arsol.ear-contents/arsol.sar-contents/postgres-ds.xml 15:45:34,363 WARN [ServiceConfigurator] Failed to complete install java.lang.ClassNotFoundException: No ClassLoaders found for: net.sf.hibernate.jm x.HibernateService at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:161) ... |
5. Problems deploying SAR in JBoss 3.2.3 forum.hibernate.orgI was using JBoss 3.2.1. Deployed the Hibernate SAR with no problems. I installed JBoss 3.2.3 and when I tried to deploy the same SAR I got: Code: 15:45:32,675 INFO [SARDeployer] nested deployment: file:/C:/jboss/server/arsol/ tmp/deploy/tmp4641arsol.ear-contents/arsol.sar-contents/postgres-ds.xml 15:45:34,363 WARN [ServiceConfigurator] Failed to complete install java.lang.ClassNotFoundException: No ClassLoaders found for: net.sf.hibernate.jm x.HibernateService at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:161) ... |
6. JBoss/Hibernate.sar: Values not persisted forum.hibernate.orgHi, i have a strange problem with JBoss&hibernate as a .sar: I have a SessionBean, that has to persist classes into the db, using the Hibernate-Sessions fetched from the .sar - I get no exceptions neither on openSession, beginTransaction, nor on tx.commit() - but the value is never saved to the Database - is there anything else I am missing here???! ... |
7. How to reload Hibernate SAR classpath in JBoss OR... forum.hibernate.org |
8. a issue of deploying the sar package on JBoss 4.0.0 forum.hibernate.org |
9. Error when deploying a sar package to Jboss 4.0.0!! forum.hibernate.org |
10. Error when deploying the sar package to JBoss 4.0.0 forum.hibernate.org |
11. Problem deploying sar file in JBoss 4.x forum.hibernate.orgGood day to all, I have been trying, unsuccesfully, to deploy my .sar in JBoss 4.x (I tried both with 4.0.1SP1 as with 4.0.4). By the look of it, it seems like it's trying to deploy the .sar before setting up the datasource, even thou the jboss-service declares the .sar dependant on the datasource. Any ideas? Regards domyalex Hibernate version: 2.1.7 ... |