ErikFK wrote:
Only a minor hint, to help us help you:
mdonato wrote:
log4j.logger.org.com.hibernate=DEBUG
is wrong. it should be:
log4j.logger.org.hibernate=DEBUGThis way you'll be able to get Hibernate's debug information.
Erik
All right, like i've suspected! Dont work!
Let me explain my entire context:
I'm using EJB2.0 Stateless SessionBean and i'm using de jbpm product of jboss.org that uses hibernate to make persistence on database, and i've readed the jbpm and hibernate documentation, and the jbpm documentatio said that i have to use hibernate3rc1, but i'm having troubles with transaction in hibernate.
My session bean uses a class named MainWorkFlow that is a singleton class that uses jbpm classes. and all (jbpm & hibernate) jar's are in the lib directory of container and i can't make hibernate to use CMT transactions, some times its hangs, some times it trows a null pointer exception and some times it do not found a connection to work with!
I've tried hibernate3, 3rc1 (this), and 3.1, but with no success!
I need the hibernate to work with CMT transaction, couse i need to make some persistences in my own tables at same process, with the same transaction for business data integrity.
My test environment is:
WebSphere 5.1
MSSqlServer 7.0
Hibernate 3*
Jbpm 3*
Code:
log4j.rootLogger=DEBUG, stdout, stderr
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%r %-5p ctx:[%x] - %m\n
log4j.appender.stderr=org.apache.log4j.ConsoleAppender
log4j.appender.stderr.Target=System.err
log4j.appender.stderr.Threshold=ERROR
log4j.appender.stderr.layout=org.apache.log4j.PatternLayout
log4j.appender.stderr.layout.ConversionPattern=%r %-5p ctx:[%x] - %m\n
log4j.logger.br.com.glr=DEBUG
log4j.logger.org.hibernate=DEBUG
log4j.logger.org.jbpm=DEBUG
this dont work
Please, i need a solution to this, couse i have to implement this feature in our product urgently.
Thanks for your replie