1. Hibernate JBOSS JNDI Configuration stackoverflow.comCurrently I have an application that is configured for Hibernate and JNDI but runs on a Tomcat server. I have been tasked with moving this web application to JBOSS 5.1. I ... |
2. Hibernate+jBoss - problem with JNDI/RMI over HTTP tunnel forum.hibernate.orgHello, our application uses jBoss 3.2.3 and Hibernate(last stable) integrated as MBean without problems. Application scenario is simple: fat client <-> AS <-> DB(via Hibernate). All comunication goes over JNDI and RMI channels. For security reason we have to switch communication to be tunneled via HTTP. After setting this, thare's no problem until app. do some insert or update. It throws ... |
3. Resolve Jbosscache using JNDI forum.hibernate.orgI'm using Spring to wire an application together, but intead of linking Hibernate and TreeCache thru JMX, I'd prefer to pass the cache provider to Hibernate using JNDI. The reason is that I'd prefer to wire everything using Spring rather than depending on JMX to provide a similar function. In my Spring config, I'd like to be able to swap between ... |
4. Jboss 3.2.6 JNDI access from hibernate forum.hibernate.orgHi, I have just migrated from Apache/Tomact to Apache/Jboss 3.2.6 and now need to change my class files to take advantage of JNDI. I have declared my jndi: [SessionFactoryObjectFactory] Factory name: java:/HibernateFactory What I am not to clear about is how to now access a transaction via jndi from java code? This is how my classes currently access a transaction: session ... |
5. Jboss 3.2.6 JNDI access from hibernate forum.hibernate.orgHi, I have just migrated from Apache/Tomact to Apache/Jboss 3.2.6 and now need to change my class files to take advantage of JNDI. I have declared my jndi: [SessionFactoryObjectFactory] Factory name: java:/HibernateFactory What I am not to clear about is how to now access a transaction via jndi from java code? This is how my classes currently access a transaction: session ... |
6. Need help with proper config for JNDI w/ JBoss4 and hibernat forum.hibernate.orgHere is a copy of my hibernate.cfg.xml: |
7. How to setup JNDI in JBOSS with HIBERNATE forum.hibernate.orgI have set up a JDBC pool with postgres. These are the basic steps. You need to place a postgres-ds.xml in the deploy directory which looks something like this: |
8. JNDI name problems. Hibernate with JBOSS forum.hibernate.orgHi, I have an web application which is packaged as a war file. The applications uses Hibernate, and PostgreSQL as the database. Everything works fine when i deploy it in tomcat. Now when trying to deploy the same application in JBOSS, it fails during the lookup of the DataSource. Iam getting, javax.naming.NameNotFoundException Following is the code snippets hibernate.cfg.xml: ... |
9. how to configue JNDI in jboss forum.hibernate.orgCode: |
10. Need help to configure jndi in jboss using hibernate forum.hibernate.orghi all, i am getting this error javax.naming.NameNotFoundException: HibernateDS not bound. please any one help me to solve this. I want to configure jndi in jboss using hibernate. for that i typed in java file Context ctx = new InitialContext(); Object obj = ctx.lookup("java:/HibernateDS"); sessionFactory = (SessionFactory) obj; and in mysql-ds file localted in jboss/server/default/deploy folder i have pasted thse lines ... |