Hi !
I have a broblem using ARSXML command. When i use it i take the message below:
C:\IBM\XERCES>arsxml export -h HostMKApplTest01 -i C:\IBM\XERCES\exportgroups.xml -o C:\IBM\XERCES\users.xml
Exception in thread "main" java.lang.AbstractMethodError: org.apache.xerces.dom.
DeferredDocumentImpl.getXmlVersion()Ljava/lang/String;
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ibm.cm.od.ArsExport.getVersion(ArsExport.java:333)
at com.ibm.cm.od.ArsExport.writeRoot(ArsExport.java:276)
at com.ibm.cm.od.ArsXML.parseXML(ArsXML.java:1053)
at com.ibm.cm.od.ArsXML.main(ArsXML.java:1153)
In this directory (C:\IBM\XERCES) i have xerceslmpl.jar xml-apis.jar
The ARSXML.CFG LOOKS LIKE: ODXMLDIR=C:\IBM\XERCES
The exportgroups.xml Looks like:
<?xml version="1.0" encoding="UTF-8"?>
<onDemand xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\IBM\XERCES\onDemand.xsd">
<!-- This will export all of the groups defined on the system -->
<group name="_ALL" />
</onDemand>
Does anyone can tell why i am getting this message?
Thank you
Antonio Lazos
I am OK! I found the solution ....
Thanks
Share your found solution ?
Yes, please! You can't tell us you fixed it, but not tell us how! :)
-JD.
Is it somebody else who have a solution for this arsxml problem?
I have a similar type of problem.
Hi,
To tell you the truth .. I am not sure what exactly was wrong.
Something was going on with the folder where I used the arsxml export command.
So when I used the :
D:\CMOD\SERVER\bin\xml>arsxml export -h HostMKApplTest01 -i D:\CMOD\SERVER\bin\x
ml\exportgroups.xml -o D:\CMOD\SERVER\bin\xml\users.xml
I think that it works at that folder D:\CMOD\SERVER\bin\xml
I had made so many changes and at the end ??I lost the ball !!?? thats why i didn't post my solution ...
Ok looks like the directory used earlier did not have the ondemand.xsd file.
After the location from where arsxml was run was changed to D:\CMOD\SERVER\bin\xml, it worked because that the default location where ondemand.xsd is placed after installation.
To run the arsxml command, you should have the ondemand.xsd int he directory from where you run the command.