ARSXML PROBLEM

Previous topic - Next topic

LAZOSA

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

LAZOSA

I am OK! I found the solution ....
Thanks

LWagner

Share your found solution ?

Justin Derrick

Yes, please!  You can't tell us you fixed it, but not tell us how!  :)

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

urbaxe

Is it somebody else who have a solution for this arsxml problem?
I have a similar type of problem.

LAZOSA

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 ...

pankaj.puranik

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.