Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB jstl library error..

 
Jahnvi Vyas
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am developing EJB project using JBoss 4.0.1 application server and MS SQL Server as database server. I have created simple entity beans in my EJB project. Now for datasource I have downloaded jstl 1.2 driver and placed its jar file in JBoss\server\default\lib\ folder, still its not pointing to proper database. I have used xDoclet utility and I have pointed data source as per need properly. The stacktrace I got is as follows:

15:42:28,929 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property.)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:177) .....

What may be the reason for that??

Thank You..

Jahnvi..
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post your xxx-ds.xml (your datasource definition file).

Also post your code that make sthis exception be thrown, or is it at JBoss startup?

jstl is a database?

Moving this to the JBoss forum for now.

Mark
 
Milan Jagatiya
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

downloaded jstl 1.2 driver and placed its jar file in JBoss\server\default\lib\ folder,


what "jstl 1.2 driver"? ... is this databse driver???

milan.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic