When Broker Restarts None of the Temporary Queues Are Created

Somehow when the broker restarts none of the temporary queues are getting recreated. The queues were created successfully the 1st time and the applications were happily exchanging messages. Things just fall apart when the broker restarts.
I'm able to reproduce this problem consistently by doing the following:
1. Start imqbrokerd (mq start)
2. Start client application
3. Shutdown imbrokerd (mq stop)
4. Start imqbrokerd (mq start)
After the producers in the client application have reconnected the following messages are displayed in the console. I'm only able to get the client app to work again is if I restart the client apps.
[02/Mar/2009:23:01:01 CST] attempting to set Message Bytes Limit to 10485760K for destination temporary_destination://queue/192.168.20.14/49823/1 [Queue]
[02/Mar/2009:23:01:01 CST] attempting to set Message Size Limit to 10240K for destination temporary_destination://queue/192.168.20.14/49823/1 [Queue]
[02/Mar/2009:23:01:01 CST] [B1065]: Accepting: [email protected]:57123->jms:37646. Count: service=9 broker=9
[02/Mar/2009:23:01:01 CST] [B2083]: Unable to create destination temporary_destination://queue/192.168.20.14/49823/1 [Queue], autocreation is forbidden
Do you guys have any idea on what's going on? Does anybody know of an existing workaround?
Environment:
- OpenMQ 4.3
- CentOS 5.2
- Sun JDK 1.6_05
- Spring 2.5.5
- Camel 1.3.0
I also looked at the code and found only one location where the error message is used. I still need to figure our how I can get the conditional expression to evaluate to false.
share/java/com/sun/messaging/jmq/jmsserver/core/Destination.java
1395 if (!DestType.isAdmin(type) && !canAutoCreate(DestType.isQueue(type),type) && !BrokerMonitor.isInternal(destination)) {
1396 throw new BrokerException(
1397 Globals.getBrokerResources().getKString(
1398 BrokerResources.W_DST_NO_AUTOCREATE,
1399 getName()),
1400 BrokerResources.W_DST_NO_AUTOCREATE,
1401 (Throwable) null,
1402 Status.FORBIDDEN);
-bash-3.2$ /tmp/openmq-4.3/mq/bin/imqcmd query bkr -t q -n MYQUEUE -u admin
Password: admin
Querying the broker specified by:
Host Primary Port
localhost 7676
Version 4.3
Instance Name imqbroker
Broker ID
Primary Port 7676
Broker is Embedded false
Instance Configuration/Data Root Directory /tmp/openmq-4.3-data/var/mq
Current Number of Messages in System 202
Current Total Message Bytes in System 317483
Current Number of Messages in Dead Message Queue 201
Current Total Message Bytes in Dead Message Queue 316444
Log Dead Messages true
Truncate Message Body in Dead Message Queue false
Max Number of Messages in System unlimited (-1)
Max Total Message Bytes in System unlimited (-1)
Max Message Size 70m
Auto Create Queues true
Auto Create Topics true
Auto Created Queue Max Number of Active Consumers unlimited (-1)
Auto Created Queue Max Number of Backup Consumers 0
Cluster ID
Cluster is Highly Available false
Cluster Broker List (active) mq://192.168.1.123:7676/
Cluster Broker List (configured)
Cluster Master Broker
Cluster URL
Log Level DEBUG
Log Rollover Interval (seconds) 604800
Log Rollover Size (bytes) 268435456
Successfully queried the broker.
I also tried versions 4.4 and 4.2 and received the same behavior :(

The application is inside an app server but we're not using a resource adapter as we're using Spring and Camel to hide the JMS details. Spring (JMSComponent) manages the connection directly. (We current don't have any JMS connection pooling as well.)
<bean id="jmsTransactionManager" class="org.springframework.jms.connection.JmsTransactionManager">
<property name="connectionFactory" ref="jmsConnectionFactory" />
</bean>
<bean id="jmsConnectionFactory" class="com.norvax.framework.jms.OpenMQConnectionFactory">
<property name="openmqBrokerConfiguration">
<props>
<prop key="imqBrokerHostName">$remoting{openmq.hostName}</prop>
<prop key="imqBrokerHostPort">$remoting{openmq.hostPort}</prop>
<prop key="imqReconnect">true</prop>
</props>
</property>
</bean>
<bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
<property name="connectionFactory" ref="jmsConnectionFactory" />
</bean>
I'm going to write a very basic producer using Spring without using Camel and see if I'll get the same behavior. I'd like to see if the way Camel uses JMS is what's making OpenMQ broker to deny creation of temporary queues.
Thanks,
Jeff

Similar Messages

  • Blue screen of death? I just updated my MacBook Air with the latest OX (25 Jun 11). When I restart - I get the Apple logo and then a blue screen and nothing else. Help!!!

    Blue screen of death? I just updated my MacBook Air with the latest OX (25 Jun 11). When I restart - I get the Apple logo and then a blue screen and nothing else. Help!!!

    Insert the install disk and press c on startup. Select your langauge then, if there's a menubar click utilities then click Disk Utility. If you didn't see the menubar continue with the installer until you see it.
    Once in disk utitly select the drive and repair permissions.
    After the repair is done, quit the utiltiy.
    You can try to reboot and see if it works if you reboot, but if it doesn't repeat the same as before again.
    Now you can continue with the installer and install the os.
    Quit

  • When I tried to download the new version of firefox I get an error message that says "you computer must be restarted to complete an earlier upgrade" when I restart it says the same thing. I cannot use firefox at all at the moment.

    When I tried to download the new version of firefox I get an error message that says "your computer must be restarted to complete an earlier upgrade" when I restart it says the same thing. I cannot use firefox at all at the moment. When I try to uninstall in the control panel, the same message pops up.

    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • I have rearranged all icons on the second and third pages to have a just a photo on my home, but if i switch off the iphone when i restarted it all the icons come back in the old position on the home and second page. I have ios5.

    I have rearranged all icons on the second and third pages to have a just a photo on my home, but if i switch off the iphone when i restarted it all the icons come back in the old position on the home and second page. I have ios5.

    you can suggest it here - http://www.apple.com/feedback/iphone.html
    And it is only a problem if you want a blank first screen.  Personally, it would drive me nuts always having to swipe over one page to get to my apps - the only time I unlock my iPhone is to use it or run an app, so no, I have no need nor desire to have a first screen with no icons at all.
    But, if they'd put it in as an option so people like yourself can also have what they want, that's fine too    So send them your feedback (they actually do listen - iOS 5 includes a number of things people have been asking for on these forums, like being able to delete individual entries from the call history, inproved alerts/notifications, being able to opt out of all the location based data they collect,...).

  • My screen is gone black when I restart I get the chime but no picture mac book pro can any help get me going again

    My screen is gone black on my mac book Pro.when I restart I get the chime but no picture mac.can any help get me going again

    Is the TV at minimum a 1080p with an HDMI port?
    What is your Machine ID?  DO NOT give us your serial number.  We just need the x and y values of the Machine ID in your system profiler as given in this format:
    MacBook Pro x,y
    This will tell us what display cables can connect to your TV.

  • When I restart my Mac, the grey screen appears like usual. But it takes more than 40 minutes (more) for it to load to finish restarting the Mac. What should I do?!

    When I restart my Mac, the grey screen appears like usual. But it takes more than 40 minutes (or more) for it to load to finish restarting the Mac. What should I do to fix it?!

    Disconnect all devices from your computer if you have not already done so.  Restart again.  If the problem has been resolved, you had a peripheral conflict.  You will then have to reconnect the devices one at time, restart,  to locate the culprit.
    Login Items is another culprit.  Check your login items.
    System Preferences>Accounts>Login Items
    Delete/disable all you do not need or want.

  • When I restart I get the following message:Completer wants to make changes. Type your password to allow this.  IS THIS FROM APPLE

    Not sure this is from Apple.  When I restart I get the following message:
    Completer wants to make changes.
    Type your password to allow this.

    Check the links below for options to remove the Adware
    http://www.adwaremedic.com/index.php
    Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support

  • Content Tab: None of the fact tables are compatible with the query request

    Hi All,
    **One thing I am not clear yet of all my years with OBIEE is working with the content tab in BMM.**
    I have made a rpd the joins in physical layer as shown below:
    https://picasaweb.google.com/114804305606242416264/OBIEEError#5663056545119428530
    And the BMM layer as:
    https://picasaweb.google.com/114804305606242416264/OBIEEError#5663056519553812930
    Error I am getting when i run a request from the 3 columns from the selected 3 tables is:
    Dim - Comment Code Details
    Fact - Complaint
    Dim - Service Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14020] None of the fact tables are compatible with the query request Sr Num:[DAggr(Fact - Complaint.Sr Num by [ Dim - Service Details.Sr Cat Type Cd, Dim - Comment Code Details.Cmtcode name] )]. (HY000).
    I get no error for consistency.. I read everywhere and I know i need to set the appropriate aggregation levels in the various dims and facts LTS properties to help OBIEE understanding our model, but how to do that.. how do i decide... how should I approach, what should be the aggregation level, what details.
    When i click More button i see different options: Copy, Copy From, Get Levels, Check Level, what do these mean.
    Aggregation Content, group by - Logical Level or Column which one should i choose and how should I decide.
    Can anyone explain the Content Tab in details and from scratch with some example and why we get these errors.... I know many people who are well versed with many other things related to RPD but this. A little efforts of explaining from you guys will really be appreciated.
    Thanks in advance,
    Dev

    Hi Deepak,
    Option 1:
    My tables in physical layer are joined as below:
    D1--> F1 <--D2--> F2 <--D3
    Same way i model it in BMM
    D1--> F1 <-- D2--> F2 <--D3
    Here D1 is non Conformed Dimension for F2 and D3 is non Conformed dim for F1. Later create Dimensional hierarchies, I tried setting up the content levels
    I go Sources>content tab of Fact F1 I set
    Dimensions----------- Logical level
    D1---------------------- D1 Detail
    D2---------------------- D2 Detail
    D3---------------------- D3 Total
    then, I go Sources>content tab of Fact F2 I set
    Dimensions----------- Logical level
    D1---------------------- D1 Total
    D2---------------------- D2 Detail
    D3---------------------- D3 Detail
    Then, I also go in all the dimensions and set their content levels to Details, but it still gives me errors not sure where I am going wrong in setting the content levels.
    I need to know whether the way I have modeled it in BMM is right,
    Option 2:
    I can combine the two facts in a single Logical Fact or the above design should also work.
    (F1&F2)<--D1, D2 , D3 joined separately using complex logical joins.
    what will be the content tab details?
    Thanks,
    Dev

  • Error: None of the fact tables are compatible with the query request

    Hi experts,
    I have one confirm dimension D1 and other two fact table F1 and F2 (F1 and F2 are connected to D1)
    when i create a report from D1 and F1 the report is running fine. But pull the column from F2 also in this report i am getting the following error
    None of the fact tables are compatible with the query request Code Combinations
    please suggest on the same.
    Regards,
    S

    Hi
    i have done the content level setting in each of the table, D1,F1 and F2(LTS), now i am getting the following error..
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 15018] Incorrectly defined logical table source (for fact table Gl Sets Of Books) does not contain mapping for [Code Combinations.Code Combinations.Affiliate, GL Balances.GL Balances.Currency Code, GL Balances.GL Balances.PTD_Balance, Gl Sets Of Books.Gl Sets Of Books .SoB Name]. (HY000)
    Gl Balances : D1
    Code Commbination: F1
    Gl Sets Of Books : F2
    I have checked the joins in physical and BMM layer..all are fine..

  • None of the dimension tables are compatible with the query request

    Hi,
    i am experiencing the below error while querying columns alone from employee dimension (w_employee_d) in workforce profile SA. There is only one column in my report which is employee number coming from employee dimension. when i query other information like job, region, location etc i am not getting any error. the below error appears only when querying columns from employee dimension. the content tab level for the LTS of employee dimension is set to employee detail.
         View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 14077] None of the dimension tables are compatible with the query request Dim - Employee.Employee Number. (HY000)
    SQL Issued: SELECT 0 s_0, "Human Resources - Workforce Profile"."Employee Attributes"."Employee Number" s_1 FROM "Human Resources - Workforce Profile" FETCH FIRST 65001 ROWS ONLY.
    couldn't able to know the exact reason. Any suggestions would be highly appreciated.
    Regards.

    hi user582149,
    It is difficult to answer you question with such a little amount of details. Could you specify:
    - how many facts/dimensions are you using in the query?
    - what is the structure of your Business Model?
    - which version of OBI are you using?
    - what does your log say?
    I hope to tell you more having the information above
    Cheers

  • None of the fact tables are compatible error

    Hi All,
    I do see this error (none of the compatible fact table) after setting the content level aggregation on the dimension tables and the fact table. This error i get only when i try to pull the calculated item which is based on a attribute in the fact table. I have an attribute like year in the fact table i need to display like 'CY'||'2013' in a calculated logical column and when i pull this into answers i get this error -
    1) joins are ok ; only one fact table and 3 dimension tables
    2). content level on the fact table are specified at the detail level and also for the dimensions
    any suggestions - thanks for your time

    can anyone please provide some suggestions -
    > i looked at the fact table LTS and specified the logical level for each dimension as the detail
    > specified the LTS for each dimension table
    > I have a column in my fact table which is calendar year and i want to have a derived column like rep_cal_year with 'CY'||cal_year - so when i pull this derived column in my answers i get the error - none of the fact tables are compatibile with the query;
    what could be missign?

  • "None of the fact tables are compatible with the query request " error

    I've got a situation where I have two facts(Fact_1, Fact_2) and three dimensions(dim_1,dim_2,dim_3) in 1 subject area. I've got dimension hierarchies setup for all the dimension tables.
    Dim_1 is one to many to Fact_1
    Dim_2 is one to many to Fact_2
    Dim_3 is one to many to both Fact_1 and Fact_2
    I've set up the content levels for the LTS for the Facts so that they are the lowest grain for dimensions they join to and the grand total grain for dimensions they do not join to.
    My rpd is consistent. When I run a report using an attribute from Dim_3 and Dim_1 or Dim_3 and Dim_2, the report comes back fine.
    But if I try to run a report using all three Dim tables, I get an error and the message "None of the fact tables are compatible with the query request ".
    First of all, is it possible to make a report using all three dimensions?
    Second, what's the best way to trouble shoot this error? Why are none of the fact tables compatible? I thought as long as the aggregation levels were set to grand total for non-shared dimensions, Answers would be able to create the report properly.
    Any advise would be greatly appreciated.
    Thanks!
    -Joe

    OBIEE is looking for a fact that can link ALL the dimensions together. This is also known as the implicit fact ... you don't have a fact that can relate all the dimensions - you have 2 facts that together they can. Perhaps you need to great a single logical fact that has both LTS for your physical facts and try it that way.
    Then you'd have Dim1, Dim 2, Dim3 all being able to join to Fact1 (which is made of physical facts 1 & 2).

  • [SOLVED] Upgraded to GRUB2, none of the menu choices are bootable

    So I installed Arch a few days ago and I've been loving it so far... however, when it installed GRUB (not GRUB 2), it failed to detect my Windows 7 installation. I couldn't get GRUB (1) to detect it at all, so I decided to try installing GRUB 2. It installed, said everything was fine, and so I rebooted to test it out. There are now 5 items in the GRUB menu:
    Arch Linux, with Linux vmlinuz26-lts
    Arch Linux, with Linux vmlinuz26-lts Fallback
    Arch Linux, with Linux vmlinuz26
    Arch Linux, with Linux vmlinuz26 Fallback
    Memory Test (memtest86+)
    None of the Arch options are bootable. Furthermore, those options seem to indicate version 2.6 of the kernel, but it should be 3. All of the options give the same output when selected:
    error: no such device: fb70f55b-e58a-4ac6-af45-19d19cc24d60.
    Loading Linux vmlinuz26-lts ...
    error: file not found.
    Loading initial ramdisk ...
    error: you need to load the kernel first.
    Press any key to continue ...
    It seems GRUB 2 doesn't want you to configure manually using grub.cfg, but its detection script apparently is not working at all. I have an Arch Live USB that I'm using to poke around, but not getting anywhere. Booting to the LiveUSB then running install-grub gives me a strange error:
    #install-grub /dev/sda /dev/sda2
    Installing the GRUB bootloader...
    /sbin/install-grub: line 73: k/by-label/ARCH_201108-1: division by 0 (error token is "-label/ARCH_201108-1")
    Error: Missing/Invalid root device:
    My disk is partitioned as such:
    /dev/sda1 - Ubuntu ext4
    /dev/sda2 - Arch ext4
    /dev/sda3 - Windows 7 ntfs
    /dev/sda4 - Arch/Ubuntu shared swap
    Thanks in advance for any assistance.
    EDIT: Ended up just chrooting and installing LILO-- config seems a lot more straight-forward. To anyone else having this problem, I just booted from my Arch LiveUSB and did the following:
    # mount -t ext4 /dev/sda2 /mnt
    # mount --bind /proc /mnt/proc
    # mount --bind /sys /mnt/sys
    # mount --bind /dev /mnt/dev
    # chroot /mnt
    # pacman -Sy lilo
    # nano /etc/lilo.conf
    (change the boot line to point to arch's disk, and edit each entry to point to arch's partition(s))
    # lilo
    # exit
    # reboot
    Last edited by dtomasiewicz (2011-10-21 17:46:33)

    Thanks for the help guys... looks like this was actually a failure on my part. I missed the line on the wiki article that said to install os-prober if you're dual-booting. Once I installed it and ran grub-mkconfig it recognized Ubuntu and Arch, then I was able to add Windows 7 to /etc/grub.d/40_custom.
    Last edited by dtomasiewicz (2011-10-19 15:30:46)

  • None of the network adapters are bound to the Netmon driver.If you have just installed, you may need to log out and log back in order to obtain the proper rights to capture. Please refer to the product help for more information.

    Hi,
    To analyze Lync issues I have installed these applications in my windows 7 x64 laptop
    1) network monitor 3.4
    2)Lync network monitor parser
    3)nmdecrypt2.3
    4)network monitor parser3.4
    Installtion got completed successfully but when I try to start capture I get this error everytime.......
    "None of the network adapters are bound to the Netmon driver.If you have just installed, you may need to log out and log back in order to obtain the proper rights to capture. Please refer to the product help for more information"
    I read many technet articles and other blogs but that didn't solve this issue. I tried things like
    A) Run as administrator
    B) nmconfig /install in cmd
    So could you please help me how I can fix this issue?
    Regards,
    Ajit

    Seems our driver didn't get installed.  What you see when you type "sc query nm3" from a command prompt?
    Thanks,
    Paul

  • I get the following message when installing 11.0.5 "The feature you are trying to use is on a network resource that is unavailable" for windows install

    I get the following message when installing 11.0.5 "The feature you are trying to use is on a network resource that is unavailable" for windows install

    I just found a way to get Fixit to Run.  Go to http://support.microsoft.com/fixit/ and then pick "Install or upgrade software or hardware" and run Fixit from the "Run" button on the webpage.  I just picked run, instead of save, and ran it directly from the web page for each of the apple software.  If the window doesn't come up full size, hit "Tab" twice and then "Return".  You'll be able to see the prompts from there.  Have it attempt to uninstall iTunes on its own.  Repeat the process for any of the other Apple products, including Bonjour and iCloud.  Then, go to the iTunes website and install from there.  I had a downloaded copy and installed from there, but it came up with an error about missing the apple help, or something like that.  It allowed me to uninstall, and I reinstalled direclty from the website, and it all works now.

Maybe you are looking for