JMS Message Export/Import XML on command line

I need a command line (JAVA or WLST) to reproduce the Weblogic consol JMS message export and import to migrate manually message from a queue to another (online without filestore).
There is an entry on the Weblogic console that export one or all message to an XML format file and the import command to reload this XML file.
any idea of a java code used by the console or a jython fonction ?

The following might be enough to get you started:
For scripting and tracing examples, see the July 29th and August 10th 2009 newsgroup post with subject "Example using of getMessage(s) with JMS error queues?" [ here | http://forums.oracle.com/forums/thread.jspa?messageID=3657916] and the June 10th 2009 newsgroup post with subject "JMSDestinationRuntimeMBean - possible STATE values " [ here | http://forums.oracle.com/forums/thread.jspa?messageID=3531603 ]. Also take a look at the +Sept 23 2009 newsgroup posts with subject "Enable JMS - Queue/Topic Trace on console"+ [ here | http://forums.oracle.com/forums/thread.jspa?messageID=3782486].
+WARNING: Exporting too many messages at a time can cause out-of-memory errors.+
Tom

Similar Messages

  • How to export and import database from command line?

    I am trying to export my old database into new server.
    However, I want to export and import that database from command line.
    Is it possible?
    Thanks.
    SZ

    I used this command
    exp username/password@database full=y
    my export log file is as follwing:
    Connected to: Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
    With the Partitioning and Java options
    PL/SQL Release 8.1.5.0.0 - Production
    EXP-00037: Export views not compatible with database version
    EXP-00000: Export terminated unsuccessfully

  • Export / import  exp / imp commands Oracle 10gXE on Ubuntu

    I have Oracle 10gXE installed on Linux 2.6.32-28-generic #55-Ubuntu, and I need soe help on how to export / import the base with exp / imp commands. The commands seems to be installed on */usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin* directory but I cannot execute them.
    The error message I got =
    No command 'exp' found, did you mean:
    Command 'xep' from package 'pvm-examples' (universe)
    Command 'ex' from package 'vim' (main)
    Command 'ex' from package 'nvi' (universe)
    Command 'ex' from package 'vim-nox' (universe)
    Command 'ex' from package 'vim-gnome' (main)
    Command 'ex' from package 'vim-tiny' (main)
    Command 'ex' from package 'vim-gtk' (universe)
    Command 'axp' from package 'axp' (universe)
    Command 'expr' from package 'coreutils' (main)
    Command 'expn' from package 'sendmail-base' (universe)
    Command 'epp' from package 'e16' (universe)
    exp: command not found
    Is there something I have to do ?

    Hi,
    You have not set environment variables correctly.
    http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm#BABDGCHH
    And of course that sciprt have small hickup, so see
    http://ubuntuforums.org/showpost.php?p=7838671&postcount=4
    Regards,
    Jari

  • Why not all jars picked up by ojdeloy and how to generate build.xml from command line and not JDEV GUI - quick question

    Hi All
    We have 11.1.1.7 ojdeploy to compile our app.
    We notice in the log that not all jars are used in classpath arguments when we explicitly set them up for compilation.
    eg:
      <path id="classpath">
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
        <pathelement location="../../Oracle/Middleware/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/a.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/b.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/c.jar"/>
        <pathelement location="interface/public_html/WEB-INF/lib/d.jar"/>
    </path>
    Log Output -
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/bin/javac
    [ora:ojdeploy] -g
      [ora:ojdeploy] -Xlint:all
      [ora:ojdeploy] -Xlint:-cast
    [ora:ojdeploy] -Xlint:-empty
      [ora:ojdeploy] -Xlint:-fallthrough
      [ora:ojdeploy] -Xlint:-path
      [ora:ojdeploy] -Xlint:-serial
      [ora:ojdeploy] -Xlint:-unchecked
      [ora:ojdeploy] -source 1.6
      [ora:ojdeploy] -target 1.6
      [ora:ojdeploy] -verbose
      [ora:ojdeploy] -encoding Cp1252
      [ora:ojdeploy] -classpath
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/resources.jar:
    [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/rt.jar:
      [ora:ojdeploy] /path/to/Oracle/Middleware/jdk160_24/jre/lib/jsse.jar:
        [ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/a.jar"/>
        [ora:ojdeploy] /path/to/interface/public_html/WEB-INF/lib/c.jar"/>
    1- Is it because it depends on how jpr or jws are configured ?
    2- How can we automatically generate a build file of the application from command-line (as opposed to using Jdev IDE to click to generate a build.xml) ?

    The first  warning is happening because you're stating drivers for input devices without need. You haven't disabled hotplug so evdev gets used instead of kbd. This is normal, and you should change the driver line from kbd to evdev so that whatever options (if any) you've specified for the keyboard get parsed.
    The second warning is about you not installing acpid.
    The third I have no idea about, but look at the synaptics wiki. None of the (WW) are related to your video card.
    And every card that has 2 or more output ports show up as "two cards". You also don't need to specify the pci port in xorg.conf. edit: this is the general case with laptops, might be different for desktops.
    When I do lspci -v I get:
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
    Subsystem: Micro-Star International Co., Ltd. Device 0110
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at dfe80000 (32-bit, non-prefetchable) [size=512K]
    I/O ports at d0f0 [size=8]
    Memory at c0000000 (32-bit, prefetchable) [size=256M]
    Memory at dff00000 (32-bit, non-prefetchable) [size=256K]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    Subsystem: Micro-Star International Co., Ltd. Device 0110
    Flags: bus master, fast devsel, latency 0
    Memory at dfe00000 (32-bit, non-prefetchable) [size=512K]
    Capabilities: <access denied>
    And it doesn't matter if it errs in trying to sli up with it self. That's just not a possibility.
    Last edited by gog (2009-10-15 23:59:49)

  • Export/Import xml from dynamic pdf form using java

    Hi,
    I have been searching for the last 2-3 days on the internet for this. Some posts do talk about it, but none have provided the answer I was looking for. Hopefully this is the correct forum to post the question in.
    I am working on a desktop swing application that works on extracting and changing data in a XFA form, I would like to export the form's content modify it and import it back using java. This is so easy with the Adobe Reader, where it nicley exports the form content as an XML document, you can change it manually and the import the data back. I am searching for a way of doing this in java. I found XPAAJ.jar mentioned in some forums, that may make this easy. I havent been able to use it, since I cant find it anywhere.
    I found a blog from Mike Potter
    http://blogs.adobe.com/mikepotter/2006/07/download_xpaaj.html
    This says that XPAAJ is free as long as I use it on forms developed using livecycle. I dont own livecycle, but the forms that I am working has been built using livecycle.  So my questions are:
    1. Is XPAAJ the correct library to use, to export and import XML data from a dynamic pdf form?
    2. Is XPAAJ free to use and distribute as long as it works on pdf forms developed by livecycle?
    3. Where can I download XPAAJ from?
    4. If XPAAj is no longer available, is there any other free library that does this?
    5. If there isn't any free library, how much would cost me to use and distribute the library along with my desktop application?
    Thanks
    Sethu

    Hi Sethu;
    First, its important to know that xpaaj never was a supported piece of software.  It was supplied "as is" with no support from Adobe.  It has been pulled and is no longer available from the Adobe web site.  Mike's blog is from 2006, so its really old information.
    1. Is XPAAJ the correct library to use, to export and import XML data from a dynamic pdf form?
    While the xpaaj library will import and export data to/from a form on the client, Adobe now recommends using the LiveCycle ES Forms server.
    2. Is XPAAJ free to use and distribute as long as it works on pdf forms developed by livecycle?
    The license stated that you need to own one of Adobe's server side products (not LiveCycle Designer, but one of the server side LiveCycle products).
    3. Where can I download XPAAJ from?
    XPAAJ was pulled by Adobe.  They found a few bugs and since it was unsupported software they just pulled it from the web site.
    4. If XPAAj is no longer available, is there any other free library that does this?
    Not from Adobe.  Adobe recommends using the LiveCycle ES Forms software for merging data and forms.
    5. If there isn't any free library, how much would cost me to use and distribute the library along with my desktop application?
    As far as I know there Adobe doesn't have a client side library available for this (merging dynamic XDP based forms with data).

  • SWF and XML for Command line compiling for iOS

    I need to compile an application for iOS using command line ADT. I need to pass the SWF and XML to the ADT command. But which ones do I need to pass as the ones available are in the debug folder and I don't think they are well optimized for mobile publishing. Also the XML has debug with id in it.

    Hi,
    Yes, Flash Builder, by default, doesn’t save release swfs. A simpler way to get them however be to go to Project->Properties->Flex Compiler and set
    ‘-debug=false’ in compiler arguments.
    Now the swf generated in bin-debug will be a release swf.
    Please let us know in case you face any issues.
    Thanks,
    Amish.

  • Sql to xml on command line

    I'm trying to dump a large (+4MB) set of xml query results to a file from a sql string.
    In the environment I'm using, I can't use any Java.
    I tried writing pl/sql & sqlplus from the command line, but the size of the results overflowed the limits of the sqlplus buffers.
    Any ideas?
    thanks

    You can use the SAX APIs provided by XSU.

  • Best JMS Message Type for XML

              Which type of message is most suitable for XML file transfer? and why?
              what parameters decide the selection of message type for xml payload?
              

    "dyn" <[email protected]> wrote in message
              news:[email protected]..
              >
              > Which type of message is most suitable for XML file transfer? and why?
              > what parameters decide the selection of message type for xml payload?
              You can use WebLogic's XML message type if you like. If you want to use
              selector expressions then it is particularly useful, especially since your
              selector expressions can run on the body of the message. However, the
              implications of this are that the selectors are more expensive (both in
              terms of the processing needed to evaluate the XPath expression, and in
              terms of the fact that the message bodies have to be in memory to do the
              evaluation).
              If you just want to transfer XML, then why not use a simple text message
              type.
              Use whatever suits your needs.
              Regards,
              Jon
              

  • Message: cannot import xml, even after exporting using file, export, xml, and not touching the file

    I need to change the messages for a different language.  Has anyone been able to set this XML file to import?  Some of the content is in Norwegian, but don't how that will affect it. But it will not import a file, even if it was just exported.

    Hi Patrick,
    I tried few import/export scenarios in captivate 7 and it works fine for me. I think it will be a good idea if you can mail me the .xml file along with steps to reproduce the issue.
    My email id is [email protected]
    -Tamish

  • Export/import xml files

    hey,
    I've been trying to import a xml file that was originally created in CP6 but has been upgraded to a captivate8 project and when I try to import the xml file again it doesn't work, why is that?

    OK. I'm not following you. 
    First you said the XML file was created in Cp6 and now you say it was exported from Cp8.
    So which is it?

  • Java error Message when importing xml to FrameMaker 8

    I have reconstructed a workstation, and am attempting to flow an xml file into a FrameMaker 8 template. When I attempt to do this I get the following error message:
    Failed reading value of registry key
    Software\JavaSoft\Java Runtime Environment\Current Version
    Error: could not find java.dll
    Error: Could not find Java 2 Runtime Environment
    The xml file is being imported by selecting it through a menu choice added internally through the Main Menu bar.
    Java 6 Update 3 is the version being used.
    I can successfully flow this file through my computer.
    Any ideas what might be causing the error message and how it can be fixed?

    Yes. I believe that there is an internal plug-in installed / script programming active that does something which requires Java.
    You could look up the definition of the Structured Application which is used for those XML files to check if a "structure client" is defined.
    But it has nothing to do with FrameMaker as shipped by Adobe.
    - Michael

  • Workspace export via command line

    The utility that was written to export applications via the command line is great so we can set up nightly application backups. I did a search and couldn't find anything that would do something similar for workspaces. Is there anything like this that exists or is in the works?
    Thanks
    - Brian

    Hi Gerald,
    Yes it is very much possible. For large configurations, it is recommended to take export from command line-
    1. run setenv file
    2. java -Xms512M -Xmx512M oracle.tip.repos.export.Export -inputfile <inputfile> [-ignoretypes <
    file>] <export file name>
    Arguments:
    -inputfile <inputfile> to export specific objects .
    -ignoretypes <file> , This is only for business process. This is to ignore
    the object types while exporting deployable BP.
    <export file name> name of the export file
    For e.g. -
    C:\B2B10g\Midtier\ip\install>java -Xms512M -Xmx512M oracle.tip.repos.export.Export C:\commandExport.xml
    Starting Execution Context
    Export file name is C:\commandExport.xml
    3.26
    exporting all design objects
    export done
    For benefit of other users of this community, I have documented the same on below link -
    http://anuj-dwivedi.blogspot.com/2009/12/exporting-configuration-through-command.html
    Regards,
    Anuj
    Edited by: Anuj Dwivedi, Infosys on Dec 22, 2009 10:28 PM

  • Export/Import API workaround?

    Hi
    I want to generate a pl/sql-procedure to execute export and import (not datapump) of table!
    It appeas that Such a thing doesn't exist.Or
    I don't know it. Can anybody help me to find it or shows me a similar workaround ?Thanks and regards
    hqt200475

    Hello,
    ORA-39139: Data Pump does not support XMLSchema objects.Thank for your feedback. I understand better why you keep on using the Original Export/Import.
    Else, as the XML Objetcs are located in a specific schema, it's still possible to exclude them from the DATAPUMP Export as follow in Command Line:
    EXCLUDE=SCHEMA:"='<SCHEMA_NAME>'"
    NB: It's better to use a PARFILE so as to avoid syntax error on the command line.
    Or by using the DBMS_DATAPUMP.METADATA_FILTER Procedure.
    Then, you are right, you'll have to use the Original Export/Import to Export the XML Schema.
    It's just a suggestion.
    Hope this help.
    Best regards,
    Jean-Valentin

  • [svn:osmf:] 13639: Attempt to fix the command line build.

    Revision: 13639
    Revision: 13639
    Author:   [email protected]
    Date:     2010-01-19 14:58:36 -0800 (Tue, 19 Jan 2010)
    Log Message:
    Attempt to fix the command line build.
    Modified Paths:
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml

    Hi,
    I am  new to this field.
    I imported the strobe media playback to my flash builder.
    I am getting the error
    unknown configuration variable 'swf-version'
    When i imported the strobe media playback in flash builder
    the ADDITIONAL COMPILER ARGUMENTS  in the projec>properties>actionscript compiler>
    was having value
    -swf-version=11 -define CONFIG::LOGGING true -define CONFIG::FLASH_10_1 true
    please help me out

  • How to enable telemetry logs and where can i find the command line for sun

    Hi i tried creating the telemetry logs directory but the logs are not being populated. i created the following directory:-
    /opt/SUNWmsgsr/data/telemetry/imap/usersns1
    where usersns1 is the userid.
    Also pl. tell me where can i get the command list for sun one messaging server to use the command line utility to list, delete mailboxes. also can i search for all the mailboxes under one domain name. if yes then which command i have to use.
    thanks in advance.

    Hi,
    Hi i tried creating the telemetry logs directory but
    the logs are not being populated. i created the
    following directory:-
    /opt/SUNWmsgsr/data/telemetry/imap/usersns1
    where usersns1 is the userid.Make sure the permissions (ownership) on the user directory and the sub directory match those that messaging server uses - by default mailsrv:mail. This is the most common cause of the telemetry data not being created. The other thing to verify is that the user's account isn't stored as user@domain, otherwise you may need to create the directory as the entire user@domain (try both just to be sure).
    Also pl. tell me where can i get the command list
    for sun one messaging server to use the command line
    utility to list, delete mailboxes. also can i search
    for all the mailboxes under one domain name. if yes
    then which command i have to use.The Messaging Server reference guide is a good place to start (lists all the command-line utilities/flags and what-not):
    http://docs.sun.com/app/docs/doc/819-4429?l=en
    The mboxutil command is used to list/create/delete mailboxes and you can use a pattern to only list those mailboxes in a specific domain.
    Regards,
    Shane.
    thanks in advance.

Maybe you are looking for

  • External Hard Drive Suddenly Disappeared From List

    Hi guys. About a week ago, a weird msg started popping up about my external (F:) hard drive, after which nothing inside of it would show up anymore. If I clicked on a folder, there'd be nothing in it. Then if I unplugged, and re-plugged, it would all

  • Trigger Windows Store Apps update by script at first login

    Hi Is it possible to trigger Windows 8.1 to check for Windows Store Apps updates at first login? My issue is that when I add language packs to my Windows 8.1 images, the default apps (Mail, Calendar, Food and Drinks) are still in English. Not until t

  • Technical content activation for BI STAT and Admin cockpit

    Hi friends, I am going to setup the IMG call for BI STAT and Admin cockpit. If i run the technical content activation will i need a precaution for other data loading. If i run them in background does it affects other data loads. did i need to take do

  • FOP file size problem

    Hi, I need to generate a pdf file from a .fo file. The problem is that I'm running out of memory when trying to use a .fo file of 2.5Mb. It isn't a small source file, but I was expecting to work. Here's my configuration: WindowsNt on a sytem K6/500Mz

  • Syncing without losing my music

    My mac wants to erase all my music when I do a sync. Is there a way to create a playlist from the songs on my phone so that I can let the computer erase and re-sync with my phone, then just put the playlist back onto the phone? I can't create a playl