I am trying to migrate the ADL files from 6.1 broker to 6.5 broker.
I get the following exception when we export the ADL files from 6.1 broker to 6.5 broker (both in Red hat Linux-ES-3).
Exception in thread “main” java.lang.NullPointerException
at COM.activesw.API.integration.IntegrationSession.scanAndCollectEvents(IntegrationSession.java:3511)
at COM.activesw.API.integration.IntegrationSession.applyImportInformation(IntegrationSession.java:3061)
at COM.activesw.tools.util.ImportExportTools.importGroupsAndTypes(ImportExportTools.java:242)
at COM.activesw.tools.util.ImportExportTools.importGroupsAndTypes(ImportExportTools.java:266)
at COM.activesw.tools.cmdline.BrokerLoad.importGroupsTypesAndClients(BrokerLoad.java:321)
at COM.activesw.tools.cmdline.BrokerLoad.load(BrokerLoad.java:526)
at COM.activesw.tools.cmdline.BrokerLoad.connectAndLoad(BrokerLoad.java:689)
at COM.activesw.tools.cmdline.BrokerLoad.main(BrokerLoad.java:822)
I used the command line utility “broker_save” to create the file in 6.1 and “broke_load” to import the file in 6.5 environment.
The ADL file is of the size: 9M and the Both 6.1 and 6.5 broker-host server have enough free memory (about 500 M) to process the file.
I also tried the broker_load command with -Xmx option, but no progress.
The broker_load program verifies the relationship between broker-clients,client-group,document-types and Integration components (4.6) - upon loading the ADL file. It turns out the ADL file is incomplete (corrupt). I used the ADL file from another environment (TEST) and loaded to DEV, and then changed all the configurations to point to DEV instance. Now everything is working fine.
BTW, if your ADL contains JMS Topic Connection Factory definitions containing a “ConnectionClientID” property, you will probably not be able to import that ADL into a target broker without manually editing it.
The error below is displayed
[FONT=Courier New][SIZE=2][COLOR=navy][COLOR=navy][FONT=Courier New]unknown field "ConnectionClientId", valid are: ConnectionClientId = "[I]client_id[/i]";[/font][/color][/COLOR][/size][/FONT]
The workaround is to edit the ADL to add the following line to the infoset definition for “Context”
Unicode_string ConnectionClientId”
after the UseXA and before the BrokerName elements