Problem sending a message

I have never had a problem using messages to send messages to imessage. However as of about half an hour ago, every message fails to send.
Any ideas?

Hi,
Is the "TO" person's Name or email or Phone Number red ?
If so then you cannot iMessage to that email or that person at this time.
10:23 PM      Thursday; March 8, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
  iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Similar Messages

  • Anyone have a problem sending text messages being delivered after few minutes up to five minutes?

    Has anyone have a problem sending text messages and the messages won't get delivered after few minutes? From time to time I would have this problem and it's annoying.  I would expect someone to receive it by then and response to my text right away.  But when I look up the text it hasn't been delivered and it's in the process.  I would hear that the message get delivered after few minutes? What gives? I never had a problem with my iphone 4 i think? Now with iOS 5 it let's me know whether it is delivered or not.  This new feature is awesome but disappointing when I know my text hasn't been delivered right away.  I'm not sure if it's the software or my iphone 4s or my carrier? anyone suggestions?  Thanks!!

    I have the same problem when sending iMessages.. Wasnt sure if it was apple or Sprint? But it happens VERY often and I end up having to send it as a text message instead

  • Having problems sending text messages since I updated

    Having problems sending text messages since updating. And have to login every time I go to text message

    troubleshooting message http://support.apple.com/kb/ts2755
    Do you have MMS turn on in Settings?
    Are you provisioned by your carrier to use MMS?
    Lastly, give your phone carrier a call, as MMS is a carrier feature.

  • HT4191 I have iPhone 4s and i am having problem sending text messages

    I have iPhone 4s and i am having problem sending text messages

    You will have to contact your phone carrier as they handle messaging.

  • Problem sending text messages....

    All of a sudden i cannot l send text messages via my Moto X.  I've tried sending to various contacts.....and get same message "message not sent".  My phone has received the new update.  I can send email, no problem.  Anyone with this problem?

    @toolbox
    Have you checked that the message centre number is still correct?
    Go to Messaging > Messaging centres > tap on Provider > Message centre number
    Happy to have helped forum with a Support Ratio = 42.5

  • Problem sending notification message to Android and iOS devices with azure messaging dll

    We are a Bizspark customer andfor the past two days we are facing problem in Azure Notification Hub. We were trying to
    send push notifications to Android devices registered in "seexxxxxxwams" - An Azure Mobile Service in our account and no
    registered android devices are receiving the notifications. When we tried to debug it via Notification Hub in Azure Portal  (seexxxxxxwamshub
    - Notification hub in our account), the results are showing that the notifications are sent to the devices. However, the devices
    are not receiving the notifications which was receiving before.  
    Kindly let us know whether we are missing something in our code (Please find the code below) or is there any problem in Azure Notification
    Hub (for Android GCM). 
    Thanks.
    using System.Text;
    using Android.App;
    using Android.Content;
    using Android.Util;
    using Gcm.Client;
    using Android.Support.V4.App;
    //VERY VERY VERY IMPORTANT NOTE!!!!
    // Your package name MUST NOT start with an uppercase letter.
    // Android does not allow permissions to start with an upper case letter
    // If it does you will get a very cryptic error in logcat and it will not be obvious why you are crying!
    // So please, for the love of all that is kind on this earth, use a LOWERCASE first letter in your Package Name!!!!
    using ByteSmith.WindowsAzure.Messaging;
    using System.Diagnostics;
    using System.Collections.Generic;
    using System;
    [assembly: Permission(Name = "@[email protected]_MESSAGE")]
    [assembly: UsesPermission(Name = "@[email protected]_MESSAGE")]
    [assembly: UsesPermission(Name = "com.google.android.c2dm.permission.RECEIVE")]
    //GET_ACCOUNTS is only needed for android versions 4.0.3 and below
    [assembly: UsesPermission(Name = "android.permission.GET_ACCOUNTS")]
    [assembly: UsesPermission(Name = "android.permission.INTERNET")]
    [assembly: UsesPermission(Name = "android.permission.WAKE_LOCK")]
    namespace seeMuscatAndroidApp
    //You must subclass this!
    [BroadcastReceiver(Permission= Gcm.Client.Constants.PERMISSION_GCM_INTENTS)]
    [IntentFilter(new string[] { Gcm.Client.Constants.INTENT_FROM_GCM_MESSAGE }, Categories = new string[] { "@PACKAGE_NAME@" })]
    [IntentFilter(new string[] { Gcm.Client.Constants.INTENT_FROM_GCM_REGISTRATION_CALLBACK }, Categories = new string[] { "@PACKAGE_NAME@"
    [IntentFilter(new string[] { Gcm.Client.Constants.INTENT_FROM_GCM_LIBRARY_RETRY }, Categories = new string[] { "@PACKAGE_NAME@"
    public class PushHandlerBroadcastReceiver : GcmBroadcastReceiverBase<GcmService>
    //IMPORTANT: Change this to your own Sender ID!
    //The SENDER_ID is your Google API Console App Project ID.
    //  Be sure to get the right Project ID from your Google APIs Console.  It's not the named project ID that appears in the Overview,
    //  but instead the numeric project id in the url: 
    //  where 785671162406 is the project id, which is the SENDER_ID to use!
    public static string[] SENDER_IDS = new string[] { Constants.SenderID };
    public const string TAG = "GoogleCloudMessaging";
    [Service] //Must use the service tag
    public class GcmService : GcmServiceBase
    public static string RegistrationID { get; private set; }
    private NotificationHub Hub { get; set; }
            Context _generalContext;
    public GcmService() : base(PushHandlerBroadcastReceiver.SENDER_IDS) 
    Log.Info(PushHandlerBroadcastReceiver.TAG, "GcmService() constructor"); 
    protected override async void OnRegistered (Context context, string registrationId)
    Log.Verbose(PushHandlerBroadcastReceiver.TAG, "GCM Registered: " + registrationId);
    RegistrationID = registrationId;
                _generalContext = context;
    //createNotification("GcmService Registered...", "The device has been Registered, Tap to View!");
    Hub = new NotificationHub(Constants.NotificationHubPath, Constants.ConnectionString);
    try
    await Hub.UnregisterAllAsync(registrationId);
    catch (Exception ex)
    Debug.WriteLine(ex.Message);
    Debugger.Break();
                var tags = new List<string>() { main.userCountry, main.userCity, main.userLatitude, main.userLongitude, main.userPhoneMake,
    main.userPhoneModel, main.userPhoneName, main.userPhoneAndroidVersion, main.userAppVersion,main.userUID};
                Console.WriteLine("///////////HUB TAGS///////////////////");
                Console.WriteLine("Country:" + main.userCountry);
                Console.WriteLine("City:" + main.userCity);
                Console.WriteLine("Latitude:" + main.userLatitude);
                Console.WriteLine("Longitude:"+main.userLongitude);
                Console.WriteLine("Make:" + main.userPhoneMake);
                Console.WriteLine("Model:" + main.userPhoneModel);
                Console.WriteLine("Phone Name:" + main.userPhoneName);
                Console.WriteLine("Android Version:" + main.userPhoneAndroidVersion);
                Console.WriteLine("App version:" + main.userAppVersion);
                Console.WriteLine("User ID:" + main.userUID);
                Console.WriteLine("///////////END OF HUB TAGS///////////////////");
    try
    var hubRegistration = await Hub.RegisterNativeAsync(registrationId, tags);                
    Debug.WriteLine("RegistrationId:" + hubRegistration.RegistrationId);
    catch (Exception ex)
    Debug.WriteLine("#########$$$$Error:"+ex.Message); 
    protected override void OnUnRegistered (Context context, string registrationId)
    Log.Verbose(PushHandlerBroadcastReceiver.TAG, "GCM Unregistered: " + registrationId);
    protected override void OnMessage (Context context, Intent intent)
    Log.Info(PushHandlerBroadcastReceiver.TAG, "GCM Message Received!");
                Debug.WriteLine("/********* GCM Received ****************");
    var msg = new StringBuilder();
    if (intent != null && intent.Extras != null)
    foreach (var key in intent.Extras.KeySet())
    msg.AppendLine(key + "=" + intent.Extras.Get(key).ToString());
    //Store the message
    var prefs = GetSharedPreferences(context.PackageName, FileCreationMode.Private);
    var edit = prefs.Edit();
    edit.PutString("last_msg", msg.ToString());
    edit.Commit();
    string message = intent.Extras.GetString("message");
    if (!string.IsNullOrEmpty(message))
    createNotification("New todo item!", "Todo item: " + message);
    return;
    string msg2 = intent.Extras.GetString("msg");
                string notititle = intent.Extras.GetString("notititle");
    if (!string.IsNullOrEmpty(msg2))
    createNotification(notititle, msg2);
    return;
    protected override bool OnRecoverableError (Context context, string errorId)
    Log.Warn(PushHandlerBroadcastReceiver.TAG, "Recoverable Error: " + errorId);
    return base.OnRecoverableError (context, errorId);
    protected override void OnError (Context context, string errorId)
    Log.Error(PushHandlerBroadcastReceiver.TAG, "GCM Error: " + errorId);
    void createNotification(string title, string desc)
                NotificationCompat.Builder builder = new NotificationCompat.Builder(this);
                Intent uiIntent = new Intent();
                uiIntent.SetClass(this, typeof(dealsview));
                uiIntent.PutExtra("contentID", "todaydeals");
                uiIntent.PutExtra("contentName", "");
                uiIntent.PutExtra("isSale", "");
                const int pendingIntentId = 0;
                PendingIntent pendingIntent = PendingIntent.GetActivity(this, pendingIntentId, uiIntent, PendingIntentFlags.OneShot);
                var notification = builder.SetContentIntent(pendingIntent).SetSmallIcon(Resource.Drawable.Icon).SetAutoCancel(true).SetContentTitle(title).SetContentText(desc).Build();
                var notificationManager = GetSystemService(Context.NotificationService) as NotificationManager;
                notificationManager.Notify(1, notification);

    Hi Anpe83,
    TL;DR: The answer: Currently, no.
    As we speak, there is RMS Sharing app for all mobile platforms you mentioned. RMS Sharing App lets you open any file type that is a .pfile (generic file created by RMS Sharing App on your PC). But this is not a granular protection and policy enforcement
    - you can think about this way of protecting as a .zip file that has been password protected. So once you "unzip" the pfile with RMS Sharing App - you can do whatever you want (open in a native mobile app, forward, edit, copy, delete, etc) with that file. 
    Now, RMS Sharing App lets you protect pictures only on your mobile devices which I assume you will not be a feature used very often.
    On the other hand Microsoft has published Office suite (Word, Excel, etc) for iOS devices (iPhone and iPad).
    Currently (this is the key word here) those are NOT RMS enlighted yet, so f.e. no word document that is RMS protected can be opened with your Office suite for iOs. I also know that Microsoft is preparing an update for iOS devices in the nereast
    future to make Office suites (including OWA app) RMS-aware.
    PS. For the current time being there are some third parties that extend RMS capabilities to your mobile device platforms. You can also wait few months (unfortunately cannot promise that) for RMS enlighted Microsoft apps for iOS devices.
    PS2. If you haven't heard you can also set RMS Sharing App to work withi your ADRMS which is onprem (not only with RMS in the cloud). For those you need some cool toys: Windows 2012 R2, ADFS 3.0 and RMS Mobile Device Extension.
    Hope this answers your question.
    Did my post help you or make you laugh? Don't forget to click the Helpful vote :) If I answered your question please mark my post as an Answer.

  • E90 Problem sending text messages solved by partia...

    After a couple of months with my Nokia E90 it stopped sending faxes but kept doing everything else. My provider (O2) suggested checking the settings, the message centre, resetting (not clear) and upgrading the software from Nokia's site. None of these worked.
    As I am an O2 select customer, the phone was replaced (twice, thanks for trying O2), the second time with a brand new phone with the same problem. After restoring data from the last backup via pc for the second time, I still had the same problem. Was it the data? A phone virus?
    The problem with the texts was eventually resolved by restoring everything except the settings to the phone. I still do not know what caused in the first place, but it I now have all my data, and can change the settings by hand.
    Thanks to all at O2 for trying to help, I thought I would post this as when I tried to search for the problems online nothing came up.

    OK a couple of months on, it's happened again and this time the partial restore doesn't work. I can't think that I'm doing anything unusual with this phone, so why do I have this problem?

  • Problem sending text messages and imessages

    Hi,
    I have been having some problems with my iphone 5 when sending and receiving text messages and imessages. When i go to send a text or imessage it will take a long time for the message to try to send through, then it comes up with message failure. I have full reception and internet connection and the phone is runing on the lastest ios7.1.2, everything is working in that respect. Sometimes it will freeze my whole inbox and i end up having to turn my phone off and on again to unfreeze it. It has also started taking a long time to receive messages, i will get a message and it will say that it was received 30mins ago when its only just shown up on my phone. I am also having problems deleting messages, as it freezes whenever i try to delete them.
    Any suggestions on what to do?

    See if anything in this article helps: iOS: Troubleshooting Messages

  • SMTP CRM Problem Send Email Message no. XS855

    Hi Experts,
    I try to send E-mail messages to external recipients, but getting following error message:
    My configuration in the Tx. SCOT is the next
    But when i try send emails to other domain distinct at local or external, the mail don´t is send but if try send it locally these if arrive.
    Any idea?
    Thanks and greetings.
    Jerry Salazar

    Hi,
    Do you still have a problem with sending email?
    If so, run report RSSODIAD.
    The error may be due to an inconsistency between the communication interface and the address management.
    When the report does not exist in your system, find the source code below:
    *& Report  RSSODIAD                                                    *
    *& This report checks existence of the company address for direct      *
    *& addresses the profile points to.                                    *
    & If company address does not exist the pointer in the profile will be
    *& deleted. A new company address will be generated on demand.         *
    REPORT  RSSODIAD MESSAGE-ID SO.
    INCLUDE RSSOCONS.
    tables: sopr, adrc.
    data: cnt like sy-tabix.
    data  lp_text(50).
    Check authority
    AUTHORITY-CHECK OBJECT 'S_OC_ROLE'
                    ID     'OFFADMI'
                    FIELD  ADMINISTRATOR.
    IF SY-SUBRC NE OK.
      MESSAGE I015.
      LEAVE PROGRAM.
    ENDIF.
    select single * from sopr.
    if sy-subrc = 0
    and sopr-diraddress ne space.
      select count( * ) from adrc into cnt
        where addrnumber = sopr-diraddress.
      if sy-subrc ne 0.
        update sopr set diraddress = space.
        if sy-subrc = 0.
         write: / 'Inkonsistenzen erfolgreich repariert.'(001).
          lp_text = 'Inkonsistenzen erfolgreich repariert.'(001).
        endif.
      else.
       write: / 'Keine Inkonsistenz gefunden.'(002).
        lp_text = 'Keine Inkonsistenz gefunden.'(002).
      endif.
    else.
      lp_text = 'Keine Inkonsistenz gefunden.'(002).
    endif.
    if not lp_text is initial.
      message s672(so) with lp_text.
    endif.

  • Problem: sending JMS message in other oc4j

    I have two app server instances " OC4J (1) " and " OC4J (2) ". (snandalone 10.1.3.0.0 - Developer Preview 3 (build 041119.0001.2385)). The containers work on Windows2000 in different machines connected by the LAN.
    OC4J (1):
    I have J2ee of the application [app(1)] (ex. Servlet (1) or MDB (1)) in OC4J (1).
    OC4J (2):
    I have J2ee of the application [app(2)] deploy in OC4J (2) [included Servlet (2) or MDB (2)] . The Servlet (2), or MDB (2) - empty stub, for example code Servlet2:
    package mypackage;
    import javax.servlet. *;
    import javax.servlet.http. *;
    import java.io. PrintWriter;
    import java.io. IOException;
    public class Servlet1 extends HttpServlet
    private static final String CONTENT_TYPE = " text/html; charset=windows-1251 ";
    public void init (ServletConfig config) throws ServletException
    super.init (config);
    public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    response.setContentType (CONTENT_TYPE);
    PrintWriter out = response.getWriter ();
    out.println (" < html > ");
    out.println (" < head > < title > Servlet1 < /title > < /head > ");
    out.println (" < body > ");
    out.println (" < p > The servlet has received a GET. This is the reply. </p > ");
    out.println (" < /body > < /html > ");
    out.close ();
    I have configuration JMS (2) Queue in jms.xml on OC4J (2):
    < jms-server...... port = "9127"
    < queue name = " Demo Queue " location = "jms/demoQueue" > <description> A dummy queue </description> </queue>
    < queue-connection-factory name = "jms/QueueConnectionFactory" location = "jms/QueueConnectionFactory" / >
    </jms-server>
    It JMS (2) Queue already is present in an OC4J 10.1.3 version.
    My task:
    The J2ee application (1) (ex. Servlet (1)) on OC4J (1) it is necessary to receive connection with JMS (2) (on remote OC4J (2)).
    Variant 1: a code in Servlet (1):
    Hashtable env=new Hashtable (8);
    env.put (Context. PROVIDER_URL, " ormi: // host_OC4J (2)/app(2):23792 ");
    env.put (Context. INITIAL_CONTEXT_FACTORY, " oracle.j2ee.rmi. RMIInitialContextFactory ");
    env.put (Context. SECURITY_PRINCIPAL, "admin");
    env.put (Context. SECURITY_CREDENTIALS, "admin");
    env.put ("dedicated.connection", "true");
    InitialContext ic = new InitialContext (env);
    QueueConnectionFactory connectionFactory = (QueueConnectionFactory)
    ic.lookup ("jms/QueueConnectionFactory");
    QueueConnection connection = connectionFactory.createQueueConnection ();
    connection.start ();
    queueSession =
    connection.createQueueSession (false, Session. AUTO_ACKNOWLEDGE);
    Queue queue = (Queue) ic.lookup ("jms/demoQueue");
    ic.close ();
    while (true)
    // - send in JMS (2)
    Problem:
    The Servlet (1) [in oc4j (1)] established JMS connection with oc4j (2) and begins to pass the messages [in JMS Queue (2)].
    The Oc4j (2) creates some system thread for this JMS connection.
    If the oc4j (1) lose network connection (example- break the cable) then created in oc4j (2) system thread is not destroyed.
    Saw if this situation repeats some times that amount of the system thread in oc4j (2) is grow.
    To me has answered:
    In 10.1.3, the supported connection path is through the Resource Adapter (using OracleASjms.rar). The Resource Adapter offers many benefits, including the removal of stale connection threads. You have configured your application to bypass the Resource Adapter and use a direct path to OC4J JMS. You will need to create a resource mapping from your OC4J JMS admin objects (queues, topics, and connection factories) to new Resource Adapter admin objects. You can find the details of how to do this in the documentation for OC4J 10g (10.1.3) Developer Preview 3 on OTN.
    You can find the link to the documentation for OC4J DP3 here:
    http: // www.oracle.com/technology/tech/java/oc4 j/1013/index.html
    Then I have tried Variant 2:
    I need to receive connection with remote JMS (2) via generic JMS resource adapter (OracleAS Jms).
    In OC4J (2), it is necessary сonfigure the generic JMS resource adapter (OracleAS Jms) to work with Queue "jms/demoQueue".
    According to the documentation Oracle ® Containers for J2EE Services Guide10g Release 2 (10.1.3) and example
    http: // www.oracle.com/technology/tech/java/oc4 j/1013/howtos/how-to-jca-intro/doc/how- to-jca-intro.html anything it is not necessary to do.
    Note that if you use the generic JMS resource adapter in an OC4J 10.1.3 version that is newer than the OC4J 10.0.3 Developer Preview 2, you can skip. In OC4J 10.1.3 it is a step is already made.
    Code in Servlet (1):
    Hashtable env=new Hashtable (8);
    env.put (Context. PROVIDER_URL, " ormi: // host_OC4J (2) /app (2):23792 ");
    env.put (Context. INITIAL_CONTEXT_FACTORY, " oracle.j2ee.rmi. RMIInitialContextFactory ");
    env.put (Context. SECURITY_PRINCIPAL, "admin");
    env.put (Context. SECURITY_CREDENTIALS, "admin");
    env.put ("dedicated.connection", "true");
    InitialContext ic = new InitialContext (env);
    QueueConnectionFactory connectionFactory = (QueueConnectionFactory)
    ic.lookup (" java:comp/resource/oc4jjms/jms/QueueCon nectionFactory ");
    QueueConnection connection = connectionFactory.createQueueConnection ();
    connection.start ();
    queueSession =
    connection.createQueueSession (false, Session. AUTO_ACKNOWLEDGE);
    Queue queue = (Queue) ic.lookup (" java:comp/resource/oc4jjms/jms/demoQueu e ");
    ic.close ();
    while (true)
    // - send in JMS (2)
    This code works.
    But!!!!!!
    The problem - removal of stale connection threads in OC4J (2) instances has not solve. If the oc4j (1) lose network connection (example- break the cable) then created in oc4j (2) system thread is not destroyed.
    How to me to write a code of connection with JMS (2) in Servlet (1), that Resource Adapter (in OC4J (2)) the removal of stale connection threads ???

    I have two app server instances " OC4J (1) " and " OC4J (2) ". (snandalone 10.1.3.0.0 - Developer Preview 3 (build 041119.0001.2385)). The containers work on Windows2000 in different machines connected by the LAN.
    OC4J (1):
    I have J2ee of the application [app(1)] (ex. Servlet (1) or MDB (1)) in OC4J (1).
    OC4J (2):
    I have J2ee of the application [app(2)] deploy in OC4J (2) [included Servlet (2) or MDB (2)] . The Servlet (2), or MDB (2) - empty stub, for example code Servlet2:
    package mypackage;
    import javax.servlet. *;
    import javax.servlet.http. *;
    import java.io. PrintWriter;
    import java.io. IOException;
    public class Servlet1 extends HttpServlet
    private static final String CONTENT_TYPE = " text/html; charset=windows-1251 ";
    public void init (ServletConfig config) throws ServletException
    super.init (config);
    public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    response.setContentType (CONTENT_TYPE);
    PrintWriter out = response.getWriter ();
    out.println (" < html > ");
    out.println (" < head > < title > Servlet1 < /title > < /head > ");
    out.println (" < body > ");
    out.println (" < p > The servlet has received a GET. This is the reply. </p > ");
    out.println (" < /body > < /html > ");
    out.close ();
    I have configuration JMS (2) Queue in jms.xml on OC4J (2):
    < jms-server...... port = "9127"
    < queue name = " Demo Queue " location = "jms/demoQueue" > <description> A dummy queue </description> </queue>
    < queue-connection-factory name = "jms/QueueConnectionFactory" location = "jms/QueueConnectionFactory" / >
    </jms-server>
    It JMS (2) Queue already is present in an OC4J 10.1.3 version.
    My task:
    The J2ee application (1) (ex. Servlet (1)) on OC4J (1) it is necessary to receive connection with JMS (2) (on remote OC4J (2)).
    Variant 1: a code in Servlet (1):
    Hashtable env=new Hashtable (8);
    env.put (Context. PROVIDER_URL, " ormi: // host_OC4J (2)/app(2):23792 ");
    env.put (Context. INITIAL_CONTEXT_FACTORY, " oracle.j2ee.rmi. RMIInitialContextFactory ");
    env.put (Context. SECURITY_PRINCIPAL, "admin");
    env.put (Context. SECURITY_CREDENTIALS, "admin");
    env.put ("dedicated.connection", "true");
    InitialContext ic = new InitialContext (env);
    QueueConnectionFactory connectionFactory = (QueueConnectionFactory)
    ic.lookup ("jms/QueueConnectionFactory");
    QueueConnection connection = connectionFactory.createQueueConnection ();
    connection.start ();
    queueSession =
    connection.createQueueSession (false, Session. AUTO_ACKNOWLEDGE);
    Queue queue = (Queue) ic.lookup ("jms/demoQueue");
    ic.close ();
    while (true)
    // - send in JMS (2)
    Problem:
    The Servlet (1) [in oc4j (1)] established JMS connection with oc4j (2) and begins to pass the messages [in JMS Queue (2)].
    The Oc4j (2) creates some system thread for this JMS connection.
    If the oc4j (1) lose network connection (example- break the cable) then created in oc4j (2) system thread is not destroyed.
    Saw if this situation repeats some times that amount of the system thread in oc4j (2) is grow.
    To me has answered:
    In 10.1.3, the supported connection path is through the Resource Adapter (using OracleASjms.rar). The Resource Adapter offers many benefits, including the removal of stale connection threads. You have configured your application to bypass the Resource Adapter and use a direct path to OC4J JMS. You will need to create a resource mapping from your OC4J JMS admin objects (queues, topics, and connection factories) to new Resource Adapter admin objects. You can find the details of how to do this in the documentation for OC4J 10g (10.1.3) Developer Preview 3 on OTN.
    You can find the link to the documentation for OC4J DP3 here:
    http: // www.oracle.com/technology/tech/java/oc4 j/1013/index.html
    Then I have tried Variant 2:
    I need to receive connection with remote JMS (2) via generic JMS resource adapter (OracleAS Jms).
    In OC4J (2), it is necessary сonfigure the generic JMS resource adapter (OracleAS Jms) to work with Queue "jms/demoQueue".
    According to the documentation Oracle ® Containers for J2EE Services Guide10g Release 2 (10.1.3) and example
    http: // www.oracle.com/technology/tech/java/oc4 j/1013/howtos/how-to-jca-intro/doc/how- to-jca-intro.html anything it is not necessary to do.
    Note that if you use the generic JMS resource adapter in an OC4J 10.1.3 version that is newer than the OC4J 10.0.3 Developer Preview 2, you can skip. In OC4J 10.1.3 it is a step is already made.
    Code in Servlet (1):
    Hashtable env=new Hashtable (8);
    env.put (Context. PROVIDER_URL, " ormi: // host_OC4J (2) /app (2):23792 ");
    env.put (Context. INITIAL_CONTEXT_FACTORY, " oracle.j2ee.rmi. RMIInitialContextFactory ");
    env.put (Context. SECURITY_PRINCIPAL, "admin");
    env.put (Context. SECURITY_CREDENTIALS, "admin");
    env.put ("dedicated.connection", "true");
    InitialContext ic = new InitialContext (env);
    QueueConnectionFactory connectionFactory = (QueueConnectionFactory)
    ic.lookup (" java:comp/resource/oc4jjms/jms/QueueCon nectionFactory ");
    QueueConnection connection = connectionFactory.createQueueConnection ();
    connection.start ();
    queueSession =
    connection.createQueueSession (false, Session. AUTO_ACKNOWLEDGE);
    Queue queue = (Queue) ic.lookup (" java:comp/resource/oc4jjms/jms/demoQueu e ");
    ic.close ();
    while (true)
    // - send in JMS (2)
    This code works.
    But!!!!!!
    The problem - removal of stale connection threads in OC4J (2) instances has not solve. If the oc4j (1) lose network connection (example- break the cable) then created in oc4j (2) system thread is not destroyed.
    How to me to write a code of connection with JMS (2) in Servlet (1), that Resource Adapter (in OC4J (2)) the removal of stale connection threads ???

  • Problem sending jms message from Web page button (JSF 1.2)

    SJSAS PE 9.0 running on Windows
    Some of the code
    //imports:
    import javax.jms.ConnectionFactory;
    import javax.jms.Queue;
    import javax.jms.Session;
    import javax.jms.JMSException;
    import javax.annotation.Resource;
    //Injection
    @Resource(mappedName = "jms/ConnectionFactory")
    private ConnectionFactory connectionFactory;
    @Resource(mappedName = "jms/Queue")
    private Queue queue;
    //Button action code
    System.out.println("Trying to send message to EJB");
    javax.jms.Session jmssession = null;
    javax.jms.Connection connection = null;
    javax.jms.MessageProducer messageProducer = null;
    javax.jms.TextMessage message = null;
    final int NUM_MSGS = 1;
    try {           
    // This line is failing, java.lang.NullPointerException
    connection = connectionFactory.createConnection();
    jmssession = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
    messageProducer = jmssession.createProducer(queue);
    message = jmssession.createTextMessage();
    for (int i = 0; i < NUM_MSGS; i++) {
    message.setText("PV interface jobid " + (i + 1));
    message.setBooleanProperty("Gyldig", true); // Sample on how to use properties; can be used to collect necessary information
    System.out.println("Sending message: " + message.getText());
    messageProducer.send(message);
    } catch (JMSException e) {
    System.out.println("Exception occurred: " + e.toString());
    } finally {
    if (connection != null) {
    try {
    connection.close();
    } catch (JMSException e) {
    } // if
    } // finally
    ERROR MESSAGE
    Log Entry Detail
    Details
    Timestamp:
    May 8, 2007 15:24:26.608
    Log Level:
    SEVERE
    Logger:
    javax.enterprise.resource.webcontainer.jsf.application
    Name-Value Pairs:
    ThreadID=12;ThreadName=httpWorkerThread-8080-1;_RequestID=832ea681-575f-4126-9bcf-01dcdf010044;
    Record Number:
    2513
    Message ID:
    java.lang.NullPointerException javax.faces.el.EvaluationException
    Complete Message
    java.lang.NullPointerException
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:97)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:96)
         at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
         at javax.faces.component.UICommand.broadcast(UICommand.java:383)
         at com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:450)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:759)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: java.lang.NullPointerException
         at com.company.testinterfaceportal.JmsSending.<init>(JmsSending.java:37)
         at com.company.testinterfaceportal.MainApplicationBean.SendBeskjedNaa(MainApplicationBean.java:192)
         at com.company.testinterfaceportal.Status.button1_action(Status.java:709)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:151)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
         ... 34 more

    I know the code for the jms-sending is OK (I've
    tested in another application, copy of code), but i
    dont know why it isn't working in this particual
    Visual Web Project. It does seem like the injection
    isn't taking place here; and i have no clue to
    why.....where does your web.xml schema location points to ?
    Injection works only with JEE 5, which means that you have to point to the right version of the servlet spec, i.e version="2.5" and web-app_2_5.xsd.

  • Problem sending text messages to other iPhones

    When I send a text message to someone who has an iphone, my name doesnt pop up how they have it in their contacts, my apple ID pops up ([email protected]) in their text. It only happens when i send texts to people with iphones. it doesnt do this with any other phone. This started happening right after i installed ios 5.0.1. please help me figure this out!

    Make sure that iMessage is turned on and completely activated. Settings>Messages>iMessages>On

  • HT3529 having problems sending picture messages with iphone 3gs

    i cant send a picture message with my iphone 3gs, it worked alright before, i have tried resetting all the settings but still wont work

    contact your carrier as they handle MMS.

  • Problem sending picture messages

    I have a new Curve and i cant seem to send any pictures through mms.I there a trick this? or is there a feature that needs to be turned on?Any suggestions and what to do?
    Thanks

    Please do not double post the threads, i answer this in your first thread, thanks
    If I help you with any inquire, thank you for click kudos in my post.
    If your issue has been solved, please mark the post was solved.

  • I'm having a problem sending text messages to 5 digit numbers.

    i had a pop up on my phone asking if i wanted to send a msg to a number and i didn't realize it was a msg i had sent that apparently had taken longer to send. so i selected no to the box and now i can't send any 5 digit numbers texts.     how can i turn it back on!?

    Open the text app, then open setting, then press the menu button on bottom left of phone. A box will open asking if you want to restore the default settings.

Maybe you are looking for

  • Incoming payment linked to 2 projects

    Dear All, I have an issue with the incoming payment. For example the client is a project based industry. Now for customer A there at Project-1, Project-3, Project-6. Diffrent AR invoice is been raised to the customer and now the customer pays a chequ

  • IMac G4 won't boot, go into target mode, or verbose, or single-user.

    Hi, I am completely flummoxed. Yesterday I had my iMac G4 networked (via FireWire cable) to my MacBook Pro. I was copying about 14 GB of data from the MBP to the G4. The MBP indicated the copy operation was finished, but the G4 went into a spinning b

  • I cant update my flash player!!! ...stop at 33%

    1st I try to clear the cache but still retriving something then "try to reconnect" and it will always stop to 33% after that lost connection. 2nd i uninstall the program and clear the remaining files in the system 32 and install "again" the flash but

  • Retrieving files to upload to Ebay.

    When you name pictures in iPhoto at the iPhoto window, the name does not carry over to the jpeg in iPhoto library. If you want to insert a photo to say Ebay, you have to search the library folder for the day they were taken. There is no way of relati

  • Cost Assignment button in Infotype 0416

    Hi, I want to add a button similar to the 'Maintain Cost Assignment' found on the IT0014 screen in the application toolbar of IT0416. Also the button should perform similar functions. Can anyone know how to do it. Please do let me know. Thanks, Ashok