• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB jstl library error..

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic