Hi ,
Iam the new user of Hibernate,In my apllication iam using Hibernate2.1.5 , server as JBOSS and Database as MySql.i don all the configuration in the JBOSS .when iam going to deploy the application iam getting this Error.
This is the error Log
11:11:20,968 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
11:11:21,421 WARN [SettingsFactory] No dialect set - using GenericDialect: Coul
d not instantiate dialect class
11:11:21,421 INFO [Dialect] Using dialect: net.sf.hibernate.dialect.GenericDial
ect
11:11:21,421 INFO [SettingsFactory] Use outer join fetching: false
11:11:21,421 INFO [NamingHelper] JNDI InitialContext properties:{}
11:11:21,436 FATAL [DatasourceConnectionProvider] Could not find datasource: java:jdbc/MesuDS
javax.naming.NameNotFoundException: jdbc not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
at org.jnp.server.NamingServer.lookup(NamingServer.java:253)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:529)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at net.sf.hibernate.connection.DatasourceConnectionProvider.configure(Da
tasourceConnectionProvider.java:44)
at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionPr
ovider(ConnectionProviderFactory.java:83)
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.ja
va:65)
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1
132)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.
java:766)
at org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:
476)
at org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:444)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:271)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:221)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
|