torsten1712
Programmer
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
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