-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: hibernate.properties file error
PostPosted: Fri Jun 10, 2005 12:01 am 
Beginner
Beginner

Joined: Thu Jun 09, 2005 3:18 am
Posts: 34
Location: India
When i am using the hibernate.properties file the following errors are coming

WARN UserSuppliedConnectionProvider:25 - No connection properties specified - the user must supply JDBC connections

INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)

WARN Configurator:125 - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/E:/Hibernate/hibernate-2.1/lib/ehcache-0.9.jar!/ehcache-failsafe.xml

INFO ReflectHelper:186 - reflection optimizer disabled for: hello.Message, IllegalArgumentException: Cannot find matching method/constructor
INFO SessionFactoryObjectFactory:82 - Not binding factory to JNDI, no JNDI name configured


My hibernate.properties file

hibernate.connection.datasource = java:/comp/env/jdbc/jagan
hibernate.transaction.factory_class = \
net.sf.hibernate.transaction.JTATransactionFactory
hibernate.transaction.manager_lookup_class = \
net.sf.hibernate.transaction.WeblogicTransactionManagerLookup
hibernate.dialect = net.sf.hibernate.dialect.DB2Dialect


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 11, 2005 10:27 am 
Beginner
Beginner

Joined: Tue May 17, 2005 7:39 am
Posts: 27
Location: Rome, Italy
what i'm writing it's not a solution, but another question, so pardon me!

i am not able to configure my datasource in tomcat, even if i specified it in the hibernate.cfg.xml and in the server.xml of tomcat, so i am trying to add the datasource like you did: in the hibernate.properties.
the only thing i need to know is where to put this file.
i put this file in the /src directory of my webapp, and i added the file to the classpath with no success. where did you put hibernate.properties?
thanx


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.