[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:



There are security restrictions for Applets.U have to make changes in ur
policy file and then proceed.
I hope it works.
Cheers,
abhay
----- Original Message -----
From: cheenu goel <amroop@yahoo.com>
To: <ozone-users@ozone-db.org>
Sent: Saturday, June 02, 2001 12:05 AM


> Can anyone please solve this problem.I will appreciate
> your help ,It's really urgent.
>
> I have Netscape 4.7 and JDK 1.3,whenever I'm trying to
> access any website through my active applet in
> Netscape (by using setPage command of JTextpane),it's
> giving the following error:
>
> netscape.security.AppletSecurityException:
> security.Couldn't connect to 'www.yahoo.com' with
> origin from ''.
>   at java.lang.Throwable.<init>(Compiled Code)
>   at java.lang.Exception.<init>(Compiled Code)
>   at java.lang.RuntimeException.<init>(Compiled Code)
>   at java.lang.SecurityException.<init>(Compiled Code)
>   at
> netscape.security.AppletSecurityException.<init>(Compiled
> Code)
>   at
> netscape.security.AppletSecurityException.<init>(Compiled
> Code)
>   at
> netscape.security.AppletSecurity.checkConnect(Compiled
> Code)
>   at
> netscape.security.AppletSecurity.checkConnect(Compiled
> Code)
>   at
> netscape.security.AppletSecurity.checkURLConnectHelper(Compiled
> Code)
>   at
> netscape.security.AppletSecurity.checkURLConnect(Compiled
> Code)
>   at
> java.lang.SecurityManager.checkURLConnect(Compiled
> Code)
>   at netscape.net.URLConnection.connect(Compiled Code)
>   at
> netscape.net.URLConnection.getInputStream(Compiled
> Code)
>   at javax.swing.JEditorPane.getStream(Compiled Code)
>   at javax.swing.JEditorPane.setPage(Compiled Code)
>   at javax.swing.JEditorPane.setPage(Compiled Code)
>   at ApText2.actionPerformed(Compiled Code)
>   at
> javax.swing.AbstractButton.fireActionPerformed(Compiled
> Code)
>   at
> javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Compiled
> Code)
>   at
> javax.swing.DefaultButtonModel.fireActionPerformed(Compiled
> Code)
>   at
> javax.swing.DefaultButtonModel.setPressed(Compiled
> Code)
>   at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Compiled
> Code)
>   at java.awt.Component.processMouseEvent(Compiled
> Code)
>   at java.awt.Component.processEvent(Compiled Code)
>   at java.awt.Container.processEvent(Compiled Code)
>   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
> java.awt.LightweightDispatcher.processMouseEvent(Compiled
> Code)
>   at
> java.awt.LightweightDispatcher.dispatchEvent(Compiled
> Code)
>   at java.awt.Container.dispatchEventImpl(Compiled
> Code)
>   at java.awt.Window.dispatchEventImpl(Compiled Code)
> * at java.awt.Component.dispatchEvent(Compiled Code)
>   at
> java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
> Code)
>   at java.awt.EventDispatchThread.run(Compiled Code)
>   at
> netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
> Code)
> # Applet ApText2 did not shut down within 30 seconds
> -- killing it.
>
> thanks,
> Anita
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.256 / Virus Database: 129 - Release Date: 5/31/01