Weblogic « Connection « JPA Q&A





1. weblogic connection pool    forum.hibernate.org

Author Message rakeshkumarreddy Post subject: weblogic connection pool Posted: Fri Dec 11, 2009 6:41 am Newbie Joined: Fri Dec 11, 2009 6:24 am Posts: 2 hi , i m getting problem with weblogic connection pool used with hibernate.. can u tell how to configure weblogic8.1 supplied connection pool in hibernate.cfh.xml file code in hibernate.cfg.xml: org.hibernate.connectrion.DataSourceConnectionProvider

2. WebLogic and connection    forum.hibernate.org

I'm new to Hibernate and am having a problem using a connection obtained from DataSource managed by WL8.1. I have placed Hibernate in JNDI and here is the code i'm using in my session bean to intialize my session. Am I doing this correctly? I assume that I don't need to configure anything with regards to the DataSource in my hibernate ...

3. WebLogic and connection    forum.hibernate.org

I'm new to Hibernate and am having a problem using a connection obtained from DataSource managed by WL8.1. I have placed Hibernate in JNDI and here is the code i'm using in my session bean to intialize my session. Am I doing this correctly? I assume that I don't need to configure anything with regards to the DataSource in my hibernate ...

4. Connection unclosed in Weblogic    forum.hibernate.org

We have used Hibernate 2.0.3 for our work and found that it's an extremely useful tool. Our clients are very satisfied with the performance of the application. However we are facing one problem, I request for suggestions. I used Hibernate with Weblogic 7.0. We have only the following entries in hibernate.properties file. ==================================== hibernate.connection.datasource datasourcename hibernate.dialect net.sf.hibernate.dialect.OracleDialect hibernate.show_sql false hibernate.transaction.factory_class net.sf.hibernate.transaction.JTATransactionFactory ...

5. Cannot lookup weblogic connection pool???    forum.hibernate.org

I defined a connection pool in weblogic, but in startup class Configuration conf = new Configuration().addClass(ADTest.class); SessionFactory sf = conf.buildSessionFactory(); <2004-09-08 21:48:03,598> javax.naming.NameNotFoundException: Unable to resolve 'orclPool' Resolved: '' Unresolved:'orclPool' ; remaining name 'orclPool' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:857) at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:223) at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:146) at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:187) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:237) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:333) at javax.naming.InitialContext.lookup(InitialContext.java:347) at net.sf.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:44) at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83) at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:65) ...

6. jndi lookup failed on weblogic for data source    forum.hibernate.org

Read the rules before posting! http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version:3 Full stack trace of any exception that occurs: INFO NamingHelper:26 - JNDI InitialContext properties:{} 18:17:21,453 FATAL DatasourceConnectionProvider:47 - Could not find datasource: java:comp/env/jdbc/iQuest javax.naming.NameNotFoundException: While trying to look up comp/env/jdbc/iQuest in /app/webapp/iquest/9534640.; remaining name 'comp/env/jdbc/iQuest' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic NamingNode.java:897) at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNaming Node.java:150) at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.j ava:256) at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:357) at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyCo ntextWrapper.java:45) at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.j ...

7. how to use weblogic data source in hidernate    forum.hibernate.org

8. datasource problem in using hibernate on weblogic    forum.hibernate.org

Hibernate version:3 Changes made to hibernate.properties. hibernate.jndi.Context.INITIAL_CONTEXT_FACTORY weblogic.jndi.WLInitialContextFactory hibernate.jndi.Context.PROVIDER_URL t3://localhost:7001 hibernate.connection.datasource java:comp/env/jdbc/test created datasource in weblogic datasource in Weblogic: Name: Test_JDBCDataSource JNDI Name: jdbc/test Code between sessionFactory.openSession() and session.close(): Full stack trace of any exception that occurs: 14:19:03,968 INFO NamingHelper:26 - JNDI InitialContext properties:{Context.PRO VIDER_URL=t3://localhost:7001, Context.INITIAL_CONTEXT_FACTORY=weblogic.jndi.WLI nitialContextFactory} 14:19:03,984 FATAL DatasourceConnectionProvider:47 - Could not find datasource: java:comp/env/jdbc/test javax.naming.NameNotFoundException: While trying to look ...

9. prepareCall closing connection (Weblogic/Hibernate)    forum.hibernate.org

_connection = session.connection(); ResultSet rs = null; Long result = new Long(0); if (_connection != null) try { // It's in the prepareCall method that the connection is closed.[/color][i] _callStmt ...





10. using weblogic datasource. Hibernate 3.2.3 and hibernate 3.0    forum.hibernate.org

Hi All, We were using hibernate 3.0.5 and now we are trying to upgrade that to 3.2.3. The hibernate.properties is configured to use a weblogic data source as given below. hibernate.connection.datasource test.ds hibernate.jndi.class weblogic.jndi.WLInitialContextFactory hibernate.dialect org.hibernate.dialect.Oracle9Dialect #Other key values hibernate.show_sql false hibernate.jdbc.batch_size 0 hibernate.jdbc.use_streams_for_binary true hibernate.use_outer_join true audit true hibernate.query.substitutions true '1', false '0', yes 'Y', no 'N' hibernate.query.imports org.hibernate.test, org.hibernate.eg, ...