Hello, everybody,
I am trying to run JOnAs 2.0 on Linux 6.2 using Sun JDK1.2.2 and Sybase
SQL Anywhere 7.0. I am getting the following error:
JOnAS Server, version 2.0, running on rmi.
Cannot load JDBC driver : java.lang.ClassNotFoundException:
com/sybase/jdbc/SybDriver
Mapping datasource jdbc:sybase:Tds:redlinux:2638 on jdbc_1
EJBServer is ready
jonas.properties point to Sybase database property file -
jonas.datasources Sybase
Here is a Sybase.properties file
datasource.name jdbc_1
datasource.url jdbc:sybase:Tds:redlinux:2638
datasource.classname com.sybase.jdbc.SybDriver
datasource.username dba
datasource.password sql
I modified config.env.
RMIREGISTRY_HOME=/opt/java/RMIRegistry1.2.1
RMIREGISTRY_CLASSES=$RMIREGISTRY_HOME/lib/providerutil.jar$SPS$RMIREGISTRY_H
OME/lib/rmiregistry.jar
JDBCEXT_CLASSES=/opt/java/jdbc_ext/jdbc2_0-stdext.jar
EJB11_CLASSES=/opt/java/j2sdkee1.2.1/lib/ejb.jar
JTA_CLASSES=/opt/java/jta-spec1_0_1/jta-spec1_0_1.jar
JNDI_HOME=/opt/java/JNDI1.2.1
JNDI_CLASSES=$JNDI_HOME/lib/jndi.jar
SYBASE_CLASSES=/opt/sybase/SYBSsa7/java/jdbcdrv.zip
JDBC_CLASSES=$SYBASE_CLASSES
Sourcing config.env and executing javap com.sybase.jdbc.SybDriver
outside of
EJBServer script returns success.
Does anybody have any ideas? Any help would be appreciated.
TIA,
Leo Panyan
[EMAIL PROTECTED]
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".