IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Loading well-formed XML data through command line

  • 1.  Loading well-formed XML data through command line

    Posted Tue June 12, 2001 03:45 PM

    Dear Friends,
    I tried to load 10MB of well-formed XML data into Tamino through command line using The Java Loader.
    Unfortunately I coludn’t achive this.
    I got the following error message:

    “Exception in thread “main” java.lang.NoClassDefFoundError: org/xml/sax/EntityResolver”
    and the related error lines.

    What might be the reason for this problem?
    How can I solve this problem?
    Thanks for your help.

    Mustafa


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: Loading well-formed XML data through command line

    Posted Tue June 12, 2001 03:49 PM

    Is “sax.jar” in classpath ?


    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: Loading well-formed XML data through command line

    Posted Tue June 12, 2001 04:12 PM

    I included sax.jar to the classpath.
    Surprisingly this time I saw the message
    “TaminoLoad is started”
    Then I met another problem:
    “Exception in “main” java.lang.OutOfMemoryError”
    Altough the size of main memory of my computer is 256MB why does this problem arise?

    Thanks,
    Mustafa


    #API-Management
    #Tamino
    #webMethods


  • 4.  RE: Loading well-formed XML data through command line

    Posted Tue June 12, 2001 04:33 PM

    I think the default maximum heap size for a jvm is 64Mb. To try a larger heap size (for example, 256Mb), start java with command line argument

    -Xmx256m


    #API-Management
    #Tamino
    #webMethods