Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

JDBC driver doesn't load using jdk 1.2

4 posts in General Discussion (old) Last posting was on 2000-03-09 04:17:37.0Z
Ken Ream Posted on 2000-03-08 19:04:44.0Z
Newsgroups: sybase.public.easerver
Reply-To: "Ken Ream" <reamk@msx.upmc.edu>
From: "Ken Ream" <kream@zbzoom.net>
Subject: JDBC driver doesn't load using jdk 1.2
Date: Wed, 8 Mar 2000 14:04:44 -0500
Lines: 50
Organization: UPMC
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 73plaza150.ft73.upmc.edu 128.147.73.150
Message-ID: <347_MUWygHTi$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26871
Article PK: 154453

I have a connection cache to an Oracle database, it works fine using jdk
1.18
When I run Jaguar using jdk 1.2 I get this in the srv.log:

Mar 08 13:44:25 2000: Warning - cache WebItemCatalog could not load
oracle.jdbc.driver.OracleDriver due to the following ClassNotFoundException
oracle/jdbc/driver/OracleDriver.
Mar 08 13:44:25 2000: java.lang.ClassNotFoundException:
oracle/jdbc/driver/OracleDriver
Mar 08 13:44:25 2000: at java.lang.Class.forName0(Native Method)
Mar 08 13:44:25 2000: at java.lang.Class.forName(Class.java:124)
Mar 08 13:44:25 2000: at
com.sybase.jaguar.jcm.JCM.loadJDBCDriver(JCM.java:263)
Mar 08 13:44:25 2000: at
com.sybase.jaguar.jcm.JCM.addNewCache(JCM.java:193)
Mar 08 13:44:25 2000: at com.sybase.jaguar.jcm.JCM.loadCache(JCM.java:143)
Mar 08 13:44:25 2000: at com.sybase.jaguar.jcm.JCM.init(JCM.java:96)
Mar 08 13:44:25 2000: at com.sybase.jaguar.jcm.JCM.<clinit>(JCM.java:30)
Mar 08 13:44:25 2000: at java.lang.Class.forName0(Native Method)
Mar 08 13:44:25 2000: at java.lang.Class.forName(Class.java:124)
Mar 08 13:44:25 2000: at
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:
245)
Mar 08 13:44:25 2000: at
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:
198)


Classpath =
D:\Oracle\jdbc\lib\classes12.zip;D:\Oracle\jdbc\lib\classes111.zip;D:\Progra
m Files\Sybase\Shared\Sun\jdk118\lib\classes.zip;D:\Program
Files\Sybase\Jaguar CTS 3.5\html\classes;D:\Program Files\Sybase\Jaguar CTS
3.5\java\classes;D:\Program Files\Sybase\Shared\PowerBuilder\classes.zip;.


I've tried including different combinations of including the Oracle jdbc
driver classes*.zip files.

Connection cache settings:

Server Name = jdbc:oracle:thin@000.000.00.00:1521:DBNAME
(there is a real i.p. and databasename in there)

Class Name = oracle.jdbc.driver.OracleDriver.


I'm stuck. Is there a different way to identify the driver classes in JDK
1.2. What am I missing?


Dave Wolf [Sybase] Posted on 2000-03-09 03:21:30.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: JDBC driver doesn't load using jdk 1.2
Date: Wed, 8 Mar 2000 22:21:30 -0500
Lines: 65
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: vpn-eme-033.sybase.com 130.214.8.33
Message-ID: <347_QIv0kcXi$GA.251@forums.sybase.com>
References: <347_MUWygHTi$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26835
Article PK: 157805

Add the driver to the bootclasspath in serverstart.bat

Dave Wolf
Internet Applications Division

"Ken Ream" <kream@zbzoom.net> wrote in message
news:MUWygHTi$GA.251@forums.sybase.com...
> I have a connection cache to an Oracle database, it works fine using jdk
> 1.18
> When I run Jaguar using jdk 1.2 I get this in the srv.log:
>
> Mar 08 13:44:25 2000: Warning - cache WebItemCatalog could not load
> oracle.jdbc.driver.OracleDriver due to the following
ClassNotFoundException
> oracle/jdbc/driver/OracleDriver.
> Mar 08 13:44:25 2000: java.lang.ClassNotFoundException:
> oracle/jdbc/driver/OracleDriver
> Mar 08 13:44:25 2000: at java.lang.Class.forName0(Native Method)
> Mar 08 13:44:25 2000: at java.lang.Class.forName(Class.java:124)
> Mar 08 13:44:25 2000: at
> com.sybase.jaguar.jcm.JCM.loadJDBCDriver(JCM.java:263)
> Mar 08 13:44:25 2000: at
> com.sybase.jaguar.jcm.JCM.addNewCache(JCM.java:193)
> Mar 08 13:44:25 2000: at
com.sybase.jaguar.jcm.JCM.loadCache(JCM.java:143)
> Mar 08 13:44:25 2000: at com.sybase.jaguar.jcm.JCM.init(JCM.java:96)
> Mar 08 13:44:25 2000: at com.sybase.jaguar.jcm.JCM.<clinit>(JCM.java:30)
> Mar 08 13:44:25 2000: at java.lang.Class.forName0(Native Method)
> Mar 08 13:44:25 2000: at java.lang.Class.forName(Class.java:124)
> Mar 08 13:44:25 2000: at
>
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:
> 245)
> Mar 08 13:44:25 2000: at
>
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:
> 198)
>
>
> Classpath =
>
D:\Oracle\jdbc\lib\classes12.zip;D:\Oracle\jdbc\lib\classes111.zip;D:\Progra
> m Files\Sybase\Shared\Sun\jdk118\lib\classes.zip;D:\Program
> Files\Sybase\Jaguar CTS 3.5\html\classes;D:\Program Files\Sybase\Jaguar
CTS
> 3.5\java\classes;D:\Program Files\Sybase\Shared\PowerBuilder\classes.zip;.
>
>
> I've tried including different combinations of including the Oracle jdbc
> driver classes*.zip files.
>
> Connection cache settings:
>
> Server Name = jdbc:oracle:thin@000.000.00.00:1521:DBNAME
> (there is a real i.p. and databasename in there)
>
> Class Name = oracle.jdbc.driver.OracleDriver.
>
>
> I'm stuck. Is there a different way to identify the driver classes in JDK
> 1.2. What am I missing?
>
>


Ken Ream Posted on 2000-03-09 04:17:37.0Z
Newsgroups: sybase.public.easerver
From: "Ken Ream" <kream@stargate.net>
Subject: Re: JDBC driver doesn't load using jdk 1.2
Date: Wed, 8 Mar 2000 23:17:37 -0500
Lines: 79
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
NNTP-Posting-Host: acs-63-77-199-190.zbzoom.net 63.77.199.190
Message-ID: <347_iv2DT7Xi$GA.201@forums.sybase.com>
References: <347_MUWygHTi$GA.251@forums.sybase.com> <347_QIv0kcXi$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26833
Article PK: 157803

How do I do this when, instead of running serverstart.bat,
I set up Jaguar to run as a service (having set the JVM in
JagManager to 1.2)?

Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message
news:QIv0kcXi$GA.251@forums.sybase.com...
> Add the driver to the bootclasspath in serverstart.bat
>
> Dave Wolf
> Internet Applications Division
>
> "Ken Ream" <kream@zbzoom.net> wrote in message
> news:MUWygHTi$GA.251@forums.sybase.com...
> > I have a connection cache to an Oracle database, it works fine using jdk
> > 1.18
> > When I run Jaguar using jdk 1.2 I get this in the srv.log:
> >
> > Mar 08 13:44:25 2000: Warning - cache WebItemCatalog could not load
> > oracle.jdbc.driver.OracleDriver due to the following
> ClassNotFoundException
> > oracle/jdbc/driver/OracleDriver.
> > Mar 08 13:44:25 2000: java.lang.ClassNotFoundException:
> > oracle/jdbc/driver/OracleDriver
> > Mar 08 13:44:25 2000: at java.lang.Class.forName0(Native Method)
> > Mar 08 13:44:25 2000: at java.lang.Class.forName(Class.java:124)
> > Mar 08 13:44:25 2000: at
> > com.sybase.jaguar.jcm.JCM.loadJDBCDriver(JCM.java:263)
> > Mar 08 13:44:25 2000: at
> > com.sybase.jaguar.jcm.JCM.addNewCache(JCM.java:193)
> > Mar 08 13:44:25 2000: at
> com.sybase.jaguar.jcm.JCM.loadCache(JCM.java:143)
> > Mar 08 13:44:25 2000: at com.sybase.jaguar.jcm.JCM.init(JCM.java:96)
> > Mar 08 13:44:25 2000: at
com.sybase.jaguar.jcm.JCM.<clinit>(JCM.java:30)
> > Mar 08 13:44:25 2000: at java.lang.Class.forName0(Native Method)
> > Mar 08 13:44:25 2000: at java.lang.Class.forName(Class.java:124)
> > Mar 08 13:44:25 2000: at
> >
>
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:
> > 245)
> > Mar 08 13:44:25 2000: at
> >
>
com.sybase.jaguar.server.JaguarClassLoader.loadClass(JaguarClassLoader.java:
> > 198)
> >
> >
> > Classpath =
> >
>
D:\Oracle\jdbc\lib\classes12.zip;D:\Oracle\jdbc\lib\classes111.zip;D:\Progra
> > m Files\Sybase\Shared\Sun\jdk118\lib\classes.zip;D:\Program
> > Files\Sybase\Jaguar CTS 3.5\html\classes;D:\Program Files\Sybase\Jaguar
> CTS
> > 3.5\java\classes;D:\Program
Files\Sybase\Shared\PowerBuilder\classes.zip;.
> >
> >
> > I've tried including different combinations of including the Oracle jdbc
> > driver classes*.zip files.
> >
> > Connection cache settings:
> >
> > Server Name = jdbc:oracle:thin@000.000.00.00:1521:DBNAME
> > (there is a real i.p. and databasename in there)
> >
> > Class Name = oracle.jdbc.driver.OracleDriver.
> >
> >
> > I'm stuck. Is there a different way to identify the driver classes in
JDK
> > 1.2. What am I missing?
> >
> >
>
>


Ashish Mahajan Posted on 2000-03-08 22:02:31.0Z
Newsgroups: sybase.public.easerver
From: "Ashish Mahajan" <ash@NOSPAM.com>
Subject: Re: JDBC driver doesn't load using jdk 1.2
Date: Wed, 8 Mar 2000 17:02:31 -0500
Lines: 5
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: pikachu.sybase.com 204.167.42.191
Message-ID: <347_bHdYPqUi$GA.285@forums.sybase.com>
References: <347_MUWygHTi$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26856
Article PK: 157821

Try putting the jdbc driver in the BootClassPath...

-Ashish