Results 1 to 2 of 2
  1. #1
    Join Date
    May 2002
    Posts
    55

    Unanswered: DB2 Java Applet Sample Wrong

    I try DB2 java Sample ( applet using " Com.ibm.db2.jdbc.net.DB2Driver" driver ) both DB2 version 7.2 and version 6.1. But NEVER successful, is there any body successfully running this sample?

    . sqllib/samples/java/DB2Applt.java
    . sqllib/samples/java/DB2Applt.html
    and start DB2jstrt <portnumber> at DB2 server side.

    Appreciate you sharing information.


    Guyang

  2. #2
    Join Date
    Oct 2001
    Posts
    68
    This has always worked for me. You need to let us know the symptoms, click "View" -> "Java Console" (you may need to enable it under Internet Options). See if you get execptions. Are you using a true httpd web-server, the Java security model only allows applets access to the same IP as they were hosted on, which means the db2 server and web server must be accessable through same IP or name.

    WP.
    William P.O'Sullivan

    IBM Certified Solutions Expert - DB2 UDB V7.1 Database Administration for Unix, Linux, Windows and OS/2
    OS/390, AIX, Linux and Windows2000

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •