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.

PB, JDBC, EAS running 1.2 JDK

6 posts in General Discussion (old) Last posting was on 2000-03-14 21:01:56.0Z
Ken Ream Posted on 2000-03-14 18:42:38.0Z
Newsgroups: sybase.public.easerver
Reply-To: "Ken Ream" <reamk@msx.upmc.edu>
From: "Ken Ream" <kream@zbzoom.net>
Subject: PB, JDBC, EAS running 1.2 JDK
Date: Tue, 14 Mar 2000 13:42:38 -0500
Lines: 28
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_7YROUXej$GA.151@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26443
Article PK: 157112

Can a PowerBuilder(7.02) component use a JDBC connection if
Jaguar (3.5) is running 1.2 JDK?

I was using the Oracle thin driver but when I run Jaguar using 1.2
my retrieve fails. When I ran the component through the debugger
I found this SQLCA. sqlerrtext:

"Java Exception: Unable to find Java PbjdbcSession class. Check CLASSPATH."

"D:\Program Files\Sybase\Shared\PowerBuilder\classes.zip" is definitely in
both
CLASSPATH & BOOTCLASSPATH.

And everything works fine using JDK118.

I can't find anything saying so, but I'm guessing the PB jdbc driver doesn't
work with
jdk 1.2.

Can someone confirm that (or better yet tell me I"m wrong and what I'm doing
wrong)?


Ashish Mahajan Posted on 2000-03-14 21:01:56.0Z
Newsgroups: sybase.public.easerver
From: "Ashish Mahajan" <ash@NOSPAM.com>
Subject: Re: PB, JDBC, EAS running 1.2 JDK
Date: Tue, 14 Mar 2000 16:01:56 -0500
Lines: 45
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_YS4z0kfj$GA.151@forums.sybase.com>
References: <347_7YROUXej$GA.151@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26430
Article PK: 157096

Hi Ken,

Between Java 1.1 and Java 1.2 Sun made some major changes... like changing
the dll name :-) so the JDS driver released in PB7 cannot support Java 1.2
(or Sun JRE 1.2)... Lookout for this support in PB8...
The CLASSPATH and BOOTCLASSPATH is another issue which Dave has referred to
but the current restriction is that PB7 cannot support Java2.

-Ashish

"Ken Ream" <kream@zbzoom.net> wrote in message
news:7YROUXej$GA.151@forums.sybase.com...
> Can a PowerBuilder(7.02) component use a JDBC connection if
> Jaguar (3.5) is running 1.2 JDK?
>
> I was using the Oracle thin driver but when I run Jaguar using 1.2
> my retrieve fails. When I ran the component through the debugger
> I found this SQLCA. sqlerrtext:
>
> "Java Exception: Unable to find Java PbjdbcSession class. Check
CLASSPATH."
>
> "D:\Program Files\Sybase\Shared\PowerBuilder\classes.zip" is definitely in
> both
> CLASSPATH & BOOTCLASSPATH.
>
> And everything works fine using JDK118.
>
> I can't find anything saying so, but I'm guessing the PB jdbc driver
doesn't
> work with
> jdk 1.2.
>
> Can someone confirm that (or better yet tell me I"m wrong and what I'm
doing
> wrong)?
>
>
>
>
>
>
>


Dave Wolf [Sybase] Posted on 2000-03-14 18:49:34.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: PB, JDBC, EAS running 1.2 JDK
Date: Tue, 14 Mar 2000 13:49:34 -0500
Lines: 40
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: PPPa86-ResaleDialinx8003-1R7203.saturn.bbn.com 4.54.150.115
Message-ID: <347_cdnmlaej$GA.285@forums.sybase.com>
References: <347_7YROUXej$GA.151@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26442
Article PK: 157111

In serverstart.bar add the class to the bootclasspath

Dave Wolf
Internet Applications Dvision

"Ken Ream" <kream@zbzoom.net> wrote in message
news:7YROUXej$GA.151@forums.sybase.com...
> Can a PowerBuilder(7.02) component use a JDBC connection if
> Jaguar (3.5) is running 1.2 JDK?
>
> I was using the Oracle thin driver but when I run Jaguar using 1.2
> my retrieve fails. When I ran the component through the debugger
> I found this SQLCA. sqlerrtext:
>
> "Java Exception: Unable to find Java PbjdbcSession class. Check
CLASSPATH."
>
> "D:\Program Files\Sybase\Shared\PowerBuilder\classes.zip" is definitely in
> both
> CLASSPATH & BOOTCLASSPATH.
>
> And everything works fine using JDK118.
>
> I can't find anything saying so, but I'm guessing the PB jdbc driver
doesn't
> work with
> jdk 1.2.
>
> Can someone confirm that (or better yet tell me I"m wrong and what I'm
doing
> wrong)?
>
>
>
>
>
>
>


Ken Ream Posted on 2000-03-14 18:56:30.0Z
Newsgroups: sybase.public.easerver
Reply-To: "Ken Ream" <reamk@msx.upmc.edu>
From: "Ken Ream" <kream@zbzoom.net>
Subject: Re: PB, JDBC, EAS running 1.2 JDK
Date: Tue, 14 Mar 2000 13:56:30 -0500
Lines: 54
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_dZgrFfej$GA.202@forums.sybase.com>
References: <347_7YROUXej$GA.151@forums.sybase.com> <347_cdnmlaej$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26441
Article PK: 157109

Maybe I'm missing something...

Does the BOOTCLASSPATH work the same as the CLASSPATH?
Shouldn't I just include the directory path down to the .zip container it
lives in?
Because as I said I have that path in both the CLASSPATH and BOOTCLASSPATH.

Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message
news:cdnmlaej$GA.285@forums.sybase.com...
> In serverstart.bar add the class to the bootclasspath
>
> Dave Wolf
> Internet Applications Dvision
>
> "Ken Ream" <kream@zbzoom.net> wrote in message
> news:7YROUXej$GA.151@forums.sybase.com...
> > Can a PowerBuilder(7.02) component use a JDBC connection if
> > Jaguar (3.5) is running 1.2 JDK?
> >
> > I was using the Oracle thin driver but when I run Jaguar using 1.2
> > my retrieve fails. When I ran the component through the debugger
> > I found this SQLCA. sqlerrtext:
> >
> > "Java Exception: Unable to find Java PbjdbcSession class. Check
> CLASSPATH."
> >
> > "D:\Program Files\Sybase\Shared\PowerBuilder\classes.zip" is definitely
in
> > both
> > CLASSPATH & BOOTCLASSPATH.
> >
> > And everything works fine using JDK118.
> >
> > I can't find anything saying so, but I'm guessing the PB jdbc driver
> doesn't
> > work with
> > jdk 1.2.
> >
> > Can someone confirm that (or better yet tell me I"m wrong and what I'm
> doing
> > wrong)?
> >
> >
> >
> >
> >
> >
> >
>
>


Dave Wolf [Sybase] Posted on 2000-03-14 19:00:49.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: PB, JDBC, EAS running 1.2 JDK
Date: Tue, 14 Mar 2000 14:00:49 -0500
Lines: 67
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: PPPa86-ResaleDialinx8003-1R7203.saturn.bbn.com 4.54.150.115
Message-ID: <347_Okfo4gej$GA.285@forums.sybase.com>
References: <347_7YROUXej$GA.151@forums.sybase.com> <347_cdnmlaej$GA.285@forums.sybase.com> <347_dZgrFfej$GA.202@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26440
Article PK: 157110

You have to include the actual ZIP

%JAGUAR%\html\classes\classes111.zip

Dave Wolf
Internet Applications Division

"Ken Ream" <kream@zbzoom.net> wrote in message
news:dZgrFfej$GA.202@forums.sybase.com...
> Maybe I'm missing something...
>
> Does the BOOTCLASSPATH work the same as the CLASSPATH?
> Shouldn't I just include the directory path down to the .zip container it
> lives in?
> Because as I said I have that path in both the CLASSPATH and
BOOTCLASSPATH.
>
>
>
> Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message
> news:cdnmlaej$GA.285@forums.sybase.com...
> > In serverstart.bar add the class to the bootclasspath
> >
> > Dave Wolf
> > Internet Applications Dvision
> >
> > "Ken Ream" <kream@zbzoom.net> wrote in message
> > news:7YROUXej$GA.151@forums.sybase.com...
> > > Can a PowerBuilder(7.02) component use a JDBC connection if
> > > Jaguar (3.5) is running 1.2 JDK?
> > >
> > > I was using the Oracle thin driver but when I run Jaguar using 1.2
> > > my retrieve fails. When I ran the component through the debugger
> > > I found this SQLCA. sqlerrtext:
> > >
> > > "Java Exception: Unable to find Java PbjdbcSession class. Check
> > CLASSPATH."
> > >
> > > "D:\Program Files\Sybase\Shared\PowerBuilder\classes.zip" is
definitely
> in
> > > both
> > > CLASSPATH & BOOTCLASSPATH.
> > >
> > > And everything works fine using JDK118.
> > >
> > > I can't find anything saying so, but I'm guessing the PB jdbc driver
> > doesn't
> > > work with
> > > jdk 1.2.
> > >
> > > Can someone confirm that (or better yet tell me I"m wrong and what I'm
> > doing
> > > wrong)?
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>


Ken Ream Posted on 2000-03-14 19:14:56.0Z
Newsgroups: sybase.public.easerver
Reply-To: "Ken Ream" <reamk@msx.upmc.edu>
From: "Ken Ream" <kream@zbzoom.net>
Subject: Re: PB, JDBC, EAS running 1.2 JDK
Date: Tue, 14 Mar 2000 14:14:56 -0500
Lines: 99
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_fNkUVpej$GA.201@forums.sybase.com>
References: <347_7YROUXej$GA.151@forums.sybase.com> <347_cdnmlaej$GA.285@forums.sybase.com> <347_dZgrFfej$GA.202@forums.sybase.com> <347_Okfo4gej$GA.285@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26439
Article PK: 157108

Ok. Its in there or more precisely classes12.zip which is Oracle's
1.2 driver and I can ping the connection cache from JagManager.

But the error I'm seeing is when running from a PB component a
class in the PB file classes.zip isn't being found. And that zip is also
in the BOOTCLASSPATH.

I've even tried unzipping the files in it to a directory and including
that directory in the BOOTCLASSPATH.


Could you clear up some confusion abouth the BOOTCLASSPATH
for me?

Is it what the JVM looks at instead of classpath when running 1.2?

Does CLASSPATH even play a role then?

If it does how do I know what goes in which?

If I run Jaguar as a service would creating a BOOTCLASSPATH environment
variable work the same way as having it in serverstart.bat?

Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message
news:Okfo4gej$GA.285@forums.sybase.com...
> You have to include the actual ZIP
>
> %JAGUAR%\html\classes\classes111.zip
>
> Dave Wolf
> Internet Applications Division
>
> "Ken Ream" <kream@zbzoom.net> wrote in message
> news:dZgrFfej$GA.202@forums.sybase.com...
> > Maybe I'm missing something...
> >
> > Does the BOOTCLASSPATH work the same as the CLASSPATH?
> > Shouldn't I just include the directory path down to the .zip container
it
> > lives in?
> > Because as I said I have that path in both the CLASSPATH and
> BOOTCLASSPATH.
> >
> >
> >
> > Dave Wolf [Sybase] <dwolf@sybase.com> wrote in message
> > news:cdnmlaej$GA.285@forums.sybase.com...
> > > In serverstart.bar add the class to the bootclasspath
> > >
> > > Dave Wolf
> > > Internet Applications Dvision
> > >
> > > "Ken Ream" <kream@zbzoom.net> wrote in message
> > > news:7YROUXej$GA.151@forums.sybase.com...
> > > > Can a PowerBuilder(7.02) component use a JDBC connection if
> > > > Jaguar (3.5) is running 1.2 JDK?
> > > >
> > > > I was using the Oracle thin driver but when I run Jaguar using 1.2
> > > > my retrieve fails. When I ran the component through the debugger
> > > > I found this SQLCA. sqlerrtext:
> > > >
> > > > "Java Exception: Unable to find Java PbjdbcSession class. Check
> > > CLASSPATH."
> > > >
> > > > "D:\Program Files\Sybase\Shared\PowerBuilder\classes.zip" is
> definitely
> > in
> > > > both
> > > > CLASSPATH & BOOTCLASSPATH.
> > > >
> > > > And everything works fine using JDK118.
> > > >
> > > > I can't find anything saying so, but I'm guessing the PB jdbc driver
> > > doesn't
> > > > work with
> > > > jdk 1.2.
> > > >
> > > > Can someone confirm that (or better yet tell me I"m wrong and what
I'm
> > > doing
> > > > wrong)?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>