I'm trying to get JBoss 3.0 to connect to my Sybase Adaptive Server Anywhere database. I can't seem to get JBoss to find the JConnect driver jar.
If I add to my config file, I get the following during startup:
[org.jboss.deployment.SARDeployer] Problem in init
org.jboss.deployment.DeploymentException: Invalid classpath element missing codebase or archives:
If I leave it out, I get the following when I first try to get a connection:
org.jboss.util.NestedSQLException: Failed to register driver for: com.sybase.jdbc2.jdbc.SybDriver; - nested throwable: (java.lang.ClassNotFoundException: com.sybase.jdbc2.jdbc.SybDriver...
I've tried putting this file in jboss/lib, jboss/server/default/lib and jboss/server/default/deploy to no avail.
Any ideas how to get this working?