jBoss 3 « JBoss « JPA Q&A





1. Using Hibernate 2.1 with JBoss 3.0.3    forum.hibernate.org

Hi, I'm using Hibernate 2.1 with JBoss 3.0.3. I get the following error while deploying my Web project: org.jboss.deployment.DeploymentException: jboss.jca:service=HibernateFactory, name=HibernateFactory is not registered.; - nested throwable: (javax.management.InstanceNotFoundException: jboss.jca:service=HibernateFactory, name=HibernateFactory is not registered.) My jboss-service.xml looks like: jboss.jca:service=RARDeployer jboss.jca:service=LocalTxCM,name= MySqlTestDS ...

2. Hibernate2 and JBoss 3.2.2RC2    forum.hibernate.org

I'm trying to launch Hibernate2 as an MBean under JBoss. I have Hibernate2.jar in my server/default/lib directory, and the jboss-service.xml in my hibernate.sar is: jboss.jca:service=RARDeployer jboss.jca:service=ConnectionFactoryDeployer mappings/TJdoTest.hbm.xml, mappings/TBundle.hbm.xml, mappings/TMaterial.hbm.xml java:/hibernate/HibernateFactory java:jdbc/SybaseDS net.sf.hibernate.dialect.SybaseDialect net.sf.hibernate.transaction.JTATransactionFactory net.sf.hibernate.transaction.JBossTransactionManagerLookup false false

3. Hibernate issues on Orion 2.0.2, but not JBoss 3.2.2.    forum.hibernate.org

Now while this looks like it is not specifically a Hibernate issue (but will affect Hibernate users on Orion), I'm hoping someone out there will know enough about EJB containers (in particular Orion) to be able to point me in the right direction?? My best guess so far is that this is related to Serialization somehow. Any ideas??

4. how to use oracle8i & jboss3.2.1 together?    forum.hibernate.org

jboss3.2.1 has a oracle9i jdbc driver and our project uses oracle8i as database. When I deploy our project to jboss3.2.1, hibernate2 composes sql for associative table like "left outer join". But oracle8i does not support this kind of sql. I guess the reason is hiberate2 composes sql by special jdbc driver, now jboss3.2.1 using oracle9i jdbc driver. How can I resolve ...

5. how to use oracle8i & jboss3.2.1 together?    forum.hibernate.org

jboss3.2.1 has a oracle9i jdbc driver and our project uses oracle8i as database. When I deploy our project to jboss3.2.1, hibernate2 composes sql for associative table like "left outer join". But oracle8i does not support this kind of sql. I guess the reason is hiberate2 composes sql by special jdbc driver, now jboss3.2.1 using oracle9i jdbc driver. How can I resolve ...

6. Hibernate 2.1/jBoss 3.2.2    forum.hibernate.org

A couple of things to note: I do not have my Hibernate Java class files in the SAR. In my case, the class files are used by the rest of my code including a WAR, so I have them in a separate jar that is in my EAR classpath. In my experience with JBoss, code in a WAR cannot find classes ...

7. jBoss 3.x.x/Hibernate virtual hosting    forum.hibernate.org

hello, i have done a search and couldn't find anything on this. has anyone setup hibernate for virtual hosting with jboss? or has anyone done it using a SAR? now that i have finally gotten everything working properly (thanks to everyone who helped). i would like to see if i can get it to work in a named based virtual hosting ...

8. Multiple Hibernate 2.1.1 SARs w/ JBoss 3.2.3    forum.hibernate.org

9. 2.1.2 + jboss 3.2.0 - migration problem    forum.hibernate.org

Hi all, I tzried to migrate existing app, and prompty got an exception: java.sql.SQLException: JDK1.4 method not available in JDK1.3 at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at net.sf.hibernate.util.GetGeneratedKeysHelper.prepareStatement(GetGeneratedKeysHelper.java:39) at net.sf.hibernate.impl.BatcherImpl.getPreparedStatement(BatcherImpl.java:246) at net.sf.hibernate.impl.BatcherImpl.prepareStatement(BatcherImpl.java:61) at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:524) at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:432) at net.sf.hibernate.impl.ScheduledIdentityInsertion.execute(ScheduledIdentityInsertion.java:29) at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:906) at net.sf.hibernate.impl.SessionImpl.doSave(SessionImpl.java:839) at net.sf.hibernate.impl.SessionImpl.saveWithGeneratedIdentifier(SessionImpl.java:757) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:720) As you may assume java version is: 1.4.1_02 Anybody seen ...





10. Hibernate 2.1/JBoss3.2.3 mult-host or vhosting    forum.hibernate.org

Hello, Been a while since i have had to post anything! Hibernate is working GREAT! My question/issue is I have successfully deployed an app using hibernate on a jboss install and have a few other webapps that i am in the process of migrating to hibernate. Since the first app has hibernate deployed as a SAR, I shouldn't have to re-wrap ...

11. Jboss3.2.3 and ArrayIndexOutOfBoundsException    forum.hibernate.org

I was a fully working application in hibernate/struts/jboss3.2.2 But when i tried to upgrade the jboss to 3.2.3 I get this error message: 3:44:53,497 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.postgresql.util.PSQLException: Something unusual has occured to cause the driver to fail. Pl ease report this exception: Exception: java.lang.ArrayIndexOutOfBoundsException: 1 ...

12. hibernate 2.1 jBoss 3.2.3 SingleSignOnContextConfig problem    forum.hibernate.org

Never mind --- I figured it out, I have started to use Maven and it does things a bit differently than you would think. It was caused by not have a / in the EAR project.xml that ref the WAR. doh... Now however, it is telling me it is having a problem starting hibernate Code: WARN [org.jboss.system.ServiceController] Problem starting service ...

13. Strange problem with hibernate (2.1.2 ) and jboss ( 3.2.3 )    forum.hibernate.org

Hi all, I'm stuck. I got: - hibernate 2.1.2 - jboss 3.2.3 - java --%<------------- java version "1.4.1_03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02) Java HotSpot(TM) Client VM (build 1.4.1_03-b02, mixed mode) ---%<------------- For a while my app runs just fine , but then out of the sudden: Code: 2004-03-26 15:47:11,179 DEBUG [webwork.util.ServletValueStack] findValue() for: query="'/images/platform/logo_hddbi.gif'" {[id="/images/platform/l 2004-03-26 15:47:11,180 ...

14. HibernateContext and JBoss 3.2.3    forum.hibernate.org

15. jboss-hibernate support for 3.0    forum.hibernate.org

Does anyone have any idea how the current jboss-hibernate, that comes with Jboss 4.0.2, is at supporting Hibernate 3.0? Is it currently possible to deploy a .har for hibernate3 using annotations? If not is this ability in CVS Head for jboss-hibernate? Is there anything else to bring to mind regarding 3.0 support in Jboss 4.0.2? Mike

16. Newbie to Hibernate 2 and JBoss 3.2.7    forum.hibernate.org

mappings/Foo.hbm.xml java:/hibernate/HibernateFactory java:/MySQLDS java:/hibernate/SessionFactory ...





17. Garbage collection madness with Hibernate 3.0 (and JBoss)    forum.hibernate.org

Hi, We have just upgraded from Hibernate 2.1.7 to Hibernate 3.0, running on both JBoss 4.0.2 and JBoss 4.0.3. In terms of databases, we use HSqlDB, MySQL and MS SQL Server. For platforms, we have a combination of Mac OS X and Linux (Redhat and Ubuntu). We have tried to explore this problem with both no 2nd level cache and with ...

18. How to run Hibernate 3.1 in JBoss 3.2.x?    forum.hibernate.org

We're running jboss-3.2.7 and trying to upgrade to Hibernate 3.1. I've followed the Hibernate3 Migration Guide, but ran into conflict with jboss's jboss-hibernate.sar which is Hibernate 2.x. Specifically I get a ClassCastException on deployment of my application's hibernate sars, no doubt because they're 3.0 and trying to load in concert with the 2.0 jboss/hibernate deployment. I've seen mention of plans for ...

19. bug of hibernate3---when use it in jboss portal 2.21RC2    forum.hibernate.org

As steve stated, EHCache is static so if two caches (from differents applications usually) have the same name, the second cache will not start. I've already experienced this problem using Hibernate inside JBoss, in my case it was because I deployed twice the same app. Maybe you can solve your problem by creating your own cache region names so they do ...