• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

HibernateException Could not instantiate dialect class for MySQLDialect

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I hope someone else has had this problem cause this is driving me
crazy. I'm learning my way through hibernate, I've gotten a servlet app
to work, now I'm trying to get an EJB app to work. Using Hibernate 3.0
and jboss 4.0.2, I have my POJO's setup for hibernate, and am trying to
test this out with a simple jsp file,as in the JBOSS getting started
guide example.
The problem I get is org.hibernate.HibernateException: Could not instantiate dialect class
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:524)
Config files and logs are below.

I have the hibernate3.0 in my classpath, which contains the MYSQLDialect so I can't see why it can't
instanitate this dialect.

Anybody have any ideas?


Thanks
Chris



----------------------HibernateUtil from the Caveat Emptor application
static {
try {
configuration = new Configuration();
log.info("PastnewConfiguration");

//sessionFactory = configuration.configure().buildSessionFactory();
configuration.configure("hibernate-cfg.xml");
log.info("Past xml aadd on Configuration");
sessionFactory = configuration.buildSessionFactory();
log.info("Past buidSessionFactory ");
// We could also let Hibernate bind it to JNDI:
// configuration.configure().buildSessionFactory()
} catch (Throwable ex) {
// We have to catch Throwable, otherwise we will miss
// NoClassDefFoundError and other subclasses of Error
log.error("Building SessionFactory failed.", ex);

throw new ExceptionInInitializerError(ex);
}
}

EMACS 5.7e (0) Main = src/util/HibernateUtil.java (43/266) 15%



------------------hibernate-cfg.xml packaged with the .jsp file

<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

<hibernate-configuration>
<session-factory name="java:/hibernate/HibernateFactory">

<!--<property name="connection.datasource">java:/MySqlDS</property> -->

<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="connection.url">jdbc:mysql://nwsgpb.ih.lucent.com:3306/mortal</property>
<property name="connection.username">snow72</property>
<property name="connection.password">XXXXXXX</property>

<!-- mapping files -->
<mapping resource="moid/PM.hbm.xml"/>
<mapping resource="moid/MoidCounter.hbm.xml"/>
</session-factory>
</hibernate-configuration>




-----------------/TestPersistance.jsp that accesses hibernate.---------
SessionFactory factory = HibernateUtil.getSessionFactory();



HibernateUtil.beginTransaction();
try {
RNCPm rncPM= new RNCPm();

rncPM.setRncid(new Integer(39));
rncPM.setTimestamp(new Integer(1000));
rncPM.setMoid("rncmoid");
rncPM.setPm_primaryKey(new Integer(1039));

Session hsession = HibernateUtil.getSession();
hsession.save(rncPM);
HibernateUtil.commitTransaction();

HibernateUtil.closeSession();

} finally {
HibernateUtil.closeSession();


}




----------= dd/har/hibernate-service.xml---------------------
<server>
<mbean code="org.jboss.hibernate.jmx.Hibernate"
name="jboss.har:service=Hibernate">
<attribute name="DatasourceName">java:/MySqlDS</attribute>
<attribute name="Dialect">org.hibernate.dialect.MySQLDialect</attribute>
<attribute name="SessionFactoryName">java:/hibernate/HibernateFactory</attribute>
<attribute name="CacheProviderClass">org.hibernate.cache.HashtableCacheProvider</attribute>
<!-- <attribute name="Hbm2ddlAuto">create-drop</attribute> -->
</mbean>
</server>




-------------LOG-------------
2005-07-31 00:38:25,668 INFO [util.HibernateUtil] PastnewConfiguration
2005-07-31 00:38:25,670 INFO [org.hibernate.cfg.Configuration] configuring from resource: hibernate-cfg.xml
2005-07-31 00:38:25,671 INFO [org.hibernate.cfg.Configuration] Configuration resource: hibernate-cfg.xml
2005-07-31 00:38:25,687 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath under org/hibernate/
2005-07-31 00:38:25,688 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath

2005-07-31 00:38:25,787 DEBUG [org.hibernate.cfg.Configuration] connection.datasource=java:/MySqlDS
2005-07-31 00:38:25,787 DEBUG [org.hibernate.cfg.Configuration] show_sql=true
2005-07-31 00:38:25,787 DEBUG [org.hibernate.cfg.Configuration] dialect=org.hibernate.dialect.MySQLDialect
2005-07-31 00:38:25,787 DEBUG [org.hibernate.cfg.Configuration] connection.driver_class=com.mysql.jdbc.Driver
2005-07-31 00:38:25,788 DEBUG [org.hibernate.cfg.Configuration] connection.url=jdbc:mysql://nwsgpb.ih.lucent.com:3306/mortal
2005-07-31 00:38:25,788 DEBUG [org.hibernate.cfg.Configuration] connection.username=snow72
2005-07-31 00:38:25,788 DEBUG [org.hibernate.cfg.Configuration] connection.password=XXXXXX
2005-07-31 00:38:25,790 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@1a21389 [Attribute: name resource value "moid/PM.hbm.xml"]
2005-07-31 00:38:25,791 INFO [org.hibernate.cfg.Configuration] Mapping resource: moid/PM.hbm.xml
2005-07-31 00:38:25,797 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
2005-07-31 00:38:25,798 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath
2005-07-31 00:38:25,940 INFO [org.hibernate.cfg.HbmBinder] Mapping class: moid.PM -> PM
2005-07-31 00:38:25,942 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: pm_primaryKey -> PM_PrimKey
2005-07-31 00:38:25,944 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: moid -> Moid
2005-07-31 00:38:25,945 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: moid.PM.counters -> PM_MoidCounter
2005-07-31 00:38:25,946 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: counters
2005-07-31 00:38:25,947 INFO [org.hibernate.cfg.HbmBinder] Mapping joined-subclass: moid.RNCPm -> RNC_PM
2005-07-31 00:38:25,950 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: rncid -> RncID
2005-07-31 00:38:25,953 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: timestamp -> TimeStamp
2005-07-31 00:38:25,953 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@1b0bf9a [Attribute: name resource value "moid/MoidCounter.hbm.xml"]
2005-07-31 00:38:25,953 INFO [org.hibernate.cfg.Configuration] Mapping resource: moid/MoidCounter.hbm.xml
2005-07-31 00:38:25,988 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
2005-07-31 00:38:25,990 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath

2005-07-31 00:38:26,096 INFO [org.hibernate.cfg.HbmBinder] Mapping class: moid.MoidCounter -> MoidCounter
2005-07-31 00:38:26,098 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: m_primaryKey -> M_PrimKey
2005-07-31 00:38:26,101 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: name -> Name
2005-07-31 00:38:26,103 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: value -> Value
2005-07-31 00:38:26,104 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: moid.MoidCounter.pmSet -> PM_MoidCounter
2005-07-31 00:38:26,105 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: pmSet
2005-07-31 00:38:26,105 INFO [org.hibernate.cfg.Configuration] Configured SessionFactory: java:/hibernate/HibernateFactory
2005-07-31 00:38:26,108 DEBUG [org.hibernate.cfg.Configuration] properties: {show_sql=true, java.vendor=Sun Microsystems Inc., catalina.base=/bld/snow72/jboss-4.0.2/server/default, hibernate.connection.url=jdbc:mysql://nwsgpb.ih.lucent.com:3306/mortal, connection.datasource=java:/MySqlDS, catalina.useNaming=false, os.name=SunOS, sun.boot.class.path=/bld/snow72/jboss-4.0.2/lib/endorsed/resolver.jar:/bld/snow72/jboss-4.0.2/lib/endorsed/xalan.jar:/bld/snow72/jboss-4.0.2/lib/endorsed/xercesImpl.jar:/bld/snow72/jboss-4.0.2/lib/endorsed/xml-apis.jar:/aopt/exp/java/j2sdk1.4.2_08/jre/lib/rt.jar:/aopt/exp/java/j2sdk1.4.2_08/jre/lib/i18n.jar:/aopt/exp/java/j2sdk1.4.2_08/jre/lib/sunrsasign.jar:/aopt/exp/java/j2sdk1.4.2_08/jre/lib/jsse.jar:/aopt/exp/java/j2sdk1.4.2_08/jre/lib/jce.jar:/aopt/exp/java/j2sdk1.4.2_08/jre/lib/charsets.ja r:/aopt/exp/java/j2sdk1.4.2_08/jre/classes, sun.java2d.fontpath=, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.4.2_08-b03, user.name=snow7!2, sha
red.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar, jboss.bind.address=0.0.0.0, tomca!t.util.buf.StringCache.byte.enabled=true, connection.driver_class=com.mysql.jdbc.Driver, hibernate.session_factory_name=java:/hibernate/HibernateFactory, jboss.home.dir=/bld/snow72/jboss-4.0.2, user.language=en, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, sun.boot.library.path=/aopt/exp/java/j2sdk1.4.2_08/jre/lib/sparc, dialect=org.hibernate.dialect.MySQLDialect, jboss.home.url=file:/bld/snow72/jboss-4.0.2/, java.ve!rsion=1.4.2_08, user.timezone=US/Central, jboss.server.home.dir=/bld/snow72/jboss-4.0.2/server/default, sun.arch.data.model=32, java.endorsed.dirs=/bld/snow72/jboss-4.0.2/lib/endorsed, jboss.server.home.url=file:/bld/snow7!2/jboss-4.0.2/server/default/, sun.cpu.isalist=sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc, file.encoding.pkg=sun.io, package.access=sun.,org.apache.catalina.,org.apache.coyote.,org!.apach &e.tomcat.,org.apache.jasper.,sun.beans., file.separator=/, java.specification.name=Java Platform API Specificat!ion, hibernate.cglib.use_reflection_optimizer=true, java.class.version=48.0, jboss.server.config.url=file:/bld/snow72/jboss-4.0.2/server/default/conf/, connection.url=jdbc:mysql://nwsgpb.ih.lucent.com:3306/mortal, java.hom!e=/aopt/exp/java/j2sdk1.4.2_08/jre, java.vm.info=mixed mode, jboss.lib.url=file:/bld/snow72/jboss-4.0.2/lib/, oEs.version=5.8, hibernate.connection.datasource=java:/MySqlDS, path.separator=:, connection.password=XXXXXX, ja!va.vm.version=1.4.2_08-b03, hibernate.connection.password=XXXXXX, java.util.prefs.PreferencesFactory=java.util.prefs.FileSystemPreferencesFactory, java.protocol.handler.pkgs=org.jboss.net.protocol, java.awt.printerjob=sun!.print.PSPrinterJob, sun.io.unicode.encoding=UnicodeBig, hibernate.connection.username=snow72, package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper., jboss.server.temp.!dir=/b
ld/snow72/jboss-4.0.2/server/default/tmp, java.naming.factory.url.pkgs=org.jboss.naming rg.jnp.interfaces, use!r.home=/home/snow72, java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader, java.specification.vendor=Sun Microsystems Inc., java.library.path=/aopt/exp/java/j2sdk1.4.2_08/jre/lib/sparc/server:/aopt/exp/java/j2sdk1.4.2_08/jre/lib/sparc:/aopt/exp/java/j2sdk1.4.2_08/jre/../lib/sparc:/usr/lib:/opt/SUNWmotif/lib:/opt/x11r6/lib:/usr/openwin/lib:/usr/ucblib::/usr/lib, java.vendor.url=http://java.sun.com/, program.name=run.sh, hib!ernate.connection.driver_class=com.mysql.jdbc.Driver, connection.username=snow72, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=org.hibernate.dialect.MySQLDialect, common.loader=${catalina.home}/common/classes,${!catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=/bld/snow72/jboss-4.0.2/bin/run!.jar:/ &
opt/exp/java/j2sdk1.4.0_01/lib/tools.jar, jbossmx.loader.repository.class=org.jboss.mx.loading.UnifiedLoaderRep!ository3, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, catalina.home=/bld/snow72/jboss-4.0.2/server/default, sun.cpu.endian=big, sun.os.patch.level=unknown, jboss.server!.lib.url=file:/bld/snow72/jboss-4.0.2/server/default/lib/, java.rmi.server.codebase=http://w-snow72:8083/, java.io.tmpdir=/var/tmp/, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, server.loader=${catalina.h!ome}/server/classes,${catalina.home}/server/lib/*.jar, jboss.server.data.dir=/bld/snow72/jboss-4.0.2/server/default/data, os.arch=sparc, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, java.ext.dirs=/aopt/exp/java/j2s!dk1.4.2_08/jre/lib/ext, user.dir=/bld/snow72/jboss-4.0.2/bin, line.separator= , java.vm.name=Java HotSpot(TM) Server VM, jboss.server.base.dir=/bld/snow72/jboss-4.0.2/server, jboss.server.b!ase.url=file:/bld/snow72/jboss-4.0.2/server/, javax.management.builder.initial=org.jboss.mx.server.MBeanServerB!uilderImpl, file.encoding=ISO646-US, catalina.ext.dirs=/bld/snow72/jboss-4.0.2/server/default/lib, java.specifi!cation.version=1.4, jboss.server.name=default, hibernate.show_sql=true}



2005-07-31 00:38:26,109 INFO [util.HibernateUtil] Past xml aadd on Configuration
2005-07-31 00:38:26,110 DEBUG [org.hibernate.cfg.Configuration] Preparing to build session factory with filters! : {}
2005-07-31 00:38:26,110 INFO [org.hibernate.cfg.Configuration] processing extends queue
2005-07-31 00:38:26,110 INFO [org.hibernate.cfg.Configuration] processing collection mappings
2005-07-31 00:38:26,111 DEBUG [org.hibernate.cfg.HbmBinder] Second pass for collection: moid.PM.counters
2005-07-31 00:38:26,112 DEBUG [org.hibernate.cfg.HbmBinder] Mapped collection key: PM_Key, element: M_Key
2005-07-31 00:38:26,112 DEBUG [org.hibernate.cfg.HbmBinder] Second pass for collection: moid.MoidCounter.pmSet
2005-07-31 00:38:26,114 DEBUG [org.hibernate.cfg.HbmBinder] Mapped collection key: M_Key, element: PM_Key
2005-07-31 00:38:26,114 INFO [org.hibernate.cfg.Configuration] processing association property references
2005-07-31 00:38:26,114 INFO [org.hibernate.cfg.Configuration] processing foreign key constraints
2005-07-31 00:38:26,115 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: moid.PM
2005-07-31 00:38:26,116 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: moid.MoidCounter
2005-07-31 00:38:26,116 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: moid.PM
2005-07-31 00:38:26,119 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{}
2005-07-31 00:38:26,146 INFO [org.hibernate.connection.DatasourceConnectionProvider] Using datasource: java:/M!ySqlDS
2005-07-31 00:38:26,156 INFO [org.hibernate.cfg.SettingsFactory] RDBMS: MySQL, version: 3.23.46-log
2005-07-31 00:38:26,156 INFO [org.hibernate.cfg.SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: m!ysql-connector-java-3.1.7 ( $Date: 2005/01/25 19:11:41 $, $Revision: 1.27.4.54 $ )
2005-07-31 00:38:26,268 INFO [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
2005-07-31 00:38:26,552 ERROR [util.HibernateUtil] Building SessionFactory fail!ed.
org.hibernate.HibernateException: Could not instantiate dialect class
at org.hibernate.dialect.Dialect.getDialect(Dialect.java:524)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java!:109)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:150!9)
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am getting the same problem. I wonder if somebody replied this message since it has been posted in 2005? .
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy Greenhorn! Man, you're digging up an old thread. We thought that got buried on the ranch a long time ago!

Why wouldn't the dialect class get instantiated? My guess is perhaps it's not being found? Maybe?

Where is that darn class, anyways? I think it's in the file hibernate.jar, or hibernate3.jar, or something like that. Open up hibernatex.jar in Winzip or Winrar and just make sure it's in there! That's the first place I might go.

Can you indeed find that class within a jar in your classpath? What IDE are you using? You might even want to just put import org.hibernate.dialect.MySQLDialect; at the top of a class in your development environment and even see if it's being resolved?






I put together a little tutorial on getting going with Hibernate. You might want to check it out, although the actual source of yoru problem is still a mystery to me.

Keep us appraised of your progress.

-Cameron McKenzie
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,I am new to hibernate.
I am trying to develop basic hibernate program with servlets
but i am facing following error


""
14:56:40,125 ERROR [STDERR] org.hibernate.HibernateException: Could not instantiate dialect class

14:56:40,125 ERROR [STDERR] at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:162)

14:56:40,125 ERROR [STDERR] at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:99)

14:56:40,125 ERROR [STDERR] at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:130)

14:56:40,125 ERROR [STDERR] at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2833)

14:56:40,125 ERROR [STDERR] at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2829)

14:56:40,125 ERROR [STDERR] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1840)

14:56:40,125 ERROR [STDERR] at com.metaway.coldstorage.dao.AccountDAO.createAccount(AccountDAO.java:27)

14:56:40,125 ERROR [STDERR] at com.metaway.coldstorage.business.SampleBusinessClass.businessMethod(SampleBusinessClass.java:15)

14:56:40,125 ERROR [STDERR] at com.metaway.coldstorage.account.AccountServlet.doGet(AccountServlet.java:44)

14:56:40,125 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

14:56:40,125 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

14:56:40,125 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)

14:56:40,125 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)

14:56:40,125 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

14:56:40,125 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

14:56:40,125 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)

14:56:40,125 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)

14:56:40,125 ERROR [STDERR] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)

14:56:40,125 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)

14:56:40,125 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)

14:56:40,125 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

14:56:40,125 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

14:56:40,125 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

14:56:40,125 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

14:56:40,125 ERROR [STDERR] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)

14:56:40,125 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)

14:56:40,125 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

14:56:40,125 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)

14:56:40,125 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)

14:56:40,125 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)

14:56:40,140 ERROR [STDERR] Caused by: java.lang.ClassCastException: org.hibernate.dialect.MySQLDialect cannot be cast to org.hibernate.dialect.Dialect

14:56:40,140 ERROR [STDERR] at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:156)

14:56:40,140 ERROR [STDERR] ... 29 more

14:56:53,359 INFO [org.hibernate.connection.DriverManagerConnectionProvider] cleaning up connection pool: jdbc:mysql://localhost:3306/naresh""



Iam using hibernate3 ,jboss 6.0.0 using eclipse ide
here are my hibernate.cfg.xml


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.username">root</property>
<property name="hibernate.connection.password">sa</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/naresh</property>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>

<mapping resource="com/metaway/coldstorage/data/AccountDO.hbm.xml"/>
</session-factory>
</hibernate-configuration>

and my AccountDO.hbm.xml is


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.metaway.coldstorage.data.AccountDO" table="account" catalog="naresh">
<id name="accno" type="int">
<column name="accno" length="15"/>
<generator class="assigned" />
</id>
<property name="name" type="java.lang.String">
<column name="name" length="100" not-null="true">
</column>
</property>
</class>
</hibernate-mapping>

please can any one help on this
thank you
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

It looks like there is some class version conflicts. Do you have by any chance two different versions of hibernate jars being referred directly or indirectly from your dependencies ?

In eclipse, do Ctrl+Shift+T, and type Dialect; how many occurrences do you see there ?

Regards,
Naresh Waswani
 
naresh kumar k
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Waswani Naresh
thanks for your reply

I did what you told,I can find only one Dialect there and i am sure that i am using same version of hibernate jar files.
could please find me a way out to get rid of this problem.

regards
naresh kumar

 
Ranch Hand
Posts: 177
Hibernate Python Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure but maybe this exception may occur because of missing jdbc mysql driver.
You might want to have a look at this. JDBC MySql Connector
 
Waswani Naresh
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JBoss 6 comes with its own set of hibernate 3 jars in the common/lib folder. Are you using the ones provided by the JBoss env OR you have your own set of hibernate jars and included them as part of your application's lib folder.

If both the sets are present, you might encounter Class version related issues.

Try removing one of the set and let me know how it goes.

Also, what is the exact version of hibernate you are using and which version do you see in JBoss 6 ?

Regards,
Naresh Waswani
 
naresh kumar k
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Manuel Petermann,
thanks for your reply

I am using mysql-connector-java-5.1.16-bin driver and i am sure that i placed correctly in my project but still i am facing same issue.

regards
naresh kumar
 
naresh kumar k
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi Naresh Waswani,
very thankful for your reply

I am using JBoss 6 version and hibernate3.jar files.
I placed external hibernate3.jar files in the lib folder if i remove them also there is no change i am facing same issue.
regards
naresh kumar

 
Waswani Naresh
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are running your JBoss server via eclipse, please do the following and let me know the result.

1) Go to the Server view Tab
2) Double click on the Jboss server entry, it will open a window.
3) Click on "Open Launch Configuration" and go to Classpath TAB.
4) Select Bootstrap Entries and browse to the hibernate jar which is in your lib folder. (It can be done via Add Jars OR Add External Jars).
5) Restart the server


Regards,
Naresh Waswani
 
naresh kumar k
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Waswani Naresh wrote:If you are running your JBoss server via eclipse, please do the following and let me know the result.

1) Go to the Server view Tab
2) Double click on the Jboss server entry, it will open a window.
3) Click on "Open Launch Configuration" and go to Classpath TAB.
4) Select Bootstrap Entries and browse to the hibernate jar which is in your lib folder. (It can be done via Add Jars OR Add External Jars).
5) Restart the server


Regards,
Naresh Waswani



I followed steps and restarted the server but this time errors raised while starting the server

here is the stack trace


12:43:25,859 WARN [org.jboss.detailed.classloader.ClassLoaderManager] Unexpected error during load of:org.hibernate.cfg.ExtendedMappings: java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0]
at java.lang.ClassLoader.defineClass(Unknown Source) [:1.6.0]
at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:52) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:650) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:609) [jboss-classloader.jar:2.2.0.GA]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0]
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:608) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:585) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:156) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.filter.FilteredDelegateLoader.doLoadClass(FilteredDelegateLoader.java:141) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:132) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:461) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:262) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:161) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:260) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1152) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:886) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.BaseClassLoader.doLoadClass(BaseClassLoader.java:505) [jboss-classloader.jar:2.2.0.GA]
at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:450) [jboss-classloader.jar:2.2.0.GA]
at java.lang.ClassLoader.loadClass(Unknown Source) [:1.6.0]
at java.lang.ClassLoader.loadClassInternal(Unknown Source) [:1.6.0]
at org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:129) [:3.6.0.Final]
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72) [:3.6.0.Final]
at org.jboss.jpa.builder.DefaultCEMFBuilder.build(DefaultCEMFBuilder.java:47) [:1.0.2-alpha-3]
at org.jboss.as.jpa.scanner.HackCEMFBuilder.build(HackCEMFBuilder.java:49) [:6.0.0.Final]
at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:275) [:1.0.2-alpha-3]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0]
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.GA]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.GA]
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.GA]
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:154) [:0.2.2]
at org.jboss.ejb3.deployers.EJB3MetadataOnDemandDeploymentDeployer.activateProfile(EJB3MetadataOnDemandDeploymentDeployer.java:456) [:6.0.0.Final]
at org.jboss.ejb3.deployers.EJB3MetadataOnDemandDeploymentDeployer.deploy(EJB3MetadataOnDemandDeploymentDeployer.java:424) [:6.0.0.Final]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:154) [:0.2.2]
at org.jboss.system.tools.ProfileServiceToolsFacade.addURI(ProfileServiceToolsFacade.java:233) [:6.0.0.Final]
at org.jboss.system.tools.LegacyDeploymentScannerAdapter.addURL(LegacyDeploymentScannerAdapter.java:140) [:6.0.0.Final]
at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:91) [:6.0.0.Final]
at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:83) [:6.0.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0]
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA]
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]
at org.jboss.system.server.jmx.MBeanServerWrapper.invoke(MBeanServerWrapper.java:138) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source) [:1.6.0]
at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source) [:1.6.0]
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source) [:1.6.0]
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source) [:1.6.0]
at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source) [:1.6.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0]
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) [:1.6.0]
at sun.rmi.transport.Transport$1.run(Unknown Source) [:1.6.0]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0]
at sun.rmi.transport.Transport.serviceCall(Unknown Source) [:1.6.0]
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) [:1.6.0]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) [:1.6.0]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) [:1.6.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0]
at java.lang.Thread.run(Unknown Source) [:1.6.0]

12:43:25,875 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb state=Create: java.lang.NoClassDefFoundError: org/hibernate/cfg/ExtendedMappings
at org.hibernate.ejb.Ejb3Configuration.<clinit>(Ejb3Configuration.java:129) [:3.6.0.Final]
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72) [:3.6.0.Final]
at org.jboss.jpa.builder.DefaultCEMFBuilder.build(DefaultCEMFBuilder.java:47) [:1.0.2-alpha-3]
at org.jboss.as.jpa.scanner.HackCEMFBuilder.build(HackCEMFBuilder.java:49) [:6.0.0.Final]
at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:275) [:1.0.2-alpha-3]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0]
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) [jboss-reflect.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.GA]
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.GA]
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.GA]
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:154) [:0.2.2]
at org.jboss.ejb3.deployers.EJB3MetadataOnDemandDeploymentDeployer.activateProfile(EJB3MetadataOnDemandDeploymentDeployer.java:456) [:6.0.0.Final]
at org.jboss.ejb3.deployers.EJB3MetadataOnDemandDeploymentDeployer.deploy(EJB3MetadataOnDemandDeploymentDeployer.java:424) [:6.0.0.Final]
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:154) [:0.2.2]
at org.jboss.system.tools.ProfileServiceToolsFacade.addURI(ProfileServiceToolsFacade.java:233) [:6.0.0.Final]
at org.jboss.system.tools.LegacyDeploymentScannerAdapter.addURL(LegacyDeploymentScannerAdapter.java:140) [:6.0.0.Final]
at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:91) [:6.0.0.Final]
at org.jboss.system.tools.DeploymentScanner.addURL(DeploymentScanner.java:83) [:6.0.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0]
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.GA]
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.GA]
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.GA]
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.GA]
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.GA]
at org.jboss.system.server.jmx.MBeanServerWrapper.invoke(MBeanServerWrapper.java:138) [:6.0.0.Final (Build SVNTag:JBoss_6.0.0.Final date: 20101228)]
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source) [:1.6.0]
at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source) [:1.6.0]
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source) [:1.6.0]
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source) [:1.6.0]
at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source) [:1.6.0]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [:1.6.0]
at java.lang.reflect.Method.invoke(Unknown Source) [:1.6.0]
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) [:1.6.0]
at sun.rmi.transport.Transport$1.run(Unknown Source) [:1.6.0]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0]
at sun.rmi.transport.Transport.serviceCall(Unknown Source) [:1.6.0]
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) [:1.6.0]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) [:1.6.0]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) [:1.6.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [:1.6.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [:1.6.0]
at java.lang.Thread.run(Unknown Source) [:1.6.0]




Even though i just tried to run the application here also i have errors

here is error stack trace


12:52:00,859 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/CSWeb].[first]] Servlet.service() for servlet first threw exception: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.hibernate.cfg.Configuration.<clinit>(Configuration.java:120) [:3.2.5.ga]
at com.metaway.coldstorage.dao.AccountDAO.createAccount(AccountDAO.java:18) [:]
at com.metaway.coldstorage.business.SampleBusinessClass.businessMethod(SampleBusinessClass.java:21) [:]
at com.metaway.coldstorage.account.AccountServlet.doGet(AccountServlet.java:42) [:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]
at java.lang.Thread.run(Unknown Source) [:1.6.0]

 
naresh kumar k
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

hi
I am very thankful for your suggestion
I solved this problem by removing external hibernate3.jar files and configured hibernate jar files given by JBoss 6 in jboss/client folder

regards
naresh kumar
 
Waswani Naresh
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good to hear that. Please mark this thread as resolved.
 
Get out of my mind! Look! A tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic