CDV ❯ Errors when using tc-admin console to connect to L2 on RHEL4
Bug
Status:Closed
3 Minor
Resolution:Fixed
Console
qa
Reporter:alex
August 24, 2006
0
Watchers:0
February 12, 2013
June 08, 2007
Description
the following exceptions were thrown when clicking Connect button on the console:
WARNING: Could not lock User prefs. Unix error code 5.
java.util.prefs.BackingStoreException: Couldn’t get file lock.
at java.util.prefs.FileSystemPreferences.sync(Unknown Source)
at java.util.prefs.FileSystemPreferences.flush(Unknown Source)
at com.tc.admin.common.PrefsHelper.flush(PrefsHelper.java:43)
at com.tc.admin.common.XObjectTable.storeSortPrefs(XObjectTable.java:383)
at com.tc.admin.common.XObjectTable.setSortColumn(XObjectTable.java:159)
at com.tc.admin.dso.ClassesTable.(ClassesTable.java:13)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at visix.galaxy.ComponentResource.newComponent(ComponentResource.java:225)
at visix.galaxy.ComponentResource.newComponent(ComponentResource.java:207)
at visix.galaxy.ComponentResource.newComponent(ComponentResource.java:243)
at visix.galaxy.ComponentResource.safeNewComponent(ComponentResource.java:230)
at visix.galaxy.ScrollPane.load(ScrollPane.java:44)
at visix.galaxy.ScrollPane.load(ScrollPane.java:35)
at visix.galaxy.ComponentResource.newComponent(ComponentResource.java:214)
at visix.galaxy.ComponentResource.newComponent(ComponentResource.java:243)
at visix.galaxy.ComponentResource.safeNewComponent(ComponentResource.java:230)
at visix.galaxy.TabbedPane.load(TabbedPane.java:45)
at visix.galaxy.TabbedPane.load(TabbedPane.java:24)
at visix.galaxy.ComponentResource.newComponent(ComponentResource.java:214)
at visix.galaxy.ComponentResource.newComponent(ComponentResource.java:243)
at visix.galaxy.ComponentResource.safeNewComponent(ComponentResource.java:230)
at visix.galaxy.ContainerSupport.load(ContainerSupport.java:21)
at visix.galaxy.Container.load(Container.java:62)
at com.tc.admin.dso.ClassesPanel.(ClassesPanel.java:31)
at com.tc.admin.dso.ClassesNode.(ClassesNode.java:24)
at com.tc.admin.dso.DSONode.(DSONode.java:25)
at com.tc.admin.ServerNode.handleActivation(ServerNode.java:556)
at com.tc.admin.ServerNode.setConnected(ServerNode.java:188)
at com.tc.admin.ServerNode.access$300(ServerNode.java:45)
at com.tc.admin.ServerNode$1.run(ServerNode.java:111)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
Aug 24, 2006 12:18:06 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
Comments
Fiona OShea2006-09-28
Consider not using Java preferences and don’t store preferences in dot file
Taylor Gautier2007-01-19
We should catch this exception and give a better error message to indicate the problem.
Hung Huynh2007-01-26
Related issue: https://jira.terracotta.org/jira/browse/IT-211
Fiona OShea2007-05-31
Add a better error message
Fiona OShea2007-06-08
Can we reproduce this issue?
Hung Huynh2007-06-08
This is known hardware problem. We can’t run on shared network drive. Set data and logs folder in tc-config.xml to point to local folders instead (ie, /tmp )
Consider not using Java preferences and don’t store preferences in dot file