Global Messages are not being shown ??

After an action, I am adding a global message to inform the user it was successful as such:
        String message = "Successfully created ticket.  ID# " + id;
        FacesContext.getCurrentInstance().addMessage(null,new FacesMessage(FacesMessage.SEVERITY_INFO, message,""));
        return "success";However, after being redirected, the messages box never gets the message, although, the message is added correctly, as shown in the log:
2006-04-19 14:50:57,086 DEBUG [com.sun.faces.context.FacesContextImpl] Adding Message[sourceId=<<NONE>>,summary=Successfully created ticket.  ID# 1)
2006-04-19 14:50:57,086 DEBUG [com.sun.faces.application.ViewHandlerImpl] URL pattern of the FacesServlet executing the current request .jsf
2006-04-19 14:50:57,086 DEBUG [com.sun.faces.application.NavigationHandlerImpl] Redirecting to path /TechDesk/main/requests/requestListing.jsf for outcome success and viewId /main/requests/requestListing.jspHere is my messages declaration in the redirected /main/requests/requestListing.jsp
<h:messages showDetail="true" showSummary="true" globalOnly="true"/>Can anyone tell me what I'm doing wrong?? The messages gets populated, as shown in the logs, but it never gets displayed in the messages box.
Thanks so much!

Okay, it seems to get lost in the redirection. If I add the messages box directly on the same page with a return value of "null" (return to the same page), the messages box gets populated.
However, after getting redirected, I seem to be losing the FacesContext. I thought the FacesContext is created per request, so shouldn't it be available after a redirect?

Similar Messages

  • Messages are not being saved on N96

    On my N96 I have set save sent messages and receive report as 'yes' but after updating firmware (20.050) messages are not being saved.Is there any solution to someone.

    I have exactly the same problem with my N95 but I can't really say when it started. Suddenly I just noticed my phone didn't save sent messages anymore and hadn't done it for some time, but can't really tell after what it started to occur. Really strange problem, not even reseting back to factory settings helped - after I put "receive report" option back it stops saving sent messages to sent folder. Actually if I go to "sent" folder quickly after sending the sms, it shows there for little moment before disappears. Really strange. I couldn't google any other information about this problem than this topic.

  • I just switched from Outlook to Mail and now the sent messages are not being displayed.  Help, please.

    I just switched from Outlook to Mail and now the sent messages are not being displayed.  Help, please.

    Back up all data. Rebuild the mailbox.

  • HT4623 My messages are not being sent. Can someone help?

    My messages are not being sent. Can someone help?

    Alan, how you're doing?
    You already know issue is not with the email account, since it's working on another devices.
    Now you have to define whether it is a user specific or system wide issue.
    Create another user account through system prefereces > users and groups. Try to set up account on the new test user.
    If it works, get back to your main account, open mail application, go to menu > Window > open activity and connection doctor (Make sure you organize these tools in a way that allows you to see both mail windows and activity/ connection doctor... Now, try to send a test email and you will see where the issue is.
    Then...
    Go to mail preferences > select your email account > click the - button to remove it and + to readd account.
    Fill your full name, email address and password. Now, hold down option key and press continue... Insert incoming and outgoing information.
    Any doubts, feel free to ask.

  • Since upgrading to iOS7 some text messages are not being sent, iMessage on my Ipad and MacBook doesn't have my phone number registered and my reminder colour on my Iphone keeps changing ... among other things

    Since upgrading to iOS7 some text messages are not being sent on my iPhone 5, iMessage on my Ipads and MacBook doesn't have my phone number registered and my reminder colour on my Iphone keeps changing ... among other things. Any suggestions to fix these faults?

    Make sure People Sending you via iMessage are sending their messages on your PHONE number not on your EMAIL addresses . My sister had the same problem, thats how i managed to solve it!

  • My text messages are not being delivered

    MY text messages are not being delivered. Keep coming back with the red saying "Not Delivered". Anyone know why this all of a sudden started happening and how to fix it?

    Thank You Meg St._Clair contacted my carrier and fixed the problem on my iPhone 6 but still an issue on my iPad mini  
    Carrier could not fix the problem so said I would have to plug my iPad into my Mac and back it up and then restore factory settings        
    Havent done any of that yet!

  • Read and deleted messages are not being updated on my iphone 4s

    I have a new user who is having a synchronization issue with his iPhone.  When he reads emails on his desktop, the messages on his iPhone 4s show as being unread.  Also, when he delets messages on his desktop email, messages are not being deleted on his iPhone.  I have never seen this issue before and do not know what to do.  Please help.  Thank you!

    The end user just started with the company a week ago and he is using Outlook 2010.  We never had this issue in the past.  Active sync has been enabled on user’s account and he was able to configure the firm's Exchange email profile on his iPhone.  Although he is able to receive messages on his mobile device, it does not sync with his desktop email.  I asked him to delete the profile on the device and create it again, but he wants to do that as a last option.

  • In My Shared View the inbox tabs like My Tasks , Initiated Tasks are not being shown

    In My Shared View the inbox tabs like My Tasks , Initiated Tasks are not being shown :
    How to display the tabs in shared views also.
    I just wanted to created one shared view that will look like Inbox but filter data for State = 'Completed'

    Please update me if you can find any way to achieve this in BPM workspace

  • I've set up my Gmail account to auto forward messages to iCloud Mail but message are not being received. Can anyone help?

    I've set up my Gmail account to auto forward messages to iCloud Mail but message are not being received in iCloud Mail.
    Can anyone help?

    Try this out...  this worked like a charm:
    *On a desktop PC, log into your gmail account.
    *Click the gear up in the top right corner > Settings
    *Click Accounts
    *Under "Change Account Settings", click "Other Goole Account Settings"
    *Along the left, click "Security"
    *Under 2-step verification, click "Manage your application specific passwords"
    *It will ask for your usual gmail account password and take you to a page that says "
    Authorized Access to your Google Account
    *You will see a box to type in something (I just typed in iPad) then click "Generate Password"
    *It will generate a random password for you...  you will need this password Once in your iPad....
    Now...
    *Go to your iPhone Settings>Mail, Contacts, Calendars>Add Account>Google
    *Type in your name, your usual gmail email address and for the password, type in that random one generated on your PC
    It should work from there, if not follow what is below!
    *On a desktop PC, log into your gmail account.
    *Click the gear up in the top right corner > Settings
    *Click Accounts
    *Under "Change Account Settings", click "Other Goole Account Settings"
    *Along the left, click "Security"
    *Under 2-step verification, click "Manage your application specific passwords"
    *It will ask for your usual gmail account password and take you to a page that says "
    Authorized Access to your Google Account
    *You will see a box to type in something (I just typed in iPad) then click "Generate Password"
    *It will generate a random password for you...  you will need this password THREE TIMES in your phone or ipad....
    Now...
    *Go to your iPhone Settings>Mail, Contacts, Calendars>Add Account>Other>add mail account
    *Type in your name, your usual gmail email address and for the password, type in that random one generated on your PC
    *Next
    Incoming Mail Server:
    Host Name: imap.gmail.com
    User name: (your gmail email address)
    Password: TYPE IN THAT RANDOM PASSWORD AGAIN
    Outgoing Mail Server:
    Host name: smtp.gmal.com
    User name (your gmail email address)
    Password: TYPE IN THAT RANDOM PASSWORD AGAIN
    Done
    And allll the emails came rushing in   Hope this works for you!

  • My outgoing messages are not being saved in my sent folder

    Half of my message that I try to send are not being saved in my sent folder. This is a huge problem causing lost documentation and copies of information and conversations I have had. The error message I get says that thunderbird was unable to save to my sent folder and asks if I would like to try again. If I say yes I get the same message over and over again until I give up and let the message be lost to cyberspace. What can I do to fix this issue and stop loosing valuable information for work?
    I am using an HP laptop running windows 8.

    What protocol is your email account using (POP or IMAP)?
    If POP, you need to make sure your local disk space is enough to save the sent messages. Check where the copies are located by looking at the account settings under '''Copies & Folders'''. When using POP, I believe a copy needs to be saved on both sides: local and server.
    If IMAP, the email server is where such copies are saved. You can also double-check such settings as mentioned above.
    Finally, if your emails are too big, this may be a restriction of your email provider, perhaps get in touch with their support and inquire about this to rule it out as the cause of the problem. Could you share more details about the kind of emails that fail to have a local copy saved or is it for each and every email?

  • Problem in ABAP Proxy(sometimes XML Messages are not being created)

    Hi,
    I am trying to send the data from ECC to CRM when post goods issue is done for a delivery from ECC side. I called my proxy method in BADI : DELIVERY_PUBLISH.
    And after calling the method, I used commit work also.
    But the problem is, some times it is working fine. and some times the XML messages are not getting created. When I go in debug, looks everything is fine.
    I am unable to understand why this inconsistency.
    Could you please help me out, do I need to take any more precautions.
    Thanks,
    Sandeep

    You mean you can't find any message in SXMB_MONI of your ECC or is it XI where you can't see message?
    If you have not checked in SXMB_MONI of ECC then may be messages are created but they are going into error and that's why you are not able to see any message in XI.

  • My instant messages are not being recognized after update

    After I did the latest update, some of my instant message are not coming up with the person's name from my contacts, rather, just the phone number is showing up.

    Try resetting the SMC and pram
    To reset the SMC
    Shut down the computer.
    Unplug the computer's power cord.
    Wait fifteen seconds.
    Attach the computer's power cord.
    Wait five seconds, then press the power button to turn on the computer.
    To reset PRAM/NVRAM
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • Messages are not being dequed by a different connection in JMS

    Scenario
    There are 2 queues - Q_A and Q_B and There are 2 applications - App_1 and App_2
    I am using point 2 point and java JMS
    This is what I want to accomplish
    App_1 queues messages to Q_A
    App_2 dequeues messages from Q_A
    App_2 queues messages to Q_B
    App_1 dequeues messages from Q_B
    But the problem I am having is that neither application can see the messages that have been queued by the other.
    So even though I see the messages in the database in Q_A,
    When I use QueueBrowser from App_B on Q_A to view the messages ... it is empty
    But if I use QueueBrowser from App_A on the same queue Q_ A I can see the messages.
    The same is true the other way round.
    The queueconnection is being created usng the same db user in both apps, and the queues are owned by the same user.
    please help me.
    user489532

    Dear DAMORGAN,
    Thank you for your reply and I apologise for the insufficient information. I am providing the details now. I am aware that JMS is supposed to handle my situation. And I am ableto queue and dequeue messages without problems from the same app. Its only when I am using different apps that I am having a problem. I am pasting relevant pieces of code,Please let me know if more info is needed. Thank for your help.
    Oracle 10g
    Weblogic 10
    DDL to create Queue
    BEGIN
    DBMS_AQADM.CREATE_QUEUE_TABLE (
    QUEUE_TABLE => 'AQ_A_QUEUE'
    ,QUEUE_PAYLOAD_TYPE => 'SYS.AQ$_JMS_OBJECT_MESSAGE'
    ,COMPATIBLE => '8.1.3'
    ,MULTIPLE_CONSUMERS => FALSE
    DBMS_AQADM.CREATE_QUEUE(QUEUE_NAME => 'A_QUEUE',
              QUEUE_TABLE => 'AQ_A_QUEUE',
              MAX_RETRIES => 10,
              RETRY_DELAY => 60);
    DBMS_AQADM.START_QUEUE(QUEUE_NAME => 'A_QUEUE');          
    END;
    Application A sends messages to A_QUEUE like this
    //This is how I get a connection
    QueueConnectionFactory queueConnectionFactory = AQjmsFactory.getQueueConnectionFactory(getDatabaseServer(), getDatabaseSid(), getDatabasePort(), "thin");
    QueueConnection qc = queueConnectionFactory.createQueueConnection(getDatabaseUser(), getDatabaseUserPassword());
    qc.start();
    //This is how I get the Queue          
    QueueSession q_sess = qc.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
    Queue aQueue= ((AQjmsSession)q_sess).getQueue(getDatabaseUser(), "A_QUEUE");
    TestMsgObject jmsObj = new TestMsgObject();
    //populate Test object          
    QueueSender qs = q_sess.createSender(aQueue )
    ObjectMessage msg = q_sess.createObjectMessage(jmsObj);
    msg.setStringProperty("MESSAGESOURCE", "APP_A");
    qs.send(msg);
    qs.close();
    q_sess.commit();
    //Application B has a message listener like this - TestListener
    public void initialize() throws JMSException, NamingException {
         QueueConnectionFactory queueConnectionFactory = AQjmsFactory.getQueueConnectionFactory(getDatabaseServer(), getDatabaseSid(), getDatabasePort(), "thin");
         qc = queueConnectionFactory.createQueueConnection(getDatabaseUser(), getDatabaseUserPassword());
         q_session = qc.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
         aQueue = ((AQjmsSession)q_session).getQueue(getDatabaseUser(), "A_QUEUE");
         qr = q_session.createReceiver(aQueue);
         qr.setMessageListener(this);
         qc.start();
    public void onMessage(Message message) {
         try {
              System.out.println("Received Message XFS=" + message.getJMSMessageID());
              //more processing
         }catch(Exception e) {
              e.printStackTrace();
    The message listener is created and initialized from the init() method of a servlet that is loaded on startup.
    The onMessage of the TestListener is never called.
    I can see the messages in the database.
    Also when I call the following code snippet from Application A - the messages are retrieved, but the same code called from application B does not give any messages.
    browser = q_sess.createBrowser(MyUtil.getQueue(q_sess));
    for (Enumeration messages = browser.getEnumeration(); messages.hasMoreElements() ;){
    obj_message = (ObjectMessage)messages.nextElement();
    System.out.println(obj_message.getJMSMessageID());
    I can bounce the app server and still app B does not see the messages.
    However if app B publishes messages to the queue itself, it can see those, without any problem.
    As mentioned before the database user is the same for both the apps and owns the queue, and deques and enque are both enabled.

  • Cases where messages are not being consumed from a queue

    MQ 4.0
    I have a cluster of 3 brokers. Java clients use RANDOMIZE to connect to the cluster of brokers. Message selectors are not used. My consumers are all synchronous, and connection.start() is called prior to calling MessageConsumer.receive().
    What I have seen on random occassions are messages not being consumed from the queue. The problem seems to be sporadic.
    I was thinking that the reason it is sporadic is because of the RANDOMIZE configuration of the client connetion / object-store.
    That is, there is a possibility for the following to happen:
    1) There were messages produced on a queue on broker A, but before these messages were consumed, all the consumers have been shutdown. Thus, the messages on queue stayed on broker A .... and have not been copied / clustered to the other brokers in the cluster ( As per online documentation, a queue is "copied" to other brokers only when there is a consumer for that queue on the other brokers ).
    2) Then the client applications started up produced and consumers again. This time, the producers were all connected to broker B, and all consumers for the queue were also connected to broker B.
    3) Because there are no other consumers for the queue on the other brokers, the messages in the queue on broker A are never consumed.
    Can someone confirm that this is a possibility ?

    Well ... it does seem to be the case.
    I changed the object-store so that instead of using RANDOMIZE for imqAddressListBehavior, it uses PRIORITY. Therefore, all clients ( producers and consumers ) will connect to only 1 broker out of the 3 in the cluster.
    After restarting all JMS clients with the new imqAddressListBehavior, there were messages in various queues in the other brokers that were not being consumed, because there are no longer any consumers on any of the other brokers.
    All the messages in that broker that all JMS clients connect to are being consumed ...
    Except for about 6 messages that stays in the queue for whatever reason. All consumers receiving with receive( 10000 ), and after consuming all messages above the 6, it returns without any more messages in the queue.
    Well ... so much for cluster of brokers. I'll have to think of an alternative.

  • Some frames are not being shown when printed but it is there in print previ

    Hello Experts,
    I am currently developing a form in smartform wherein I need to put frames in all cells. When
    I print preview, all the frames are there. But when I print it, some of the frames are not shown.
    What could be possibly the problem?
    Thank you guys and take care!

    Hi,
    Refer to this link...[box not seen in smartform print   |box not seen in smartform print]

Maybe you are looking for