Content Management and Capture

 View Only
  • 1.  Records Manager Sweep issue

    Posted Fri August 14, 2020 08:24 AM
    Hi All, 

    We are recently installed IBM Records manager 5.2.1 with latest fix and tried to run Recordsmanagersweep.sh for Disposition for profile creation where we are getting issues.

    p8instal@vq01icn01:/opt/IBM/EnterpriseRecords/RecordsManagerSweep$ ./RecordsManagerSweep.sh -DispositionSweep -configure -profile DEV_FPOS2Profile
    EJB Connection type set
    WebSphere
    Disposition Sweep starts Fri Aug 14 04:23:41 MDT 2020
    2020-08-14 04:23:41,246, FNRRD3176I: ---- BEGIN DISPOSITION SWEEP ----
    2020-08-14 04:23:41,577, FNRRD3262I: Profile: DEV_FPOS2Profile
    2020-08-14 04:23:42,122, FNRRD3177I: ---- END DISPOSITION SWEEP ----
    Disposition Sweep ends Fri Aug 14 04:23:42 MDT 2020
    2020-08-14 04:24:20,903, java.lang.NullPointerException
    2020-08-14 04:24:20,904, FNRRD3036E: An exception is raised while creating CESession.
    java.lang.NullPointerException
            at java.security.SecureRandom.nextBytes(SecureRandom.java:447)
            at java.security.SecureRandom.next(SecureRandom.java:469)
            at java.util.Random.nextInt(Random.java:239)
            at com.filenet.apiimpl.util.IdGen.getRandomBytes(IdGen.java:197)
            at com.filenet.api.util.Id.createId(Id.java:76)
            at com.filenet.apiimpl.util.IdGen.createId(IdGen.java:67)
            at com.filenet.bdp.impl.jace.JACECommand.<init>(JACECommand.java:25)
            at com.filenet.bdp.impl.jace.JACECommandFactory.createGetCommand(JACECommandFactory.java:150)
            at com.filenet.bdp.impl.jace.JACEDataProvider.createGetCommand(JACEDataProvider.java:1948)
            at com.filenet.rm.service.util.Util.validateUser(Util.java:1420)
            at com.filenet.rm.sweep.SweepConfigurationUI.validateCEOptions(SweepConfigurationUI.java:1247)
            at com.filenet.rm.sweep.SweepConfigurationUI.configure(SweepConfigurationUI.java:981)
            at com.filenet.rm.sweep.SweepConfigurationUI.actionPerformed(SweepConfigurationUI.java:784)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
            at java.awt.Component.processMouseEvent(Component.java:6509)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
            at java.awt.Component.processEvent(Component.java:6274)
            at java.awt.Container.processEvent(Container.java:2229)
            at java.awt.Component.dispatchEventImpl(Component.java:4865)
            at java.awt.Container.dispatchEventImpl(Container.java:2287)
            at java.awt.Component.dispatchEvent(Component.java:4691)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
            at java.awt.Container.dispatchEventImpl(Container.java:2273)
            at java.awt.Window.dispatchEventImpl(Window.java:2719)
            at java.awt.Component.dispatchEvent(Component.java:4691)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
            at java.awt.EventQueue.access$200(EventQueue.java:103)
            at java.awt.EventQueue$3.run(EventQueue.java:688)
            at java.awt.EventQueue$3.run(EventQueue.java:686)
            at java.security.AccessController.doPrivileged(AccessController.java:252)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
            at java.awt.EventQueue$4.run(EventQueue.java:702)
            at java.awt.EventQueue$4.run(EventQueue.java:700)
            at java.security.AccessController.doPrivileged(AccessController.java:252)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    
    
    
    
    
    
    WSI ERROR:
    
    
    p8instal@vq01icn01:/opt/IBM/EnterpriseRecords/RecordsManagerSweep$ ./RecordsManagerSweep.sh -DispositionSweep -configure -profile DEV_FPOS2Profile
    Disposition Sweep starts Fri Aug 14 05:07:32 MDT 2020
    2020-08-14 05:07:32,874, FNRRD3176I: ---- BEGIN DISPOSITION SWEEP ----
    2020-08-14 05:07:33,118, FNRRD3262I: Profile: DEV_FPOS2Profile
    2020-08-14 05:07:34,918, FNRRD3177I: ---- END DISPOSITION SWEEP ----
    Disposition Sweep ends Fri Aug 14 05:07:34 MDT 2020
    
    
    System Manager: Starting PCH Listener...
    System Manager: MAX_SOCKETS set to: 32
    System Manager: PCH Listener started.
    System Manager: Registering my port [43394] with master PCH Listener on [32775]
    [Perf Log] No interval found. Auditor disabled.
    2020-08-14 05:09:56,529, The code has NOT detected a need to introduce specific application server logic and is defaulting to using standard J2EE calls
    Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
            at java.lang.J9VMInternals.ensureError(J9VMInternals.java:148)
            at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:137)
            at javax.crypto.KeyGenerator.a(Unknown Source)
            at javax.crypto.KeyGenerator.<init>(Unknown Source)
            at javax.crypto.KeyGenerator.getInstance(Unknown Source)
            at com.ibm.jarm.api.util.AESEncryptionUtil.generateKey(AESEncryptionUtil.java:163)
            at com.ibm.jarm.api.util.AESEncryptionUtil.generateNewSecretKey(AESEncryptionUtil.java:73)
            at com.filenet.rm.sweep.SweepConfigurationUI.validateCEOptions(SweepConfigurationUI.java:1375)
            at com.filenet.rm.sweep.SweepConfigurationUI.configure(SweepConfigurationUI.java:981)
            at com.filenet.rm.sweep.SweepConfigurationUI.actionPerformed(SweepConfigurationUI.java:784)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2033)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2359)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:413)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:270)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:263)
            at java.awt.Component.processMouseEvent(Component.java:6550)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3335)
            at java.awt.Component.processEvent(Component.java:6315)
            at java.awt.Container.processEvent(Container.java:2250)
            at java.awt.Component.dispatchEventImpl(Component.java:4900)
            at java.awt.Container.dispatchEventImpl(Container.java:2308)
            at java.awt.Component.dispatchEvent(Component.java:4722)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4915)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4546)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4487)
            at java.awt.Container.dispatchEventImpl(Container.java:2294)
            at java.awt.Window.dispatchEventImpl(Window.java:2757)
            at java.awt.Component.dispatchEvent(Component.java:4722)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771)
            at java.awt.EventQueue.access$500(EventQueue.java:108)
            at java.awt.EventQueue$3.run(EventQueue.java:720)
            at java.awt.EventQueue$3.run(EventQueue.java:714)
            at java.security.AccessController.doPrivileged(AccessController.java:704)
            at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
            at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
            at java.awt.EventQueue$4.run(EventQueue.java:744)
            at java.awt.EventQueue$4.run(EventQueue.java:742)
            at java.security.AccessController.doPrivileged(AccessController.java:704)
            at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:741)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:216)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:127)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:116)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:112)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:104)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:93)
    Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
            at javax.crypto.b.<clinit>(Unknown Source)
            ... 44 more
    Caused by: java.lang.SecurityException: Cannot locate policy or framework files!
            at javax.crypto.b.c(Unknown Source)
            at javax.crypto.b.access$600(Unknown Source)
            at javax.crypto.b$a.run(Unknown Source)
            at java.security.AccessController.doPrivileged(AccessController.java:734)
            ... 45 more
    
    
    We tried EJB and WSI both but getting above issue.

    Regards,
    Ranjit


    ------------------------------
    Ranjit Kumar Gadde
    ------------------------------


  • 2.  RE: Records Manager Sweep issue

    IBM Champion
    Posted Mon August 17, 2020 02:06 AM
    My guess is that either the Java version does not support the required cryptoservices or thei are not set up properly...

    Does e.g. CEBI run from the same node using the same JVM? Are you using the same provider(IBM or Oracle) and the same version?

    Regards,

    /Gerold

    ------------------------------
    Gerold Krommer
    ------------------------------



  • 3.  RE: Records Manager Sweep issue

    Posted Tue October 27, 2020 06:28 AM
    Hi,

    Sorry for the late response, After doing lot of research found that on Records manager(.sh) script multiple places added java class paths, one of the class path is picking system(os) java(JAVA_EXEC) class path after commenting that we are able to run the sweeps.

    Regards,
    Ranjit

    ------------------------------
    Ranjit Kumar Gadde
    ------------------------------



  • 4.  RE: Records Manager Sweep issue

    Posted Fri February 02, 2024 01:13 PM

    hi, what did you comment out the OS or JAVA EXEC?



    ------------------------------
    Tshepo Mokhethi
    ------------------------------