Question

Locked

Applets in Web Browser

By vinayaga_sat ·
In general web servers not allows an applet to access files some restrictions like reading and writing a file throw via web server. My question is I need full access permission for my applet window in web server.

I had some exceptions while running my program. like as follows:
java.security.AccessControlException: access denied (java.io.FilePermission basename read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at java.io.File.isDirectory(File.java:752)
at java.io.File.toURL(File.java:623)
at com.sun.org.apache.xml.internal.resolver.helpers.FileURL.makeURL(FileURL.java:87)
at com.sun.org.apache.xml.internal.resolver.Catalog.parseCatalogFile(Catalog.java:816)
at com.sun.org.apache.xml.internal.resolver.Catalog.parsePendingCatalogs(Catalog.java:755)
at com.sun.org.apache.xml.internal.resolver.Catalog.parseCatalog(Catalog.java:603)
at com.sun.org.apache.xml.internal.resolver.Catalog.loadSystemCatalogs(Catalog.java:57
at com.sun.org.apache.xml.internal.resolver.CatalogManager.getPrivateCatalog(CatalogManager.java:695)
at com.sun.org.apache.xml.internal.resolver.CatalogManager.getCatalog(CatalogManager.java:722)
at com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver.initializeCatalogs(CatalogResolver.java:93)
at com.sun.org.apache.xml.internal.resolver.tools.CatalogResolver.<init>(CatalogResolver.java:8
at com.sun.xml.internal.ws.util.xml.XmlUtil.createDefaultCatalogResolver(XmlUtil.java:243)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:226)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:189)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:159)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:83)
at javax.xml.ws.Service.<init>(Service.java:56)
at my.mimos.stp.delegator.webservice.client.DelegatorService.<init>(DelegatorService.java:51)
at my.mimos.stp.delegator.webservice.client.DelegatorHelper.getKBInfo(DelegatorHelper.java:5
at my.mimos.stp.mmsb.business.ReadOntology.getKBInfo(ReadOntology.java:1186)
at my.mimos.stp.mmsb.DisplayNodes.readOntologies(DisplayNodes.java:40
at my.mimos.stp.mmsb.DisplayNodes.<init>(DisplayNodes.java:36
at my.mimos.stp.mmsb.SemanticBrowser.init(SemanticBrowser.java:189)
at my.mimos.stp.mmsb.SemanticBrowser.<init>(SemanticBrowser.java:114)
at my.mimos.stp.mmsb.MainApplet.init(MainApplet.java:14)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums