1 Reply Latest reply on May 13, 2005 7:13 AM by jukvaa

    JBoss 4.0.1 -> 4.0.2. Hibernate app. has stopped working

    salgiza

      I'm having exactly the same problem that singular_droid had in this post:
      http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876764#3876764

      I'm developing an application that works perfectly on JBoss 4.0.1, but when I try to deploy it on JBoss 4.0.2, I get the following error:

      12:49:08,520 WARN [ServiceController] Problem starting service jboss.har:service=Hibernate
      java.lang.NoClassDefFoundError: org/apache/commons/collections/SequencedHashMap


      I looked at the solution given to singular_droid, but I can't find any commons-collections.jar file in JBoss 4.0.1 either.

      The hibernate-service.xml I'm using:
      <server>
       <mbean code="org.jboss.hibernate.jmx.Hibernate" name="jboss.har:service=Hibernate">
       <attribute name="DatasourceName">java:/esport</attribute>
       <attribute name="Dialect">net.sf.hibernate.dialect.MySQLDialect</attribute>
       <attribute name="SessionFactoryName">java:/hibernate/eSportSessionFactory</attribute>
       <attribute name="CacheProviderClass">
       net.sf.hibernate.cache.HashtableCacheProvider
       </attribute>
       <attribute name="ShowSqlEnabled">true</attribute>
       <!-- <attribute name="Hbm2ddlAuto">create-drop</attribute> -->
       </mbean>
      </server>