| Sign In/My Account | View Cart |
| Article: |
Configuring JBoss 4.0 JDBC Connectivity | |
| Subject: | SQL Server 2000 | |
| Date: | 2004-10-11 05:16:02 | |
| From: | dvohra09 | |
|
Response to: SQL Server 2000
|
||
|
What is the configuration error you are getting? Please post detail.
|
||
Showing messages 1 through 1 of 1.
<server>
<mbean code="org.jboss.hibernate.jmx.Hibernate"
name="jboss.har:service=Hibernate">
<attribute name="DatasourceName">java:MSSQLDS</attribute>
<attribute name="Dialect">net.sf.hibernate.dialect.HSQLDialect</attribute>
<attribute name="SessionFactoryName">java:/hibernate/SessionFactory</attribute>
<attribute name="CacheProviderClass">
net.sf.hibernate.cache.HashtableCacheProvider
</attribute>
</mbean>
</server>
And I create the session from a session bean:
SessionFactory sf = (SessionFactory)ctx.lookup("java:/hibernate/SessionFactory");
I got exception as below:
javax.naming.NameNotFoundException: hibernate
not bound
Need help urgently!!
Thanks!