Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to extend control center with own tools

Status
Not open for further replies.

torsten1712

Programmer
Aug 21, 2001
1
GB
Hi,
I try to extend the db2 control center (I use v7 on a Win2000 system) with a self-made java tool. The documentation of db2 control center describes the way to proceed in appendix "R". If I run the control center as an application everything works fine. But if I try to run the control center as an applet my extension will not be integrated. Using the Netscape 4.78 the control center works, but without my extension. The MS Internet Explorer 5.0 hangs while loading classes, if I add my zip file extension in the archive tag of the cc html file. Last but not least the Opera Browser hangs in every case. I don't know how proceed. The documentation only means, that I have to add my extension class files in a zip archive called db2plug.zip, put this file in the directory where the codebase tag points to and add an entry to the archive tag of the html file (db2cc.htm). There is nothing wrong with my java code, because I taked out all critical sections and it works with cc as an application! The java console of Netscape captured the db2plug.zip and some other archives while loading the applet and shows no error messages.
Finally I have to say, that for running cc as an applet you must set up a web server and the db2 jdbc server. It would surprise me, but perhaps anything is wrong with the server processes. Perhaps someone has already used the interface of db2 cc to extend it and knows what to do.

Thanks a lot to everyone reading this
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top