linux command line running java program connect to db2 -



linux command line running java program connect to db2 -

i have java programme connects db2 database , cleanning, it's working fine eclipse, however, want set server's crontab, can run automatically every other week

here essential command utilize eclipse

java -cp /some/path/my/jar/files -connectionurl jdbc:db2://localhost:50000/stats other_argument

(i have stats database on same machine) works eclipse

however, when run command line in linux, gives me such error

error: [packetdispatcher.cpp:100] run: exception in connection: transportexception [510/202] connection failed (error code: -249)

i wondering if because cannot utilize jdbc straight command line or there other problem it.

please, help, reply appreciated

java linux

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -