Question Locked

Applets in Web Browser

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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:578)
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.(CatalogResolver.java:88)
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.(WSServiceDelegate.java:189)
at com.sun.xml.internal.ws.client.WSServiceDelegate.(WSServiceDelegate.java:159)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:83)
at javax.xml.ws.Service.(Service.java:56)
at my.mimos.stp.delegator.webservice.client.DelegatorService.(DelegatorService.java:51)
at my.mimos.stp.delegator.webservice.client.DelegatorHelper.getKBInfo(DelegatorHelper.java:58)
at my.mimos.stp.mmsb.business.ReadOntology.getKBInfo(ReadOntology.java:1186)
at my.mimos.stp.mmsb.DisplayNodes.readOntologies(DisplayNodes.java:408)
at my.mimos.stp.mmsb.DisplayNodes.(DisplayNodes.java:368)
at my.mimos.stp.mmsb.SemanticBrowser.init(SemanticBrowser.java:189)
at my.mimos.stp.mmsb.SemanticBrowser.(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)

1 reply

This discussion is closed to new replies.