aspose file tools*
The moose likes BEA/Weblogic and the fly likes problem with AccessControlException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "problem with AccessControlException" Watch "problem with AccessControlException" New topic
Author

problem with AccessControlException

Krishna Dhurjaty
Greenhorn

Joined: Oct 16, 2003
Posts: 2
Hi
I have this below sticked exception when i try to invoke the rmi Impl class by providing it in the init of a startup servlet in weblogic env. can someone help me out?
Thanks,
Krishna Dhurjaty
This is the exception i am getting now

HelloServer err: access denied (java.io.FilePermission C:\bea\user_projects\myd
omain\bai-sit\stage\_appsdir_cais_war\cais.war\com\bac\amg\cais\security\Securit
yException.class read)
java.security.AccessControlException: access denied (java.io.FilePermission C:\b
ea\user_projects\mydomain\bai-sit\stage\_appsdir_cais_war\cais.war\com\bac\amg\c
ais\security\SecurityException.class read)
at java.security.AccessControlContext.checkPermission(AccessControlConte
xt.java:270)
at java.security.AccessController.checkPermission(AccessController.java:
401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkRead(SecurityManager.java:887)
at java.io.File.exists(File.java:677)
at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.jav
a:168)
at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.jav
a:102)
at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFind
er.java:80)
at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFind
er.java:69)
at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFind
er.java:80)
at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFind
er.java:69)
at weblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClas
sFinder.java:61)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:342)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:169)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
areClassLoader.java:62)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
areClassLoader.java:41)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at com.bac.amg.cais.authorization.RemoteImplServlet.init(RemoteImplServl
et.java:38)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl
etStubImpl.java:1070)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
97)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:893)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java:842)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:782)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
ervletContext.java:3191)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
ServletContext.java:3136)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
pServletContext.java:3109)
at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java
:573)
at weblogic.servlet.internal.WebService.preloadResources(WebService.java
:483)
at weblogic.servlet.internal.ServletInitService.resume(ServletInitServic
e.java:30)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:927)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:354)
at weblogic.Server.main(Server.java:32)
<Oct 24, 2003 9:36:47 AM EDT> <Notice> <WebLogicServer> <BEA-000355> <Thread "Li
stenThread.Default" listening on port 7001, ip address 127.0.0.1>
<Oct 24, 2003 9:36:47 AM EDT> <Notice> <WebLogicServer> <BEA-000331> <Started We
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with AccessControlException
 
Similar Threads
again problems with weblogic 8.1
Weblogic is not getting started
Can't start the web server,java processes die after few minute,any thoughs.
jsf run in weblogic 8.1 ?
Not able to deploy struts blank war file in weblogic 9.2 server