Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AccessControlException triggers server shutdown sequence

0 views
Skip to first unread message

John Hogan

unread,
Feb 13, 2002, 9:22:21 AM2/13/02
to

All,

I'm seeing the AccessControlException exception on a Solaris machine and it is
works fine in win2000. It complains of java.io.FilePermission, but there's no
file interaction occurring in our app code in this instance. Can anyone see an
apparent cause from the trace? TIA

JohnH

<Feb 12, 2002 3:35:03 PM GMT-05:00> <Notice> <WebLogicServer> <SSLListenThread
listening on port 7002>
<Feb 12, 2002 3:35:04 PM GMT-05:00> <Notice> <WebLogicServer> <Started WebLogic
Admin Server "myserver" for domain "mydomain" running in Development Mode>
<Feb 12, 2002 3:36:12 PM GMT-05:00> <Error> <HTTP> <[WebAppServletContext(604527,DefaultWebApp_myserver,/DefaultWebApp_myserver)]
Servlet failed with Exception
java.security.AccessControlException: access denied (java.io.FilePermission /opt/weblogic/wlserver6.1/config/mydomain/applications/DefaultWebApp_myserver/com/clientCo/web/error/WebExpiredException.class
read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
at java.io.File.exists(File.java:546)
at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:194)
at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:142)
at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:54)
at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:54)
at weblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClassFinder.java:46)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:264)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:155)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:45)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at com.clientCo.web.DNActionServlet.service(DNActionServlet.java:32)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:263)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2390)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1959)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Feb 12, 2002 3:36:12 PM GMT-05:00> <Error> <Kernel> <ExecuteRequest failed
java.security.AccessControlException: access denied (java.io.FilePermission /opt/weblogic/wlserver6.1/config/mydomain/applications/DefaultWebApp_myserver/htms/errorPage.jsp
read)
at java.security.AccessControlContext.checkPermission(AccessControlConte

===============================================================================

to save configuration changes to the configuration repository - weblogic.management.configuration.ConfigurationException:
error saving out mydomain - with nested exception:
[java.security.AccessControlException: access denied (java.io.FilePermission ./config/mydomain
write)].>
<Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer> <ListenThread.run()
failed: java.security.AccessControlException: access denied (java.net.SocketPermission
10.159.2.38:1631 accept,resolve)
java.security.AccessControlException: access denied (java.net.SocketPermission
10.159.2.38:1631 accept,resolve)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkAccept(SecurityManager.java:1162)
at java.net.ServerSocket.implAccept(ServerSocket.java:247)
at java.net.ServerSocket.accept(ServerSocket.java:222)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:255)
>
<Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer> <The WebLogic
Server is no longer listening for connections. You should probably restart it.>

<Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <Server shutdown
has been requested by system>
<Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <The shutdown sequence
has been initiated.>
<Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer> <ListenThread.run()
failed: java.lang.ThreadDeath
java.lang.ThreadDeath
at java.lang.Thread.stop(Thread.java:581)
at weblogic.t3.srvr.T3Srvr.die(T3Srvr.java:854)
at weblogic.t3.srvr.T3Srvr.waitForDeath(T3Srvr.java:597)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
>
<Feb 12, 2002 3:45:59 PM GMT-05:00> <Emergency> <WebLogicServer> <The WebLogic
Server is no longer listening for connections. You should probably restart it.>

<Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <Server shutdown
has been requested by system>
<Feb 12, 2002 3:45:59 PM GMT-05:00> <Alert> <WebLogicServer> <The shutdown sequence
has been initiated.>
<Feb 12, 2002 3:45:59 PM GMT-05:00> <Error> <Management> <Internal error. Failed
to save configuration changes to the configuration repository - weblogic.management.configuration.ConfigurationException:
error saving out mydomain - with nested exception:
[java.security.AccessControlException: access denied (java.io.FilePermission ./config/mydomain
write)].>


<Feb 12, 2002 3:46:20 PM GMT-05:00> <Critical> <Kernel> <Execute Thread: 'ExecuteThread:
'0' for queue: 'default'' stopped.>
# WebExpiredException: not found

Rajeev Dave

unread,
Feb 14, 2002, 11:23:50 PM2/14/02
to
just a thought...
try to start weblogic by specifying your own policy file(which grants all
permissions) and see if this resurfaces

- Rajeev

"John Hogan" <jho...@ireland.com> wrote in message
news:3c6a769d$1...@newsgroups.bea.com...

0 new messages