Home
Categories
Dictionary
Glossary
Download
Project Details
Changes Log
What Links Here
FAQ
License

Troubleshooting for built-in modules



This article present possible problems and their solution for built-in modules.

UA application

Main Article: UA application

I tried to use two User Applications, but it does not work

If you have the following exception:
      BindException in new DatagramSocket ...
You may have specified your User applications in the applications configuration file with:
      <application name="UA" >
         <module name="UA1" >
            <moduleProperty key="uaImpl"           value="lib/build/UA.jar" />
            <moduleProperty key="uaPath"           value="ua.myUA1" />
            <moduleProperty key="a661Config"       value="a661_properties.xml" />
            <moduleProperty key="includeServer"    value="false" />
         </module>
         <module name="UA12" >
            <moduleProperty key="uaImpl"           value="lib/build/UA.jar" />
            <moduleProperty key="uaPath"           value="ua.myUA2" />
            <moduleProperty key="a661Config"       value="a661_properties.xml" />
            <moduleProperty key="includeServer"    value="false" />
         </module>
      </application>
This will not work properly because you will try to connect twice to the server with the same inbound and outbound connection. You should rather use the uaConfig property. For example:
      <properties>
         <application name="uaappli" >
            <module name="uaappli" >
               <moduleProperty key="uaConfig"       value="uaConfig.xml"  />
               <moduleProperty key="a661Config"     value="a661_properties.xml" />
               <moduleProperty key="includeServer"  value="false" />
            </module>
         </application>
      </properties>
And for the uaConfig.xml file:
      <uas>
         <ua url="UATutorial.jar" path="org.da.protoframework.uaappli.UA1" defaultSubscribeService="published">
            <layers>
               <layer appliID="1" layerID="1" />
            </layers>
            <subscribe service="published" >
               <entryPoint method="subscribe" />
            </subscribe>
         </ua>
         <ua url="UATutorial.jar" path="org.da.protoframework.uaappli.UA2">
            <layers>
               <layer appliID="1" layerID="2" />
            </layers>
         </ua>
      </uas>

ExternalComm


Some of the buffers received from the network do not have the correct content


In the general case, you don't need to do anything specific about the queue management. If you receive a lot of buffers from the network at a rapid pace, you may see several services with the wrong values because they will be updated by the module before they could be sent.

In that case, you will need to configure the module properties to be sure that:
  • You don't miss any buffer coming from the network
  • You keep the content of the services even if you have a lot of buffers for the same service in a short time

See also


Categories: troubleshooting

Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence