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 > Java tools not working on server

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-08, 02:00
mitait mitait is offline
Registered User
 
Join Date: Mar 2004
Location: Finland
Posts: 22
Java tools not working on server

For some time now we have had a problem with DB2 java tools (Control Center, Datawarehouse Center, Client Configuration Wizard... all of them) on server... they don't run at all, never. When trying to run them it all looks normal until the progress bar stops little after middle of the opening the tool selected. Then the window just vanishes and you can find an error in event viewer :

Faulting application javaw.exe, version 141.2004.3.1, faulting module db2jddba.dll, version 8.1.16.429, fault address 0x00027f4b.

The server is windows 2003. Db2 version used to be 8.1.15 when the problem started. The problem seemed to start without any provocation, at least we don't know that anything would have changed. It was just suddenly one day when the tools did not work anymore. The database itself is working fine and tools on the clients work well. We now have db2 version 8.1.16 as we tried to fix the problem by installing the fixpak. It did not help.

I have found a couple of exact same guestions on the internet but so far I have not found a simple answer that would help. So any ideas of what could have happened and how to fix it would be welcome.
Reply With Quote
  #2 (permalink)  
Old 11-11-08, 10:27
masonrog masonrog is offline
Registered User
 
Join Date: Nov 2008
Posts: 1
Control Center javaw error solution

Hello,

I got the Control Center javaw error this week and found this post at the forum, maybe you solved the problem already, but If not, I post the steps that work for me.

Looking on IBM DB2 Support I found this topic:

Frequently asked question - UDB on Windows NT

How can I correct the error "javaw.exe - Application Error." The instruction at "hex_number" referenced memory at "hex_number." The memory could not be "read" when I bring up the Command Center on Windows?

A: Try the following:

1. Ensure that DB2 JDBC Applet Server -- Control Center is started.
2. Rename the .prf files under the instance (eg c:\sqllib\DB2\*.prf) to *.bak.
3. Start the Command Center.

Reference: 28132 Date: 03 Jul 2007

I did it and also replaced the db2jddba.dll file with the same file located on other server with DB2. This File is located in the folder \DB2\IBM\SQLLIB\BIN

Now the problem is solved and I can open the Control Center again.

Hope this will be helpful

Best regards

Roger
Reply With Quote
  #3 (permalink)  
Old 11-14-08, 07:58
mitait mitait is offline
Registered User
 
Join Date: Mar 2004
Location: Finland
Posts: 22
Thumbs up

Thanks a lot Roger, your answer proved to be extremely valuable!!

We simply renamed the .prf files under /sqllib/db2 and all of the Java tools started to work immediately. We did not need to copy any files or anything else, simply just rename .prf files and that's it.

Thanks, again!

Mika
Reply With Quote
  #4 (permalink)  
Old 06-17-09, 06:56
cjs777 cjs777 is offline
Registered User
 
Join Date: Aug 2008
Posts: 1
I also ran into this today and would just like to thank you for this solution - it saved me a lot of pain! Well done and thanks again!
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