If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Problem removing JAVA UDF

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-20-10, 15:45
db2user24 db2user24 is offline
Registered User
 
Join Date: Nov 2007
Posts: 248
Problem removing JAVA UDF

Hi,

I'm trying to install a java udf on db2..I tried the command --

db2 "call SQLJ.INSTALL_JAR('file:/home/db2inst1/java_libs/test-db.jar' , 'testdb')"

and it worked just fine -- DB20000I The CALL command completed successfully.


Then, I can also call the function that corresponds the the jar successfully as well --

db2 "select TESTFUNC(200) from sysibm.sysdummy1"


However, if I try to remove it by giving the command --

db2 "call sqlj.remove_jar('testdb')", I get this error

SQL0444N Routine "*move_jar" (specific name "SQL100420191207610") is
implemented with code in library or path "...tion/sqlj.remove_jar", function
"sqlj.remove_jar" which cannot be accessed. Reason code: "4". SQLSTATE=42724


Any idea how I can fix this? Thanks!

Last edited by db2user24; 04-20-10 at 16:32.
Reply With Quote
  #2 (permalink)  
Old 04-22-10, 11:30
db2user24 db2user24 is offline
Registered User
 
Join Date: Nov 2007
Posts: 248
any thoughts on how to solve this? thx!
Reply With Quote
  #3 (permalink)  
Old 04-22-10, 12:25
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Check the message manual for the explanation of SQL0444N.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On