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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Build Successful but Initialization Issue

Status
Not open for further replies.

Watts

Programmer
Jan 18, 2001
80
US
Here it is, my code runs fine as a applet executed from Visual Cafe, but when I tried to run it in IE as a web page I get the following errors. What is going on? This is a lot of garbage to me and I am relatively new to Java.


com.ms.security.SecurityExceptionEx[dc.<init>]: java.io.IOException: bad path: C:\VisualCafeXE\bin\TempPrj0\symantec\itools\awt\BorderPanel.class
at com/ms/security/permissions/FileIOPermission.check
at com/ms/security/PolicyEngine.deepCheck
at com/ms/security/PolicyEngine.checkPermission
at com/ms/security/StandardSecurityManager.chk
at com/ms/security/StandardSecurityManager.checkRead
at java/io/File.isDirectory
at sun/net/ at sun/net/ at com/ms/vm/loader/ResourceLoader.getURLData
at com/ms/vm/loader/ResourceLoader.getCodebaseRelativeData
at com/ms/vm/loader/ResourceLoader.getClassData
at com/ms/vm/loader/URLClassLoader.findClass
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at dc.<init>
at com/ms/applet/BrowserAppletFrame.newInstance
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
com.ms.security.SecurityExceptionEx[dc.<init>]: java.io.IOException: bad path: C:\VisualCafeXE\bin\TempPrj0\symantec\itools\awt\BorderPanel.class
at com/ms/security/permissions/FileIOPermission.check
at com/ms/security/PolicyEngine.deepCheck
at com/ms/security/PolicyEngine.checkPermission
at com/ms/security/StandardSecurityManager.chk
at com/ms/security/StandardSecurityManager.checkRead
at java/io/File.isDirectory
at sun/net/ at sun/net/ at com/ms/vm/loader/ResourceLoader.getURLData
at com/ms/vm/loader/ResourceLoader.getCodebaseRelativeData
at com/ms/vm/loader/ResourceLoader.getClassData
at com/ms/vm/loader/URLClassLoader.findClass
at com/ms/vm/loader/URLClassLoader.loadClass
at java/lang/ClassLoader.loadClassInternal
at dc.<init>
at com/ms/applet/BrowserAppletFrame.newInstance
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run
 
Common Applet Error Number 1) If you are trying to access the Client computer thru an Applet you will recieve a security exception. The the problem is you are (I am assuming) accessing the applet from the computer that is serving it. In this case the Client is the Server but IE percieves this a Security violation. The appletviewer in Cafe is a bit more lax when it comes to security for testing purposes. If you access the Applet from another machine I am guessing that it will work fine. Wushutwist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top