1. Hibernate error while trying to start WAS 6.1 stackoverflow.comWhen I try to start the WAS 6.1, I get the error:
|
2. java.lang.ClassCastException: com.ibm.ws.jpa.management.JPATxEntityManager stackoverflow.comI have a restful webservice using eclipselink2.0 as JPA provider deployed on WAS vs 7.0.00.19 with OSGI and JPA2.0 feature pack. I have created a shared library for the application pointing to ... |
3. OpenJPA error in websphere 6.1 stackoverflow.comMy persistence.xml looks something like:
|
4. Hibernate Sample in Websphere coderanch.com |
5. Enable Hibernate statistics MBean on Websphere coderanch.comHas anyone tried getting Hibernate sessionFactory Statistics MBean working on Websphere appserver 6.0? If yes, can someone provide the guidelines please. I could create Hibernate as a service in Websphere and initialize hibernate at server startup time, but am unable to find out how to get statistics as an Mbean on Websphere application server. I will post the solution if I ... |
6. Connecting to WebSphere datasouce with Hibernate coderanch.comI'm having a problem getting a datasource from WebSphere when using Hibernate. Here are my datasource connection settings in my hibernate.cfg.xml file (stack trace at bottom of post) |
7. Hibernate 2 and Websphere 6 coderanch.com |
8. Websphere 7 and OpenJPA coderanch.comHi I have been developing an application under Glassfish for the past few weeks, but have recently decided to change to Websphere 7. But when I deplyed my app, whilst everthing seemed fine, I have found that when I INSERT into a table, whilst teh app creates a new row, it is populating all the fields with 'NULL', even though the ... |
9. Websphere 6.1 + Hibernate 3.5 + JPA 2.0 not working coderanch.com |
10. "comp/UserTransaction" not found when using Websphere forum.hibernate.orgHi! We get the following error when we try to create a Hibernate Session in an EJB: [2010-04-23 16:21:02:788 CEST] 00000029 webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[HibTestServlet]: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: ; nested exception is: org.hibernate.TransactionException: Could not find UserTransaction in JNDI: at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:235) ...... Caused by: org.hibernate.TransactionException: Could not find UserTransaction in JNDI: ... |
11. Anybody ever made Hibernate+JPA 2.0+Websphere 6.1 work? forum.hibernate.org[11/18/10 13:36:49:193 EST] 00000027 ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "makePersistent" on bean "BeanId(HibernateWAS_EAR#HibernateWAS_EJB.jar#MyEntityDAO, null)". Exception data: java.lang.NullPointerException at com.ibm.ws.jpa.management.JPAEMFactory.createEntityManager(JPAEMFactory.java:108) at com.ibm.ws.jpa.management.JPATxEntityManager.getEMInvocationInfo(JPATxEntityManager.java:211) at com.ibm.ws.jpa.management.JPAEntityManager.persist(JPAEntityManager.java:110) at com.bmo.persistence.GenericDAOImpl.makePersistent(GenericDAOImpl.java:64) at com.bmo.persistence.EJSLocal0SLMyEntityDAO_0bdfb2d1.makePersistent(EJSLocal0SLMyEntityDAO_0bdfb2d1.java) at com.bmo.servlet.MyServlet.doPost(MyServlet.java:52) at ... |
12. Hibernate as JPA provider with WebSphere 7 forum.hibernate.orgHi, I use hibernate 3.2.2 instead of openjpa as JPA 1.0 provider for my EJBs. All hibernate dependencies are put into a WAS shared library and EAR with EJB jars refers them. The application starts well and seems no exceptions are printed in any level. Query entity operations work very well. Whereas I find each update/insert operation cannot be done to ... |
13. Issues using HIbernate 2.1.8 on WebSphere for Dist. T'xns. forum.hibernate.orgHello, Here is my Configuration - Hibernate - 2.1.8 WebSphere - 6.1.0.0 Oracle - 10g We have two EJB's with business methods which needs to communicate and update info in the DB. The work done across EJB's should be committed as a single unit. Either all changes done by both EJBs needs to be committed or rollbacked if either of these ... |
14. Hibernate + Websphere 7 strange problem forum.hibernate.orgHello, I am using Hibernate 3.6.5 and I'm facing a very strange problem, with IBM Websphere. The server I'm using is Websphere 7.0.0.13 with JPA 2 feature-pack version 1.0.0.3, and I configured the server to use parent-last class loader as the IBM JPA 2.0 documentation stated. The DB server is MS SQL-Server 2008. Entities mapped by annotations. Deployment goes fine, and ... |
15. Hibernate And WebSphere forum.hibernate.orgNewbie Joined: Tue Sep 30, 2003 10:08 am Posts: 7 Location: Turkey I'm a new hibernate user, so first of all I want to say hello to everybody. I am planning to migrate a large EJB(with Entity Beans) project to Hibernate + Session Beans in WebSphere platform. I first downloaded hibernate a couple of days ago and I'm still trying to ... |
16. really nasty problem with websphere (already solved) forum.hibernate.orgjust tried to get hibernate running in wsad 5.1 ... everything went fine till i started to get a .../AbstractEntityPersister.getTableName exception. This occured in the TestEnvironment in non-debug mode. So i tried to switch to debug mode (setting a breakpoint on the offending line) - but hey everything was ok - no exception whatsoever. So i switched off the new feature ... |
17. JCS.getInstance() throws NullpointerException in Websphere forum.hibernate.orgHi, We are using hibernate in our application. When we call configuration.buildSessionFactory(), internally , the hibernate apis create an instance of JCS. I am getting an NullPointerException here. Error: caused by java.lang.NullPointerException at org.apache.jcs.config.OptionConverter.findAndSubst(OptionConverter.java:298) at org.apache.jcs.config.OptionConverter.instantiateByKey(OptionConverter.java:186) at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseElementAttributes(CompositeCacheConfigurator.java:371) at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:261) at org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion(CompositeCacheConfigurator.java:243) at org.apache.jcs.engine.control.CompositeCacheManager.getCache(CompositeCacheManager.java:356) at org.apache.jcs.engine.control.CompositeCacheManager.getCache(CompositeCacheManager.java:315) at org.apache.jcs.engine.control.CompositeCacheManager.getCache(CompositeCacheManager.java:308) at org.apache.jcs.JCS.getInstance(JCS.java:103) at net.sf.hibernate.cache.JCSCache. |
18. hibernate 2.1 and Websphere 4 in WSAD forum.hibernate.orgI am struggling with this problem. Please help MY hibernate.cfg.xml looks like this. |
19. Hibernate 1.2.5 and Websphere 5.1 forum.hibernate.org |
20. WebSphere StaleConnectionException fix forum.hibernate.orgThis topic has actually been discussed before and a solution is posted as a FAQ. However, this solution does not provide a reasoning behind it, so I thought I would follow up just to clarify. We have been experiencing a StaleConnectionException for some time, and we narrowed it down to WebSphere's pooling as the culprit (surprise - kind of like when ... |
21. Hibernate JCA and WebSphere forum.hibernate.orgNewbie Joined: Tue Jun 29, 2004 12:18 pm Posts: 5 Location: Anaheim, CA Hello all, I am trying to use the Hibernate 2.1.4 JCA adapter in WebSphere 5.1 and have a few questions. There seems to be a shortage of documentation and discussion on the JCA adapter in anything but JBoss. Can someone point me to a good resource for information? ... |
22. Hibernate - Websphere forum.hibernate.orgHiberanate 2.1.4 , Websphere 5.1 , MSSQL 2000 I have a stateless EJB with a method doProcessing(). The doProcessing() method gets a Hibernate session using ThreadLocal pattern and gets some data from the database using the session.Load() method. Using this data , it calls a DAO method which has straight JDBC call for complex sql. The DAO method uses the getDataSource().getConnection() ... |
23. Problem running Hibernate in WebSphere forum.hibernate.orgHi, I am trying to use Hibernate as the OR mapping tool within WebSphere Application Server. loadParents method is a session bean method with TX attribute Required. The data retrieval logic of session.find works fine standalone however when I add the update logic with the transaction begin and commit portion I get the exception trace attached. The config.xml is also attached ... |
24. WebSphere and Hibernate integration forum.hibernate.orgIs there any specific setting that needs to be done to integrate Hibernate with WebSphere. I am using WAS 5.0 and hibernate 2.1.2. I tried creating/updating data using a Web application and using only a Session bean. The callout using a web application worked and but for some reason callout using purely session bean is not working. In both the cases, ... |
25. Websphere and JTATransaction forum.hibernate.orgThis is what I did in weblogic! with Oracle |
26. How to deploy Hibernate on Websphere Application Developer? forum.hibernate.orgHi, I don't have much experience with WSAD but i want to deploy an enterprise application that uses hibernate on this environment. In JBoss 3.2.5 i do the following: 1. Config and deploy mysql1-ds.xml on jboss-3.2.5/server/default/deploy directory 2. Create myproject.sar file (which contains the classes of my objects, its mapping files - *.hbm.xml and the jboss-service.xml) and and deploy this file ... |
27. Problem with Websphere 5.1 forum.hibernate.orgFollowing is the code iam executing from a stateless session bean in Websphere 5.1: Session s = Singleton.getInstance().getSessionFactory().openSession(); Dept d = new Dept(); d.setName("IT"); System.out.println("Dept ID:" + d.getId()); s.save(d); System.out.println("Dept ID:" + d.getId()); s.close(); This method is running under CMT but after completion of method execution, the row is not inserted into Database but sequence is get forwarded. Following is the ... |
28. WebSphere classloaders and ClassCastExceptions forum.hibernate.orgHibernate version: 2.1.6 The following line in net.sf.hibernate.connection.ConnectionProviderFactory throws a ClassCastException when I run my applications within WebSphere: (ConnectionProvider) ReflectHelper.classForName(providerClass).newInstance(); I have found the cause of the problem, but I don't know how to solve it. The problem is caused by different classloaders loading ConnectionProvider and my class that implements ConnectionProvider. To prevent this problem, wouldn't it be safer to write: ... |
29. problem J2CA0086W in websphere forum.hibernate.orgHibernate version: 2 Mapping documents: all mapping documents are good Code between sessionFactory.openSession() and session.close(): Logger log = Logger.getLogger(this.getClass()); Session session = newSession(NOMDESESSION); List listeAction; int ficheValidation = getCodeDocument(codeAction); try { StringBuffer requete = new StringBuffer(); requete.append("select new fr.bdpme.fcp.business.service.metier.Evenement("); requete.append(" teactfcp.nactfc, teactfcp.tedocfcp.ndocfc, teactfcp.ctactf,teactfcp.cetact,"); requete.append(" teactfcp.dcactf, teactfcp.hacfcp, teactfcp.dtacti, teactfcp.cmatriAffec, teactfcp.cmatriReal,"); requete.append(" teactfcp.cnprop, teactfcp.cnvali, teactfcp.ltcomm, teactfcp.telicrre.nlcref, "); requete.append(" teactfcp.udemaj, teactfcp.sdemaj) "); requete.append("from fr.bdpme.fcp.business.bean.Teactfcp ... |
30. Hibernate used in WebSphere 5.1 forum.hibernate.orgFull stack trace of any exception that occurs: [10/27/04 10:03:50:356 EDT] 129c146c JDBCException W net.sf.hibernate.util.JDBCExceptionReporter SQL Error: 0, SQLState: null [10/27/04 10:03:50:372 EDT] 129c146c JDBCException E net.sf.hibernate.util.JDBCExceptionReporter Outstanding work on this connection which was not comitted or rolledback by the user has been rolledback. [10/27/04 10:03:50:372 EDT] 129c146c JDBCException E net.sf.hibernate.util.JDBCExceptionReporter Cannot close connection [10/27/04 10:03:50:388 EDT] 129c146c JDBCException E net.sf.hibernate.util.JDBCExceptionReporter ... |
31. Experience with Websphere or Netweaver forum.hibernate.orgShould wor is also my feeling, but what are the dangerous points? For me the following things are bound to the used application server: Transactionmanagement, ConnectionPooling, support for MBeans, JCA and maybe clustered Caches (I'm not shure about this). To be more concrete on my question: I found documentation showing, that TransactionManagement and ConnectoinPooling of Websphere can be used from hibernate, ... |
32. WebSphere/Hibernate - NoClassDefFoundError forum.hibernate.orgMy application tries to instantiate net.sf.hibernate.cfg.Configuration and we get NoClassDefFound. What's odd is that the hibernate2.jar is there (WEB-INF/classes), the Configuration.class file is inside of the jar, it's visible to the IDE so I can use code-complete and everything compiles just fine. Yet at runtime the classloader can't find it at runtime?! Using WSAD 5.1.2 & WAS 5.1 Any ideas? |
33. Hibernate on Websphere linkage error? HELP!! forum.hibernate.orgHowdy, We are new hibernate users that have been working on a websphere portal application developed using the Websphere Application Developer (5.1.2). Our application works in the development environment fine, but when we deploy it to our WAS we get a linkage error in our system log that points to an error with net.sf.hibernate.xml.XMLDatabinder.getOutputStyleSheetTemplates. We are getting kind of desperate to ... |
34. Alternate Calls fails in WebSphere. forum.hibernate.orgCurrently I am using Hibernate in WebSphere 5.1.2 using JTA. When I call the EJB, the first call succeeds. Data gets inersted into the table through Hibernate. When I issue another call on the same EJB, the call now fails. Third call succeeds and so on. In short, only "Alternate Calls" to EJB succeeds. I have listed the error stack that ... |
35. NullPointerException in Websphere forum.hibernate.orgHibernate version: 2.1 Mapping documents: |
36. CMT and WEBSPHERE forum.hibernate.orgcompletion to post above: this code i posted above works fine. But if i change the not-null of the key-column to "false" the relation is not stored, that means the value in the index-column of the relation is null I have tested the problem with a JUnit test case, therefor i changed from CMT to manual transaction handling. There i can ... |
37. Is Hibernate2 working in Websphere 6.0? forum.hibernate.orghi all, I tried to configure Hibernate 2 to run in Websphere 6.0 but unfortunately if failed. Some of the exception i manage to capture : [4/13/05 23:47:28:750 SGT] 00000034 SystemErr R java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code)) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at net.sf.hibernate.transaction.WebSphereExtendedJTATransactionLookup$TransactionManagerAdapter$TransactionAdapter.registerSynchronization(WebSphereExtendedJTATransactionLookup.java:205) at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3368) at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3333) ... ... ... Caused by: (no cause) ... |
38. Hibernate 3.0.1 supported in Websphere 5.0 forum.hibernate.org |
39. Hibernate with WebSphere forum.hibernate.org |
40. Websphere 5 & NoClassDefFoundError forum.hibernate.orgIs it possible to use hibernate 3.0.2 with JDK 1.3? I'm using Websphere 5 Application Developer and I get a NoClassDefFound error for the antlr/RecognitionException when trying to execute a query. I did set the -Xverify:none option in the wsappdev.ini but that doesn't help it either. I got the same error with the Connector/J and had to rely on a previous ... |
41. No Execution and No Errors in Websphere 5.1.x forum.hibernate.orgimport org.hibernate.HibernateException; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.Transaction; import com.dataaccess.dvo.AgentMessageDVO; public class AgentMessageDAO { public void save(AgentMessageDVO agentMessageDVO) throws Exception { System.out.println("save: start"); Session session = null; try { System.out.println("save: start: in try-block with Hibernate Exception"); } ... |
42. WebSphere Portal 5.0 and Hibernate 3.05: Strange behaviour forum.hibernate.orgNewbie Joined: Mon Aug 08, 2005 10:50 am Posts: 7 [b]Hibernate version:[/b] 3.05 [b]Mapping documents:[/b] [code] |
43. Hibernate with Websphere 6 -> how to deploy? forum.hibernate.orgHi, I want to deploy a Session Bean on Websphere 6 wich access a database via hibernate 2. I always get the exception-> hibernate.cfg.xml not found. Where have I to deploy the hibernate.cfg.xml??? inside the jar/ear or somewhere on the root folder of the application server? can anybody help me? bye Matthias |
44. Problems with Hibernate 3.0.5 and Websphere 5.0.2.12 forum.hibernate.org |
45. Hibernate 3.0.5 w/WebSphere 6 forum.hibernate.orgHi All, I am trying to use Hibernate 3 w/WAS 6. Below is my hibernate.cfg.xml file. |
46. Hibernate and websphere 4.0.5 forum.hibernate.org |
47. WebSphere 6 / Hibernate 3.0.5: ENC forum.hibernate.org |
48. XAException using Hibernate 3 and Websphere 5.1 forum.hibernate.orgHi I'm having problems with CMT transactions. Any ideas would be appreciated. I'm running inside a session bean that uses CMT. The following code completes without errors, but when the transactions ends I get an exception. Code: SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory(); Session session = sessionFactory.getCurrentSession(); session.save(periode); Configuration: Code: ... |
49. Problem with Hibernate in WebSphere 6.0 forum.hibernate.org |
50. WebSphere 6 and WebSphereExtendedJTATransactionLookup forum.hibernate.orgHibernate 3.0.5 WebSphere 6 Hi, We are trying to make use of CMT through a datasource and for the same have the correct properties set. |
51. HibernateException:Could not obtain WebSphere JTSXA instance forum.hibernate.orgNewbie Joined: Thu Jan 12, 2006 11:06 am Posts: 1 Hi , I am getting org.hibernate.HibernateException: org.hibernate.HibernateException: Could not obtain WebSphere JTSXA instance exception. .I am using webshpere 5.0.2 Application Server on Solaris ,but when i am using same code in WebShpere 5.0 on windows it is working fine .My hibernate version is 3.0 my hibernate.cfg.xml |
52. hibernate 2.1.4 vs WebSphere 6.0.2 forum.hibernate.orgHi all, I have some general questions about hibernate and WebSphere compatibility. We have a small application, that runs fine using a WebSphere 5.0.2, DB2 8.1 and hibernate 2.1.4. Now we are obliged to move to WebSphere 6 and DB2 8.2.3. We tested it and got a ClassCastException (bool to string in class "StringType") deep within hibernate. Does anybody know if ... |
53. WebSphere 6.0 and hibernate forum.hibernate.orgHi all, i'm using hibernate 3.1.3 with websphere 6.0. I have this problem: Container managed session bean throws exception but changes are commited to database. Could anybody check my configuration of hibernate hibernate.cfg.xml: Code: |
54. Continous Warning Message Websphere Portal 5.1.0.2 forum.hibernate.org |
55. Integration issue between WebSphere 6.0.2.7 and Hibernate3.1 forum.hibernate.orgNewbie Joined: Thu Sep 14, 2006 8:47 am Posts: 2 I am running into following issue when trying to use WebSphere datasource and transaction management. It looks like it is able to get a handle on datasource but throws the exception as seen below. I have tried everything possible I can think of including using ojdbc14.jar driver for Oracle 9i, as ... |
56. c3p0 problemon websphere forum.hibernate.orgHmmm. This sort of thing is hard to debug, but here are some thoughts. 1) Do an exhaustive search of any part of your filesystem that might somehow get into the effective classpath of an websphere application or component, and make sure there is no more than 1 c3p0-*.jar file anywhere (this includes jars that might be wrapped in wars or ... |
57. Websphere 6.1 forum.hibernate.orgHi everybody, I'm trying to use hibernate 3.2 with websphere 6.1. I already try every configuration I found in the internet and forums. It's throwing a UnsupportedOperationException in getStatus() method in WebSphereExtendedJTATransactionLookup nested class. I already try change this method body to return 0 as suggested in HHH-198 (in a doc file attached). Now I got another error: com.ibm.websphere.jtaextensions.NotSupportedException at com.ibm.ws.jtaextensions.ExtendedJTATransactionImpl.registerSynchronizationCallbackForCurrentTran ... |
58. Hibernate with Websphere server forum.hibernate.orgHi, I am developing a simple Hibernate code to run on a websphere portal server 5.1.0.1. I took the sample from Hibernate tutorial and when ran as a java program it works fine. But running on the server it is giving a class not found and give me an exception: Initial SessionFactory creation failed.java.lang.NoClassDefFoundError: org.hibernate.cfg.Configuration In my config file I tried ... |
59. com.ibm.websphere.ce.cm.StaleConnectionException: Io excepti forum.hibernate.orgWebSphere Platform 6.0 [ND 6.0.2.15 cf150636.04] Java version = J2RE 1.4.2 IBM AIX 5L for PowerPC Hibernate 3.1 I am using websphere connection pooling. Here is the error message I see intermittently [2/4/07 8:55:26:167 EST] 00000063 SystemOut O Hibernate: select SEQ_TXLIFE.nextval from dual [2/4/07 8:55:26:201 EST] 00000063 ConnectionEve A J2CA0056I: The Connection Manager received a fatal connection error from the Resource ... |
60. Need help with com.ibm.websphere.ce.cm.DuplicateKeyException forum.hibernate.orgNewbie Joined: Wed Mar 28, 2007 7:19 pm Posts: 2 Hello All, I have following 4 tables and respective 4 mapping files. [b]1) Project[/b] [i]TABLLE[/i] ===== CREATE TABLE "DB2INST1"."PROJECTS" ( "PROJECT_ID" BIGINT NOT NULL , "USER_ID" BIGINT , "PALETTE_ID" BIGINT , "NAME" VARCHAR(64) ) ALTER TABLE "DB2INST1"."PROJECTS" ADD PRIMARY KEY ("PROJECT_ID"); ALTER TABLE "DB2INST1"."PROJECTS" ADD CONSTRAINT "SQL070320001132660" FOREIGN KEY ("USER_ID") REFERENCES ... |
61. Hibernate logging in websphere forum.hibernate.orgHi, I have a standalone java application. I am using using Log4j which is redirecting the logs to a file. I get all the hibernate debugs as required. The problem is that when I run this application using the Websphere app server, the hibernate logs are not displayed. I have also set the property |
62. UnsupportedOperationException using WebSphere CMT in WAS6.1 forum.hibernate.orgAuthor Message offby1 Post subject: UnsupportedOperationException using WebSphere CMT in WAS6.1 Posted: Sat May 19, 2007 6:14 pm Newbie Joined: Sat May 19, 2007 5:02 pm Posts: 5 Hibernate version: 3.2.3 Mapping documents: Probably not relevant; I can attach them to a subsequent message if requested Code between sessionFactory.openSession() and session.close(): It's complicated: see below Full stack trace of ... |
63. Using hibernate in WebSphere: Permissions required by user? forum.hibernate.orgHibernate version: 3.2.3 Are there any special permission requirements for hibernate to be able to get the WebSphere UserTransaction object via JNDI? Does the authenticated user have to be a container administrator, or are there other issues? I'm getting an error indicating that the comp/websphere namespace isn't available. This looks like something in the Hibernate WebSphere JTA adapter, but I'm not ... |
64. UnsupportedOperationException using WebSphere CMT in WAS6.1 forum.hibernate.orgI also had this problem when looking up a tabke based on primary key. The primary key of my table is of db2 type integer. However in javaland I had modelled this field as a long. Switching it to an int fixed the problem. I've also seen cases where the PK is a varchar and this problem occurs, and switching it ... |
65. HELP, Hibernate with WebSphere 5.1.1 forum.hibernate.orgHi friends, Anybody can help me or to guide me how i can configure Hibernate 3 with WebSphere 5.1.1 . Integrated session with JTA to use EJB + Hibernate ! i need that session use context, and has automatic one open session in new transaction, and session clossed when context is commited by CMT. Anybady can help-me ? Best Regards |
66. Websphere Server Crashes after executing Hibernate code. forum.hibernate.orgScreenDAO screenDAO = new ScreenDAO(); Session session = screenDAO.getCurrentSession(); Screen screen = (Screen) session.load(Screen.class, screenId); ... |
67. WebSphere throws IllegalResourceIn2PCTransactionException forum.hibernate.orgMy problem is a simple one to describe, and hopefully a simple one to fix. I am running WebSphere Application Server 6.1.0.5 and trying to use Hibernate 3.2.4SP1 to replace the CMP entity layer in our application. I have already performed the same surgery on the JBoss deployment of the same application, but I am running into some problems with the ... |
68. Unable to get Hibernate to work on WebSphere 6.1 forum.hibernate.orgAuthor Message frohman Post subject: Unable to get Hibernate to work on WebSphere 6.1 Posted: Tue Oct 30, 2007 9:45 am Newbie Joined: Tue Jun 12, 2007 9:28 am Posts: 8 Location: Ohio, Mississippi, Michigan I am developing an application that uses Hibernate and runs on IBM WebSphere Application Server 6.1. It is built using Maven2. When I build ... |
69. WebSphere 6.1.0.9 & WebSphereExtendedJTATransactionLooku forum.hibernate.orgWe had been using Hibernate 3.2.0 with WebSphere 6.1.0.2 through WebSphereExtendedJTATransactionLookup for over a year. This past weekend we updated to WebSphere 6.1.0.9 and began to see UnsupportedOperationExceptions from the setRollbackOnly method. Looking at the current Hibernate source it looks like setRollbackOnly always throws that exception so I can only assume it wasn't being called with WebSphere 6.1.0.2. Here's the pertinent ... |
70. Does Websphere 6.1 support Hibernate 3 forum.hibernate.org |
71. Get Hibernate to work with WebSphere 6.0 forum.hibernate.orgHi all, I'm currently developing a Web application using WebSphere 6.0, Struts 1.3.9 and Hibernate 3.2.5. I was managing the DB connection pool with Hibernate, but now I'm trying to manage it with a WebSphere datasource (DS). I'm using CMT Transactions. The DS is properly configured (I think) and I can access to DB using Hibernate, but there is a problem: ... |
72. Hibernate + Websphere Problem forum.hibernate.orgDoes anybody encounter exception when using Hibernate with WAS version under the followings: Version ===== Base 6.1.0.13 EJB 3.0 6.1.0.13 Exception ====== java.lang.ClassCastException: org.apache.openjpa.persistence.PersistenceProviderImpl incompatible with javax.persistence.spi.PersistenceProvider My application works fine under the non-patch version of WAS and it contains coding with pure Hibernate to access store procedure as well as JPA for persistence object. Thanks. |
73. Porting websphere app fron windows to zlinux forum.hibernate.orgI recently used Websphere 5.1 and Hibernate 3 for develope DAO class Everythings is ok on windows but when I porting the same application on zlinux, the first time that the apllication call DAO class the result is ok but the second time that I try to call the same method with the same parameter Websphere display the error message that ... |
74. application hung on websphere forum.hibernate.orgHello, We are experiencing trouble with our application, based on the following config : - Spring 2.5 - Hibernate 3.2.1 - Websphere 6.1.013 - Oracle 10.2.0.3.0 The application basically retrieve some list of items. The application runs pretty well on Tomcat. But on Websphere, after several (number varying) calls, the application does not respond anymore. The last lines of the log ... |
75. How to contribute TransactionManagerLookup for WebSphere UOW forum.hibernate.orgHi all, I've implemented a TransactionManagerLookup that supports the new UOW feature from newer WebSphere 6.1 and 7.0. Its implementation is simpler than the previous one since it does not require the proxies for custom IBM APIs(WAS now supports javax.transaction.Synchronization). It also supports setting setRollbackOnly (that was unsupported on previous versions). How could I submit this to Hibernate team for it ... |
76. ResouceAllocationException in Websphere while using hibernat forum.hibernate.orgNewbie Joined: Mon Jan 19, 2009 10:33 am Posts: 1 Hi, When I tried to load objects using Hibernate then I am getting below exception. Strange part is, error comes infrequently. error goes when i restart the server. I don't understand whether it's problem from Websphere or hibernate. Inside my DAO implementation method, I closing all hibernate sessions properly. Also I ... |
77. Problems with Hibernate on WebSphere 7.0 forum.hibernate.orgI'm trying to port an application from JBossAS 4.2 to WebSphere 7.0 (fix pack 1). While my application (EAR with JAR containing entities and persistence.xml) is initializing Hibernate I see the following exception in my log: ... 30.1.09 12:44:47:921 CET 0000000a SessionFactor I org.hibernate.impl.SessionFactoryObjectFactory addInstance Factory name: java:/hibernate/MySessionFactory 30.1.09 12:44:47:937 CET 0000000a NamingHelper I org.hibernate.util.NamingHelper getInitialContext JNDI InitialContext properties:{} 30.1.09 12:44:47:937 ... |
78. Issue with Websphere 6.1.0.19 forum.hibernate.orgHi, I have a J2EE application where I am using Hibernate 2.0. My application is running fine in Websphere 6.1.0.2 but when I am trying to deploy it in higher version 6.1.0.19 then it is not able to connect to the database. I am using Oracle 10g database. I tested my datasource and it is working fine. It is not throwing ... |