How to put a PDF message on a mq series queue

I am having an issue reading a pdf document that is stored in a blob on the database and putting the document on our queue. In the past we have always had to deal with Word documents, but using the same method with the pdf's causes out of memory errors .. I have seen solutions here when reading from a file but not when the data is coming from a database. Any help would be greatly appreciated.
for word docs I simply read the data out of the blob using a .getbytes() into a byte array and pass that to my method for putting the binary onto our queue, so the variable message is a byte []
String corrID = correlationID+"";
          byte[] theBits = new BigInteger(corrID, 16).toByteArray();
          outMessage.correlationId = theBits;
          outMessage.write(message);
          System.out.println("-->BFC--invoking put statement for message");
          queue.put(outMessage);
          qManager.commit();

Please disreagard this message, it turns out the wrong decompression method was being used on the pdf file.

Similar Messages

  • How to put the trace messages in JSP DynPage

    Hi,
    How to put the trace messages in JSP DynPage components. What settings I need to do and where do I see the trace log.
    Can I also print the values of some variables in trace. If yes, how to achieve this?
    Thanks in advance,
    Regards,
    Madhu

    Hi Madhu,
    for NW04 see http://help.sap.com/saphelp_nw04/helpdata/en/e2/75a74046033913e10000000a155106/frameset.htm
    as well as
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/using logging and tracing on the sap web as java.pdf
    Hope it helps
    Detlev

  • How to put a pdf file in Oracle portal?

    I want to put a pdf file in Oracle portal. But how I do it?

    Are you using Oracle Portal, or Oracle WebCenter Portal?
    In Oracle Portal, you can go to edit mode (use the link or add ?_mode=16 to the url) and create a file item.
    In WebCenter Portal, you need to add the content to WebCenter Content (default content repository for WebCenter Portal) and use something like the content presenter to show the content on a page.
    Kind regards,
    Rob

  • How do I remove PDF messages stored on Adobe Reader XI?

    How do I remove  PDF files stored on Adobe Reader XI?

    On a Windows system use the Windows Explorer to delete the files.

  • Foreign Character Issue in Messages sent to MQ Series Queue

    Hi Experts,
    We are having a IDOC to JMS Scenario.We receive the IDOC and Convert it into a Single Line Flat File using a JAVA Mapping.We send the flat file message to MQ series 6.0 Queue using a JMS adapter.
    We are facing issues when message contains foreign character like Chinese , German and Greek.
    The Input\Output payload looks fine in SXMB_MONI and in the JMS Channel payload. when the message is put in the MQ Series Queue. When we open the messages in the JMS Q, the Foreign Character looks as "?????".
    PFB some details on the Java Code and other Config Settings.
    1. We read the messages from the Input Stream as UTF-8 and do the Transformation and Write the Output as UTF-8
    we use writer class to write the output after conversion (shown below).
    Writer osw = new OutputStreamWriter (osOutput,"UTF-8");
    2. The MQ series is in UNIX box and CCSID of the Queue Manager is 819.
    we have set the CCSID of the JMS channel 819.
    can you please clarify in case any transformation is happening before placing the message in the queue and how to we handle this case from the channel or in the Java code.
    Some Sample Character are u0395u03A3u03A4u0399u0391u03A4u039Fu03A1u0399u0391-u03A4u0391u0392u0395u03A1u039Du0395u03A3-u039Au0391u03A6 , u039Au039Fu039Du0399u039Fu03A1u0394u039Fu03A5 u03A7u03A1u03A5u03A3u0391 , and some Chinese Characters too

    Hi All,
    Thank you all . My problem is not resolved yet
    I have one more useful info.
    I set the Transport Protocol as TCP\IP and Kept the JMS Compliant as WebsphereMQ (Non-JMS) in JMS Channel Parameters TAB. In additional Parameters TAB i have set  "JMS.TextMessage.charset"     as ISO-8859-1.In this Setting, The Characters looks perfectly fine when i browse and view the messages in MQ Series Q. Messages are sent in MQSTR format, where the message has no header value.
    Intially i had set JMS Compliant Field as "JMS Compliant" with additional param TAB set as ISO-8859-1, where the message is sent in MQHRF2 format containing header details. i also configure dynamic header values using AF_Modules to this header. Special Chars didnt work.
    Now in MQSTR due to missing Header values the messages are not being identified and routed properly by the end system from the MQ series. 
    Now i need to find the missing loop, what happens when message is sent using WebSp MQ API's (MQSTR) and Java API (MQHRF2). I need to have MQHRF2 format with Messages body sent exactly as it is in MQSTR. Is there any parameter, which i need to set.
    can anyone help me in this  regard.

  • How to put my text messages in order by timestamp?

    I noticed today that some of my text messages lost their time order. A few of them I sent yesterday and now they appear with yesterdays timestamp but, they are arranged after the texts I've sent today. Why is this?

    A text message is listed in the Messages app based on the last text received. If you started a thread yesterday, or last week, then started another one with someone else later, when you start the next one, it appears on top. However, if someone responds to yesterday's thread, then it would move to the top. Is that what you are referring to?

  • How to remove the default message in PDF generated through JRC?

    Hi all,
    I am in need of removing the default and automatic message(Register free at .... to remove this message) at the pdf footer has been generated while exporting a report through a java Program using JRC.
    By how it is generated and how to customize the pdf?
    Can anyone help me.
    Thanks in advance,
    Saravanakumar.

    It doesn't work for me neither.
    Tried many ways.
    I followed the full instructions putting the jar in eclipse/plugins folder, restart eclipse.
    Right click on the project, chose crystal report -> update keycode.
    I edited the CRConfig.xml adding keycode tag with the value I copied from the jar.
    None of above works.
    Is there other ways to remove that line of message from the report?
    thank you in advance.
    Sean

  • How can I put a .pdf (or table) in iWeb that one sees on the web site on a web page without downloading?

    How can I put a pdf (not downloadable, but viewed on the website) or a table in iWeb?

    If it's a one page PDF file just drag it onto the webpage and resize to fit. If it's a multi page PDF file you can add it as in this demo page: Scrolling Text Box
    OT

  • TS3297 iTunes puts up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one. How I can clear that messag

    I've been running iTunes on WinXP for years with few problems.  I have all my iTunes files on an external USB drive. I just bought a new PC running Win7, 64-bit.
    I connected the external USB drive to the new PC and installed 64-bit iTunes on it. When iTunes started up, I pointed it at the iTunes directory in the external drive, using Edit > Preferences > Advanced > iTunes Media Folder Location. It showed a progress bar that it was updating the iTunes Library. I signed in and authorized the new machine. I have one spare authorization.
    Then iTunes put up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one.
    When I click OK, the iTunes Store page remains blank, apart from saying "iTunes Store" in the middle of the page.
    I went to "View My Account" and pressed the Reset button to "Reset all warnings for buying and downloading items", but that doesn’t fix this particular warning. I also tried Edit > Preferences > Advanced > Reset Warnings and Rest Cache.
    But still, every time I click the “App Store” button in the iTunes Store window, the message appears. If I click the Books, Podcasts or iTunesU buttons, these display normally.  So I’m stuck with being unable to purchase apps, other than through my iPad and iPhone.
    If I move the external drive back to the XP machine, the same thing happens.  If I go to another PC - a notebook running Vista - everything is normal.
    Any idea how I can clear that message?
    Thanks for any help you can offer.

    Further info on my question above.
    I have tried re-validating my credit card, which apparently fixed it for some. 
    I have also tried uninstalling, re-downloading and installing again.
    Neither of these steps fixed the problem.

  • How to put more than 1200 characters in a text form within a pdf created in Adobe Acrobat

    I need to know how to put more than 1200 characters in a text form within a pdf created in Adobe Acrobat. I have a request from a customer to do so and after googling I have came up with nothing. Also the customer would like it if they could convert said pdf form to a microsoft word document with the text form.

    There's no limit on the number of characters you can enter into a text
    field, unless you set it as such.

  • How to put music in the pdf file?

    how to put music into pdf file?
    when open the pdf file in adore reader, music star automatic and when close the music stop itself....
    my version cant add music into it.
    Version: adobe reader x
    can someone show me the ways?

    Adobe Reader cannot do such a thing.

  • How to put text in pdf on ipad

    How to put text in pdf on ipad?

    The only text you can attach to a PDF in the current Adobe Reader is a "note" comment. If you tap the comments button (the cartoon cloud with pencil) and choose the "note" comment (the cartoon cloud) you can add a note.

  • Can i put an unavailable message as a response to text messages so people who are texting me will know that I am unavailable and for how long?

    I'm going to be out of the country for a few weeks.  I have an iPhone 4s.  Can I put an unavailable message as a response to text messages so people who are texting me will know that I am unavailable and for how long?

    No. Sorry. Check with your carrier. Perhaps they offer such a service.

  • How do you put a PDF as a hyperlink?

    How do you put a PDF as a hyperlink into iWeb

    Hi, I have a similar problem, but this doesn't fix it.
    I want my website users to be able to download a pdf from my site (normally by right-clicking on the line). The web browsers (Safari/Firefox) simply allow you to view the pdf in a new window or tab, but it's not very reliable. Here's an example. Go to my site:
    http://www.cornerstoneguernsey.co.uk/cornerstoneguernsey.co.uk/Our_Menus.html
    and try to download a copy of this:
    2011:2012 3 part menu.pdf
    I know it used to work, but since the tons of upgrades I've done recently, now my customers are having terrible problems getting our menu!
    Many thanks in advance.

  • How to put message in JMS topic

    Hello,
    AnyOne can tell me how to put messages in JMS topic ?? Any sample / example available on it ?? I am using Oracle SOA 10g.
    Thanks

    Try this link:-
    http://jamessmith73.wordpress.com/oracle-soa-bpm-11g/bpm-and-jms-adapters/
    It have a good example on JMS Consumer and producer.

Maybe you are looking for

  • Interactive polygon-shaped buttons for web

    Hello everyone, I am a new enthusiastic subscriber of CC, and as every newcomer I have several questions. I will limit myself though to only one issue for now. Here is a link for an interactive architectural presentation I did: http://www.transsilta.

  • Using 2 15" ADC studio displays with G5?? How??

    I have just recently purchased a second 15" studio display to use with my G5 powermac. One display is currently connected to the adc port on the back of the G5. How can I connect the second display? I have seen some adapters you can buy which convert

  • Adobe Form loading error

    Hi all, I'm working with webDynpro applications. I can create the iView correctly but I get several JavaScript errors when the iView is loaded: - <b>'sapUrDomainRelaxing' is not defined</b> - <b>Object expected </b> - <b>'SSR' is not defined </b> The

  • Reporting on service.

    Dear Gurus, When executing purchase document by vendor ME2L and ME2M reports with varient W-OFFEN  for open target quanity, system is not showing proper report for services.It is showing open PO in report though invoice is posted. Why it is happening

  • InDesign CS6 hangs for a few seconds when transforming group (OSX 10.8)

    I'm testing InDesign CS6 under OS X 10.8. Seems to work without problems - except one thing which I noticed several times while working on a document (that I was working on under 10.7 as well, without problems): I transform a group of objects (mostly