Skip to main content

HN without DVR configuration in Rel-C

2 replies [Last post]
suntec
Offline
Joined: 2010-10-13

I currently use the HN without DVR configuration supported in Rel-C version.
There is no issue to build this configuration but, when I boot up the stack, it generated some waring message with regards to load "org.cablelabs.impl.manager.RecordingManager" class.

[RI.Stack][DEBUG] 11127 [main] DEBUG ManagerManager - iniz: Recording,org.cablelabs.impl.manager.RecordingManager
[RI.Stack][WARN] 11132 [main] WARN ManagerManager - Could not load Manager class: org.cablelabs.impl.manager.RecordingManager
[RI.Stack][WARN] java.lang.ClassNotFoundException: org.cablelabs.impl.manager.RecordingManager
at java.net.URLClassLoader.findClass(URLClassLoader.java:234)
at sun.misc.Launcher$AppClassLoader.findClass(Launcher.java:604)
at java.lang.ClassLoader.loadClass(ClassLoader.java:353)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:420)
at java.lang.ClassLoader.loadClass(ClassLoader.java:295)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:369)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:157)
at org.cablelabs.impl.manager.ManagerManager.staticIniz(ManagerManager.java:479)
at org.cablelabs.impl.manager.ManagerManager.(ManagerManager.java:574)
at java.lang.Class.runStaticInitializers(Class.java:1643)
at org.cablelabs.impl.ocap.TimeZoneInitializer.initTimeZone(TimeZoneInitializer.java:66)
at org.cablelabs.impl.ocap.OcapMain.initJava(OcapMain.java:230)
at org.cablelabs.impl.ocap.OcapMain.main(OcapMain.java:102)

After looking over the dvr.properties and the hn.properties, I found that the definitions of "OCAP.mgrmgr.manager.Recording" are duplicated so that the ManagerManager tried to load this DVR-releated Manager according to the hn.properties file.

Is it a bug ?

Also, I found that there is no definition for "HNAPIManager" in the hn.properties even though the HNAPIManager.java exists under RI_Stack/java/src/hn directory.

Does this manager need to be load at boot time ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
wmunsil
Offline
Joined: 2009-07-05

As to the first question: technically, it is a bug, but a minor one. It is benign--the only symptom is the occurrence of the stack trace in the log.

As to the second question: no.

khendry
Offline
Joined: 2004-08-13

Have you, or are you planning to address this issue? Wouldn't a work around for now be to remove the OCAP.properties.module.3=dvr value from the props.properties file?

Is there any plan to make the props.properties file be generated dynamically based on the properties set in the buildrules.properties file in order to address this? Would that be address this properly? I'm considering doing some modifications along these lines and I wanted to find out what CableLabs might be thinking here.