HAR « JBoss « JPA Q&A





1. Migrate HAR hibernate archive to JBoss 7    stackoverflow.com

I'm migrating an application packaged as a HAR hibernate archive from JBoss AS5 to AS7. I have a number of questions, and I know I have a number of hurdles ...

2. Hibernate on JBoss - .har question    forum.hibernate.org

Hi All: I am struggling with configuring my application to use hibernate from inside JBoss. I am running JBoss 5 (Jboss-5.1.0.GA). I am trying to deploy my persistence classes as part of a .har file inside my ear file. The hibernate-service.xml looks like this: Code: ...

3. Error on deploying the har(HibernateARchive) in JBoss 4.0.0    forum.hibernate.org

Author Message truecolor Post subject: Error on deploying the har(HibernateARchive) in JBoss 4.0.0 Posted: Thu Sep 30, 2004 5:28 am Beginner Joined: Mon Sep 27, 2004 3:48 am Posts: 23 I replaced the hibernate2.jar v2.1.5 shipped with jboss4.0.0 with the hibernate.jar v2.1.6, and did not update the jboss-hibernate.jar. I created a folder named myHibernate.har under D:\jboss-4.0.0\server\default\deploy, then copied the ...

4. jboss 3.2.7RC1+MySql4.0.13 Har deployment problem. SOS!!!    forum.hibernate.org

Author Message wangchen_ca@hotmail.com Post subject: jboss 3.2.7RC1+MySql4.0.13 Har deployment problem. SOS!!! Posted: Wed Nov 10, 2004 9:11 pm Newbie Joined: Fri Nov 05, 2004 4:29 pm Posts: 6 Hi: I have spent several days to try to build a Hibernate Mbean service in jboss and all failed. I think I have read all related docs from JBoss, Hibernate and ...

5. Har + Hibernate3 + Jboss error    forum.hibernate.org

Login Register FAQ Search View unanswered posts | View active topics Board index Hibernate & Java Persistence Hibernate Users All times are UTC - 5 hours [ DST ] Har + Hibernate3 + Jboss error Page 1 of 1 [ 3 posts ] Previous topic ...

6. jboss 4.0.2 hibernate 3 cannot deploy har    forum.hibernate.org

It looks like HARDeployer doesn't see hibernate project smsbidservice.har at all ! So it cannot deploy it Could anyone explain me why? Hibernate version:3 hibernate-service.xml: java:/SmsFactoryDS java:/hibernate/SmsFactory org.hibernate.dialect.PostgreSQLDialect org.hibernate.cache.HashtableCacheProvider true server.log: 2005-05-04 01:41:00,468 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/usr/local/java/jboss-4.0.2/server/thunder/deploy/smsbidservice.har/ 2005-05-04 01:41:00,468 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/usr/local/java/jboss-4.0.2/server/thunder/deploy/smsbidservice.har/ ...

7. how to set auto_close=false with har & jboss-4.0.1    forum.hibernate.org

I don't see any properties that allow me to set auto_close to false and I rely heavily on lazy loading until the end of the request cycle in a servlet application. Any transaction that is completed currently closes the session. How can I turn auto_close off using the hibernate3 har in jboss-4.0.2? Thanks.

8. Jboss 4.0.2 and hibernate.har problems    forum.hibernate.org

Regular Joined: Fri Oct 08, 2004 4:11 am Posts: 78 Location: Nottingham, England Hi, I am migrating from Jboss 4.0.0 to 4.0.2 and my problem is that the hibernate.har is not deploying. I simply copied the hibernate.har directory from Jboss 4.0.0 and placed it in the deploy folder of 4.0.2. Is this the wrong approach to take, what do I need ...

9. New Caveat Emptor + HAR Deployment + JBoss 4.0.2    forum.hibernate.org

Newbie Joined: Fri Jul 15, 2005 10:02 am Posts: 12 I am writing a web app which uses the HibernateUtil class from the new Caveat Emptor for Hibernate3. I had to change a few things due to the HAR deployment (removed the building of a session factory as JBoss does this for you with a HAR). But I am running into ...





10. Problem configuring service jboss.har:service=Hibernate    forum.hibernate.org

Hi , When we are trying to deploy the Hibernate application into JBOSS AS, we are getting the following errror. Can you please suggest what is wrong ? -------------------------------------------------------------------------------------- Problem configuring service jboss.har:service=Hibernate org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=DeployedTreeCacheObjectName value=jboss.har:service=HarSecondLevelCache on mbean jboss.har:service=Hibernate; - nested throwable: (javax.management.AttributeNotFoundException: not found: DeployedTreeCacheObjectName) at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:573) at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:323) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:164) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118) at org.jboss.system.ServiceController.install(ServiceController.java:200) at ...

11. help packaging har's - deployed on jboss    forum.hibernate.org

I'm having a tough time getting Hibernate to work with JBoss. JBoss-4.0.2, Hibernate 3.1.2 and Hibernate-Tools There seems to be a few problems: * jboss' version of hibernate * the version I use to compile Initially I received an incorrect version error: Code: The content of element type "version" must match "(meta)*" Basically, guessed that the version of Hibernate that I ...

12. JBoss har deployment    forum.hibernate.org

Ok, I've looked everywhere, and I can't find a direct answer to this question: Do the mapping files HAVE to accompany the class files they map to in the har file ? What I would like to do is compile the class files into a jar, that becomes a library inside the containing EAR deployment. Is this possible ? Thanks!

13. Organize HAR Jboss    forum.hibernate.org

Hi, I am a newbie in hibernate/jboss and I need some advice :-) My app is based on about 200 db tables and I would to know how to organize the structure of the project. Is it better to have only one har file or one for each table ? Thanks, Regards, ps: I am using eclipse IDE

14. Hibernate.har placement within Jboss 5.0.0.CR1    forum.hibernate.org

Author Message beyarecords Post subject: Hibernate.har placement within Jboss 5.0.0.CR1 Posted: Tue Jun 03, 2008 5:53 pm Regular Joined: Fri Oct 08, 2004 4:11 am Posts: 78 Location: Nottingham, England Hi, my project structure is as follows: Jboss 5.0.0.CR1 Win Xp SP1 JDK 1.0.0_06 default: - deployers/ejb3.deployer/ postgresql-8.2.504.jdbc4 - deploy/ hibernate.har postgres-ds As I am unable to find any ...