Sentinel File Connector does not allow browsing windows 2008 file system

  • 7002598
  • 09-Feb-2009
  • 26-Apr-2012

Environment

Novell Sentinel 6.1 Hotfix 1
Microsoft Windows 2008
File Connector 6r8

Situation

When using Event Source Management (ESM) with Sentinel 6.1 and adding a File Event Source to the environment an attempt is made to use the Browse button to browse the file system of the Collector Manager machine.  When the Sentinel Control Center (SCC) is on a the windows server itself the Browse dialog opens but does not allow any browsing; on a Linux machine the Browse dialog does not open at all.

Resolution

The suggested workaround is to manually enter the full path to the file to be read by the File Connector on the Collector Manager (CM) machine.  For example the following paths can be entered manually into the box specifying the event source:

/var/opt/novell/file.log
c:\programs\file.log

Additional Information

Java Stack from the Sentinel Control Center (SCC) log on a remote Linux client:
Mon Feb 09 08:54:44 MST 2009|SEVERE|AWT-EventQueue-0|esecurity.ccs.comp.evtsrcmgt.connector.util.ui.RemoteFileChooserFactory.getRemoteFileChooser
        ; Exception ; esecurity.base.exceptions.RemoteException; ; Caused by ; esecurity.base.exceptions.RemoteException;
Mon Feb 09 08:54:44 MST 2009|INFO|AWT-EventQueue-0|esecurity.base.error.SentinelErrorCodes.<clinit>
        There are 67 defined error codes.
Mon Feb 09 08:54:44 MST 2009|SEVERE|AWT-EventQueue-0|esecurity.ccs.comp.evtsrcmgt.connector.util.ui.RemoteFileChooserFactory.getRemoteFileChooser
        esecurity.base.exceptions.RemoteException:
                at esecurity.db.object.RemoteFileSystemRemoteImpl.getHomeDirectory(RemoteFileSystemRemoteImpl.java:263)
                at esecurity.common.GUIComponents.RemoteFileSystemView.getHomeDirectory(RemoteFileSystemView.java:130)
                at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(MetalFileChooserUI.java:244)
                at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:136)
                at javax.swing.plaf.metal.MetalFileChooserUI.installUI(MetalFileChooserUI.java:123)
                at javax.swing.JComponent.setUI(JComponent.java:653)
                at javax.swing.JFileChooser.updateUI(JFileChooser.java:1757)
                at javax.swing.JFileChooser.setup(JFileChooser.java:366)
                at javax.swing.JFileChooser.<init>(JFileChooser.java:332)
                at javax.swing.JFileChooser.<init>(JFileChooser.java:323)
                at esecurity.ccs.comp.evtsrcmgt.connector.util.ui.RemoteFileChooserFactory.getRemoteFileChooser(RemoteFileChooserFactory.java:56)
                at esecurity.ccs.comp.evtsrcmgt.connector.file.FileConfigurationCenterPanel$ButtonsActionListener.createRemoteFileChooser(FileConfigurationCe
nterPanel.java:498)
                at esecurity.ccs.comp.evtsrcmgt.connector.file.FileConfigurationCenterPanel$ButtonsActionListener.actionPerformed(FileConfigurationCenterPane
l.java:394)
                at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
                at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
                at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
                at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
                at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
                at java.awt.Component.processMouseEvent(Component.java:5517)
                at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
                at java.awt.Component.processEvent(Component.java:5282)
                at java.awt.Container.processEvent(Container.java:1966)
                at java.awt.Component.dispatchEventImpl(Component.java:3984)
                at java.awt.Container.dispatchEventImpl(Container.java:2024)
                at java.awt.Component.dispatchEvent(Component.java:3819)
                at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
                at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
                at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
                at java.awt.Container.dispatchEventImpl(Container.java:2010)
                at java.awt.Window.dispatchEventImpl(Window.java:1791)
                at java.awt.Component.dispatchEvent(Component.java:3819)
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
                at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
                at java.awt.Dialog$1.run(Dialog.java:535)
                at java.awt.Dialog$2.run(Dialog.java:565)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.awt.Dialog.show(Dialog.java:563)
                at com.jidesoft.dialog.StandardDialog.show(Unknown Source)
                at java.awt.Component.show(Component.java:1302)
                at java.awt.Component.setVisible(Component.java:1255)



Java Stack from the Sentinel Collector Manager server:
Mon Feb 09 09:11:38 MST 2009|SEVERE|Thread-43|esecurity.ccs.comp.proxycollector.common.utils.EsecRemoteFileSystem.getRemoteFile
    ; Exception java.lang.NullPointerException; 
Mon Feb 09 09:11:38 MST 2009|SEVERE|Thread-43|esecurity.ccs.comp.proxycollector.common.utils.EsecRemoteFileSystem.getRemoteFile
    java.lang.NullPointerException
       at sun.awt.shell.Win32ShellFolder2.<init>(Win32ShellFolder2.java:194)
       at sun.awt.shell.Win32ShellFolderManager2.getDrives(Win32ShellFolderManager2.java:91)
       at sun.awt.shell.Win32ShellFolderManager2.isComputerNode(Win32ShellFolderManager2.java:273)
       at sun.awt.shell.ShellFolder.isComputerNode(ShellFolder.java:229)
       at javax.swing.filechooser.FileSystemView.isComputerNode(FileSystemView.java:341)
       at esecurity.ccs.comp.proxycollector.common.utils.EsecRemoteFileSystem.getRemoteFile(EsecRemoteFileSystem.java:195)
       at esecurity.ccs.comp.proxycollector.common.utils.EsecRemoteFileSystem.getRemoteFiles(EsecRemoteFileSystem.java:254)
       at esecurity.ccs.comp.proxycollector.common.utils.EsecRemoteFileSystem.getRoots(EsecRemoteFileSystem.java:64)
       at esecurity.db.object.RemoteFileSystemServerStub._getRoots_(RemoteFileSystemServerStub.java:48)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at esecurity.base.ccs.comp.BaseRemoteObjectTask.execute(BaseRemoteObjectTask.java:113)
       at esecurity.base.ccs.comp.RemoteCallbackTask.processRequest(RemoteCallbackTask.java:128)
       at esecurity.base.ccs.comp.GenericTask.process(GenericTask.java:91)
       at esecurity.base.ccs.comp.GenericTask.process(GenericTask.java:65)
       at esecurity.base.ccs.comp.BaseTask.run(BaseTask.java:52)
       at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:732)
       at java.lang.Thread.run(Thread.java:595)
     

Feedback service temporarily unavailable. For content questions or problems, please contact Support.