Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.
(Answer) (Category) Java Apache Project : (Category) Apache JServ 1.0 : (Category) Programming and Misc. Tidbits :
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: (Answer) New Item
Next: (Answer) ab seems to be making extra requests while testing servlets
This document is: http://java.apache.org/faq/?file=306
[Search] [Appearance] [Show Expert Edit Commands]
This is a Faq-O-Matic 2.709.
Please browse the categories below to previous answers to questions like yours. If you do not find the answer for your particular situation, ask for help on the appropriate mailing list.