Well...
i already have copied files :db2jcc4.jar db2jcc.jar which I get from my db2 server. Now Im trying to make a connection pool in glassfish as a : javax.sql.DataSource with : Datasource class name: com.ibm.db2.jcc.DB2DataSource ... data in url, name and password are 100% correct because I can connect to that DB with standalone application. When all is configured and Im trying to ping my server Ive getting this:
Ping Connection Pool for DB2ConnPool is Failed. Ping failed Exception - Connection could not be allocated because: [jcc][10389][12245][4.7.85] Niepowodzenie podczas ładowania biblioteki rodzimej db2jcct2, java.lang.UnsatisfiedLinkError: no db2jcct2 in java.library.path: ERRORCODE=-4472, SQLSTATE=null Please check the server.log for more details.
For all non-polish users : "Niepowodzenie podczas ładowania biblioteki rodzimej" is like: "Failure while loading library"