Added barracuda LB. owa 2010 not working on virtual IP - works using host IP. IIS home page works on virtual IP

Hi,
I have 2 exchange servers in a DAG. (exc1 and exc2) (DAG is called: outlook.domain.com)
I added 2 load balancers in front of them to distribute the load + ensure uptime for the users.
the load balancers have a virtual IP - 192.168.1.33
there is an A record in DNS pointing to this IP called: outlook.domain.com
SSL offloading is enabled and certificate has been imported to the LBs
Outlook clients work just fine using outlook.domain.com - everything OK
OWA works using https://exc1/owa and https://exc2/owa
but OWA does NOT work using Https://outlook.domain.com/owa
I get "connection reset"
IIS front page works just fine (https://outlook.domain.com gives iis7 welcome page) - its only when I add /owa to it, that the error appears.
any ideas?
thanks in advance
/chris

Do both sets not say to
set Client certificates, select Ignore?  
I'm skimming so may be missing something. 
You can have session persistence using IP affinity, but depending on what you want to publish and achieve you may need to inspect the traffic on the LB.  I was curious as it adds a bit more complexity.
And is Outlook 2010 upto date?  What is the exact build string on a client that is getting the prompt please?  This is a person bugbear of mine:
http://blogs.technet.com/b/rmilne/archive/2013/07/18/patching-exchange-don-t-overlook-outlook.aspx
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne 
Twitter:   LinkedIn:
  Facebook:
  XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Similar Messages

  • OWA apps not working

     Issue: OWA apps not working
     Not sure why APPS are not working only in OWA, tested with IE, Google chrome & Firefox.
      Note:  APPS are working in outlook 2013
      Exchange Version: Exchange 2013 SP1 CU5
     OS: Microsoft Windows Server 2012 Datacenter 
    Regards
    Rajesh

    Hi,
    Please check the following link to solve this issue.
    http://support.microsoft.com/kb/2938292
    If this issue persists, please take the following steps for workaround.
    Locate to %ExchangeInstallPath%FrontEnd\HttpProxy\owa\web.config, open this file in notepad.
    Added the key <add key="aspnet:UseLegacyRequestUrlGeneration" value="true" /> to the
    <appSettings>
    Close this window to apply the change and take a test.
    Best Regards.

  • I was on an online course website, logged in and working on an assignment. Suddenly the page disappeared and was not on the tabs either. I went to the home page and tried to log back in and it said I was already logged in on another browser window

    Question
    I was on an online course website, logged in and working on an assignment. Suddenly the page disappeared and was not on the tabs either. I went to the home page and tried to log back in and it said I was already logged in on another browser window and if I proceeded to log in again the assignment I was working on would be ended and I would receive a zero. I can't locate the browser window that I was signed in on. Help...I don't want to get a zero, but don't know how to get back into the website under my original log in & get back to my half completed assignment.

    Hi,
    Please try this: In Firefox '''History''' ('''Alt''' + '''S''') and check if it is listed in either '''Recently Closed Tabs''' or '''Recently Closed Windows''' or in the list below. If you cannot find it click '''Show All History''', on the left of the window click '''Today''' below '''History''' and on the right look for the site entry corresponding closely to the time when you lost it. If you cannot see the column heading named '''Visit Date''', you may have to enable it by right-clicking on the column header strip.
    Also please note that the online course site may have redirected you to another site for the test, so it is also a good idea to look into site entries that may match the time.

  • Redirect emails in OWA and Outlook 2010 not working in Exchange 2013

    I have an new install of Exchange 2013 with all updates.
    When I setup an inbox rule to redirect messages to another contact it is not working.
    When I used Outlook 2010 and ran the rule manually I received this error:
    "the redirect action is not currently supported with run rules now"
    It seems that I didn't setup up something correctly in Exchange 2013 or a feature is not turned on. Please assist.
    In the EM console when I setup forwarding that is working. Its the inbox rule redirect not working.

    Hi,
    From your description, I recommend you use the following cmdlet to ensure that the DeliverToMailboxAndForward parameter is set to $True.
    Get-Mailbox <identity> | fl DeliverToMailboxandForward
    If this parameter is false, you can use the Set-Mailbox cmdlet to set it and check the result.
    Hope this can be helpful to you.
    Best regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Amy Wang
    TechNet Community Support

  • Exchange 2013 CU2 OWA Redirection not working

    Hi,
    I installed Exchange 2013 RTM in existing environment with Exchange 2010 Sp3 in our test environment.  After installing Exchange 2013 RTM I checked when I access OWA using Internal URl it redirected to Exchange 2010 CAS server's Internal URL and I was
    able to access Exchange 2010 mailbox.
    I upgraded to CU2 and now Exchange 2013 internal URl not re-directing it to Exchange 2010 mailbox anymore. I checked all the settings on virtual directories and made sure that FBA authentication is selected.  It is a test environment and I just wanted
    to test the re-direction in co-existence environment using Internal URL. It should work out of the box but not sure what happened.  There was no issue in CU2 instllation.
    Exchange 2013 CAS and mailbox roles are on separate servers.  Same with Exchange 2010.  There is no certificate 3rd party certificate install on CAS servers since it is a test environment.
    Not sure what else can I check.
    I appreciate if any help I can get.
    Thanks,
    Regards
    Raman
    Raman

    I have been seeing issue where 2013 OWA was not re-directing to Exchange 2013, as mentioned on top of this thread.  After spending days over it.
    Finally it resolved for me after doing the following: -
    Go to CAS 2010 IIS
    OWA directory -> Authentication -> Windows Authentication -> Add provider
    Negotiate and NTLM.
    Although, now when I click on "Options" once OWA is redirected to 2010.  ECP does
    not work.  It just open up ECP page but no link works not even sign out.  I had to click back on the browser's back button go get back to main OWA mail page.
    OWA and ECP directory settings are same.  I have checked several times.
    Thanks,
    Raman

  • Pivot created in office 2010, Not working in office XP.

    Hi,
    I have a issue, created a excel file in office version 2010 with pivot, but when i am trying to open it in office xp, File is opening but pivots are not working.I have also set it on compatible mode.
    Please suggest if anyone have idea.

    There might be no way to solve the pivots compatiblity issue in old Office version. We highly recommand upgrade Office XP to Office 2007 or higher version to avoid this kind of issue.
    Tony Chen
    TechNet Community Support

  • Adding attachment via File browse not working

    Hi, I'm using Apex 4.1.1 through GlassFish server 3.1.1. Recently I've imported my database application and after running my app, adding of an attachment isn't working anymore. Before I used Apex via Emb. PL/SQL Gateway(from which I've exported app sql) and everything worked just fine. My code for adding attachment is like this:
    IF (:P2_ATTACHMENT IS NOT NULL)
    THEN
    INSERT INTO ATTACHS
    (ID_ATACHMENT,NAME_ATTACH, TYPE_ATTACH, ATTACHMENT, DATE_ATTACH)
    SELECT ID,NAME, mime_type,blob_content, sysdate
    FROM wwv_flow_files
    WHERE NAME = :P2_ATTACHMENT;
    DELETE wwv_flow_files
    WHERE NAME = :P2_ATTACHMENT;
    :P2_ATTACHMENT := NULL;
    END IF;
    If I skip this piece of code, and try to submit page(where is also couple of other insert statements), then is ok.
    What is the problem of this, GlassFish, wwv_flow_files table, apex listener...?
    Thanks.

    Hi,
    >
    isn't working anymore.
    >
    Do you get an error? What diagnostic details do you have? E.g. what do see in View Debug if you run the page in Debug mode?
    Prima facie, there is nothing wrong in the code or in the infrastructure.
    Regards,
    PS: Please post code in &#123;code&#125; tags.
    Edited by: Prabodh on Jun 21, 2012 5:00 PM

  • MacBook pro 13 2010 not working

    my computer is not working anymore, was working perfectly until a moment's notice when I was very slow to start and would not go to the system just stayed in the logo and now I get a folder with question mark and nothing happens more. What I do?

    The following support article is somewhat outdated. Where it refers to booting from an installation disc, you should boot from your recovery partition (if running 10.7 or later) by holding down the key combination command-R at the chime.
    Mac OS X: Gray screen appears during startup

  • Microsoft outlook 2010 not working after installing proxy server and ForeFront TMG firewall

    I am trying to have Outlook 2010 work though proxy server recently installed on internal network, I have configured IE to use the proxy settings, but I cannot find the
    same with Outlook 2010, I want to clarify that we use Outlook 2010 to connect to internet email and we installed ForeFront TMG firewall on the proxy server and as a result of that we changed the IP settings and after that Outlook stopped sending and receiving
    mails and gives error: “receiving reported error (0x800408fc): 'The Server name you entered cannot be found (it might be down temporarily).”
    So please help us by sharing how to fix this issue to make Outlook work though proxy server
    Thanks

    Hi,
    Are you using Exchange account? If you are changing your Exchange account to use a proxy server, I suggest we can create new profile and automatically re-configuring your account with autodiscover service to have a try:
    http://support.microsoft.com/kb/829918
    If the account can’t be configured automatically, please manually configure the account and change the settings for procy server:
    1. In the Account Settings dialog box, click the
    Email tab, click to select the Exchange account, and then click
    Change.
    2. Click More Settings. On the Connections tab, click
    Exchange Proxy Settings.
    3. In Connection settings, type the proxy server FQDN under Use this URL to connect to my proxy server for Exchange, click OK to have a try, and then click
    OK to save all settings.
    4. Restart Outlook.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Can not log on as Sysadmin in Oracle E-Business Suite Home page (11.5.9) Li

    I have successfully installed 11.5.9 in SUSE SLES8.
    Here all what I have done after a successful installation of 11.5.9
    in Linux (SUSE SLES8) –
    As per the installation note to download the jinitiator file I have to signon
    to Oracle Applications E_business Suite Home page. In the Home page I have to specify useid and password. By mistake I have specified wrong useid/password probably for a number of times. Then I get the message you are no longer in the URL session.
    Later on I logged on to "CRM HomePAGE" as user SYSADMIN and change the password. All work fine in "CRM HomePAGE" window.
    But after that when I try to logon to “E_business Suite Home page” as SYSADMIN, (specifying new password)I am receiving following error –
    “You have encountered an unexpected error. Please contact the System
    Administrator for assistance.
    Click here for exception details.”
    However when I click “here” I get no details or explanation about the error.
    Please let me know how to unset the sigon option for user SYSADMIN under “E_business Suite Home page”, so that I can successfully log on to it (as sysadmin) and configure jinitiator.
    Thanks in advance for your help and co-operations.
    Regards, Kunal

    Kunal,
    You can use FNDCPASS utility to change the application users password.
    Thanks
    Rajeev

  • Exchange 2010/2013 coexistence: OWA proxy not working properly ":-( Something went wrong"

    Hi
    Exchange 2010 users are NOT able to connect to their mailboxes when they go through exchange 2013 OWA address.  We get a message that says following ---> "Something went wrong"
    Following is our URL.  The address is pointing to 2013 CAS loadbalancer VIP.  Outlook anywhere is working fine.  What is going on?
    Important: All my exchange 2010 / 2013 URIs are the same as suggested by Microsoft (Owa, ecp, activesync, ews, autodiscover): --> mail.domain.com/XXX

    Hello Rawa,
    Can you log on Exchange 2010 OWA using its localhost address?
    Please make sure the intenralurl value is set to Exchange 2010’s local host name and set the Externalurl to Null.
    http://technet.microsoft.com/en-us/library/bb310763(v=exchg.141).aspx
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Exchange 2010 (SP3 - withn SBS2011) OWA seach not working

    I know such issues have been reported many times in the past, but I haven't found any report for SP3 (which actually thought would resolve this for good).
    I had the same problem repeatedly with SP1, with SP2, with various rollups, I have tried the various vix solutions (re-touching AD schema, rebuilding the indexes etc.) and indeed they fix the problem... for a while.
    Or until the next update.
    Can someone help me reach a more stable solution?
    Or is it a common issue that Microsoft actually cannot solve for good???
    Right now I have the problem (again) after installing SP3. So I am open to all proposals.
    NLS

    Hi NLS,
    I'm researching the issue and will update it soon.
    By the way, for SBS issue, you can also seek the solution in the SBS forum, thanks:
    http://social.technet.microsoft.com/Forums/en-US/smallbusinessserver/threads
    Frank Wang
    TechNet Community Support

  • IE8 drag and drop in Outlook Web App OWA is not working

    I'm having trouble identifying the cause behind an inability to drag and drop emails between folders in OWA (Exchange 2010).
    The problem PC is running fully up to date 32 bit Windows XP SP3 with IE8. When I try to drag and drop an email all I see is a black stop symbol. On another PC with the same spec, logged in with the same user account, I can drag and drop emails fine between
    folders in OWA.
    I've tried clearing browser cache/history etc, resetting the browser to factory defaults, re-installing the browser, reducing security in the browser to absolute minimum, re-installing Java, Silverlight, S/MIME (although I'm sure it doesn't use these).
    Can anyone suggest anything else, or provide helpful links? I've been looking at this for many hours without any progress. If I even just knew what component/tool/feature IE is using when it does/doesn't drag and drop I'd have somewhere to start...
    TIA.

    I have this problem I heard there is a hotfix but I dint get the number, this affects any drag and drop options such as dropbox, sharepoint, etc..
    When I get the number I will post it for you.
    a work around is Chrome. but it has options for the html5 which is not present even in IE 10. :(.
    technet sharepoint alert
    I spent about three days on this and one IT guy and more than several Engineers at microsoft india, they are helpfull but not this time.
    this works on server 2008r2 but not vista, I am guessing Windows 7.

  • Adding Components to a JPanel not working correctly

    I'm trying to build a JFrame that contains a parent JPanel that will hold a JPanel used to display a message view, a vertical strut and a JPanel that holds VCR-like buttons to cycle through the messages.
    My parent JPanel uses a BorderLayout and the Border is a TitledBorder which tells which product you are viewing (i.e., Message 1 of 5). I build the message JPanel, vertical strut and button JPanel and add them all in order to the parent JPanel which then gets added to the rootContentPane of the JFrame. All that appears is the parent JPanel's TitledBorder, the strut and the button JPanel. Using JSwat, I've been able to determine that the message JPanel has 0 for both its height and width after adding the message components to the JPanel.
    I create the message JPanel with a BorderLayout and an OvalBorder as copied from Manning Press's Swing book (which works fine in other JFrames that I have built), then add other components as necessary to the individual messages (mostly items around the edges with a central display for the actual message). What I can't figure out is why the height and width of the message JPanel isn't growing as I add components.
    I had previously used the same code to display a single message (minus the parent JPanel, strut and button JPanel) where I added the border panels (northPanel, eastPanel, southPanel and westPanel) created in createMsgPanel() directly to the contentPane and it worked perfectly, so I know that the code that adds the message works fine. Then, the requirements changed (go figure) and I had to display multiple messages from the same screen.
    Here's what I've got:
    public class Layout
                 extends JFrame
                 implements ActionListener
       private MissionData missionData;
       private JPanel messagePanel = null;
       private int index = 0;
       private int numMsgs = 0;
       private JPanel mainPanel = null;
       private JPanel buttonPanel = null;
       private TitledBorder titledBorder = null;
       Layout ()
       public Layout (MissionData msn)
          super ();
          missionData = msn;
          setSize (640, 640);
          setIconImage (new ImageIcon ("Icon.jpg").getImage());
          setTitle (((Message) (missionData.messages.elementAt(0))).name);
          numMsgs = missionData.messages.size();
          titledBorder = new TitledBorder (
                            new LineBorder (Color.BLACK),
                            "Message " + String.valueOf (index + 1) +
                            " of " + String.valueOf (numMsgs),
                            TitledBorder.LEFT,
                            TitledBorder.TOP);
          mainPanel = new JPanel ();
          mainPanel.setLayout (new BorderLayout());
          mainPanel.setBorder (new CompoundBorder (titledBorder,
                                                   new EmptyBorder (
                                                      new Insets (3, 3, 3, 3))));
          messagePanel = new JPanel();
          messagePanel.setLayout (new BorderLayout ());
          messagePanel.setBorder (new CompoundBorder (
                                     new EmptyBorder (50, 50, 50, 50),
                                     new OvalBorder (20, 20, Color.white)));
          messagePanel.setBackground (Color.black);
          createButtonPanel ();
          createMsgPanel ((Message) missionData.messages.elementAt (0));
          mainPanel.add (messagePanel);
          mainPanel.add (Box.createVerticalStrut (20));
          mainPanel.add (buttonPanel);
          Container mainContentPane = getContentPane();
          mainContentPane.add (mainPanel);
       private void createMsgPanel (Message msg)
          MessageType msgType = null;
          if (msg.getFunctionalAreaDesignator(0) == Message.GENERAL_INFO)
             if (msg.getMessageNumber(0) == 1)
                msgType = FREE_TEXT;
          else if (msg.getFunctionalAreaDesignator(0) == Message.SUPPORT)
             if (msg.getMessageNumber(0) == 33)
                msgType = CAS;
             else if (msg.getMessageNumber(0) == 34)
                msgType = OSR;
          // Setup NORTH Panel of Display
          JPanel northPanel = new JPanel (new GridLayout (2, 6));
          northPanel.setBackground (Color.black);
          northPanel.add (new JTIMLabel ("", false));
          northPanel.add (new JTIMLabel ("<html>RECV</html>", false));
          if (msgType == CAS)
             northPanel.add (new JTIMLabel ("<html>PCLR</html>", false));
             northPanel.add (new JTIMLabel ("<html>MSN</html>", false));
             northPanel.add (new JTIMLabel ("<html>SAVE</html>", false));
          else if (msgType == OSR)
             northPanel.add (new JTIMLabel ("", false));
             northPanel.add (new JTIMLabel ("", false));
             northPanel.add (new JTIMLabel ("", false));
          else if (msgType == FREE_TEXT)
             northPanel.add (new JTIMLabel ("<html>ERASE</html>", false));
             northPanel.add (new JTIMLabel ("", false));
             northPanel.add (new JTIMLabel ("<html>BRDCST</html>", false));
          northPanel.add (new JTIMLabel ("<html>SEND</html>", false));
          northPanel.add (new JTIMLabel ("", false));
          northPanel.add (new JTIMLabel ("", false));
          if (msgType == CAS)
             northPanel.add (new JTIMLabel ("<html>CAS</html>", false));
          else if (msgType == OSR)
             northPanel.add (new JTIMLabel ("<html>OSR</html>", false));
          else if (msgType == FREE_TEXT)
             northPanel.add (new JTIMLabel ("<html>FTXT</html>", false));
          if (msgType == FREE_TEXT)
             northPanel.add (new JTIMLabel ("", false));
             northPanel.add (new JTIMLabel ("", false));
             northPanel.add (new JTIMLabel ("", false));
             northPanel.add (new JTIMLabel ("", false));
             northPanel.add (new JTIMLabel ("", false));
          else
             northPanel.add (new JTIMLabel ("", false));
             northPanel.add (new JTIMLabel ("<html>CAS</html>", false));
             northPanel.add (new JTIMLabel ("", false));
             northPanel.add (new JTIMLabel ("", false));
             northPanel.add (new JTIMLabel ("", false));
          messagePanel.add (northPanel, BorderLayout.NORTH);
          // Setup EAST Box of Display
          Box eastBox = new Box (BoxLayout.Y_AXIS);
          if (msgType == CAS)
             eastBox.add (Box.createGlue());
             eastBox.add (new JTIMLabel ("<html>F<br>T<br>X<br>T</html>", false));
             eastBox.add (Box.createGlue());
             eastBox.add (new JTIMLabel ("<html>O<br>S<br>R</html>", false));
             eastBox.add (Box.createGlue());
             eastBox.add (new JTIMLabel ("<html>D<br>P<br>I<br>P</html>", false));
             eastBox.add (Box.createGlue());
          else if (msgType == FREE_TEXT)
             eastBox.add (Box.createGlue());
             eastBox.add (new JTIMLabel ("", false));
             eastBox.add (Box.createGlue());
             eastBox.add (new JTIMLabel ("", false));
             eastBox.add (Box.createGlue());
             eastBox.add (new JTIMLabel ("", false));
             eastBox.add (Box.createGlue());
             eastBox.add (new JTIMLabel ("", false));
             eastBox.add (Box.createGlue());
          eastBox.add (new JTIMLabel ("<html>W<br>L<br>C<br>O</html>", false));
          eastBox.add (Box.createGlue());
          eastBox.add (new JTIMLabel ("<html>C<br>N<br>T<br>C<br>O</html>",
                                        false));
          eastBox.add (Box.createGlue());
          messagePanel.add (eastBox, BorderLayout.EAST);
          // Setup SOUTH Panel of Display
          JPanel southPanel = new JPanel (new GridLayout (2, 5));
          southPanel.setBackground (Color.black);
          southPanel.add (new JTIMLabel ("", false));
          southPanel.add (new JTIMLabel ("", false));
          southPanel.add (new JTIMLabel ("", false));
          southPanel.add (new JTIMLabel ("", false));
          southPanel.add (new JTIMLabel ("<html>ON</html>", false));
          southPanel.add (new JTIMLabel ("", false));
          southPanel.add (new JTIMLabel ("", false));
          southPanel.add (new JTIMLabel ("", false));
          if (msgType == CAS)
             southPanel.add (new JTIMLabel ("<html>USE</html>", false));
             southPanel.add (new JTIMLabel ("<html>RCALL</html>", false));
          else if ((msgType == OSR) || (msgType == FREE_TEXT))
             southPanel.add (new JTIMLabel ("", false));
             southPanel.add (new JTIMLabel ("", false));
          southPanel.add (new JTIMLabel ("<html>MENU</html>", false));
          southPanel.add (new JTIMLabel ("<html>VMF</html>", false));
          if (msgType == CAS)
             southPanel.add (new JTIMLabel ("<html>NETS</html>", false));
          else if ((msgType == OSR) || (msgType == FREE_TEXT))
             southPanel.add (new JTIMLabel ("<html>CAS</html>", false));
          southPanel.add (new JTIMLabel ("", false));
          messagePanel.add (southPanel, BorderLayout.SOUTH);
          // Setup WEST Box of Display
          JTIMLabel incrLabel = null;
          JTIMLabel decrLabel = null;
          Box westBox = new Box (BoxLayout.Y_AXIS);
          if (msgType == FREE_TEXT)
             westBox.add (Box.createGlue());
             westBox.add (new JTIMLabel ("", false));
             westBox.add (Box.createGlue());
             westBox.add (new JTIMLabel ("", false));
             westBox.add (Box.createGlue());
             westBox.add (new JTIMLabel ("", false));
             westBox.add (Box.createGlue());
             westBox.add (new JTIMLabel ("<html>N<br>E<br>X<br>T</html>", false));
             westBox.add (Box.createGlue());
             westBox.add (new JTIMLabel ("<html>P<br>R<br>E<br>V</html>", false));
          else
             westBox.add (Box.createGlue());
             westBox.add (new JTIMLabel ("<html>U<br>F<br>C</html>", false));
             westBox.add (Box.createGlue());
             if (msgType == CAS)
                westBox.add (new JTIMLabel ("<html>/\\</html>", false));
                westBox.add (Box.createGlue());
                westBox.add (new JTIMLabel ("<html>\\/</html>", false));
                westBox.add (Box.createGlue());
                incrLabel = new JTIMLabel ("<html>I<br>N<br>C<br>R</html>", false);
                westBox.add (incrLabel);
                westBox.add (Box.createGlue());
                decrLabel = new JTIMLabel ("<html>D<br>E<br>C<br>R</html>", false);
                westBox.add (decrLabel);
                westBox.add (Box.createGlue());
          messagePanel.add (westBox, BorderLayout.WEST);
          // Create CENTER Box to display message bodies
          GriddedPanel centerBox = new GriddedPanel ();
          centerBox.setBackground (Color.black);
          messagePanel.add (centerBox, BorderLayout.CENTER);
          if (msgType == CAS)
             new CASDisplay (msg, centerBox, incrLabel, decrLabel);
          else if (msgType == OSR)
             new OSRDisplay (msg, centerBox);
          else if (msgType == FREE_TEXT)
             new FreeTextDisplay (msg, centerBox);
       private void createButtonPanel ()
          // build the button panel
          buttonPanel = new JPanel ();
          buttonPanel.setLayout (new BoxLayout (buttonPanel, BoxLayout.X_AXIS));
          buttonPanel.setBorder (new LineBorder (Color.BLACK));
          // Create and add the buttons
          buttonPanel.add (createButton ("FIRST_BUTTON"));
          buttonPanel.add (createButton ("PREV_BUTTON"));
          buttonPanel.add (createButton ("NEXT_BUTTON"));
          buttonPanel.add (createButton ("LAST_BUTTON"));
       private JButton createButton (String buttonName)
          JButton button = new JButton ();
          button.addActionListener (this);
          button.setActionCommand (buttonName);
          Image image = null;
          String tooltip = "Press to go to the ";
          if (buttonName.equals ("FIRST_BUTTON"))
             image = new ImageIcon ("firstArrowIcon.gif").getImage();
             tooltip += "First";
          else if (buttonName.equals ("PREV_BUTTON"))
             image = new ImageIcon ("previousArrowIcon.gif").getImage();
             tooltip += "Previous";
          else if (buttonName.equals ("NEXT_BUTTON"))
             image = new ImageIcon ("nextArrowIcon.gif").getImage();
             tooltip += "Next";
          else if (buttonName.equals ("LAST_BUTTON"))
             image = new ImageIcon ("lastArrowIcon.gif").getImage();
             tooltip += "Last";
          tooltip += " message in the lst";
          button.setToolTipText (tooltip);
          button.setIcon (new ImageIcon (image.getScaledInstance (36, 36, Image.SCALE_FAST)));
          return button;
       public void actionPerformed (ActionEvent e)
          if (e.getActionCommand ().equals ("FIRST_BUTTON"))
             index = 0;
          else if (e.getActionCommand ().equals ("PREV_BUTTON"))
             if (index > 0)
                index--;
          else if (e.getActionCommand ().equals ("NEXT_BUTTON"))
             if (index < numMsgs - 1)
                index++;
          else if (e.getActionCommand ().equals ("LAST_BUTTON"))
             index = numMsgs - 1;
          titledBorder.setTitle ("Message " + String.valueOf (index + 1) +
                                 " of " + String.valueOf (numMsgs));
          createMsgPanel ((Message) missionData.messages.elementAt (index));
       private static class MessageType
                            extends EnumeratedType
                            implements Serializable
          final static long serialVersionUID = 1;
          protected MessageType (int value, String desc)
             super (value, desc);
       private static MessageType FREE_TEXT =
          new MessageType (0, "Free Text");
       private static MessageType CAS =
          new MessageType (1, "Call Accounting System");
       private static MessageType OSR =
          new MessageType (2, "Occupational Survey Report");
    }

    That's all well and good, but I've had more times that not where
    people want the entire program, not bits and pieces.Then you missed the whole point of that link.
    We don't want to see bits and pieces of code. We want to see an executable program, but we want an executable program the demonstrates the incorrect behaviour without all the unnecessary code. 90% of the code you posted was not related to your problem. That is we what you do to some basic debugging and remove the parts of code that are not related to the problem so we can concentrate on the code that is related to the problem.

  • With SPD adding 1 month to date not working?

    I have a calculated column [1stDayofMth] =DATE(YEAR([Start Date]),MONTH([Start Date]),1) which appears to be working fine.
    My SPD WF uses the [1stDayofMth] column and does a few calculations to find the next 2 months 1st days
    [Month 1 Resume Date] = [1stDayofMth] + "1 Months" 
    [Month 2 Resume Date] = [1stDayofMth] + "2 Months"
    These dates are used to pause the workflow. The problem when I log the results to history these calculations are not the 1st day of the next month on some list items?
    eg (text from workflow history)
    1stDayofMth="11/1/2014 12:00:00 AM"
    Month 1 Resume Date="11/30/2014 11:00:00 PM"  |  Month 2 Resume Date="12/31/2014 11:00:00 PM"  |  Month 3 Resume Date="1/4/2015 11:00:00 PM"
    The [1stDayofMth] column is set to "Date Only" and is showing as only the date, my logging was set to show the String and I can see the time is included as well. Is this the cause?
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

    As a band-aid I inserted a 2nd add for 2 hours to the date which will move it from the 30th at 11:00pm to the 1st at 1:00am. 
    I haven't done a lot of digging but it looks like the issue of adding 1 month to the 1stDayofMonth is only occurring on months with 30 days?
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

Maybe you are looking for