I am trying to make db2 work in glassfish with no luck at all. I’ve read the documentation, but no matter what I do I end up stuck with an error when I do a ping. I put the jar files for the db2 driver and connectivity in the classpath prefix, added them to the lib directory of the domain and no go. What am I doing wrong? Thank you for your time.
Share
You didn’t mention anything about the datasource creation. Did you create a datasource ?
Here is how you can create one, in the domain.xml file in conf dir of your domain.
You can also copy the jar files in the $GLASSFISH_HOME/lib dir.