On Admin console boot, I'm getting the following errors over and over when admin console is trying to discover topics on our product. I'm assuming these errors are why the topics aren't showing up in admin console.
Unfortunately, I don't have a lot of choice in QOS on the product side.
Here is an example of the error:
2021-11-17 08:41:51,909 : WARN : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - RTICdrTypeCode_deserialize:unmatched type code
2021-11-17 08:41:51,909 : WARN : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - DISCBuiltinTopicPublicationDataPlugin_deserializeParameterValue:Problems receiving type code information. Check type_code_max_serialized_length parameter in <domainQos>.resource_limits
Here are my assumptions at the moment: Admin console is not showing the topics due to an error in receiving the type codes. Adding that parameter as unlimited to \resource\xml\admin_console_example_profiles.xml under <qos_library name="ExampleAdminConsole"><qos_profile name="ExampleAdministration"><participant_qos><resource_limits> doesn't seem to alleviate the problem, so I'm assuming I need to place it somewhere else.
It's a little tricky configuring Admin Console to use a custom QOS. Fortunately, one of my colleagues has written a detailed, excellent Solution.
https://community.rti.com/kb/using-your-own-qos-profile-rti-admin-console
Thanks for this. It's good to know it's possible and have a starting point.
I tried to make a file that inherits from base_name="AdminConsole::Administration" (because I really don't want to recreate everything) (attached). I added the <type_code_max_serialized_length>65535</type_code_max_serialized_length> to fix the original error I was getting.
I'm getting this error.
2021-11-17 13:18:46,979 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - RTIXMLObject_initialize:Base object 'AdminConsole::Administration' not found
2021-11-17 13:18:46,979 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - DDS_XMLQosProfile_initialize:!init XML QosProfile object
2021-11-17 13:18:46,979 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - DDS_XMLQosProfile_new:!init XML QosProfile object
2021-11-17 13:18:46,979 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - RTIXMLParser_onStartTag:Parse error at line 18: Error processing tag 'qos_profile'
2021-11-17 13:18:46,979 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - RTIXMLParser_parseFromFile_ex:Parse error in file 'C:\BATTool\admin_console_example_profiles.xml'
2021-11-17 13:18:46,980 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - DDS_XMLParser_parse_from_file:Error parsing file
2021-11-17 13:18:46,980 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - DDS_QosProvider_load_profiles_from_urlI:ERROR: loading profiles file 'C:\BATTool\admin_console_example_profiles.xml'
2021-11-17 13:18:46,980 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - DDS_QosProvider_load_profiles_from_url_groupI:ERROR: loading profiles
2021-11-17 13:18:46,980 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - DDS_QosProvider_load_profiles_from_url_sequenceI:ERROR: loading profiles
2021-11-17 13:18:46,980 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - DDS_QosProvider_load_profiles_from_policyI:ERROR: loading profiles
2021-11-17 13:18:46,980 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - DDS_QosProvider_load_profilesI:ERROR: loading profiles
2021-11-17 13:18:46,982 : ERROR : com.rti.tools.console.entitymodel.util.Log4jLoggerDevice.write(Log4jLoggerDevice.java:77) : - DDS_DomainParticipantFactory_load_profilesI:!load profiles
2021-11-17 13:18:46,983 : ERROR : com.rti.tools.console.entitymodel.DdsDomainManager.addQosFile(DdsDomainManager.java:741) : - trouble when setting the DomainParticipantFactory QoS with additional QoS file : C:\BATTool\admin_console_example_profiles.xml
Do I have to use the entire admin_console_example_profiles.xml and redefine everything? I was hoping to rely on the product QOS files when subscribing, then just use this profile to add that one parameter I need to get past the type code transmission problems I'm having on discovery.
Ok, I recreated the entire admin_console_example_profiles.xml with new names and the larger deserialization value. This works.
Thanks for the help.