Persistent Store Problems for MYSQL Enhanced Cluster With OpenMQ 4.4

I am trying to implement an enhanced cluster with failover. I have edited the config files for each broker instance for a persistent store. I have appended the following to each of the config.properties files:
imq.brokerid=myclusterinstanceINSTANCE1 # I substitute INSTANCE2 for INSTANCE1 for broker #2
imq.persist.store=jdbc
imq.persist.jdbc.dbVendor=mysql
imq.persist.jdbc.mysql.property.url=jdbc:mysql://xxx.xxx.xxx.xx:3306/test
imq.persist.jdbc.mysql.user=user1
imq.persist.jdbc.mysql.needpassword=true
imq.persist.jdbc.mysql.password=mypass
imq.cluster.ha=true
imq.cluster.clusterid=mycluster
imq.cluster.brokerlist=xxx.xxx.xxx.x:37676,yyy.yyy.yyy.y:37676
I then create the persistence storage with "imqdbmgr create tbl". When I view the data in the tables it creates, I have one row. Under Store_Version, I have 410. Under LOCK_ID, it has NULL. When I go to start the brokers with imqbrokerd, I get the following error:
ERROR [B3198]: Error initializing cluster manager:
com.sun.messaging.jmq.jmsserver.util.BrokerException: [B4239]: Failed to load persistent store version from database table MQVER41Cmycluster
at com.sun.messaging.jmq.jmsserver.persist.jdbc.VersionDAOImpl.getStoreVersion(VersionDAOImpl.java:310)
at com.sun.messaging.jmq.jmsserver.persist.jdbc.DBTool.updateStoreVersion410IfNecessary(DBTool.java:350)
at com.sun.messaging.jmq.jmsserver.persist.jdbc.JDBCStore.checkStore(JDBCStore.java:3599)
at com.sun.messaging.jmq.jmsserver.persist.jdbc.JDBCStore.<init>(JDBCStore.java:127)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.messaging.jmq.jmsserver.persist.StoreManager.getStore(StoreManager.java:157)
at com.sun.messaging.jmq.jmsserver.Globals.getStore(Globals.java:967)
at com.sun.messaging.jmq.jmsserver.cluster.ha.HAClusterManagerImpl.initialize(HAClusterManagerImpl.java:181)
at com.sun.messaging.jmq.jmsserver.Globals.initClusterManager(Globals.java:903)
at com.sun.messaging.jmq.jmsserver.Broker._start(Broker.java:777)
at com.sun.messaging.jmq.jmsserver.Broker.start(Broker.java:410)
at com.sun.messaging.jmq.jmsserver.Broker.main(Broker.java:1971)
Caused by: java.lang.NullPointerException
at com.mysql.jdbc.ResultSetImpl.findColumn(ResultSetImpl.java:1103)
at com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2777)
at com.sun.messaging.jmq.jmsserver.persist.jdbc.VersionDAOImpl.getStoreVersion(VersionDAOImpl.java:298)
... 16 more
I believe this error is attributed to the NULL value under LOCK_ID. I think that the value under LOCK_ID should be the name of the broker from the config file (even though I specified them in the config files). Any ideas?? THANKS!

Just some pointers -- maybe this will be of use:
If you haven't already read it, please take a look at the [ MySQL setup guide|https://mq.dev.java.net/OpenMQ_MySQLCluster_Setup_Guide.html] .
We recommend using NDB Data-store of MySQL Cluster, though this isn't an absolute requirement. Due to some issues we have found with earlier versions, we recommend using MySQL Cluster, 7.0.9 or better (the current version is 7.0.16, or 7.1.5). Either of these would contain Connector/J.
I'd also recommend using the latest version -- MQ 4.4update2 (just in case you happen to have an older copy). There were many minor improvements in the integration with MySQL from the original 4.4 release, to update 2. This is linked at the MQ download page: [https://mq.dev.java.net/downloads.html]

Similar Messages

  • Problem for running Update query with Chinese

    Hi all,
    I am running a web application in Lotus Domino.
    I have a Lotus Script Agent which need to update Oracle 8i Database with Chinese Character throught ODBC but i find that all characters become some strange characters.
    I got the problem only for update query.
    I have no problem for select query for getting the chinese data.
    Also, I got no problem to run the update query with chinese characters in Sqlplus.
    I also try to run the same update query which the ODBC connection is pointing to an MS Access Database. It works too.
    So the only things i leave is the Oracle ODBC driver.
    Anythings I should do for the Oracle ODBC server?
    Thanks very much.

    Hi, I checked the registry of Oracle and
    in the NLS_LANG field, the values is AMERICAN_AMERICA.UTF8. In the server side, I set the same.
    It should be okay, as i can retrieve the chinese content in the Oracle. Just that when i try to run a query contain chinese, such as,
    "insert into TableA values ('���')". i will got some strange character inserted in the databasae.
    Could you tell me what should i do?
    Thanks a lot a lot.

  • User profile creation problem for windows 7 clients with eap-fast

    Hi All,
    In our clients locations we implemented eap-fast authentication with domain integration in ACS for wlan users.Every thing working fine.We are facing problem with windows 7 laptops, in which client utility is not available to configure the user profiles.
      In xp laptops client utility softwares are available with all makes, but with win 7 utilitys are not coming by default......
    So what are options and available sourses for creating user profile with EAP-FAST in windows 7 laptops.
    Any free univarsal client utility is available for windows 7 laptop.
    Please guide me..............
    -Subhash

    Windows 7 should be able to do EAP-fast by default. If not you could download the latest Anyconnect client that also has the Cisco wireless supplicant in it.
    HTH,
    Steve
    Sent from Cisco Technical Support iPad App

  • 10.6.6 update problems for MySQL

    I tried this in another area, but received no responses... trying again here.
    I just performed the 10.6.6 update and following restart, I can no longer get MySQL to start up. There was a similar problem with a previous update (I believe in Oct 2010). At that time, MySQL was starting up, but Apple had changed the location of "mysql.sock" (socket file) to a non-standard location (from "/var/mysql/" to "/tmp"). Unfortunately they forgot to tell users that they were doing this and it about a week before someone (a user) discovered the source of the problem and create a solution. As a full-time, large-scale web developer, that cost me a week's worth of income!
    Once again, MySQL will not start up, but apparently for totally different reasons (and again without any forewarning from Apple. MySQL will not start from the command line either, but gives no indication why it fails. I've now spoken with 3 Apple Support techs, including a "Senior Advisor". None of them even knew that MySQL was part of the standard OS-X installation!
    Has anyone else experienced this problem or could suggest possible solutions? I am desperate to get this figured out, as I'm supposed to fly out of Denver to New Orleans on Monday morning to do a major site installation and I can't even get to the data on my MacBook Pro to upgrade the MySQL installation on my web servers.
    HELP!!!

    After trying everything I could think of, I finally just gave up and did a clean reinstall of the MySQL application. At this point, I had MySQL loading again. At some point, it mysteriously quit working again, so I repeated the process. Unfortunately, since I reinstalled the same version as the previous, the NEW install overwrote the OLD install and wiped out over 100 databases (48 active, the rest backup and Dev versions) during the installation.
    No problem, right? I'll just recover from my Time Machine backup. First, however, since I've been traveling over the holidays, my most current Time Machine backup was Dec 17. Second, I couldn't figure out a way to get Time Machine to restore anything in the hidden directories (/etc/, /usr/local... ), without doing a full reinstall, which would have resulted in loss of considerable work performed in the past 3 weeks.
    Logging into Terminal as root, I was able to walk my way through the various backup folders in an attempt to find the most recent backups of each database. After 36 hours of continuous tinkering (counting a 7 hr span to create a fresh "clone" for safety), I finally have it working again. I know without a doubt, that I've lost a great deal of database work, which will mean doing a lot of duplicate effort. But at least I'm up and running again. And I realize that on a Windows box things could have been much worse. But who wants to do anything twice (unless you get paid for it both times)?
    In short, there was no quick and easy "solution". The lesson to be learned? Never, never, never do a simple OS upgrade, without first doing a full backup (even if it does take 7+ hours)! I hope this at least helps someone else avoid the same headache.
    Thanks for your feedback.
    Jack

  • Audio problems for online videos played with HDMI hookup

    I have a pavilion dv4 1155se notebook with vista os, and i have been having some sound problems when i hook my computer up to my hdtv. my knowledge about computers is fairly limited so bear with me please. whenever i hook my notebook up to my tv (using hdmi) to play online videos the sound will only come out of the speakers on my laptop, not the tv. the sound comes through the tv's speakers for everything else (music, games, etc) and it used to work for the online videos but the last couple times i've hooked my laptop up the sound only comes out of the notebooks speakers. the digital output device is enabled like it should be, it's just this one thing that is not working right. if anyone could help me out with this i would really appreciate it.

    Re-export the .mov using QT Pro's iPod preset. If you song is in there, it will play. Make sure that 'Make Self Contained' is checked.

  • Problems for wlserver on win2kpro with sun jdk1.3.1

    "I make evaluation for my company for BEA Weblogic Server 5.1 for Win2kPro with SP10 and with SUN jdk1.3.1 all is ok when I setup wlconfig -JAVA_HOME=C:\jdk1.3.1 but when I start wlserver I receive :

    after the first time, maybe WeChat is not completely turned off (= headless app).
    What you can simply do is open the device monitor (it is in the device settings, but I have put it directly in the Quick Settings drawer).
    Once the device monitor is open, in the bottom row tap on the "Memory" button. The screen changes, and you can find the WeChat app in the list. Tap and hold on it, and a menu will appear to the right, the top button in that overflow menu is "Close".
    If you tap on it it will really close the app, and you can then open it again.
    That being said, I can open and close WeChat and reopen it without doing all that.
    WeChat is a very nice app, even though it does not always show me people around me, sometimes people 4000km away.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Printer driver problem for HP 7410 officejet with windows 8

    I have have posted on here before with no result so I am trying it again.  I have the HP envy laptop with windows 8 on it.  I am so far unable to install the printer drivers for my HP 7410 officejet. 
    I need help ..... I am stuck not being able to print and scan

    Hi alvafranco,
    I see that your question has been answered on your other post. I have included a link here for you http://bit.ly/1hp2hNG.
    Please let me know if you have any further questions.
    I worked on behalf of HP

  • Creating BADI for datasource enhancement in CRM system

    Hi,
    I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
    Thanks in advance
    Moumita

    Hi Kushal,
    You can find the BADI name by,
    Go to Transaction SE24
    Enter the Object Type CL_EXITHANDLER and click on Display.
    Double Click on method "GET_INSTANCE".
    Put a Break-point on Call method cl_exithandler=>get_class_name_by_interface
    Run RSA3 transaction and execute the DataSource.
    The execution will stop at the break point.
    Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    Thanks,
    Kokila

  • Creating BADI for datasource enhancement in CRM.

    Hi,
    I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
    Thanks in advance
    Moumita

    Hi Prasad Reddy,
    This are the available badis and exits for this t.code:
    Enhancement/ Business Add-in            Description
    Enhancement
    MGA00001                                Material Master (Industry): Checks and Enhancements
    MGA00002                                Material Master (Industry): Number Assignment
    MGA00003                                Material Master (Industry and Retail): Number Display
    Business Add-in
    MG_MASS_NEWSEG                          User-Specific Fields & Segments in Mass Maintenance
    MATGRP_SKU_UPD
    CDT_CHECK_MATERIAL                      Checks for Existence of a Material in a CDT
    BADI_MM_MATNR
    BADI_MAT_F_SPEC_SEL                     BAdI for Material Special Field Selection
    BADI_MATNR_CHECK_PVS
    BADI_MATERIAL_REF                       Addition of customer-defined default data for material
    BADI_MATERIAL_OD
    BADI_MATERIAL_CHECK                     Enhanced checks for material master table
    BADI_GTIN_VARIANT
    BADI_EAN_SYSTEMATIC
    o.of Exits:          3
    o.of BADis:         11
    Find the Exact  exits and badis for ur requirement.
    How to fine the exact badi:
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any
    transaction
    Rgds,
    P.Naganjana Reddy
    if you follow this 7 steps, you will find a suitable BADI.

  • Identity for Singleton in cluster

    Hello all,
    Is it possible to use JNDI based naming service (J2EE appserver's)
    as a storage for identifier variables for Singleton objects in J2EE based cluster?
    I have a following problem:
    - I have a cluster with 4 nodes
    - Each node has a it's own singleton instance (per JVM in cluster)
    - I need a identifier to give a "identity" to each singleton instance
    In this way each singleton instance could read data from
    database and cache it. Purpose is, that identifier would be also a
    primary key in database. In this way each singleton could read it's
    own group of data from database, so I would not need to do any
    synchronization between singleton instances (each singleton would
    contain different data, that accpeted in my case).
    The question is:
    Is it possible to use JNDI/naming servive as "temporary storage" for those identifiers? Identifiers should be read every time when all the nodes in the cluster are booted. They should also be marked as used so,
    that only one singleton would use it's own id.
    When the cluster is rebooted those ids should be available again.
    If I thing this problem with database technique, the problem is to "mark" ids as free when nodes in the cluster are rebooting...
    can JNDI handle this better?
    Thanks
    mila

    Thanks for your answer!
    What I first tried, I tried to get the node/clone name of the JVM where
    my appserver's application and it's singleton is running.
    => "clone" is IBM's term of creating another instance of AppServer.
    BUT... we are using WebSphere. WebSphere offers API to get info about
    your application server nodes in runtime but their WebSphere API is changing all the time and it's poorly documented. I can not trust it.
    So, what you suggest with java -DVariable could be one reason.
    But aren't there any other "ready-to-use" id's to be used
    in AppServer? IP address is one, but what I have understood it does
    not cover all clustering techniques (vertical and horizontal clustering). I think this kind of problem has been resolved many times... but how to do it? That' the "pane".
    Br
    mila

  • Good receipt problem for subcontracting purchase order

    Good receipt problem for subcontracting purchase order
    with account assignment type ‘E’.
    After update to ECC 6.0. Do good receipt for subcontracting purchase order with account assigment 'E'.The system show the error message(KI235)----Two cost elements (Change in Stock (Subcontracting)&Outside processed fee) haven't CO account assignment.but the field status  for sale order is option entry , when I default cost center for the cost element  in OKB9.the system post the material document and generate the following accounting document.
    Doc.Type : WE ( Goods receipt ) Normal document
    Doc. Number    5000056065       Company code    1000         Fiscal year     2007
    Doc. date      2007.12.04       Posting date    2007.12.04   Period          12
    Calculate Tax
    Doc.currency   HKD
    tm PK Account    Account short text   Tx Cost Ctr   SaleOrder               Amount
    1 89 13500000   Stock-Work in proces                   1007823  10             274.4
    2 96 21210010   GR/IR Clearing                             1007823  10             205
    3 91 41010102   Chg in Stock(Subcon)    10901099  1007823  10            274.4
    4 86 41031000   Outside processed fe     10901099  1007823  10            205  
    5 99 13500000   Stock-Work in proces                    1007823  10            69.4
    6 81 41010101   Cost of Prod (Subco)                      1007823  10           69.40
    My problem is:
    When use MIGO to do good receipt for subcontracting Purchase order, for consumption account((Change in Stock (Subcontracting)-41010102&Outside processed fee--41031000) ,why the system don’t recognize the sale order filled as CO account assignment?

    Dear fanny chen
    Did you get a solution for your open question?
    I`m facing the same problem, so any help yould be appreciated.
    Regards

  • Same music store problem

    I have had the same music store problem for at least 2 maybe 3 days - it doesnt seem to stay 'connected'.I cant get to the songs.

    Me too! Exactly the same, for the past two days. Music Store opens, then it keeps "accessing music store" forever. Anyone got any ideas?

  • Best Router for a Mac Pro with Leopard

    Can anyone suggest a good router to purchase that would work with no problems for a Mac Pro with Leopard?
    I would be connecting to the router via an ethernet cable, but I'm looking specifically for a g and b router, because my roommate has a Dell and she uses a wireless usb adapter to connect wirelessly. We have a modem (cable or DSL, I think?) and high-speed internet service.
    I've heard that some routers are having problems with leopard and macs in general, so I wanted to be sure I'd be getting a good one before I go out and spend a hundred bucks or more.

    a linksys wrt150n i got mine for about $99 to 129
    and its pretty good
    Since the cd comes with pc only software follow these instructions
    1 hook up the router to the modem
    2 connect to the router
    if you want to add a password continue the steps
    3 you may have to plug in the router to your mac if not skip this
    4 go to http://192.168.1.1 using the password admin
    5 now your in the routers menu
    6 change the network name if you want to
    to add a password go to wireless once you click on it under you will see wireless security select your setting oh by the way passphrase is a name for password if you didint know.
    sorry if that was a mouthful if you still dont understand
    email me at [email protected]
    it works great with my imac my dell inspron and even my ipod touch

  • HT1933 Tried iTunes Store directive for reporting a problem. Got an ERROR message every time. Stuck with a NY Times app that won't recognize my subscription.

    Tried iTunes Store directive for reporting a problem. Got an ERROR message every time. Stuck with a NY Times app that won't recognize my subscription.called Apple and was told by an automated message to...use the ITunes Store directive.
    Can someone point me in the right direction.

    Hello atransient,
    Thanks for the question, that definitely sounds frustrating to encounter errors at the most important times.
    Let's see if the online Report a Problem works any better for you:
    http://reportaproblem.apple.com
    Thanks,
    Matt M.

  • Problem with JDBC driver for mysql

    I have downloaded the Connector/J3.0 mysql-connector-java-3.0.7-stable.tar.gz from www.mysql.com/downloads/api-jdbc-stable.html web site and used gunzip and tar to extract the file. I have received the following error message:
    tar: directory checksum error
    Will this error cause some problem later on?
    Which directory should I put the driver into? Can I put it in any directory?
    Do I need to set the classpath for the driver? If yes, how can I set it?
    What is the connect string? Can you give a sample for me? I am using Solaris 5.8 and mysql is on the same machine.
    Thanks a lot,
    Lisa

    this is an example of a connect string for mysql that i used...
    public Connection CreateConnection () throws Exception
         Connection myConn = null;
         String driverName = "org.gjt.mm.mysql.Driver";
         String dbUrl = "jdbc:mysql://www.desres.com/jhazrd?user=jhazrd&password=????";
         Class.forName(driverName);
         myConn = DriverManager.getConnection (dbUrl);
    return myConn;
    }

Maybe you are looking for

  • New iPod Touch - oleophobic coating?

    Went by the Apple store today but new iPods weren't in yet. I was wondering if the new ones would have the oleophobic coating -- anyone know? Since the iPhone 3Gs specs mention it by name and the iPod Touch specs do not, one can only assume the Touch

  • Custom / manual pagination - batched collection report

    <p>I am trying to create a report with custom/manual pagination because I wish to implement a data access package where all request for data are via PL/SQL packaged functions returning Collections that represent the application data (i.e. no direct a

  • I'd like to convert this OB action to a Pekwm action

    I found a thread by pablokal which showed his Openbox shortcuts and noticed one that I've really wanted: Super Left - resizes window to half the screen then snaps it to the left [Obkey options Action: unmaximizefull, maximizevert, move resize to x=0,

  • Not receiveing Mac App store or iTunes App Store receipt to email for months

    I haven't received any receipt from the app store for about 8 months now. I sort of wasn't paying it any mind until I bought several Mac Apps and never recived a receipt for them

  • FC Port Channel between UCS and MDS.

    Hi All, I am new to Cisco Fabric Concepts. In my enviornment i have a F port channel(8 Port Group) created on MDS 9513 switch and this Fport  channel is connected to Cisco UCS 6296 FI. The Cisco UCS Blade servers are connected to the Fabric Interconn