# Applet security exception(checkConnect)

OCSIL Technology Group (techgrp@ocsindia.com)
Mon, 9 Nov 1998 00:45:20 +0530

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: dongwei@nantian.com.cn: "Applet security exception(checkConnect)"
- Previous message: OCSIL Technology Group: "Subsrcibe java-security@java.sun.com"

Hi,

I am having problem while running an applet from a client browser
(Netscape with java plug-in 1.1). I have an Applet
which connects to Oracle D/B. I am using Oracle's thin
Driver.When running as a client server , it works
fine in browser, but When running thru WebServer
(Oracle Web server i.e My applet is in web server)
and My database is in some other computer.
When i run the applet thru this web server , iam
getting this Exception.
I signed my Jar file using javakey.

Below is the Exception.

Please help me.

Thanks in Advance.

sun.applet.AppletSecurityException: checkconnect.networkhost1
at java.lang.Throwable.<init>(Compiled Code) at
java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(RuntimeException.java:58)
at java.lang.SecurityException.<init>(SecurityException.java:50)
at
sun.applet.AppletSecurityException.<init>(AppletSecurityException.java:37)
at
sun.applet.AppletSecurityException.<init>(AppletSecurityException.java:48)
at sun.applet.AppletSecurity.checkConnect(Compiled Code)
at sun.applet.AppletSecurity.checkConnect(Compiled Code)
at sun.applet.AppletSecurity.checkConnect(Compiled Code)
at java.net.Socket.<init>(Socket.java:218)
at java.net.Socket.<init>(Socket.java:97)
at
at
at
at
at
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:103)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:148)
at java.sql.DriverManager.getConnection(Compiled Code)
at java.sql.DriverManager.getConnection(DriverManager.java:134)
at borland.sql.dataset.Database.openConnection(Compiled Code)
at borland.sql.dataset.Database.createPreparedStatement(Unknown Source)
at borland.sql.dataset.$141.createStatement(Unknown Source)
at borland.sql.dataset.$141.$dH(Unknown Source)
at borland.sql.dataset.$141.executeQuery(Unknown Source)
at borland.sql.dataset.QueryProvider.$IG(Unknown Source)
at borland.sql.dataset.$139.provideData(Unknown Source)
at borland.jbcl.dataset.StorageDataSet.$kaf(Unknown Source)
at borland.jbcl.dataset.DataSet.open(Unknown Source)
at borland.jbcl.dataset.DataSet.open(Unknown Source)
at borland.jbcl.control.LabelControl.openDataSet(LabelControl.java:116)
at borland.jbcl.control.LabelControl.addNotify(LabelControl.java:104)
at java.awt.Container.addNotify(Compiled Code)
at com.sun.java.swing.JComponent.addNotify(JComponent.java:2840)
at borland.jbcl.view.BeanPanel.addNotify(BeanPanel.java:254)
at java.awt.Container.addImpl(Compiled Code)
at java.awt.Container.add(Compiled Code)
at clwsbeta.Login.bLogin_actionPerformed(Login.java:248)
at clwsbeta.bLogin_bLogin_actionAdapter.actionPerformed(Login.java:308)
at borland.jbcl.util.ActionMulticaster.dispatch(Compiled Code)
at borland.jbcl.view.BeanPanel.processActionEvent(BeanPanel.java:137)
at borland.jbcl.view.ButtonView.processMouseReleased(ButtonView.java:346)
at borland.jbcl.view.BeanPanel.processMouseEvent(BeanPanel.java:169)
at
at
at
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
at at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)

- Next message: dongwei@nantian.com.cn: "Applet security exception(checkConnect)"
- Previous message: OCSIL Technology Group: "Subsrcibe java-security@java.sun.com"