UnixBreeze
Technical User
Hi,
I am in the beginning stages of writing some scripts to update Application server properties in WebSphere. I have a lot of JVM arguments to add and as new ones come down the pipe I plan on the following.
1) Do a partial export of the application server(s) with XMLConfig.
2) Manually edit the exported xml with the new properties added.
3) Use XMLConfig - import to re-import the app server config with the new (additional) properties.
I haven't gotten past my first test run. I can do an partial export of one particular app server, but when I take the xml file that the export creates and try to re-import it (without any mods at all) XMLConfig throws the following fit:
FatalError: On line 1, Column: 6,037
Message: Character reference "" is an invalid XML character.
XMLC0139W: You may be using an incompatible XML config file.
Since this is an xml file XMLConfig generated, I would think it would be a compatabile file to import as well.
Bottom line question is: How do I get around this problem to re-import partially exported xml?
Also, here's what the first two lines of the partially exported xml looks like.
<?xml version="1.0"?>
<!DOCTYPE websphere-sa-config SYSTEM "file:///$XMLConfigDTDLocation$$dsep$xmlconfig.dtd" >
Thanks in advance.
I am in the beginning stages of writing some scripts to update Application server properties in WebSphere. I have a lot of JVM arguments to add and as new ones come down the pipe I plan on the following.
1) Do a partial export of the application server(s) with XMLConfig.
2) Manually edit the exported xml with the new properties added.
3) Use XMLConfig - import to re-import the app server config with the new (additional) properties.
I haven't gotten past my first test run. I can do an partial export of one particular app server, but when I take the xml file that the export creates and try to re-import it (without any mods at all) XMLConfig throws the following fit:
FatalError: On line 1, Column: 6,037
Message: Character reference "" is an invalid XML character.
XMLC0139W: You may be using an incompatible XML config file.
Since this is an xml file XMLConfig generated, I would think it would be a compatabile file to import as well.
Bottom line question is: How do I get around this problem to re-import partially exported xml?
Also, here's what the first two lines of the partially exported xml looks like.
<?xml version="1.0"?>
<!DOCTYPE websphere-sa-config SYSTEM "file:///$XMLConfigDTDLocation$$dsep$xmlconfig.dtd" >
Thanks in advance.