JBoss 1 « JBoss « JPA Q&A





1. JPA reserverd keywords to postgres    stackoverflow.com

I'm using JPA with a postgres DBMS and I'm trying to create a new entity that maps to the table "User". This is a very common problem as User is a ...

2. Hibernate: Generate Statistics    stackoverflow.com

So in my persistence.xml I turned on hibernate.generate_statistics.

<property name="hibernate.generate_statistics">true</property>
My question is.. how do I access them? Where do the statistics go?

3. Hibernate status    stackoverflow.com

Does anyone know what's going on with Hibernate? For a few days hibernate.org was redirecting to "jboss.org," but for the past 2-3 days it's just showing a jboss.org maintenance screen. I ...

4. JPA+Hibernate: Change of createNativeQuery() + getResultList() behaviour?    stackoverflow.com

What I am going to describe is a bit of legacy code. So there is a lot of stuff I cannot touch/change. This pseudo-code runs well the in Jboss 4.0.3,

big_messy_sql = ...

5. Jasper reports & JBoss    stackoverflow.com

14:19:51,593 ERROR [STDERR] net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
C:\jboss-5.1.0.GA\bin\ceCertificateTemplate.java:4: package net.sf.jasperreports.engine does not exist
import net.sf.jasperreports.engine.*;
^
C:\jboss-5.1.0.GA\bin\ceCertificateTemplate.java:5: package net.sf.jasperreports.engine.fill does not exist
import net.sf.jasperreports.engine.fill.*;
^
C:\jboss-5.1.0.GA\bin\ceCertificateTemplate.java:13: package net.sf.jasperreports.engine does not exist
import net.sf.jasperreports.engine.*;
^
C:\jboss-5.1.0.GA\bin\ceCertificateTemplate.java:15: ...

6. IllegalStateException when using a custom SQLFunctionTemplate    stackoverflow.com

I am attempting to register function within Hibernate so that I can preform a coalesce within a count statement on a Oracle database. As there seems to very little in the ...

7. Hibernate: typecasting of proxies    stackoverflow.com

They say in the Hibernate Reference Documentation (21.1.3. Single-ended association proxies):

By choosing lazy="no-proxy" instead of the default lazy="proxy", you can avoid problems associated with typecasting.
Could you ...

8. Hibernate and JBoss    coderanch.com

9. jboss hibernate configuration    coderanch.com

hi Paul, i have done the hibernate jboss set up and it runs well but i don't get what are the changes made in order to use the mbean(second level cache). 1)in the jboss directory which file we have to change? 2)what is the code we have to write in class to access that mbean? thanks in advance, yogesh





10. Hibernate support in Jboss    coderanch.com

Hi folks, I heard that newer version of Jboss is going to have built in support for hibernate,it may or mayn't already released. I am not sure whether existed version 3.2.6 has any built in support for Hibernate. I would like to know your opinions on pros and cons of using Jboss for hibernate if at all any.anybody who really good ...

11. Hibernate in JBoss    coderanch.com

Hi, Can anybody pls give me a step by step procedure to follow in order to use Hibernate in JBoss, ie (building application using .har) as i am fairly new to Hibernate.I have read tutorials and i am able to deploy an application with Hibernate and deploy as WAR but i want to do it with .har (JBoss specific feature) can ...

12. JBOSS and Hibernate    coderanch.com

I am trying out the sample hibernate application available with the JBOSS admin guide. I get the following error when I try to execute a query : [QuerySplitter] no persistent classes found for query class: from org.jboss.hibernate.adminguide.Customer order by username Has anyone encountered this problem? This is the query I tried to execute Query query = hsession.createQuery("from org.jboss.hibernate.adminguide.Customer order by username"); ...

13. hibernate xml not found (jboss plug in)    coderanch.com

Hi Guys : Well I finally (by a stroke of luck) got hibernate to generate the mapping files - but now when I try to refresh them (Im using the jboss eclipse hibernate plug in) it sais "file not foudn dao/Actor.hbm.xml". I have checked and that xml file is in fact at that location. Any ideas as to why hibernate cant ...

14. Hibernate + Multi User Swing App + JBoss    coderanch.com

Hi Ranchers, I'm looking for some advice in how one would structure a hibernate driven swing application that can have multiple users, connecting to a database sat on a remote server away from the actual swing app. Currently, every instance of the application creates its own session factory and i have implemented my own handling of individual sessions in the swing ...

15. Using Hibernate with jboss    coderanch.com

Hi All, I'm very new to Hibernate. We have a requirement to use use Hibernate along with Message-driven beans. We are using Jboss as the app server. I have developed a sample stand alone Hibernate application and its working fine. But when i try to access it from my MDB, i'm getting the following exception. I have packaged everything into the ...

16. using JPA in Jboss    coderanch.com





17. Jboss IDE and Hibernate Tools    coderanch.com

hi ! i'm developing with seam and i'm using Eclipse ganymeed fo J2ee developement and added the jboss tools plugin to do my prgramming in the mentioned framework. im using jboss 4.2 and hsqldb 1.8. i wrote entities with JPA and sesseionbeans blablaba everything is working fine but i want to use this hibernate tools plugin for making queries against the ...

18. Hibernate config on JBOSS    coderanch.com

19. JBoss hangs at Hibernate initialisation    coderanch.com

I have an ear application, packaging a war and jboss seam and an EJB3 bean. The Seam is only used for scheduling. I use Hibernate, JPA 1.0, JBoss 5.1.0.GA and Oracle 11. During deploy, the JBoss hangs after the following lines: Server.log: 2011-06-20 13:20:35,140 INFO [org.jboss.jpa.deployment.PersistenceUnitDeployment] (HDScanner) Starting persistence unit persistence.unit:unitName=cs_ft.ear/lib/FT-DB-JPA-1.0-SNAPSHOT.jar#be.cs_ft.impl_FM-DB-JPA 2011-06-20 13:20:35,390 INFO [org.hibernate.cfg.annotations.Version] (HDScanner) Hibernate Annotations 3.4.0.GA 2011-06-20 13:20:35,421 ...

20. Is the patch for HHH-3220 in the latest JBoss/Hib. tools?    forum.hibernate.org

I just updated Eclipse 3.5 (Galileo) because I was getting the "org.hibernate.AssertionFailure: possible non-threadsafe access to the session" error the patch is supposed to fix. The Eclipse update installed what looks like v. 3.3.0 of the Hibernate Tools, but I'm assuming that since the patch is from more than a year ago it's probably included. I still randomly get the error, ...

21. No snapshots in snapshots.jboss.org repository?    forum.hibernate.org

22. what means org.jboss.aspects.tx.TxPolicy with RolledbackEx?    forum.hibernate.org

hello, in my production environment, I am seeing the following in the logs 2010-04-15 07:15:58,207 ERROR [org.jboss.aspects.tx.TxPolicy] (http-0.0.0.0-80-56) javax.ejb.EJBTransactionRolledbackException at many random times. There is no exception at all (though in my production a4j settings all ERROR level messages should be logged) I am using JBoss 5.1 - any help would be greatly appreciated.

23. Hibernate + JBOSS + LockAcquisitionException    forum.hibernate.org

Hi there! I am currently working on a project which is using Hibernate and JBOSS. The first strange thing that I notice is that, in the code, they don't use transactions. So, I guess that the transactions are managed by JBOSS. Said that, I am sometimes getting this exception: LockAcquisitionException. It is a cuncurrency issue (as the application is multi-threaded) I ...

24. TransactionException with JBoss    forum.hibernate.org

Hello, I am using JBoss 4.0.5, Hibernate 3 & Oracle 10.0.2.4, Recently, I got these Exception in JBoss: org.hibernate.TransactionException: could not register synchronization with JTA TransactionManager at org.hibernate.jdbc.JDBCContext.registerSynchronizationIfPossible(JDBCContext.java:164) at org.hibernate.impl.SessionImpl.checkTransactionSynchStatus(SessionImpl.java:1821) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1582) ... at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl [FormatId=257, GlobalId=irdtpnuap02/257, BranchQual=, localId=257] at org.jboss.tm.TransactionImpl.registerSynchronization(TransactionImpl.java:635) at org.hibernate.jdbc.JDBCContext.registerSynchronizationIfPossible(JDBCContext.java:153) ... 45 more Do you know the problem? ...

25. Shutdown JBoss not cleanly    forum.hibernate.org

Newbie Joined: Thu Feb 18, 2010 8:56 am Posts: 3 Hi, I deployed my application in JBoss. Everything works well, until JBoss shutdown not cleanly. I am using JBoss: version 5.1.0 and its build-in Hibernate 3.3.1.GA. Additionally because of using c3p0 ConnectionPool, I use also the c3p0-0.9.1.jar and hibernate-c3p0-3.3.1.GA.jar. They are added in my application libs folder. When I stop JBoss, ...

26. Please help with Hibernate JBOSS configuration    forum.hibernate.org

Author Message codeNombre Post subject: Please help with Hibernate JBOSS configuration Posted: Wed Sep 29, 2010 8:21 pm Newbie Joined: Tue Jul 27, 2010 7:51 pm Posts: 3 Hello there, I am trying to get my app running on JBOSS 5.0.1_GA. My app internally uses Hibernate 3.5.6 suite. And I know JBoss 5.0 uses somewhat older version. As a ...

27. jboss with hibernate problem: please help    forum.hibernate.org

Hi Everyone, i was using jboss and hibernate, but when i call save function, it is unable to locate hibernate.cfg.xml. the structure of my app is: B2BView depend on B2BController, B2BController depends on B2BModel, hibernate.cfg.xml file is in B2BModel i got the following exception: javax.faces.FacesException: Exception while calling broadcast on component : {Component-Path : [Class: com.icesoft.faces.application.SettableLocaleViewRoot,ViewId: /WEB-INF/web/user-register.xhtml][Class: com.icesoft.faces.component.UIXhtmlComponent,Id: j_id1][Class: com.icesoft.faces.component.UIXhtmlComponent,Id: j_id12][Class: ...

28. Jboss is down / DTD Lookup Fails    forum.hibernate.org

Hello friends - Hibernate 2 + 3 mixed application running on Tomcat 5. Application has been generally stable for several years. This morning, anyone who needed to rebuild their session factory started bombing out. Log files indicate a dom4j.DocumentException "Error on line 1 of document http://www.jboss.org/dtd/hibernate/hibe ... on-2.0.dtd : The markup declarations contained or pointed to by the document type delcaration ...

29. Hibernate not retrieving data with JBOSS    forum.hibernate.org

I am trying to get the following configured. Spring, Hibernate, Jboss 5.1, Mysql 5.14 dispatcher-servlet.xml Code: ... then error occurs as beow: 08:36:54,490 INFO [Binder] Mapping class: com.omnet.bean.Device -> device 08:36:54,490 INFO [Configuration] creating JCS cache region: com.omnet.bean.Device, usage: read-write 08:36:54,508 ERROR [Configuration] Could not configure datastore from input stream java.lang.NullPointerException at org.apache.jcs.config.OptionConverter.findAndSubst(OptionConverter.java:241) at org.apache.jcs.config.OptionConverter.instantiateByKey(OptionConverter.java:132) at ...

34. Hibernate JBoss & JRockit    forum.hibernate.org

Hi all, I'm interested whether somebody got combo to work.... I experianeced really strange errors, while trying to run under JRockit: 18:06:09,957 ERROR [InfobitConfig] unable to configure infobit manager java.lang.VerifyError: (class: net/sf/cglib/BCELBackend, method: if_icmpeq signature: (Ljava/lang/Object;)V) Incompatible argument to function at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at net.sf.cglib.CodeGenerator.class$(CodeGenerator.java:63) at net.sf.cglib.CodeGenerator.(CodeGenerator.java:105) at net.sf.cglib.KeyFactoryGenerator.(KeyFactoryGenerator.java:93) at net.sf.cglib.KeyFactory.create(KeyFactory.java:114) at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:318) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:618) at com.infodesire.infobit.hibernate.BaseSessionProvider.init(BaseSessionProvider.java:59) at com.infodesire.infobit.InfobitPool.init(InfobitPool.java:161) ...

35. JBoss configuration    forum.hibernate.org

36. Rules Engine: Hibernate JBoss DROOLS    forum.hibernate.org

We're investigating the use of mandrax for a business rules project for our organization. The rationale for using mandarax are based on it's use of backwards chaining and it's good set of support tools. Mandrax comes with it's own mechanism for converting your data model into "user objects", a place we thought that Hibernate would fit in well. It should be ...

37. jboss logo    forum.hibernate.org

38. Hibernate in JBoss    forum.hibernate.org

Hi, I'm having the same problem, and I _believe_ that I've configured the JCA MBean for the HibernateFactory correctly (I can find the MBean details in my JBoss jmx-console and they look sensible) Any thoughts on why, when I make the following call - SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory(); I get a the following exception ? 17:01:22,566 ERROR [HibernateServiceEJB] HibernateException thrown ...

39. hibernate not bound -jboss mbeans related issue    forum.hibernate.org

Dear all, I got the following messages when I issued standalone client Jndi look up to look for java:/hibernate/HibernateFactory javax.naming.NameNotFoundException: hibernate not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) jndi view from jboss seems indicate jndi successfully employed using sar as per hibernate JMX mbean installed method java: Namespace +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory) +- PostgresDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) ...

40. JBoss has chooses JDO ??    forum.hibernate.org

Hi, just a question to see who is right ... I've judt read an article on jdocentral.com written by Marc Fleury about the adoption of JDO by JBoss. .... (from jdocentral) JBoss chooses Java Data Objects ... According to Alexey Loubyansky, the author of JBossDO, At first, I planned to write our own framework for POJO persistence. I looked at Java ...

41. proble getting JBoss started    forum.hibernate.org

thanks for getting back to me. I've gotten past my original problem, but now when I'm when I do the buildSessionFactory api I get messages in my console window. The first message indicates no properties are found, yet I have tried the mbeans approach as well as putting the hibernate.cfg.xml under my META-INF directory..each without any luck Shouldn't the hibernate.cfg.xml go ...

42. Stuck with JBoss/Hibernate    forum.hibernate.org

Author Message dia100 Post subject: Stuck with JBoss/Hibernate Posted: Fri Dec 19, 2003 12:08 pm Pro Joined: Mon Sep 08, 2003 4:30 pm Posts: 203 Hi all, I am getting this when trying to deploy a SAR: .................. 2003-12-19 10:59:00,075 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/D:/jboss-3.2.2/server/default/deploy/MiddleTierEAR.sar 2003-12-19 10:59:00,122 INFO [org.jboss.deployment.SARDeployer] nested deployment: file:/D:/jboss-3.2.2/server/default/tmp/deploy/tmp59982MiddleTierEAR.sar-contents/MiddleTier1.jar 2003-12-19 10:59:00,138 INFO [org.jboss.deployment.SARDeployer] nested ...

43. Newbie Question about JBoss/Hibernate configuration    forum.hibernate.org

There is something wacky going on. Here is the deal... When I access my session bean, execute a simple method call, access the DAO, invoke Hibernate - First: The JBoss console logs output from Hibernate saying the hibernate properties are loaded. Great! Then: I am getting a FileNotFound exception, saying the hibernate.properties file cannot be found; then JBoss spits out a ...

44. Advice Requested: JBoss, Hibernate    forum.hibernate.org

I'm starting off on my 2nd project using Hibernate, but it's the first that I intend to use EJBs. Basically, my application will have a web presentation running probably in-VM with the application server and also have a Java application running as an alternative interface. Most of the access will be done through the client application, not the web site. Being ...

45. Jboss Setup: How to organize Classes for Development?!    forum.hibernate.org

Hi, i just started with using hibernate on jboss, using the tutorial( http://www.hibernate.org/66.html ) - I managed to deploy the .sar - however, I'm not sure, how to organize the classes: Right now, i have the persistent classes packaged with the sar: If i don't package them, hibernate complains with classnotfound - and I also saw, that ejb's can't load whats ...

46. Deploment problem with JBoss (the dialect was not set)    forum.hibernate.org

hi i tried to implement an example to integrate hibernate with jboss. i always get an exception message after this statement: Configuration cfg = new Configuration(); error message: net.sf.hibernate.HibernateException: The dialect was not set. Set the property hibernate.dialect. i see the service in the cmx-console and that the dialect is set?! any ideas, where i missed something regards pascal here the ...

47. hibernate + jboss ??    forum.hibernate.org

MySqlDSERP4ALL jdbc:mysql://your-server/your-database your-driver your-user-name your-password

48. JBoss with Hibernate    forum.hibernate.org

Hello, We just started using Hibernate 2.1.2 with JBoss 3.2.3RC1 and seem to be having a memory leak (also using Oracle 9.2). We have a client application that reads about 2000 objects (the object is read-only mapping) one at a time from the server. If I put this client application into a loop that runs every 30 seconds, we run out ...

49. Hibernate and JBOSS Example    forum.hibernate.org

Yes, this has gotten me most of the way there (I think?). I've created an entity bean and mapping file, and have tested this using a stand-alone application (generated the schema from the mapping file - all works ok). I've set up my jdbc connection and tested this as working using the J2EE tutorial CMP example. I've packaged up a SAR ...

50. JBoss/Hibernate-Architektur    forum.hibernate.org

Hi, is their any documentation about a 'clean' software-architektur using JBoss and Hibernate available. I've made my first experiences with that combintation. My feeling is, that their are too much mixes between business-logic and technical issues. I want to seperate my business-classes from my technical-classes (transaction, persistens). Any idea? Thnx and best regards CK

51. JBoss/Hibernate-Architektur    forum.hibernate.org

Hi, is their any documentation about a 'clean' software-architektur using JBoss and Hibernate available. I've made my first experiences with that combintation. My feeling is, that their are too much mixes between business-logic and technical issues. I want to seperate my business-classes from my technical-classes (transaction, persistens). Any idea? Thnx and best regards CK

53. Why did JBoss drop Hibernate in favor of JDO?    forum.hibernate.org

54. Can someone send me a complete ANT File working for JBoss ?    forum.hibernate.org

Hello This is a fragment of my build.xml file responsible for building JBoss' SAR service for Hibernate. I do not put my POJO classes in this archive and that is why the service is deployed properly after deploying the EAR application. I use Hibernate 2.1.1 and JBoss 3.2.4RC1. sincerely Olek

58. Problem when I want to use with JBoss    forum.hibernate.org

11:42:37,937 INFO [UpdateTimestampsCache] starting update timestamps cache at region: net.sf.hibernate.cache.UpdateTimestampsCache 11:42:37,953 WARN [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Jboss-3.2.3/server/default/lib/ehcache-0.7.jar!/ehcache-fai lsafe.xml 11:42:37,968 WARN [Plugin] Could not find configuration for net.sf.hibernate.cache.UpdateTimestampsCache. Configuring using the defaultCache settings. 11:42:37,984 INFO [QueryCache] starting query cache at region: net.sf.hibernate.cache.QueryCache 11:42:37,984 WARN [Plugin] Could not find configuration ...

59. Using hibernate with Jboss    forum.hibernate.org

Hello! I want to use Hibernate with JBoss, but I have many problems. I already read the page http://hibernate.bluemars.net/66.html , I have the following structure: org/mytest/objects/Usuario.class mappings/Usuario.hbm.xml META-INF/jboss-service.xml and jboss-service.xml like this: jboss.jca:service=RARDeployer jboss.jca:service=LocalTxCM,name=SigmaDS mappings/Attribute.hbm.xml java:/hibernate/HibernateFactory java:/SigmaDS net.sf.hibernate.dialect.PostgreSQLDialect net.sf.hibernate.transaction.JTATransactionFactory

60. Using Hibernate as a CMP implementation for JBoss.    forum.hibernate.org

Can anyone tell me about any plans to implement a CMP EJB container for JBoss using Hibernate technology? I understand that there is a certain "impedance mismatch" between CMP EJBs and Hibernate, and that it would be preferable to use Hibernate directly from the stateless session bean facade layer. The problem is that I am using a legacy implementation and would ...

61. JBoss & net.sf.hibernate.NonUniqueObjectException    forum.hibernate.org

Hello, We have recently moved our system to JBoss and started to have a mounting avalanche of net.sf.hibernate.NonUniqueObjectException. I cannot track where this is coming from, as it was running perfectly on Tomcat standalone. I tried the system on Weblogic - no problem whatsoever. Usually the problem appears when there is a one-to-many relation, and I retieve an object via another ...

62. [jboss]dumb question    forum.hibernate.org

No the hibernate.cfg.xml is not needed any more. If you get an error that the cfg file is missing then you should make sure that you are not using something like sessionFactoryMap.get(configFileName). If you are using the same code like the webpage you are pointing to then you should take a look at the web-console of jboss, there you should see ...

63. Using Hibernate with Jboss    forum.hibernate.org

Hello, I am using Hibernate with JBOSS. The first application I have is called test.war and the directory structure is follows: [ jboss\server\all\deploy\test.war ] |----[WEB-INF] | |----[classes] | | |----all classes | | |----hibernate.cfg.xml | | |----test.hbm.xml | | | |----[lib] | |----all hibernate jar files | |----all jsp files When I run this application everything works fine. The problem starts ...

64. hibernate in jboss & remote access    forum.hibernate.org

Hi, I have a hibenate app inside of my jboss running. I wrote my own MBean that is a clustered singleton in a jboss cluster. I have a kind of push mechanism where my clients need to register within the mbean and then i push hibernate pojo data to the clients. As far i accessing the mbean via jmx rmi remote ...

65. JBoss Management Console    forum.hibernate.org

Hi! I' using JBoss 3.2.4 and Hibernate 2.1.4 and would like to change the Hibernate configuration using the JBoss Management Console. When I, for example, turn on the ShowSQL Option and then click on "Apply Changes" nothing happens. I cannot see the generated SQL (it works fine when I turn it on in the jboss-service.xml). Is it not ment to work ...

67. Hibernate JBoss JAAS login module    forum.hibernate.org

Was curious to know if anyone has written a client side JAAS login module that uses Hibernate in a truly distributed application. That is, caching the principal for later use via the ClientLoginModule and another custom login module to perform the actual authentication. Currently our login consists of the creation of a LoginContext that upon login will simply cache the principal ...

68. New JBoss - Hibernate iteration complete    forum.hibernate.org

Newbie Joined: Sat Aug 14, 2004 6:44 am Posts: 17 Location: Auckland, NZ Just tried in JBoss 4.0RC2. It appear to mainly included here too, but have not got it to work yet. 1) EhCacheProvider not in the hibernate2.jar shipped with JBoss. The hibernate2.jar must therefore be older than hibernate 2.1.5. So I replaced the hibernate2.jar with that from 2.1.6 2) ...

69. Hibernate, JBoss and SessionContext name collision    forum.hibernate.org

Hi, I'm beginning to enjoy 3.2.6 and the new HAR stuff. My entities are now all hibernate POJOs, and I'm moving on to the manager/controller layer (almost totally SLSBs). However, there are two things about the boilerplate, I'd be grateful for opinions on... Code: public abstract class MyStatelessController implements SessionBean, MyController { protected static final String HIBERNATE = ...

70. data lost when jboss shutdown    forum.hibernate.org

first of all thank you very much for your replay here is the deal .. jbossRC2+hibernate-2.1.6+hypersonic i took the eg..../auction example hbm.xml's and classes , added a hibernate-xml , ejb interceptors(in standardjboss) and deployed it in a .HAR like: ----->meta-inf/hibernate-service.xml -->org --->hibernate ------->auction -------->example's hbm's and classes (by the way didnt specify in hiber'-svc.xml the resources jboss found it in deployment) ...

71. Problem with Hibernate and Jboss    forum.hibernate.org

jboss.jca:service=RARDeployer jboss.jca:service=LocalTxCM,name=projds .. .hbm.xmls java:/hibernate/HibernateFactory java:/projds net.sf.hibernate.dialect.OracleDialect ...

72. Jboss + Hibernate + XADataSource    forum.hibernate.org

Newbie Joined: Thu Jan 27, 2005 3:50 pm Posts: 1 This combinatios is possible? Im getting following exceptions when invocation my EJB save data using Hibernate... ps. the data are commited correctly.... 1) Jboss version: 15:04:58,671 INFO [Server] Starting JBoss (MX MicroKernel)... 15:04:58,703 INFO [Server] Release ID: JBoss [Zion] 4.0.1 (build: CVSTag=JBoss_4_0_1 date=200412230944) 2) Hibernate - configurations ...

73. JBOSS/Hibernate ColdfusionMX    forum.hibernate.org

Hi, I have JBoss 4.0.1RC1 sitting on one machine and ColdfusionMX7 sitting on another. I have a har deployed on Jboss as well as a session ejb to act as a DAO. Now all of these things work fine when I access the har or the DAO from a java client. I can access the DAOejb from a ColdFusion page, but ...

74. Hibernate and JBoss    forum.hibernate.org

Hi, I have to deploy my existing Hibernate code on JBoss. Its perfectly working standalone but giving exceptions 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(); ////////////// HIBERNATE.CFG.XML ////////////////////////////// true

75. Jboss hibernate distro vs hibernate.org distro    forum.hibernate.org

76. HibernateLoginModule in JBoss Portal    forum.hibernate.org

Hi, I'm using JBoss 4.0.0 and the new AOP feature for integration puposes. I guess it works with Hibernate3, not sure... Anyway, what I want to do is to perform a login to JBoss Portal programatically in an aspect. What I found out, is that JBoss Portal uses an JAAS LoginModule, called HibernateLoginModule. It's methods login() and commit() are called from ...

77. Steve: Small bug in jboss-head /hibernate module    forum.hibernate.org

Sorry Steve, I couldn't wait for 4.0.3 so I checked out HEAD of /hibernate module. After building the latest of a few other packages I appear to of gotten it working just fine in 4.0.2 RC1. However, you probably already have this fixed on your laptop but there appears to be a small error in: org.jboss.hibernate.jmx.Hibernate.java in HEAD. On line: 674 ...

78. Problem parsing configuration file under Jboss and HP OS    forum.hibernate.org

Newbie Joined: Wed Oct 13, 2004 10:29 am Posts: 3 Hi, I have a problem when make a hibernate3 based application into a jboss server (3.2.6 and 4.0) running under a HP UX-11 OS, the deploy make a parsing time out error, if I make the deploy under the same server but into a windows 2000 OS all is OK without ...

79. hibernate & jboss    forum.hibernate.org

80. Jboss/Hibernate problem?    forum.hibernate.org

82. config in managed environment (JBoss)    forum.hibernate.org

just getting started out with: jboss 4.0.2 spring 1.2 hibernate 3.0.5 sql server 7.0 (legacy!) I just finished reading Chapter 2, Hibernte In Action. Since I am running my web app under JBoss, they that it is "necessary" to set the factory class for the Hibernate Transaction API to JTA (rather than defaulting to JDBC) --- they go on to explain ...

83. JBoss working fine then fails. Anyone heard of this    forum.hibernate.org

Here is an update on my current error verbatm: WARN [org.apache.struts.action.RequestProcessor] Unhandled Exception thrown: class java.lang.NullPointerException ERROR [org.jboss.web.localhost.Enginer] StandardWrapperValve[projName]:Servlet.service() for projName threw exception java.lang.NullPointerException at ../../../../../.HibernateUtil.getSession() The .getSession class: session = HibernateContext.getSession(java:hibernate/SessionFactory); Hmmmm. Also I noticed that when I redeploy the jboss server, I print out two of my logger messages that have to do with a class called: Roles.java. These ...

84. My code works standalone and not on jboss    forum.hibernate.org

Hello, I have following problem I first describe it and then I give you my application code (it is long). I have a small bookmark manager with bookmarks in a many to many relations with categories. With unit tests I create and persist some categories then a bookmark with a java Set of categories and I persist it. Then I list ...

85. My code works standalone and not on jboss    forum.hibernate.org

Hello, I have following problem I first describe it and then I give you my application code (it is long). I have a small bookmark manager with bookmarks in a many to many relations with categories. With unit tests I create and persist some categories then a bookmark with a java Set of categories and I persist it. Then I list ...

86. JBoss-Hibernate Example    forum.hibernate.org

Hi all, i tried to deploy the jboss hibernate example which is often referenced in the forum from jboss cvs. I tried to run with 4.0.3RC1, changed import in players.jsp to com.hibernate.xy, changed the find()-method to createQuery() together with list() and in hibernate-service.xml the packagepath for attributes Dialect and CacheProviderClass, deployed it and it works. If i try to deploy in ...

87. Can't Retrive Data Using JBOSS    forum.hibernate.org

Newbie Joined: Tue Aug 09, 2005 1:42 am Posts: 8 Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: hibernate3.0 Mapping documents: Code between sessionFactory.openSession() and ...

88. Hibernate at JBoss World Barcelona    forum.hibernate.org

89. jboss vs Geronimo    forum.hibernate.org

90. Cross platform RMI issue with JBoss and Hibernate    forum.hibernate.org

Hibernate version: 2.17c Mapping documents: Code between sessionFactory.openSession() and session.close(): Full stack trace of any exception that occurs: Caused by: java.lang.ClassNotFoundException: net.sf.hibernate.collection.Set (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadClass(Unknown Source) at sun.rmi.server.LoaderHandler.loadClass(Unknown Source) at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source) at java.rmi.server.RMIClassLoader.loadClass(Unknown Source) at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown ...

91. hibernate+jboss+liferay+utf-8    forum.hibernate.org

Hi there! I've been "fighting" with a strange problem for about 5 days now and I can't find the sollution! The problem is, that wherever I try to put Polish signs in Portal i get a hybernate error: 12:37:03,484 WARN [JDBCExceptionReporter] SQL Error: -99999, SQLState: null 12:37:03,484 ERROR [JDBCExceptionReporter] 12:37:03,484 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception com.liferay.portal.SystemException: org.hibernate.exception.GenericJDBCException: could ...

92. hibernate jboss configuration problem production    forum.hibernate.org

Post Install : Oracle 9i - Jboss 4.0.2 - Hibernate 3.0.5 - JDK1.5 we have got many application in production. These are packaged as wars. Here is our configuration. OracleDS: OracleDS jdbc:oracle:thin:@xxx:1521:xxx oracle.jdbc.driver.OracleDriver xxx xxx 0 30 org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter Oracle9i hibernate.cfg.xml: java:/OracleDS ...

93. App fails on JBoss start, but redeploy works    forum.hibernate.org

Hi all, I am not quite sure if this is a JBoss or Hibernate error. When I have my application deployed in JBoss and start the server I get an error which seems to be during the hibernate object loading stage. But, once the server is started, if I redeploy my application everything works fine!! So this would suggest to me ...

94. jboss classpath issue?    forum.hibernate.org

It seems like my webapp is trying to use stuff under jboss/server/default/lib for some reason, but my web app should be using something under WEB-INF/lib. Any idea why this would happen? I have hibernate2 in my jboss lib directory and hibernate3 in my web-app lib directory. I want hibernate3, but my web-app is picking up hibernate2 which I don't want. help ...

95. how to set AutoCloseSessionEnabled = false, jboss & hibe    forum.hibernate.org

java:/repository org.hibernate.dialect.SQLServerDialect java:/hibernate/SessionFactory org.hibernate.cache.HashtableCacheProvider false ...

96. JBoss EMEA needs Hibernate Expert    forum.hibernate.org

97. Jboss and StaleObjectStateException problem    forum.hibernate.org

Author Message mitra Post subject: Jboss and StaleObjectStateException problem Posted: Mon Apr 10, 2006 8:24 am Newbie Joined: Mon Apr 10, 2006 7:47 am Posts: 1 Hi, I have a problem and can't resolve it. My application configuration: web tier(Spring MVC) -> business tier(Session EJB + Hibernate) -> database. Everything is deployed on JBoss. I deployed hibernate mapping classes ...

99. hibernate app migration from jboss to OC4J    forum.hibernate.org

Hibernate version: 2.1.8 I've been working on a hibernate 2.1.8 application that has been running fine on Jboss 3.2.8 for some time. For a client requirement, the final production server must be OC4J, in which we have succesfully deployed the app not without doing some changes, but right now we've tested it non-clustered. The questions are: - Has anybody used second-level ...

100. Hibernate (JBoss) plugin help    forum.hibernate.org

OKay I fixed it by using mysql connector 3.1.12 instead of 3.1.13 That is EXTREMELY weird. Why is it that hibernate only works with mysql connector 3.1.12 but not 3.1.13 ? And even stranger, howcome the only message shown is "error fetching children" ? Can somebody shed some light on this ?