Running multiple async ESB processes in cluster does not work .

Hi !
I created a set of simple esb-processs that fetches from one db and stores in some other.
I did the routing async .
I wrote a java program that fills the source tables with data and can see that the data is transferred to destinations .
But when I start node 2 in the cluster it stops working, some of the records never show up in their destinations.
In the esb console I can see instances for the missing data where the inbound adapter is marked green but the routing service is 'being processed' forever.
Anyone with a hint on where to look ?

All of the records processed by node 2 are taking forever or only some of them?
If it is during initial period then explanation would be during start it takes a while to stabelize (some process might start earlier than others). Proabably you can see that in logs as well.
Thanks,
Chintan

Similar Messages

  • Cluster does not work after a while

    Hi :
              I have 2 clustered EJB server, the IP address is 192.168.0.226 and
              192.168.0.227.
              A servlet server is calling these two EJB servers with
              t3://192.168.0.226,192.168.0.227:7001
              All three machine use weblogic 5.1 sp9, Win2K Advanced Server.
              If I restart weblogic service, then the cluster works fine. but after while
              the cluster does not work, all the client request goto only one machine, in
              most case it's 227.
              It has no use even if I restart the service in the losted server. I have to
              restart all the server.
              The weblogic.log in the losted server is like this :
              Thu Apr 26 00:04:16 GMT 2001:<I> <RJVM> Signaling
              peer -6817319611378695685S192.168.0.204:[7001,7001,7002,7002,7001,-1] gone:
              weblogic.rjvm.PeerGoneException:
              - with nested exception:
              [java.io.EOFException]
              Thu Apr 26 00:04:47 GMT 2001:<I> <RJVM> Signaling
              peer -2123734719233546013S192.168.0.227:[7001,7001,7002,7002,7001,-1] gone:
              weblogic.rjvm.PeerGoneException:
              - with nested exception:
              [java.io.EOFException]
              Thu Apr 26 00:14:16 GMT 2001:<E> <ConMan> Attempt to sendMsg using a closed
              connection
              Thu Apr 26 00:14:16 GMT 2001:<E> <RJVM> Exception on send :
              weblogic.rmi.ConnectException: Attempt to sendMsg using a closed connection
              Please help me
              thanks
              andrew
              

    Are you running with any proxy? Is the servlet server also the static httpd
              server?
              What type of network equipment are you using? If its high-end (Cisco) make sure
              all ports are set to 100/Full.
              Also, try setting the SendDelay slightly higher (ie. 25, 30, 35). Experiment
              with different values.
              weblogic.cluster.multicastSendDelay=25
              andrew wrote:
              > Mike, thanks for reply
              > The 192.168.0.204 is the servlet server.
              > I changed the NICs to use 100Mbps/Full duplex. it looks better: the error
              > msg is less than before, the it still happened.
              > Any suggestion?
              > thanks
              > andrew
              >
              > "Mike Kincer" <[email protected]> wrote in message
              > news:[email protected]...
              > > Which box is 192.168.0.204 ??
              > > It is communicating via multicast, which I would say is suspect.
              > > Otherwise, I'd say you have some network issues.
              > > Make sure all switch ports and all NICS are NOT set to "auto" config.
              > Select
              > > 100Mbps/Full duplex on all ports.
              > >
              > > andrew wrote:
              > >
              > > > Hi :
              > > > I have 2 clustered EJB server, the IP address is 192.168.0.226 and
              > > > 192.168.0.227.
              > > > A servlet server is calling these two EJB servers with
              > > > t3://192.168.0.226,192.168.0.227:7001
              > > >
              > > > All three machine use weblogic 5.1 sp9, Win2K Advanced Server.
              > > >
              > > > If I restart weblogic service, then the cluster works fine. but after
              > while
              > > > the cluster does not work, all the client request goto only one machine,
              > in
              > > > most case it's 227.
              > > >
              > > > It has no use even if I restart the service in the losted server. I have
              > to
              > > > restart all the server.
              > > >
              > > > The weblogic.log in the losted server is like this :
              > > >
              > > > Thu Apr 26 00:04:16 GMT 2001:<I> <RJVM> Signaling
              > > > peer -6817319611378695685S192.168.0.204:[7001,7001,7002,7002,7001,-1]
              > gone:
              > > > weblogic.rjvm.PeerGoneException:
              > > > - with nested exception:
              > > > [java.io.EOFException]
              > > > Thu Apr 26 00:04:47 GMT 2001:<I> <RJVM> Signaling
              > > > peer -2123734719233546013S192.168.0.227:[7001,7001,7002,7002,7001,-1]
              > gone:
              > > > weblogic.rjvm.PeerGoneException:
              > > > - with nested exception:
              > > > [java.io.EOFException]
              > > > Thu Apr 26 00:14:16 GMT 2001:<E> <ConMan> Attempt to sendMsg using a
              > closed
              > > > connection
              > > > Thu Apr 26 00:14:16 GMT 2001:<E> <RJVM> Exception on send :
              > > > weblogic.rmi.ConnectException: Attempt to sendMsg using a closed
              > connection
              > > >
              > > > Please help me
              > > > thanks
              > > > andrew
              > >
              > > --
              > > /\/\i|<e
              > >
              > > Mike Kincer
              > > Solutions Developer/Engineer
              > > Atlas Commerce "ebusiness evolved"
              > > Office phone: +1-607-741-8877
              > > mailto:[email protected] [http://www.atlascommerce.com]
              > >
              > >
              /\/\i|<e
              Mike Kincer
              Solutions Developer/Engineer
              Atlas Commerce "ebusiness evolved"
              Office phone: +1-607-741-8877
              mailto:[email protected] [http://www.atlascommerce.com]
              

  • Confirmation process in SRM does not work whenever there is a discrepancy

    Hello,
    we are on SRM 5.0 version with classic scenario(follow on documents in backed system - ECC 5.0). to procure maintainence service user cretes a shopping cart by selecting describe requirements method and UOM at times in incorrectly asssigned as EA so upon shopping cart approval a follow on ducument (purchase requistion) is created in ECC  as per config set up(in SRM). Buyer while coverting this purchase requisition to PO rectifies this erroe and chages the UOM of meausre to Hr and send a PO to vendor.
    we are not bale to use confirmation feature in SRM to perform receipt of this service. is this how system works? any configration or a BADI needs to be usd to allow to perform confirmation in SRM even tough there is discrepancy in shopping cart UOM and Purcahse requsition UOM.
    when thre is change in UOM in ECC that Purchase
    *Confirmation process in SRM does not work whenever there is a discrepancy (i.e. different UM )between Shoping cart and Purchase Requisition related to that Shoping cart.*
    we donot use serive option in SRM and donnot MM service module in ECC.
    any help on this will be much appreciated.
    Thanks,
    sairam

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • WLS6sp2 Hot deployment in cluster does not work

              I have two WLS6sp2 servers in cluster in two different machines. There is an EJB
              deployed in the cluster that works fine. Now I go to the console and I undeploy
              it: the servers show a message of "ejb undeployed". Now I activate the "deploy"
              checkbox again: the following error appears:
              weblogic.ejb20.EJBDeploymentException: Error deploying stateless EJB; nested exception
              is:
              javax.naming.NameAlreadyBoundException: Can't rebind anything but a replica-aware
              stub to a name that is currently bound to a replica-aware stub; remaining name
              javax.naming.NameAlreadyBoundException: Can't rebind anything but a replica-aware
              stub to a name that is currently bound to a replica-aware stub; remaining name
              The object is obviously clusterable (it is a stateless EJB with "home-is-clusterable=true").
              It has been deployed to the cluster target. When is working it is load balanced
              between both servers. It deploys perfectly when starting up both servers, but
              hot deployment does not work.
              This works fine when only one server is up.
              ¿Is not possible to do hot deployment in cluster?
              

    Hm, where are you seeing the javax.naming.NameAlreadyBoundException? In one of your managed
              servers, in all of your managed server, or in your admin server?
              If you see this in your admin server, then this means you got your admin joined in the cluster,
              which is not good. Remove it from the cluster if this is so.
              Gene
              "David Agudo" <[email protected]> wrote in message news:[email protected]...
              >
              > Yes, target="mycluster".
              >
              > "Gene Chuang" <[email protected]> wrote:
              > >Did you target the ejb to the cluster, or to each individual Node in
              > >your cluster? There is a
              > >difference...
              > >
              > >Gene
              > >
              > >"David Agudo" <[email protected]> wrote in message news:[email protected]...
              > >>
              > >> I have two WLS6sp2 servers in cluster in two different machines. There
              > >is an EJB
              > >> deployed in the cluster that works fine. Now I go to the console and
              > >I undeploy
              > >> it: the servers show a message of "ejb undeployed". Now I activate
              > >the "deploy"
              > >> checkbox again: the following error appears:
              > >>
              > >> weblogic.ejb20.EJBDeploymentException: Error deploying stateless EJB;
              > >nested exception
              > >> is:
              > >> javax.naming.NameAlreadyBoundException: Can't rebind anything but a
              > >replica-aware
              > >> stub to a name that is currently bound to a replica-aware stub; remaining
              > >name
              > >> ''
              > >> javax.naming.NameAlreadyBoundException: Can't rebind anything but a
              > >replica-aware
              > >> stub to a name that is currently bound to a replica-aware stub; remaining
              > >name
              > >> ''
              > >>
              > >> The object is obviously clusterable (it is a stateless EJB with "home-is-clusterable=true").
              > >> It has been deployed to the cluster target. When is working it is load
              > >balanced
              > >> between both servers. It deploys perfectly when starting up both servers,
              > >but
              > >> hot deployment does not work.
              > >>
              > >> This works fine when only one server is up.
              > >>
              > >> ¿Is not possible to do hot deployment in cluster?
              > >>
              > >
              > >
              >
              

  • Jrockit multicast bug on RHEL4, WLS cluster does not works!

    OS and Kernel Version: Linux achilles1 2.6.9-34.0.1.ELsmp #1 SMP Wed May 17 16:59:36 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
    We use Bea Weblogic 8.1SP5 with Jrockit JVM 1.4.2 on RHEL3. We upgraded to operating system to RHEL4, and found that the interface binding for multicast communication does not bind to the correct interface, it is always using the default interface. We tried it from a sample program, and found that the error is in the JVM.
    This is a critical error for us, because our application server cluster use multicast for cluster communication.
    No error msg. It seems like this BUG:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4082533 but it is solved.
    List steps to reproduce the problem:
    socket = new MulticastSocket(i);
    if(s2 != null)
    try
    InetAddress inetaddress = InetAddress.getByName(s2);
    System.out.println("Using interface at " + inetaddress.getHostAddress());
    socket.setInterface(inetaddress);
    System.out.println(socket.getInterface());
    catch(SocketException socketexception)
    throw socketexception;
    }

    Helo,
    You can reproduce it by this way (we have 6 RHEL4 servers, problem is the same). We tried with programs written in C (mcast,Tibco), multicast perfectly works on all interfaces on all servers. But in Java:
    Server:
    [wlxapp@webex3]$ uname -a
    Linux webex3 2.6.9-34.0.1.ELsmp #1 SMP Wed May 17 17:05:24 EDT 2006 i686 i686 i386 GNU/Linux
    Problem - with Bea mukticast tester (or any Java class), using the nondefault webex3-priv interface(eth1):
    [wlxapp@webex3]$ java -cp wl9.jar utils.MulticastTest -N webex3_priv -I webex3_priv -A 224.1.1.11 Starting test. Hit any key to abort Using interface at 192.168.1.1 Using multicast address 224.1.1.11:7001 Will send messages under the name webex3_priv every 2 seconds Will print warning every 600 seconds if no messages are received
    I (webex3_priv) sent message num 1
    I (webex3_priv) sent message num 2
    I (webex3_priv) sent message num 3
    Did not receive any message.
    But if we use the default webex3 interface (eth0)
    [wlxapp@webex3]$ java -cp wl9.jar utils.MulticastTest -N webex3 -I webex3 -A 224.1.1.11 Starting test. Hit any key to abort Using interface at 10.4.20.4 Using multicast address 224.1.1.11:7001 Will send messages under the name webex3 every 2 seconds Will print warning every 600 seconds if no messages are received
    I (webex3) sent message num 1
    I (webex3) sent message num 2 Received message 2 from webex3
    I (webex3) sent message num 3 Received message 3 from webex3
    Works perfectly.
    TCPDUMP:Messages are out from server(other srv also see it), so we have problems probably with receiving them:
    [root@webex3]# tcpdump -i eth1
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
    11:42:56.647362 IP webex3_priv.idmz.t-mobile.intra.afs3-callback > 224.1.1.111.afs3-callback: rx type 95 (1472)
    11:42:56.648168 IP webex3_priv.idmz.t-mobile.intra > 224.1.1.111: udp
    11:42:56.648245 IP webex3_priv.idmz.t-mobile.intra > 224.1.1.111: udp
    We examined the lsof output, the tester bind to all interfaces, so it should receive the messages:
    [wlxapp@webex3]$ /usr/sbin/lsof -p 11127
    gij 11127 wlxapp 8u IPv4 150320 UDP *:afs3-callback
    We tried the test with Java 1.4.2 and 1.5 (Jrockit and Sun), the results are the same.
    You can easily reproduce the problem with an RHEL4 server with 2 network interface.
    Our real problem that if multicast have problems, our Weblogic clusters does not works.

  • Process Type ABAP does not work properly via process chain

    Dear SDNers
    I am running a process chain and it contains process type ABAP program. ABAP program was running correctly till now via this process chain. ABAP program process type generally takes approximately 2 hours to run. But now, this process type for ABAP program just run for less than 1 minute and finishes successfully. The issue is that ABAP program does not run at all.
    I ran the ABAP program in background and it took approximately 2 hours to run. ABAP Program is local means in our BW system and does not involve Remote Function call. We have BI7.0 system
    Has some one came across this type of issue?
    Best Regards
    Pradip

    Has the aleremote user or which ever user you have defined for background scheduling changed permissions recently?
    What happens if you create an adhoc chain and include this ABAP variant, does it run then?
    What does the log say in SM37 when run via process chain?
    Cheers
    Craig

  • Multiple row column-sharing with GridBadLayout does not work as expected

    I was trying to figure out why I could not initially accomplish the following with a GridBagLayout:
    Row0: 0000011111
    Row1:      1111122222
    Row2:           2222233333The above is supposed to be 3 JLabels on three different rows:
    The 1st row has a single JLabel starting in column 0 with a width of 2, extending it to column 1.
    The 2nd row has a single JLabel starting in column 1 with a width of 2, extending it to column 2.
    The 3rd row has a single JLabel starting in column 2 with a width of 2, extending it to column 3.
    The entire grid is 4 columns and 3 rows total.
    Below I have two examples where I attempted the above. Only the 2nd example produces the desired effect. The 1st code example ends up putting both the Row 0 and Row 1 JLabel in the same column. This was surprising because I thought the GridBagLayout would give each column contained by a control enough weight to actually make those columns exist.
    Here is what my first code example below produces:
    Row0: 0000011111
    Row1: 1111122222
    Row2:           2222233333The first two JLabels, 0000011111 and 1111122222, appear in the same column, and the 3rd JLabel appears in the seemingly 2nd column. This was confusing to me which is the point of this whole post.
    In order to gain the desired effect, I had to place 4 blank dummy empty JLabel components in a non-visible Row 0 of the grid. I did this for all 4 columns of that invisible row 0. The row is non-visible because the JLabel have no text or output. After adding this non-visible Row 0, all of the original mentioned Rows 0 through 2 become Rows 1 through 2 respectively.
    For example:
    Row0: iiiiiIIIIIiiiiiIIIII
    Row1: 0000011111
    Row2:      1111122222
    Row3:           2222233333The above shows an inserted Row 0 with invisible labels that are not seen, but they seem to give weight to each column, allowing each to exist. Without doing this, as mentioned, the first code example (shown below) fails. The second example (also below) works, so it appears that putting the invisible controls into the first row, one in each column, somehow gives enough weight to each column to "establish" the column more so than otherwise.
    The big question I have is why didn't the first example work?
    I mean, in that example, I'm giving each JLabel equal weight, and each one takes up a width of 2 columns, so why doesn't the JLabel in the second row end up in column 1? Instead, both the original row 0 and row 1 JLabels appear in what looks like column 0, the same column. Does anyone know why this happened?
    The invisible control solution is fine but I'm just curious why it wasn't as intuitive as it should have been. The only thing I can come up with is that the weight of the 1st and 2nd JLabel (row 0 and 1) got combined in some fashion which combined them into column 1 which end up looking like column 0 since 0 somehow looses all weight. (???)
    ****************** THE FOLLOWING DOES NOT PRODUCE THE RIGHT EFFECTS ******************
    public class TestCoincidingColumns1 extends javax.swing.JFrame {
        /** Creates new form TestCoincidingColumns1 */
        public TestCoincidingColumns1() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            java.awt.GridBagConstraints gridBagConstraints;
            jLabel1 = new javax.swing.JLabel();
            jLabel2 = new javax.swing.JLabel();
            jLabel3 = new javax.swing.JLabel();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            getContentPane().setLayout(new java.awt.GridBagLayout());
            jLabel1.setText("LabelRow0Col0Wid2");
            jLabel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 255, 255)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            getContentPane().add(jLabel1, gridBagConstraints);
            jLabel2.setText("LabelRow1Col1Wid2");
            jLabel2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 0, 0)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 1;
            gridBagConstraints.gridy = 1;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            getContentPane().add(jLabel2, gridBagConstraints);
            jLabel3.setText("LabelRow2Col2Wid2");
            jLabel3.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 255, 0)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 2;
            gridBagConstraints.gridy = 2;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            getContentPane().add(jLabel3, gridBagConstraints);
            pack();
        }// </editor-fold>
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new TestCoincidingColumns1().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JLabel jLabel3;
        // End of variables declaration
    ****************** THE FOLLOWING WORKS ******************
    public class TestCoincidingColumns1WithFix extends javax.swing.JFrame {
        /** Creates new form TestCoincidingColumns1WithFix */
        public TestCoincidingColumns1WithFix() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">                          
        private void initComponents() {
            java.awt.GridBagConstraints gridBagConstraints;
            jLabel1 = new javax.swing.JLabel();
            jLabel2 = new javax.swing.JLabel();
            jLabel3 = new javax.swing.JLabel();
            DummyRow0Col0 = new javax.swing.JLabel();
            DummyRow0Col1 = new javax.swing.JLabel();
            DummyRow0Col2 = new javax.swing.JLabel();
            DummyRow0Col3 = new javax.swing.JLabel();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            getContentPane().setLayout(new java.awt.GridBagLayout());
            jLabel1.setText("LabelRow0Col0Wid2");
            jLabel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 255, 255)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 1;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(jLabel1, gridBagConstraints);
            jLabel2.setText("LabelRow1Col1Wid2");
            jLabel2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 0, 0)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 1;
            gridBagConstraints.gridy = 2;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(jLabel2, gridBagConstraints);
            jLabel3.setText("LabelRow2Col2Wid2");
            jLabel3.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 255, 0)));
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 2;
            gridBagConstraints.gridy = 3;
            gridBagConstraints.gridwidth = 2;
            gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(jLabel3, gridBagConstraints);
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 0;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(DummyRow0Col0, gridBagConstraints);
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 1;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(DummyRow0Col1, gridBagConstraints);
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 2;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(DummyRow0Col2, gridBagConstraints);
            gridBagConstraints = new java.awt.GridBagConstraints();
            gridBagConstraints.gridx = 3;
            gridBagConstraints.gridy = 0;
            gridBagConstraints.weightx = 1.0;
            getContentPane().add(DummyRow0Col3, gridBagConstraints);
            pack();
        }// </editor-fold>                        
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new TestCoincidingColumns1WithFix().setVisible(true);
        // Variables declaration - do not modify                     
        private javax.swing.JLabel DummyRow0Col0;
        private javax.swing.JLabel DummyRow0Col1;
        private javax.swing.JLabel DummyRow0Col2;
        private javax.swing.JLabel DummyRow0Col3;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        private javax.swing.JLabel jLabel3;
        // End of variables declaration                   
    }

    I think I figured out the general reason for the problem based on a quick trace through of the GridBadLayout code in a simple example, and I wanted to share my findings in case they may be useful to anyone else. I felt there were some concepts gleaned from the source code that don't appear reinforced with documentation or, more importantly, in tutorials or books I checked. That's why I wanted to share my findings with this simple yet perplexing example.
    This example is very much like the one in my original post except it is more simple and only uses two JLabels.
    I created a grid with the following settings:
    JLabel1,gridx=0,gridy=0,gridwidth=2,weightx=1.0
    JLabel2,gridx=1,gridy=1,gridwidth=2,weightx=1.0Using the character '1' for JLabel1, and the character '2' for JLabel2, and 'x' for an "empty" grid cell, the above gives me the following simple conceptual layout:
    11x
    x22But the 'x' cell columns don't receive any weight, so things actually appear as follows:
    11
    22Internally, GridBagLayout (GBL), is really producing the following:
    11x
    x22But since the 'x' locations take no weight, they therefore get no size, so both JLabels appear as though they are in the first and only column.
    From what I can see, it doesn't really matter what I do, I'll never be able to produce the following effect with just two JLabels:
    11x
    x22I cannot do the above with just two JLabel components and a GridBagLayout. The reason is that the GridBagLayout, while it does define a "grid" of rows and columns, the grid is not a grid that actually relates to what is displayed. It's really a grid that defines what I'll refer to as "weight collisions" or "weight pools." If two components share, say, a grid column, their weights will combine with respect to that column. But the total size of the grid doesn't play a role in enforcing that some sort of grid display is maintained. The grid can possibly do that, but it would probably be safer to view that result as a side-effect produced by using the "weight pools" created by the grid itself.
    In the above simple example, JLabel1 ends up giving gridx 1 (0 being first) its full weight of 1.0. The gridx 0 column receive zero weight from JLabel1. What happens is the code in GridBagLayout sees that there are no presently assigned weights to column 0 and it simply assigns all remaining unassigned weight of JLabel1 to JLabel1's last, right-most in this case, gridx column. This means that gridx 1 gets the full 1.0.
    By contrast, though, when processing JLabel2, the GridBagLayout sees the previously assigned 1.0 to gridx 1 (JLabel1's right-most grid column) and it ends up assigning all of JLabel2's weight to that same grid location, gridx 1. In this case, even though JLabel2 supposedly spans through to gridx 2, the actual gridx 2 column gets 0 weight from JLabel2 and therefore gets no width.
    The result is that both JLabel1 and JLabel2 give 100% of their weight to gridx column 1 (what I called above a "weight pool" rather than a grid location), and both gridx 0 and gridx 2 receive 0 weight and I'm guessing appear without any size. What's odd about this is that even though JLabel1 starts at gridx=0, it really doesn't draw itself anywhere but starting at gridx=1. Likewise, even though JLabel2 draws itself supposedly from gridx=1 through to gridx=2, it doesn't really go into gridx=2 because gridx=2 doesn't get any width.
    In fact, given the code in GridBagLayout, it doesn't matter how much weight I give to either JLabel, all 100% of the weight will end up in gridx 1, the "center" grid location. The only way to get columnar distribution is to create other components to force the GridBagLayout to see individual columns which match the "grid." When I do this, the columns allow me to create the JLabels in a fashion where they intent/stagger, where a JLabel can start at a "column" location that is in the middle of another JLabel.
    Given this, I've come to the conclusion that it's not worthwhile to look at the GBL "grid" as a grid that propagates grid-like visual locations. It's more like the grid exists during the computation of weights which end up determining the true columns and rows that will visually exist, which may well not be anything like the grid locations one might visualize when looking at the constraints used.
    I think it's unfortunate that many examples and tutorials don't reinforce this concept with simple examples that help one grasp this easily. Most examples I see actually can fool a user into thinking a grid is a true grid in that positions represent visual locations, or that a control spanning into a grid column means that weight will be (at least) partially distributed there.
    You very often won't see the problem I'm describing above when you have dialogbox-like alignment of components which most tutorials and examples utilize. For example, if I take the same example as above, but intent JLabel so that it's gridx is 2, not 1, then both JLabels will not be sharing a single grid column so their weights won't collide. In such a case, one might be misled into thinking that a GridBagLayout's grid is truly providing row/col locations when it's not really doing that. Instead, in this latter case, one is really gaining that effect because certain unintuitive weight collisions. which would produce unexpected results, are being avoided.
    I thought weightx values would give a weight equally to all gridx columns that a component spans but that doesn't seem to be the case here. In fact, it's not even a components first column in my simple example above. GBL causes JLabel1 to given all its weight to gridx=1 (and nothing to gridx=0) while GBL causes JLabel2 to give all its weight to gridx=1 (and nothing to gridx=2). In one case, JLabel1, all weight goes to its right-most spanned-to column, while with JLabel2, it goes to JLabel2's entire first gridx location.
    I guess this is what makes GridBagLayout (GBL) unintuitive. But I don't think it's so much unintuitive as it is probably not well documented. When you look at the source code, it explains stuff which should be in the docs. In fact, not one single book I saw gave any help in solving this problem. I'm guessing this is largely because folks use GBL through trial and error until they get what they want, and perhaps they don't often need to indent halfway as I'm trying to do with GBL in the above example. If a lot of components are aligned, the results are not as unexpected. I'd say, though, that even in those not-so-confusing cases, GBL can troublesome without knowing its grid is all about a grid of weight pools which may or may not produce a visual grid depending on all components' constraint settings.

  • Guest VM failover cluster on Hyper-V 2012 Cluster does not work across hosts

    Hi all,
    We are evaluating Hyper-V on Windows Server 2012, and I have bumped in to this problem:
    I have a Exchange 2010SP2 DAG installed on 2 vms in our Hyper-V cluster (a DAG forms a failover cluster, but does not use any shared storage). As long as my vms are on the same host, all is good. However, if I live migrate or shutdown-->move-->start one
    of the guest nodes on another pysical host, it loses connectivity with the cluster. "regular" network is fine across hosts, and I can ping/browse one guest node from the other. I have tried looking for guidance for Exchange on Hyper-V clusters but have not
    been able to find anything.
    According to the Exchange documentation this configuration is supported, so I guess I'm asking for any tips and pointers on where to troubleshoot this.
    regards,
    Trond

    Hi All,
    so some updates...
    We have a ticket logged with Microsoft, more of a check box exercise to reassure the business we're doing the needful.  Anyway, they had us....
    Apply hotfix http://support.microsoft.com/kb/2789968?wa=wsignin1.0  to both guest DAG nodes, which seems pretty random, but they wanted to update the TCP/IP stack...
    There was no change in error, move guest to another Hyper-V node, and the failover cluster, well, fails with the following event ids I the node that fails...
    1564 -File share witness resource 'xxxx)' failed to arbitrate for the file share 'xxx'. Please ensure that file share '\xxx' exists and is accessible by the cluster..
    1069 - Cluster resource 'File Share Witness (xxxxx)' in clustered service or application 'Cluster Group' failed
    1573 - Node xxxx  failed to form a cluster. This was because the witness was not accessible. Please ensure that the witness resource is online and available
    The other node stays up, and the Exchange DB's mounted on that node stay up, the ones mounted on the way that fails failover to the remaining node...
    So we then
    Removed 3 x Nic's in one of the 4 x NIC teams, so, leaving a single NIC in the team (no change)
    Removed one NIC from the LACP group on each Hyper-V host
    Created new Virtual Switch using this simple trunk port NIC on each Hyper-V host
    Moved the DAG nodes to this vSwitch
    Failover cluster works as expected, guest VM's running on separate Hyper-V hosts, when on this vswitch with single NIC
    So Microsoft were keen to close the call, as there scope was, I kid you not, to "consider this issue
    resolved once we are able to find the cause of the above mentioned issue", which we have now done, as in, teaming is the cause... argh.
    But after talking, they are now escalating internally.
    The other thing we are doing, is building Server 2010 Guests, and installing Exchange 2010 SP3, to get a Exchange 2010 DAG running on Server 2010 and see if this has the same issue, as people indicate that this is perhaps not got the same problem.
    Cheers
    Ben
    Name                   : Virtual Machine Network 1
    Members                : {Ethernet, Ethernet 9, Ethernet 7, Ethernet 12}
    TeamNics               : Virtual Machine Network 1
    TeamingMode            : Lacp
    LoadBalancingAlgorithm : HyperVPort
    Status                 : Up
    Name                   : Parent Partition
    Members                : {Ethernet 8, Ethernet 6}
    TeamNics               : Parent Partition
    TeamingMode            : SwitchIndependent
    LoadBalancingAlgorithm : TransportPorts
    Status                 : Up
    Name                   : Heartbeat
    Members                : {Ethernet 3, Ethernet 11}
    TeamNics               : Heartbeat
    TeamingMode            : SwitchIndependent
    LoadBalancingAlgorithm : TransportPorts
    Status                 : Up
    Name                   : Virtual Machine Network 2
    Members                : {Ethernet 5, Ethernet 10, Ethernet 4}
    TeamNics               : Virtual Machine Network 2
    TeamingMode            : Lacp
    LoadBalancingAlgorithm : HyperVPort
    Status                 : Up
    A Cloud Mechanic.

  • Multiple operation using the same port does not work

    I am trying to have multiple operations on both ports
    here is my wsdl snapshot
         <portType name="CommonAlerter">
              <operation name="initiate">
                   <input message="client:CommonAlerterRequestInitMessage"/>
              </operation>
              <operation name="StartWait">
                   <input message="client:CommonAlerterRequestInitMessage2"/>
              </operation>
              <operation name="StopWait">
                   <input message="client:CommonAlerterRequestInitMessage3"/>
              </operation>
         </portType>
         <portType name="CommonAlerterCallback">
              <operation name="onResult">
                   <input message="client:CommonAlerterResponseMessage"/>
              </operation>
         </portType>
    I just added two new methods "StartWait" and "StopWait" to the default async. template that got generated when I created a new BPEL Project "CommonAlerter"
    Now I call this BPEL process from another BPEL project
    The three methods I call "initiate", "StartWait" and finally "StopWait" are at different stages in my calling BPEL processes. Although "initiate" gets called first.
    When I debug the calling process instance I get an error on the call to "StopWait" which gets called after "StartWait".
    Here is the error message
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-08010
    Failed get operation definition.
    Failed to get the WSDL operation definition of "StopWait" in portType "{http://xmlns.oracle.com/CommonAlerter}CommonAlerter".
    Please verify that operation "StopWait" is defined in portType "{http://xmlns.oracle.com/CommonAlerter}CommonAlerter".
    Now I do have this method in my WSDL
    Can some one help.
    My Message part XSD is
         <element name="CommonAlerterProcessInitRequest">
              <complexType>
                   <sequence>
                        <element name="initializeparam" type="string"/>
                   </sequence>
              </complexType>
         </element>
         <element name="CommonAlerterProcessResponse">
              <complexType>
                   <sequence>
                        <element name="result" type="string"/>
                   </sequence>
              </complexType>
         </element>
         <element name="CommonAlerterProcessRequest2">
              <complexType>
                   <sequence>
                        <element name="waittime" type="duration"/>
                   </sequence>
              </complexType>
         </element>
         <element name="CommonAlerterProcessRequest3">
              <complexType>
                   <sequence>
                        <element name="stopargument1" type="string"/>
    <element name="stopargument2" type="string"/>
                   </sequence>
              </complexType>
         </element>

    Here are the steps for multi operation synchronous BPEL process :
    1.     Create a new BPEL process and delete request and response activities.
    2.     Now add the porttype/operation in the BPEL process wsdl.
    3.     Start the Process with a Pick activity and click on Create Instance checkbox. Remove the onAlarm branch as we do not need this. In the onMessage branch specify the name of the operation.
    4. Now add onMessage branches to match the number of operations. The flow for each onMessage branch is different. Just make sure that you create a reply activity at the end with the correct operation chosen. So you might end up having multiple return activities.
    Sometimes, a wsdl with multiple operations might not work as expected if the process version is 1.0. So try changing the process version in case you are not getting the expected results.
    Hitesh

  • If you check the don't show this again box when closing multiple tabs, how do you get it to warn you when closing multiple tabs, or to save previous tabs? Checking the warn me when closing multiple tabs box under tools/tabs does not work to solve this?

    I accidentally checked the do not ask me again box when closing multiple tabs. Now I no longer get a warning when closing multiple tabs, and it saves my previous session. I have tried checking and un-checking the warn me box under tools which has not worked. If I open a second window and try to close multiple tabs it will warn me but not on the first window.

    You can reset the warn prefs on the about:config page via the right-click context menu.
    browser.tabs.warnOnClose , see http://kb.mozillazine.org/About%3Aconfig_entries
    browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
    browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • Firefox does not start in Windows Vista. It can be seen in the task manager that the process is running. But nothing happens. After deleting the process it still does not work.

    Are there any issues with Firefox 10 and Vista? IE works.

    Hi webero,
    There are no Known Issues that I am aware of. You should take a look at [[Firefox is already running but is not responding]] and our article called [https://support.mozilla.org/en-US/kb/Firefox-not-start Firefox will not start].
    Hopefully this helps!

  • XPath processing with namespaces does not work. Please review my code..

    Dear all,
    I am working on with the IMS Group's Enterprise XML standard (http://www.imsproject.org/enterprise/) and need to retrieve member information using XPath.
    After significant fault finding, I have narrowed down the problem to the XML file containing multiple namespaces in the root element. I have checked out some forum postings here and on Google (programmer's best friend) for possible solutions... namely the implementation of the my own NamespaceContext object. I have implemented and yet I am still not able to retrieve the data I want.
    Could someone advise where I am going wrong?
    When I remove the namespaces from the root element I can find out the number of member elements in the XML (just for testing atm). I could write a regular expression to remove the namespaces from my XML, but that's just dodgy..
    Here's a sample XML:
    <enterprise xmlns="http://www.imsproject.org/xsd/imsep_rootv1p01" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:webct="http://www.webct.com/IMS">
    <properties>...</properties>
    <group>...</group>
    <membership>
    <member>...</member>
    </membership>
    </enterprise>
    My implementation of the a NamespaceContext object:
    public class IMSProjectNamespaceContext implements NamespaceContext {
    public String getNamespaceURI(String prefix) {       
    if(prefix == null) throw new NullPointerException("Null prefix");
    else if("xsi".equals(prefix)) return "http://www.w3.org/2001/XMLSchema-instance";
    else if("webct".equals(prefix)) return "http://www.webct.com/IMS";
    else if("xml".equals(prefix)) return XMLConstants.XML_NS_URI;
    return XMLConstants.NULL_NS_URI;
    }// end of overriding getNamespaceURI method
    // This method is not necessary for XPath processing
    public String getPrefix(String uri) {
    throw new UnsupportedOperationException();
    }// end of overriding getPrefix method
    // This method is not necessary for XPath processing
    public java.util.Iterator getPrefixes(String uri) {
    throw new UnsupportedOperationException();
    }// end of overriding getPrefixes method
    }// end of IMSProjectNamespaceContext class
    My method attempting to use XPath... but not successful (it should print out the number of member elements if XPath works correctly with my XML file, but only prints out 0 each time):
    private void getSectionMembers(String dataXML) throws Exception {
    try {       
    InputSource inputSource = new InputSource(new StringReader(dataXML));
    XPath xPath = XPathFactory.newInstance().newXPath();
    xPath.setNamespaceContext(new IMSProjectNamespaceContext());
    XPathExpression xPathExpression = xPath.compile("/enterprise/membership/member");
    NodeList nodes = (NodeList)xPathExpression.evaluate(inputSource, XPathConstants.NODESET);
    System.out.println(nodes.getLength()); // Debugging
    } catch(Exception ex) {
    ex.printStackTrace();
    throw new Exception("XPath Querying Failed.");
    }// end of xPathQuery method

    Dear dvohra09,
    Thank you for your quick reply. Much appreciated. I have implemented a NamespaceContext object that is able to set more than one prefix for a URI as you suggested.
    It works when I remove the first namespace that is generated in the IMSProject Enterprise XML:
    xmlns="http://www.imsproject.org/xsd/imsep_rootv1p01"
    When I hack the XML and set a prefix for this ('default') namespace it works... For example:
    xmlns:ims="http://www.imsproject.org/xsd/imsep_rootv1p01"
    Is the NamespaceContext class supposed to handle for so called "default" namespaces (without needing to touch the XML)?
    My method is performing the XPath query is below:
    private void getSectionMembers(String dataXML) throws Exception {
    try {       
    InputSource inputSource = new InputSource(new StringReader(dataXML));
    IMSProjectNamespaceContext imsproject = new IMSProjectNamespaceContext();
    imsproject.setNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance");
    imsproject.setNamespace("webct", "http://www.webct.com/IMS");
    imsproject.setNamespace("ims", "http://www.imsproject.org/xsd/imsep_rootv1p01lme");
    XPath xPath = XPathFactory.newInstance().newXPath();
    xPath.setNamespaceContext(imsproject);
    XPathExpression xPathExpression = xPath.compile("//ims:enterprise/@xmlns/text()");
    NodeList nodes = (NodeList)xPathExpression.evaluate(inputSource, XPathConstants.NODESET);
    System.out.println(nodes.getLength()); // Debugging
    System.out.println(nodes.item(0).getNodeValue()); // Debugging
    } catch(Exception ex) {
    ex.printStackTrace();
    throw new Exception("XPath Querying Failed.");
    }// end of xPathQuery method
    Regards
    Zig

  • Multiple wireless routers with Macintosh OSX - Does not work

    I work for Spokane Public Library system as an IT Specialist. At all of our branches, we use multiple WRT54G wireless devices to serve our patrons. We are having notable trouble with Macintosh clients who can get connected to the wireless network but cannot obtain a DHCP address and thus cannot surf the web. We have the WRT54G devices configured with unique SSID's and no wireless protection; basically an open network.
    Will having both of the WRT54G's set to the same channel pose a problem? Do Macs on OSX have an issue with the Linksys implementation of DHCP that you know of?
    We have verified this problem at all branches; including the use of my laptop which is a MacBook Pro running OSX 10.4.10.
    There are other posts on this forum with similar issues and no responses.
    Any help would be appreciated. Thanks!

    YES! My own resolution... It turns out that it WAS A LINKSYS COMPATIBILITY ISSUE. Updating the WRT54G firmware to version 1.02.2 made it all work great. There was a fix for DHCP in the 1.02.2 version.
    This is for both version 5 and 6 of the WRT54G.
    Woot!

  • My iphone 5 running with latest os drop down menu does not work sometimes and i have to reset settings to get it back working..Anyone can tell me why?Your help will be highly appreciated.

    Help! Help! Help!

    The one which we slide our finger down from top. The one with weather info,stock info etc etc..

  • Cancelling Creative Cloud -- suggested process in documents does not work

    I would like to cancel my creative cloud subscription. The instructions here do not work https://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html In my account it says I only have a free subscription so I have nothing to cancel. But I am actually getting charged every month. This is extremely frustrating! I want to talk to a human at Adobe to get this sorted but there seems to be no way to make phone calls anymore. -Sarah

    That can be an unauthorized charge, please personally message the following details to investigate further.
    1. Last 4 digit of Credit Card
    2. Type of Card: Visa/Master Card/ Amex
    3. Date of Charge
    4 Amount charged
    Regards
    Rajshree

Maybe you are looking for

  • Ipod found on computer, but Itunes wont recognize it

    When i connect my ipod to my computer, it pops-up a window telling me that i have connected an ipod & then shows what is on the ipod. well about an hour ago from when i started typing this post, i connected my ipod ( worked JUST fine till i connected

  • Internal order report- KOK5

    Frnds i have created one of the variant to run internal order report at transaction K0K5 and in that variant, i have just filled my interanal order name and order type nothing else. But when i tried to run report using that variant, it does not give

  • Is Adobe Getting rid of Bridge?

    What is the easiest Photo asset management tool that we can use then to look at all sorts of past/current shoots?

  • CAN MAKE IMAGE FROM ITS PART IN A LIBRARY

    AS PART OF MY PROJECT I WANT TO MAKE A IMAGE FROM SMALL PARTS BY PARTS OF IMAGE. I HAVE ATTACHED LIBRARY FILE WITH SMALL PARTS OF IMAGE AND FULL IMAGE WHICH WANT TO MAKE FROM ABOVE PARTS OF IMAGAES. IFA NY ONE CAN HELP ME ITS REALLY HELPFUL... AN ADV

  • Partition by statement

    I am getting the error - ORA-00923: FROM keyword not found where expected at P while executing the following statement. (DIFF) OVER (PARTITION BY ITEM_CODE ORDER BY ITEM_CODE)DKindly advice. Sanjay