Problem with database configuration - help appreciated

25 views
Skip to first unread message

ifxtechie

unread,
May 14, 2013, 11:42:00 AM5/14/13
to jenkins...@googlegroups.com
Hi,
I am trying to setup database connections for DB2 in Jenkins; But, I am getting the error as below:
class not found:com.ibm.db2.jcc.db2driver
I have included the environment variable to include the JDBC driver in the CLASSPATH .I know this does not make sense to expect the database connection to pick up this variable.
I have tested this in a standalone program and works fine.
I have invoked the similar java program as a job in Jenkins and it works.
But, when tried to setup the Database Connections, it fails with the above error.
Any suggestion/help is much appreciated.
Thanks
Partha

Sami Tikka

unread,
May 14, 2013, 4:58:54 PM5/14/13
to jenkins...@googlegroups.com
Are you trying to ste up database connections for DB2 in Jenkins or in a build that is executed by Jenkins?

Jave you set the CLASSPATH for Jenkins or in a build that is executed by Jenkins?

How did you set the CLASSPATH? If you want to set it in a build, have you verified it is there? How?

-- Sami
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Hassan Parthasarathy

unread,
May 14, 2013, 9:36:12 PM5/14/13
to jenkins...@googlegroups.com
I am setting up the DB connections so that I can use them in my jobs.
I am setting the CLASSPATH by setting up the environment variable in Jenkins Environment configuration.
It is not BUILD that the build I am using or setting.

Thanks
Partha


You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/esq3QHSdjyg/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages