[CR #273623] To use JDBC or JDBC connection caches from PowerBuilder components, you must add the PowerBuilder JDBC support classes to the EAServer CLASSPATH. These classes are in pbjdbc12.jar, which is included in the PBVM installation for EAServer.
Workaround: There are two ways to satisfy this requirement:
Add the location of pbjdbc12.jar to the system CLASSPATH environment variable. The PBVM installer does this for you. However, this does not work if you have a CLASSPATH setting in the EAServer bin\user_setenv.bat file that overrides the system setting. In this case, use the next technique.
Edit the file bin\user_setenv.bat in your EAServer installation. If this file does not exist, create a text file with this name in the EAServer bin subdirectory. Add a CLASSPATH setting that includes the location of the PowerBuilder pbjdbc12.jar file. For example:
set CLASSPATH=C:\Program Files\Sybase\Shared\PowerBuilder\pbjdbc12.jar
Or, to preserve an existing CLASSPATH setting, use the syntax of this example to append the JAR location to the existing CLASSPATH value:
set CLASSPATH=%CLASSPATH%; C:\Program Files\Sybase\Shared\PowerBuilder\pbjdbc12.jar
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |