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

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -