Java Error: Exception loading children: 20007

I’m on Windows 7 64-bit, FireFox 3.6.13, Java 6 Update 24, Java Console 6.0.24 extension on FireFox, Java Deployment Toolkit 6.0.240.7 plugin on FireFox, Java Platform 6 U24 plugin on FireFox.

Anytime I use Rhythmyx and either the content explorer wants to update (say: lock icon to edit icon, or a state update) or Ephox EditLive is opened I receive the following error:

“Exception loading children: 20007: com.percussion.cms.PSCmsException: Caught an un-expected error while cataloging from sys_cdFieldsCataloger/SearchConfig. The error is: java.security.AccessControlException: access denied (java.net.SocketPermission 172.31.29.202:9992 connect,resolve)”

I receive the same error if I use a 32-bit XP virtual machine. I do not receive the error on my other machine that is set up identical except that it is on Java 6 Update 14 (and appropriate FireFox extensions and plugins).

Here is my Java Console:
“Starting using applet: com.ephox.editlive.win.EditLiveJava
EditLive! Version: 6.7.5.27
Java VM Details: Vendor=Sun Microsystems Inc. Vendor version=19.1-b02 Java Version=1.6.0_24
Default charset: Cp1252
Locale: en_US
Browser UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
java.security.AccessControlException: access denied (java.net.SocketPermission 172.31.29.202:9992 connect,resolve)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at com.percussion.util.PSHttpConnection.o00000(Unknown Source)
at com.percussion.util.PSHttpConnection.Ò00000(Unknown Source)
at com.percussion.util.PSHttpConnection.postData(Unknown Source)
at com.percussion.util.PSRemoteAppletRequester.o00000(Unknown Source)
at com.percussion.util.PSRemoteAppletRequester.getDocument(Unknown Source)
at com.percussion.cms.objectstore.client.PSRemoteCataloger.super(Unknown Source)
at com.percussion.cms.objectstore.client.PSRemoteCataloger.getSearchConfig(Unknown Source)
at com.percussion.cx.PSExecutableSearch.executeSearch(Unknown Source)
at com.percussion.cx.PSFolderActionManager.loadChildren(Unknown Source)
at com.percussion.cx.PSActionManager.loadChildren(Unknown Source)
at com.percussion.cx.PSActionManager.refresh(Unknown Source)
at com.percussion.cx.PSMainView.actionExecuted(Unknown Source)
at com.percussion.cx.PSContentExplorerApplet$3.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
com.percussion.cx.error.PSContentExplorerException: 20007: com.percussion.cms.PSCmsException: Caught an un-expected error while cataloging from sys_ceFieldsCataloger/SearchConfig. The error is: java.security.AccessControlException: access denied (java.net.SocketPermission 172.31.29.202:9992 connect,resolve)
at com.percussion.cx.PSExecutableSearch.executeSearch(Unknown Source)
at com.percussion.cx.PSFolderActionManager.loadChildren(Unknown Source)
at com.percussion.cx.PSActionManager.loadChildren(Unknown Source)
at com.percussion.cx.PSActionManager.refresh(Unknown Source)
at com.percussion.cx.PSMainView.actionExecuted(Unknown Source)
at com.percussion.cx.PSContentExplorerApplet$3.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)”

Any help would be much appreciated.

See http://forum.percussion.com/showthread.php?10476-Firefox-3.6.14-and-Java-6-Update-24-Issues ?

Thanks for the link, that worked!

I’m getting this error as well with FF 4.0.1 and IE7 with Java 6 Update 26 when creating content types w/ the Ephox editor. I have cleared my browser and java cache but still get the error. Java console pasted below:

Starting using applet: com.ephox.editlive.win.EditLiveJava
EditLive! Version: 6.7.5.27
Java VM Details: Vendor=Sun Microsystems Inc. Vendor version=20.1-b02 Java Version=1.6.0_26
Default charset: Cp1252
Locale: en_US
Browser UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
java.security.AccessControlException: access denied (java.net.SocketPermission 157.98.64.183:9992 connect,resolve)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at sun.plugin2.applet.Applet2SecurityManager.checkConnect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at com.percussion.util.PSHttpConnection.o00000(Unknown Source)
at com.percussion.util.PSHttpConnection.new(Unknown Source)
at com.percussion.util.PSHttpConnection.postData(Unknown Source)
at com.percussion.util.PSRemoteAppletRequester.o00000(Unknown Source)
at com.percussion.util.PSRemoteAppletRequester.getDocument(Unknown Source)
at com.percussion.cms.objectstore.client.PSRemoteCataloger.o00000(Unknown Source)
at com.percussion.cms.objectstore.client.PSRemoteCataloger.getSearchConfig(Unknown Source)
at com.percussion.cx.PSExecutableSearch.executeSearch(Unknown Source)
at com.percussion.cx.PSFolderActionManager.loadChildren(Unknown Source)
at com.percussion.cx.PSActionManager.loadChildren(Unknown Source)
at com.percussion.cx.PSActionManager.refresh(Unknown Source)
at com.percussion.cx.PSMainView.actionExecuted(Unknown Source)
at com.percussion.cx.PSContentExplorerApplet$3.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
com.percussion.cx.error.PSContentExplorerException: 20007: com.percussion.cms.PSCmsException: Caught an un-expected error while cataloging from sys_ceFieldsCataloger/SearchConfig. The error is: java.security.AccessControlException: access denied (java.net.SocketPermission 157.98.64.183:9992 connect,resolve)
at com.percussion.cx.PSExecutableSearch.executeSearch(Unknown Source)
at com.percussion.cx.PSFolderActionManager.loadChildren(Unknown Source)
at com.percussion.cx.PSActionManager.loadChildren(Unknown Source)
at com.percussion.cx.PSActionManager.refresh(Unknown Source)
at com.percussion.cx.PSMainView.actionExecuted(Unknown Source)
at com.percussion.cx.PSContentExplorerApplet$3.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

from tech support:

can you try adjusting your local java.policy file to look something like:

// allows anyone to listen on un-privileged ports
permission java.net.SocketPermission “localhost:1024-”, “listen”;
permission java.net.SocketPermission “", “resolve”;
permission java.net.SocketPermission "
”, “connect”;
permission java.net.SocketPermission “*”, “accept”;

I’ve been having the same issue since moving to Windows 7, and the above has worked brilliantly.

Just for clarification, the java.policy file on Windows 7 is here:

C:\Program Files (x86)\Java\jre6\lib\security\java.policy

and my modified file now looks like this:

// Standard extensions get all permissions by default

grant codeBase "file:${{java.ext.dirs}}/*" {
     permission java.security.AllPermission;
};

// default permissions granted to all domains

grant { 
     // Allows any thread to stop itself using the java.lang.Thread.stop()
     // method that takes no argument.
     // Note that this permission is granted by default only to remain
     // backwards compatible.
     // It is strongly recommended that you either remove this permission
     // from this policy file or further restrict it to code sources
     // that you specify, because Thread.stop() is potentially unsafe.
     // See the API specification of java.lang.Thread.stop() for more
        // information.
     permission java.lang.RuntimePermission "stopThread";

     // allows anyone to listen on un-privileged ports
     permission java.net.SocketPermission "localhost:1024-", "listen";

     // "standard" properies that can be read by anyone

     permission java.util.PropertyPermission "java.version", "read";
     permission java.util.PropertyPermission "java.vendor", "read";
     permission java.util.PropertyPermission "java.vendor.url", "read";
     permission java.util.PropertyPermission "java.class.version", "read";
     permission java.util.PropertyPermission "os.name", "read";
     permission java.util.PropertyPermission "os.version", "read";
     permission java.util.PropertyPermission "os.arch", "read";
     permission java.util.PropertyPermission "file.separator", "read";
     permission java.util.PropertyPermission "path.separator", "read";
     permission java.util.PropertyPermission "line.separator", "read";

     permission java.util.PropertyPermission "java.specification.version", "read";
     permission java.util.PropertyPermission "java.specification.vendor", "read";
     permission java.util.PropertyPermission "java.specification.name", "read";

     permission java.util.PropertyPermission "java.vm.specification.version", "read";
     permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
     permission java.util.PropertyPermission "java.vm.specification.name", "read";
     permission java.util.PropertyPermission "java.vm.version", "read";
     permission java.util.PropertyPermission "java.vm.vendor", "read";
     permission java.util.PropertyPermission "java.vm.name", "read";
  
  // allows anyone to listen on un-privileged ports
  permission java.net.SocketPermission "localhost:1024-", "listen";
  permission java.net.SocketPermission "*", "resolve";
  permission java.net.SocketPermission "*", "connect";
  permission java.net.SocketPermission "*", "accept";  
  
  
};