This content has been marked as final. 
    
Show                 5 replies
    
- 
        1. Re: How to set Listener to Hibernate?the_t Oct 28, 2005 5:26 AM (in response to the_t)ah, I should add that I already figured out I first had to set 
 true
 Otherwise, I couldnt even get the Configuration
- 
        2. Re: How to set Listener to Hibernate?the_t Oct 28, 2005 5:28 AM (in response to the_t)argggg, why can I not post xml-tags here or even edit my post? 
 [property name="isConfigurationLookupEnabled"][boolean]true[/boolean][/property]
- 
        3. Re: How to set Listener to Hibernate?kukeltje Oct 28, 2005 10:59 AM (in response to the_t)put it in code tags so a left square bracket 'code' right suqare bracket and closing it with a slash in it. This gives you <heee>this works</heee> 
- 
        4. Re: How to set Listener to Hibernate?the_t Oct 28, 2005 2:03 PM (in response to the_t)I guess I am halfway a solution now 
 jbpm.context.builders.xml<!-- singleton interceptors beans definitions --> <bean name="HibernateSessionFactoryInterceptor" singleton="true" class="org.jbpm.tc.hibernate.HibernateSessionFactoryInterceptor" > <property name="cfgXmlResource"><string>org/jbpm/tc/hibernate/asvz.hibernate.cfg.xml</string></property> <property name="isConfigurationLookupEnabled"><boolean>true</boolean></property> </bean> 
 asvz.hibernate.cfg.xml<hibernate-configuration> <session-factory > .... <!-- listeners --> <listener type="load" class="nl.asvz.security.hibernate.JaasLoadListener"/> </session-factory> </hibernate-configuration> 
 Now the problem is this:
 Caused by: org.hibernate.MappingException: Unable to instantiate specified listener class: JaasLoadListener
 at org.hibernate.cfg.Configuration.setListeners(Configuration.java:1487)
- 
        5. Re: How to set Listener to Hibernate?the_t Oct 28, 2005 4:15 PM (in response to the_t)oops, I didnt set the full path in the hibernate.xml.cfg that was being used.... 
 further with debugging!
 
    