Question

4
Replies
445
Views
VipinKumar38163630 Member since 2016 2 posts
Posted: 5 years ago
Last activity: 5 years 6 months ago
Closed
Solved

BIX command line error - java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver

I am running BIX 7.1 from command line and getting this error:

C:\Users\\BIX__Pega7>java -Xms128m -Xmx256m -cp .;lib\prbootstrap.jar;lib\prdbcp.jar;lib\rt.jar;lib\db2jcc.jar;lib\d

b2jcc_license_cu.jar;lib\jsr94-1.0.jar; -Dcom.pega.pegarules.bootstrap.properties.url=\config\prbootstrap.properties -Dpegarules.con

fig=\config\prconfig.xml -Dpega.prbootstrap.config=\config\prbootstrap.properties -Dpegarules.logging.configuration=\config\prloggin

g.xml -Dcom.pega.pegarules.bootstrap.ignorejndi=true com.pega.pegarules.pub.PegaRULES com.pega.pegarules.data.internal.access.Extrac

tImpl -i ABC-CLAIMS-NA-US-WORK-COVERAGE!DMOEXTRACTCSV,BAC-CLAIMS-NA-US-WORK-CONTACTS-MEDICARE!DMOEXTRACTCSV -t 2 -a BIXUser

-p bixuser

Feb 17, 2015 2:19:13 PM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource

19830421: Loading bootstrap properties from \config\prbootstrap.properties

Feb 17, 2015 2:19:13 PM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI

19830421: Could not find java:comp/env/prbootstrap/ in the local JNDI context, skipping prconfig setting lookup

Feb 17, 2015 2:19:13 PM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI

19830421: Could not find prbootstrap in the local JNDI context, skipping prconfig setting lookup

Feb 17, 2015 2:19:13 PM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI

19830421: Could not find java:comp/env/prconfig/ in the local JNDI context, skipping prconfig setting lookup

Feb 17, 2015 2:19:13 PM com.pega.pegarules.internal.bootstrap.SettingReaderJNDI

19830421: Could not find prconfig in the local JNDI context, skipping prconfig setting lookup

Feb 17, 2015 2:19:13 PM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource

19830421: Bootstrap datatables schema: null

Feb 17, 2015 2:19:13 PM com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource

SEVERE: Unable to connect to database. Will only use properties from file.

com.pega.pegarules.configdbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.ibm.db2.jcc.DB2Driver'

at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743)

at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:520)

at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootstrapPropertiesFromDB(PRBootstrapDataSource.java:616)

at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootstrapPropertiesFromDB(PRBootstrapDataSource.java:599)

at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootstrapProperties(PRBootstrapDataSource.java:576)

at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootstrapProperties(PRBootstrapDataSource.java:570)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.<clinit>(PRBootstrap.java:190)

at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)

Caused by: java.lang.ClassNotFoundException: com.ibm.db2.jcc.DB2Driver

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at com.pega.pegarules.configdbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:737)

***Updated by moderator: Lochan to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Moderation Team has archived post
Share this page LinkedIn