Flooding the Stomp interface - any ideas?
Does anyone have any experience of overloading the new Stomp interface using the OpenMQ 4.4 beta running under Windows? I've found that if messages are sent in too fast, exceptions occur. This happens with a Producer tool (for example Michael Justin's free download) and a different demo program based on the Delphi TStompClient component from the Codehaus site. I suspect it will happen with any program that writes, say, several hundred messages to a topic or queue in rapid succession.
A workaround which I have just tried this morning is to put in a Sleep(0) after each send in order to cede a bit of processor time to the JMS - early signs are that this seems to work. However I would like to know if anyone else has experience of this issue and what the best way forward is. Is it a JMS bug?
The exception generated is below - you can see that the JMS is having trouble interpreting a Stomp message with missing characters at the start of the message. (Different fragments will displayed in different occurrences of the exception).
04-Jun-2009 18:56:23
SEVERE: Parse incomming data failed: Unknown STOMP command: tination:/topic/Torus2ClientTopic
com.sun.messaging.bridge.service.stomp.FrameParseException: Unknown STOMP command: tination:/topic/Torus2ClientTopic
at com.sun.messaging.bridge.service.stomp.StompFrameMessage.parseCommand(StompFrameMessage.java:549)
at com.sun.messaging.bridge.service.stomp.StompProtocolParser.hasNextMessage(StompProtocolParser.java:179)
at com.sun.grizzly.filter.ParserProtocolFilter.execute(ParserProtocolFilter.java:139)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thanks for any ideas...
I've tried a few different platforms and mostly JRE 1.6u13. Yesterday I started using the JDK (1.6u13 - for compatibility with Open build 8/9). I have used Windows 2003 & Windows Vista. To be sure that everything is the latest, I've re-installed this afternoon as follows:
- Processor: Intel 2 Core Duo 2GHz.
- OS: Windows 32-bit Vista SP1
- Install JDK 1.6u14
- Install OpenMQ 4.4 build 9 and set up for Stomp
- Start imqbrokerd from a command window
- Create a topic with default parameters with the imqadmin tool
- Download "Habari OpenMQ Client - Delphi demo download" from: http://www55.pair.com/betasoft/habari.html#item_1197
- Unzip and run: ...\HabariOpenMQ-demo\demo\delphigui\GUIDemo.exe
- Ignoring the row of big buttons on top (no reason, that's just what I did) look at the left hand half of the screen and the different sections separated by parallel lines:
- In the Connection section click the Connect button
- In the Session section click the Create button;
- Click OK in the dialog that appears, accepting Automatic Acknowledgement
- In the Destinations section type the name of your test topic in the empty text box just above the New button and click New
- Subscribe to this topic by highlighting it in the Destinations list box and clicking the Subscribe button
- Click the Send button to send the default message and check that it is received in the Log Window (Received test message:....)
- Change the repeat count to 10000 and click Send again.
This configuration (with JDK 1.6u14 instead of u13) seems to be more robust than previous configurations I have tried. I could not get the problem to occur when sending only 1000 messages, so I increased the count to 10000. Then dozens of errors occurred.
I suspect the problem is not at the client side because it is also seen with a different client - using code based on the Delphi TStompClient class downloaded from the Codehaus site. (The TStompClient even uses a different TCP socket from the Habari component so it has different code at all levels of the program).
Banner at the top of a startup log is:
Open Message Queue 4.4
Sun Microsystems, Inc.
Version: 4.4 (Build 9-d)
Compile: Fri 06/05/2009
Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved. Use is
subject to license terms.
================================================================================
Java Runtime: 1.6.0_14 Sun Microsystems Inc. C:\Program Files\Java\jdk1.6.0_14\jre
[12/Jun/2009:13:11:39 BST] IMQ_HOME=C:\Program Files\Sun\MessageQueue\mq
[12/Jun/2009:13:11:39 BST] IMQ_VARHOME=C:\Program Files\Sun\MessageQueue\var\mq
[12/Jun/2009:13:11:39 BST] Windows Vista 6.0 x86 JonStewart.apdcomms.co.uk (2 cpu) jon.stewart
[12/Jun/2009:13:11:40 BST] Java Heap Size: max=189376k, current=18176k
[12/Jun/2009:13:11:40 BST] Arguments:
[12/Jun/2009:13:11:40 BST] [B1004]: Starting the portmapper service using tcp [ 7676, 50, * ] with min threads 1 and max threads of 1
[12/Jun/2009:13:11:40 BST] [B1060]: Loading persistent data...
[12/Jun/2009:13:11:40 BST] Using built-in file-based persistent store: C:\Program Files\Sun\MessageQueue\var\mq\instances\imqbroker\
[12/Jun/2009:13:11:40 BST] [B1318]: Initialize bridge service manager
[12/Jun/2009:13:11:40 BST] BridgeManager: Loading bridge stomp
[12/Jun/2009:13:11:40 BST] BridgeManager: Loaded bridge stomp
[P.S. the different name for this post is 'cos I was having trouble accessing my original Sun account]
Similar Messages
-
i have purchased itunes match but the cloud will not load on my ipad 4.it works on my iphone 5 & it originally worked on my ipad.the only music that will show up is stuff that i bought from the itunes store.any ideas on how to get this to work?
On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed. -
I am trying to restore my ipad from previous back up. itunes requests a password, it is none of the passwords I have used in the last decade any ideas to get around this?
The password would be either your iTunes ID password or your admin password for the Computer.
MJ -
I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?
I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?
-
I am using Numbers app for the ipad and it has been working absolutely fine but now, when I want to email a spreadsheet as a PDF via the 'share and print' option, the file now doesn't appear as an attachment to the recipient. Any ideas please?
Hi mafiose15,
Thanks for visiting Apple Support Communities.
Restoring your iPod to factory settings is the best way to try and get it back to working order. You can use the instructions below to restore it:
How to restore iPod
Verify that you have an active Internet connection, because you may need to download new versions of the iTunes and iPod Software.
Download and install the latest version of iTunes if necessary.
Open iTunes. Connect your iPod to your computer using the USB or FireWire cable that came with your iPod.
After a few moments, your iPod will appear in the Source panel in iTunes.
Select your iPod in the Source panel. You will see information about your iPod appear in the Summary tab of the main iTunes window.
Click Restore.
If you are using a Mac, you will be asked to enter an administrator’s name and password.
A progress bar will appear on the computer screen, indicating that stage one of the restore process has begun. When this stage is done, iTunes will present one of two messages with instructions specific to the iPod model you are restoring.
Disconnect iPod and connect it to iPod Power Adapter (typically applies to older iPod models).
Leave iPod connected to computer to complete restore (typically applies newer iPod models).
During stage two of the restore process, the iPod displays an Apple logo as well as a progress bar at the bottom of the display. It is critical that the iPod remain connected to the computer or iPod power adapter during this stage.
Note: The progress bar may be difficult to see, because the backlight on the iPod display may be off.
After stage two of the restore process is complete, the iTunes Setup Assistant window will appear. It will ask you to name your iPod and choose your syncing preferences, as it did when you connected your iPod for the first time.
You can find the instructions in this article:
Restoring iPod to factory settings
http://support.apple.com/kb/ht1339
All the best,
Jeremy -
i have just switched from a PC and installing my googlemail account onto my Macbook pro. I can successfully see my calendar and contacts but my mail will not connect. i get an error message - can not connect to the server. Any ideas please?
Neil,
I don't use Apple's Mail client (I use MS Outlook) but setting up your Gmail account should be fairly straightforward. Just make certain that you have your settings correct.
For your incoming server, be sure to use the "map.gmail.com" server, using SSL, using port "993" (usually the default).
For your outgoing server, be sure to use the "smtp.gmail.com" server, override the default port and use port "465" and use SSL to connect and make sure that you enter your email address and password to access the SMTP server.
If you've already set up your account with these settings, you may need to Google "gmail setup apple mail" and find the Google document relating to same.
Good luck,
Clinton
MacBook Pro (15” Late 2011), OS X Yosemite 10.10, 16GB Crucial RAM, 960GB M500 Crucial SSD, 27” Apple Thunderbolt Display -
I updated to iOS 7 and now some of my apps won't display in landscape mode and they did before the update. Any ideas on how to fix it?
This could be from having restrictions enabled. Icons completely disappear when "restricted"
-
How do I get home video clips from iMovie Mac to iMovie iPad? Surely there is some degree of cross-compatibility? I have a load of clips in iMovie on my MBP that I wanna download to my iPad2 so that I can edit movies on the move. Any ideas? (The clips are in a .mov format, they have been imported / converted into this format in iMovie, original files were from a JVC camcorder in some other strange format.)
I copied the iTunes file from the external drive and it's in both places. I thought all I would need is the iTunes program (which I downloaded to new computer) and my iTunes library file. There must be something else that's missing. My iTunes library looks the same on the new computer as it does when I open it on the external drive. If I click on an iTunes library song from my new computer, it will only play if I have the external drive plugged in.
My back-up drive is a mess. I have multiple copies of music, video, photo, and document files and I don't know how that happened. ={ Obviously, I don't know how to back up stuff properly and there are back-up files extending over a 6- to 8-year period. I think all I did was just drag and drop the main folders from the back-up drive to the same main folders on the C: drive. Also (and I'm kind of fuzzy on this) Windows used to automatically save music files in a folder within my document files (which makes no sense to me). As my Jewish friends would say, "Oy Vey!" -
Help - have an iTunes account on iPad for well over a year. Just bought iPhone 5 and I cannot purchase apps using my account. I am asked to verify my credit card and details but then it rejects them. They are still fine on the iPad. Any ideas?
I tried to contact support but they do not recognise my Thai phone number.
the Thai support site is all in Thai (and I neither read or write it).
All I want is a single email address that works - it must be quite a simple process.
I don't want to create another account with another credit card - life will just get seriously complicated then.
BTW my apple I'd is accepted for downloading free apps!!!First of all, you should always save you photos on computer like any other digital camera.
Backup on iCloud or iTunes only backup your Camera Roll. The other photos should be already on the computer.
Note: Photos are not saved in iTunes, it's only a conduit between your iPhone and your photo managing software on computer.
What computer do you have? -
I recently downloaded a 10.6.8 update and a game program has now been reduced in size. It's specifications are set for full screen, but it is about 1/4 of the size. Any ideas how to fix?
Hi, I have got the same problem but all is 1/4 the size have you fixed it?
-
I have an apple certified refurbished iPod touch 3rd generatio. When playing the music with headphones, the music moves from song to song. When it is on a docking station, it repeats the song. Any ideas why or how to fix it?
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Unsync all music and resync
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device. -
When playing music from Ipod in my car, music suddenly stops and message appears to restore in iTunes. After a few minutes, it starts to play again. I hear a click and the apple logo shows on the screen. Any ideas??
You may need to do a Restore in iTunes.
Clicking sounds from an iPod that has a hard drive is probably not a good thing. It is possible that your iPod's hard drive is becoming unreliable. -
At the end of a synch I am getting the following error message "iTunes could not back up the iPod because the backup could not be saved on the computer". Any ideas on how to resolve?
See:
iOS: Troubleshooting backup issues in iTunes
Try going to iTunes>Preferences>Devices and delete the existing backup so iTunes creates an entire new one vice changing the existing one. -
I have three ipods, none of which are being recognized by my itunes. I have reset each ipod, with no results. I wonder if the problem isn't with the USB ports. The mouse works fine in each port; nothing happens when I plug in the ipods. I have tried two different USB cables. I have no other USB devices with which to test. I have made sure I have the most recent updates and rebooted the computer. Any idea what is going on?
Did you already have a look at this article?
iOS: Device recognized in iTunes for Mac OS X -
I have been using iPhoto on my Mac notebook to import photos from my camera. Now it doesn't work. Says Image Capture is the problem. Any ideas?
pollyfromwiWhat is the exact error message?
LN
Maybe you are looking for
-
Oracle TDE - Can multiple databases use the same Oracle wallet?
Oracle Advanced Security Transparent Data Encryption I will have 2 or more databases running under the same Oracle 11.2 home. According to Oracle's documentation, it is preferred to reference the wallet via the sqlnet.ora file. That's fine. My questi
-
How to make a "return delivery" from a goods mvnt linked to a reservation
Hi, I want to realize a "return delivery" from a goods mvnt that is linked to a reservation number. I'm using FM BAPI_GOODSMVT_CREATE. I'm able to create a goods mvnt, but this doesn't updates the quantity in the reservation document. For example: Th
-
PY Issue -/563 is not deducting from Earnings
Hi Payroll experts, My assumption is Net pay = total earning (Current month Payments)- total deductions (Current month deductions) But this month I have a /563 (claim from previous monthu2019s) in the deduction section of the pay slip. It is getting
-
Vbc.exe error when compiling!
Hi, I'm a programmer and I use Microsoft Visual Studio Express 2013 for Windows Desktop and I was developing a project in a visual basic forms application. The project uses Microsoft.NET servers to connect information to my project, I don't really un
-
Beispiel: Ich erstelle ein neues Dokument, die Parameter sind eingegeben, im Dialogfenster ist "ok" hervorgehoben. Wenn ich jetzt die "Return-Taste" drücke passiert nichts, eigentlich sollte das neue Dokument doch damit erstellt werden?