|
|
JServ & JDBC drivers dependant on native code |
| I had attempted to use JServ in conjunction with DB2 access on NT. In spite of the best configuration efforts, I was unable to get it to work - an UnsatisfiedLinkError exception was being thrown. This is because the JDBC drivers for DB2 require native code to execute - db2jdbc.dll specifically, whose directory must be (and was) in the path. After trying to debug classes locally, I discovered (buried) in the Sun documentation that in order to debug drivers dependant on dll's, the dll must be copied with an '_g' appended to the end of the name ie. db2jdbc_g.dll. Having done this separately, I started up Apache/JServ, and things worked the first time. JServ must require debug names for dependant native dll's. Also, set the wrapper.env.copyall=true in jserv.properties. This copies all system environment variables for use by JServ. baATsentorDOTcomDOTau | |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||||