Author Topic: ARSXML PROBLEM  (Read 7134 times)

LAZOSA

  • Guest
ARSXML PROBLEM
« on: July 17, 2008, 01:02:41 AM »
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

  • Guest
Re: ARSXML PROBLEM
« Reply #1 on: July 22, 2008, 02:45:46 AM »
I am OK! I found the solution ....
Thanks

LWagner

  • Guest
Re: ARSXML PROBLEM
« Reply #2 on: August 08, 2008, 01:59:02 PM »
Share your found solution ?

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: ARSXML PROBLEM
« Reply #3 on: August 09, 2008, 06:52:25 AM »
Yes, please!  You can't tell us you fixed it, but not tell us how!  :)

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

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

Urban Axelsson

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
    • ICA
Re: ARSXML PROBLEM
« Reply #4 on: September 28, 2009, 07:39:36 AM »
Is it somebody else who have a solution for this arsxml problem?
I have a similar type of problem.

LAZOSA

  • Guest
Re: ARSXML PROBLEM
« Reply #5 on: September 30, 2009, 01:10:18 AM »
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

  • Guest
Re: ARSXML PROBLEM
« Reply #6 on: May 13, 2014, 08:49:05 AM »
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.