Use descriptive message from Exception

This piece of code
if (AliasesDB.validateAddress(personInfo, add).equals("invalid.format")) {
    log.info(LogHead.getLogInfo(request, personInfo) + add + "Add alias failed - invalid format.");
    actionErrors.add(ActionErrors.GLOBAL_MESSAGE, new ActionMessage("error.webapp.format"));
    saveErrors(request, actionErrors);
    return (mapping.findForward(INVALIDALIAS));
}calls AliasesDB.validateAddress() - a method that validates an email address and returns a descriptive String such as 'SUCCESS' or a descriptive error message such as 'invalid.format' depending on the results of the validation of the email string.
I think that this may be a clunky design, due to my incomplete understanding of how Java exceptions work. I have available to me another method that I could use to validate an email string.
public static boolean isNameInUse(String name, Connection c,  Ldap dir) throws  IOException, SQLException, NamingException
     PreparedStatement nameQ = c.prepareStatement("SELECT username FROM creservednames WHERE username=?");
     nameQ.setString(1,name);
     ResultSet rs = nameQ.executeQuery();
     if(rs.next() == true)
          rs.close();
          nameQ.close();
          return true;
     rs.close();
     nameQ.close();
     // search LDAP with base dc=company,dc=com
     // this includes current accounts in ou=people
     // and reserved identifiers in ou=reserve
     DirContext dc = dir.getContext();
     SearchControls sc = new SearchControls();
     sc.setSearchScope(SearchControls.SUBTREE_SCOPE);
     sc.setReturningAttributes(new String[] {"uid"});
     javax.naming.NamingEnumeration ne = dc.search("dc=company,dc=com","(|(uid="+name+")(altnName="+name+")(mailLocalAddress="+name+"@company.com))",sc);
     if(ne.hasMore()){
          return true;
     return false;
}My requirements are that I need to be able to do something based on the results of a validation operation that could have several different outcomes. I took a look at the javadoc for NamingException - is it possible to rewrite my code so that a custom string is returned when NamingException is thrown?

Thank you!
I was going to ask ...
the problem with the isNameInUse() method is it is boolean, but I'd like to allow for multiple error conditions so that I can redirect with an error message based on several types of error conditions. I was wondering if there was a way to use the NamingException class to generate multiple types of error message depending on the error condition.

Similar Messages

  • How to do search of business partner data, using a message from external sy

    Hi CRM Gems,
    please send the answer to the following question.
    1.How to do search of business partner data, using a message from external system. What FM’s, BAPI etc that can be used for this functionality?
    your answer will be valuble to me.
    Regards,
    Krishna..

    Hi krishna,
      Look at BAPI   BAPI_BUPA_SEARCH.
    Regards.
    Manuel

  • Does iMessage use text message from carrier

    Does imessage count against your text messages from your carrier?

    No...only against your data allowance if sent over 3G.

  • Getting Message from Exception

    Hi,
    I've got an RFC written in Abap that raises an exception with
    MESSAGE ... RAISING ...
    The exception name is always the same, however the message ids and numbers are different. A caller written in Abap can simply read the values out of SY-MSGID, SY-MSGNO, SY-MSGV1, ...
    My caller is written in Java using JCo. How can I read this values from the Java side?
    Best regards
    Günther

    I searched about this error, but no luck.
    First time when the message dequeues, the consumer can consume the message but throws the error in the log.
    But when I put the message back into queue from archive directory, the consumer doesnt consume message and throws me the same error.
    Does anyone faced this sort of issue.
    I checked my xsd throughly, and validated it externally. but didnt fine any error.
    if anyone knows, suggest me how to resolve this issue.
    thanks & regards
    Chandru

  • Windows Server 2012 Used: Error Message from Windows 7 PC: Remote session was disconnected because there are no remote desktop license servers available to provide a license. Please contact the server administrator.

    We are using Windows Server 2012 Standard installed in VMWare / Virtual machine and to access this we use vSphere client and Remote Desktop Connection / service was already enabled and was working fine with User PCs / laptops remote desktop into the server
    2012, until it gave an error message of: Remote session was disconnected because there are no remote desktop license servers available to provide a license.  Please contact the server administrator. whilst logging into the server. 
    We DON'T use Active Directory nor and we don't use domain and not looking to use it any-time soon. 
    I checked the RD Licensing Diagnoser and it says the grace period has expired and the licensing mode for the remote desktop session host server is not configured.  I have checked the Remote Desktop Gateway has been stopped and I tried to start it and it
    resumed to stop, here I assume its where the licensing part comes in to re-enabled this. 
    I have been trying to follow these articles online: http://ryanmangansitblog.com/2013/03/27/deploying-remote-desktop-gateway-rds-2012/ and http://www.concurrency.com/blog/rds8-add-a-licensing-server-2/#Install  the overview part that I cannot get into,
    because I think we have to be is AD DS for this which we don't.  Is there a way around this for non domain / just standalone set-up?  Is it a must / requirement we need to be in a domain in order for Remote Desktop Connection to work? 
    Also, we have a Windows Server 2012 RDS CALs - 10 (software and licence key), will the licence key work for the Windows 2012 Server Standard?  We do not want to install the other Server mentioned which comes with CAL / licence key as its time consuming
    to reinstall other programs.  I have installed  Server role service of Remote Desktop Licencing and automatically installed other associated services needed.  in the RD Licencing Manager, the Server had a red cross and I "Activate Server"
    where I followed: http://www.concurrency.com/blog/rds8-add-a-licensing-server-2/#Install in Install Licences section and I have used the licence key of CAL - 10 mentioned above; it stated I have successfully completed the install licences wizard and displayed:
    10 Windows Server 2012 - RDS Per User CAL installed, and in the RD Licensing Manager the server turned into a green tick and added the licence.  
    I then tested the Remote desktop connection from my PC and the same error message was there and checked the RD Licensing Diagnoser and the same error messages was there.  I haven't restart the services of Remote Gateway / the server itself; do I really
    need to reboot server?  
    Any advice / guidance would be very much appreciated and this is a urgent matter.  
    Thank you for your time.

    Hotfix Released here:
    http://support.microsoft.com/kb/2916846

  • Use a Message from a bundle in a JavaScript string?

    I cannot use an h:outputText in a JavaScript string, for example:
    function init()
    setTitle("<h:outputText value="#{msgs.title}"/>");
    How can I get a text string from messages.properties that I want to use in some client side JavaScript code?
    Thanks in advance,
    Sam

    Hi Sergey,
    I followed your methos but got the following error msg:
    root cause
    java.lang.IllegalStateException: Component javax.faces.component.UIViewRoot@7dcf98 not expected type. Expected: UIOutput. Perhaps you're missing a tag?
         com.sun.faces.taglib.html_basic.OutputTextTag.setProperties(OutputTextTag.java:90)
         javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:712)
         javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
         com.sun.faces.taglib.html_basic.OutputTextTag.doStartTag(OutputTextTag.java:155)
         org.apache.jsp.main_jsp._jspx_meth_h_outputText_0(main_jsp.java:185)
         org.apache.jsp.main_jsp._jspService(main_jsp.java:129)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.stufftolet.view.util.SecurityFilter.doFilter(SecurityFilter.java:76)
         de.mindmatters.faces.spring.RequestHandledFilter.doFilter(RequestHandledFilter.java:117)
    My javascript function is like below:
              <script type="text/javascript">
              <!--
              function init(){
                   setTitle("<h:outputText value='#{main_msg.browser_title}'/>");
              // -->
              </script>     
    and the declared resource bundle:
    <f:loadBundle basename="com.abc.view.bundle.main" var="main_msg"/>
    and I got main_en.properties and main_zh.properties.
    I call the init() function like:
    <body onLoad="init()">          
    please help, Thanks !
    regards,
    kmthien

  • NI Ethernet/IP as adaptor using explicit messaging from ControlLogix PLC

    I am successfully using a ControlLogix PLC with an implicit i/o connection to a NI9792 WSN Gateway. This I/O connection only communicates control and status of the program on the 9792, however there is a bunch of data (500 bytes) that is collected every few hours that I would like to get from the 9792 with an explicit message using a couple of assemblies. How do I need to set up the MSG instruction in Logix to get this data from the 9792? According to references it should be Service 0x0e, Class 0x04, Instance n, Attribute 0x03 but this gives me an error on the PLC MSG instruction. I have tried a variety of things to get this working but have had no luck, the implicit I/O connection works fine, but the explicit connection return an error code of 0x0005 'Class or instance not supported'. I have tried a couple different assemblies and get the same result. I can however change the MSG instruction to get the identity of the NI driver (Service 0x01, Class 0x01, Instance 1, Attribute 0x00) and this works fine so I know the MSG function is working with the correct path and destination element.
    In the first attachment, the bottom while loop contains the assembly I'm trying to access via the explicit MSG, the top loop is the implicit I/O connection which works fine.
    The second attachment is my ControlLogix MSG instruction configuration with the error shown.
    Thanks,
    Dave
    David Gaylord
    Controls Engineer
    Alcoa Howmet Research Center
    Attachments:
    screenshot.1.jpg ‏323 KB
    screenshot.3.jpg ‏95 KB

    Sorry about that, I think I had too many things going on here at the same time.  I agree that the Create Assembly Instances is working as an adaptor.  Perhaps my terminology is incorrect by calling the other a scanner, it was my impression that by giving it a IP address to communicate with that it was a scanner, as it was making the request for data or setting the data in a remote device.  Either way, I would prefer to keep the system as a simple adaptor so the setup of these systems is easier on our customers.
    I do see one VI in the example that i forgot about, the Remove Assembly Instance, I'll add that to my vi and see what happens, though I doubt that will cure my problem.  I've seen on the forums that there is a limit to the amount of about 500 bytes per assembly but is there maybe a limit to the amount of assemblies or total bytes used by the EIP toolkit? 
    David Gaylord
    Controls Engineer
    Alcoa Howmet Research Center

  • How to delete message from the fodler of  AOL account using Java mail

    Hello All,
    I am using Java MAil API in my application, i want to delete message from AOL account's folder,
    when i set the folder as "Recently Deleted" or "Trash" , i get an exception as "folder does not exist".
    when i tested , some times mail is moving into Recently Deleted folder, but not every time.
    this is happening in both the interface as AOl Interface or my application.
    when i use folder.close(true) after setting the flag of message as DELETED. it completely remove the message from the acount.
    but i want to let the message be remained in the Recently Deleted folder. what should i do.
    i dont want to remove the message completely from the account.I am using IMAP also.

    You'll need to figure out what the real name of the "Recently Deleted" folder is on the AOL IMAP server
    (assuming it's a real folder and not some sort of "virtual" folder), then copy the message into that folder.
    See the folderlist.java demo program as a way to explore the names of all the folders on the server.

  • Do you have an option for block all incoming message and request EXCEPTED messages from my contacts?

    Please help!!To whom it may concernDear Madam/Sir who works for Skype & Microsoft  Dear all who can really help,  Do you have an option for block all incoming message and request EXCEPTED messages from my contacts? or Do you have any solution to solve my problem from begin to now in present time?  Even though, I set the Privacy settings: - Allow calls from... "people in my Contact list only"- Automatically received video and share screens with "people in my Contact list only"- Allow IMs from "people in my Contact list only"  I still received unknow users sent me messages in every day, contact requests etc. And they're all clearly spammings and identity thefts.  I only wanna contact with my family and my freinds here with Skype via my Windows device and my mobile phone (w/Android OS).  And this is the only way to contact with them, because they could use Skype only in overseas.  BUT I don't need new friend from other unknow Skype member.   I keep blocked all unknow spammers in every day.  However in this morning, I feel so scared with Skype on my mobile, I looked at my mobile Skype, I saw it automatically showed me the list of all blocked members. BUT they were all unblocked (contact unblocked) by my mobile (Android version) Skype itself automatically, and listed them one by one on the screen, and about 30 seconds later, they all were disappeared suddenly.  I don't know what do to now, is it indicating my account was hacked?And how could I found out all those members again and block them again and delete all of them for ever?  I appreciate if you would improve the privacy protection. Thank you very very very much. 

    Hrm... that may be true and this may be a function of the phone email client that Apple just doesn't do.
    No, I can easily MANUALLY delete the messages. I would prefer if I didn't have to do it twice, tho. Once on the mail server and once on the phone.
    What I think the phone needs to do is, when it checks the POP, anything NOT there should be removed locally. I think you are correct on POP; the phone will poll the mx (mail exchanger) and the mx will pass off the messages to the phone. The phone then keeps ALL of that unitl you manually delete it.
    If, say, I remove a message from the mx, I would like the phone, when next polls, to see that that particular message isn't on the server anymore and remove it locally.
    Perhaps it's just me but if I delete the message on the mx itself, via my ISP's webmail interface, I really don't want to have to remove it again from my phone.
    thxs!
    cheers
    rOot

  • Error getting application exception message from client EJB 3

    Hi, somebody nkow what is the error?
    I have this simple session bean deploy in a jboss 4.0.5 GA application server
    My interface:
    package server.ejb.usuarios;
    import javax.ejb.Remote;
    @Remote
    public interface Prueba {
         public void getError() throws Exception;
    }My Session bean implementation:
    package server.ejb.usuarios;
    import javax.ejb.Stateless;
    import server.ejb.usuarios.Prueba;
    public @Stateless class PruebaBean implements Prueba {
         public void getError() throws Exception {
              throw new Exception("Mensaje de error");
    }Simple, i can deploy this bean on my application server, now i have this client code:
    package clientold;
    import java.util.Properties;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import server.ejb.usuarios.Prueba;
    public class MainPruebaError {
          * @param args
         public static void main(String[] args) {
              Context ctx;
              try {
                   ctx = getInitialContext();
                   Prueba pruebaSession = (Prueba) ctx.lookup("PruebaBean/remote");
                   pruebaSession.getError();
              } catch (NamingException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch(Exception e){
                   System.out.println("Get error from server: " + e.getMessage());
                   e.printStackTrace();
         private static Context getInitialContext() throws NamingException {
              Properties prop = new Properties();
              prop.setProperty("java.naming.factory.initial",
                        "org.jnp.interfaces.NamingContextFactory");
              prop.setProperty("java.naming.provider.url", "127.0.0.1:1099");
              prop.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
              return (new InitialContext(prop));
    }and my client catch the exception but i can�t get the correct exception message. I need pass custom message from my server to my clients and wrap it in a exception, but when i run this example got the next output:
    Get error from server: [Ljava.lang.StackTraceElement;
    java.lang.ClassNotFoundException: [Ljava.lang.StackTraceElement;
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50)
         at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
         at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1624)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
         at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
         at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
         at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
         at org.jboss.remoting.Client.invoke(Client.java:525)
         at org.jboss.remoting.Client.invoke(Client.java:488)
         at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:41)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:46)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:40)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:77)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:88)
         at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102)
         at $Proxy0.getError(Unknown Source)
         at clientold.MainPruebaError.main(MainPruebaError.java:21)What is the problem??, i must see on the output
    Get error from server: Mensaje de errorbut i have :
    Get error from server: [Ljava.lang.StackTraceElement;why???, is only a simple application exception and don,t work, somebody can help me??
    i have tried to use an interceptor class for get the exceptions and work, but without interceptor, dont work
    thanks

    I can resolve this problem change the JDK version used to develop my clint application and to run the jboss application server.
    Current, in JBoss 4.0.5, the JDK requirement is JDK 5, and i was using JDK 6.

  • Send a message from a list of emails in lightswitch 2013.4 HTML screen using ajax

    Hi There,
    any idea how to make a button to send a message from a list of emails in lightswitch 2013.4 HTML.
    my idea is to send message to all emails in the details picker (or the drop down menu or a choice list) tat is filled by SQL query (as a data source in lightswitch)
    i have read many articles,  most of them were written in PHP or VB !
    for example:
    http://www.devarticles.com/c/a/HTML/Sending-email-with-AJAX-building-a-small-application/1/
    http://stackoverflow.com/questions/22442074/how-to-send-email-to-a-list-of-addresses-from-lightswitch
    http://lightswitchhelpwebsite.com/Forum/tabid/63/aft/75/Default.aspx
    http://maxslabyak.com/c-sharp/using-jquery-to-send-email-with-web-services/
    http://www.paulspatterson.com/microsoft-lightswitch-sending-emails-from-the-client/
    http://www.quercussolutions.com/blog/index.php/microsoft-lightswitch-sending-emails/
    http://www.lightswitchspecial.com/2013/01/7-most-easiest-way-to-send-email-from.html
    as far as  i know, the HTML screens in lightswitch 2013 can be encoded with ajax only, not vb or C# any more!
    my project contains only HTML screens, no desktop screens. i know that i can do the VB programming in the tables actions, but i am looking to have this code in the Browse screen to give me more flexibility depending on my decision to
    send or not..
    help please :)  

    Hello Hasan,
    I do this using a generic handler(e.g. sendmail.ashx). In the ashx file i use this code:
    Imports System.Net.Mail
    Imports System.Web
    Imports System.Web.Services
    Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
    Dim str As String = "there was no error "
    Dim Recipient As String = Convert.ToString(context.Request.Params("pRecipient"))
    Dim strsub As String = Convert.ToString(context.Request.Params("pSubject"))
    Dim strmsg As String = Convert.ToString(context.Request.Params("pMessage"))
    Dim msg As New MailMessage
    Try
    ' Your mail address and display name.
    ' This what will appear on the From field.
    ' If you used another credentials to access
    ' the SMTP server, the mail message would be
    ' sent from the mail specified in the From
    ' field on behalf of the real sender.
    msg.From = New MailAddress("[email protected]", "Displayname")
    ' To addresses
    msg.To.Add("[email protected]")
    'msg.To.Add(New MailAddress("[email protected]", "Friend B"))
    ' You can specify CC and BCC addresses also
    ' Set to high priority
    msg.Priority = MailPriority.High
    msg.Subject = strsub
    ' You can specify a plain text or HTML contents
    msg.IsBodyHtml = True
    msg.Body = strmsg
    'msg.Body = _
    ' "Hello everybody,<br /><br />" & _
    ' "I found an interesting site called <a href=""http:'JustLikeAMagic.WordPress.com"">" & _
    ' "Just Like a Magic</a>. Be sure to visit it soon."
    ' In order for the mail client to interpret message
    ' body correctly, we mark the body as HTML
    ' because we set the body to HTML contents.
    ' Attaching some data
    ' msg.Attachments.Add(New Attachment("D:\Site.lnk"))
    ' Connecting to the server and configuring it
    Dim client As New SmtpClient()
    client.Host = "mail.gmx.com"
    client.Port = 25
    client.EnableSsl = True
    ' The server requires user's credentials
    ' not the default credentials
    client.UseDefaultCredentials = False
    ' Provide your credentials
    client.Credentials = New System.Net.NetworkCredential("yourcredentias", "f2f081639ad")
    client.DeliveryMethod = SmtpDeliveryMethod.Network
    ' Use SendAsync to send the message asynchronously
    client.Send(msg)
    Catch ex As Exception
    str = ex.Message
    Finally
    msg.Dispose()
    End Try
    context.Response.ContentType = "text/plain"
    context.Response.Write(str)
    End Sub
    When you create the ASHX then replace the ProcessRequest with the above function.
    In LS HTML Screen create the function for pressing a button an appen the following text:
    $.ajax({
    type: 'post',
    data: {
    pRecipient: Screen.yourdata,
    pSubject: Screen.yourdata,
    pMessage: Screen.yourdata,
    url: '../sendmail.ashx',
    success: function success(result) {
    alert(result);
    This is a way you can do that. In VB and out of your browse Screen.
    Hope this helps
    Thomas

  • Need help to retrieve the message from MQ using get operation

    Hi
    Used MQ adapter to Post a message to queue.
    And used Received activity in bpel to retrieve the message using MQ adapter from same queue(used get operation) , got an error message as timed
    out exception.
    Could some one assist in retrieving the message from MQ using get operation.
    Regards
    Raja

    Hi Raja,
    Is the process a empty bpel process which is used to get the message from the MQ?
    Regards
    Surya

  • Hi, I recently got the iPhone 6, a bit of mucking around with iMessage, over it to be honest. When i message from my macbook air my recipients receive my message from my email. HELP! it never used to do this. its so annoyingly frustrating.

    Hi, I recently got the iPhone 6, a bit of mucking around with iMessage, over it to be honest. When i message from my macbook air my recipients receive my message from my email. HELP! it never used to do this. its so annoyingly frustrating.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode.)

  • Message bridge exception when using bridging to MQ

              hi ... was wondering if anyone could suggest what might be causing this.
              I have a weblogic 8.1 queue bridged to a MQ5.3 queue. I was successfully able
              to put messages (using the container to handle the XA) into the weblogic Q and
              have the bridge successfully pass the msg onto the MQ Q. However I have started
              getting the following error msgs on random occasions.(and the bridge is not able
              to transfer the msgs across). Any suggestions as to what might be causing this?
              Please let me know if you need any additional info.
              thanks,
              Rajat
              <Nov 14, 2003 11:10:08 AM EST> <Info> <MessagingBridge> <BEA-200033> <Bridge "JeInputBridge"
              is obta
              ining connections to the two adapters.>
              <Nov 14, 2003 11:10:08 AM EST> <Info> <MessagingBridge> <BEA-200032> <Bridge "JeInputBridge"
              is conf
              igured to disallow degradation of its quality of service in cases where the configured
              quality of se
              rvice is unreachable.>
              <Nov 14, 2003 11:10:08 AM EST> <Info> <MessagingBridge> <BEA-200030> <Bridge "JeInputBridge"
              is conf
              igured to work in "Exactly-once" mode, and it is actually working in "Exactly-once"
              mode.>
              <Nov 14, 2003 11:10:08 AM EST> <Info> <MessagingBridge> <BEA-200028> <The bridge
              "JeInputBridge" has
              started transferring messages.>
              <Nov 14, 2003 11:10:08 AM EST> <Error> <MessagingBridge> <BEA-200015> <An error
              occurred in bridge "
              JeInputBridge" during the transfer of messages (javax.resource.ResourceException:
              Exception during e
              nListResource).>
              <Nov 14, 2003 11:10:08 AM EST> <Warning> <MessagingBridge> <BEA-200026> <Bridge
              "JeInputBridge" enco
              untered some problems in one of its adapters or underlying systems. It stopped
              transferring messages
              and will try to reconnect to the adapters shortly. (The exception caught was
              weblogic.jms.bridge.in
              ternal.MessagingBridgeException.)>
              <Nov 14, 2003 11:10:09 AM EST> <Info> <MessagingBridge> <BEA-200020> <Bridge "JeInputBridge"
              is stop
              ped.>
              

    I suggest that you contact BEA Customer Support so that somebody can spend more time working
              directly with you and solving the problem.
              Sorry for not being able to help you more.
              Dongbo
              Rajat wrote:
              > hi Dongbo ... i checked the MQ error logs and found the followign error:
              >
              > ----- amqccita.c : 2758 -------------------------------------------------------
              > 11/17/03 10:33:24 AM
              > AMQ9208: Error on receive from host AHEWVTBHALLRA1-1 (169.242.174.24).
              >
              > EXPLANATION:
              > An error occurred receiving data from AHEWVTBHALLRA1-1 (169.242.174.24) over
              > TCP/IP. This may be due to a communications failure.
              > ACTION:
              > The return code from the TCP/IP (read) call was 131 (X'83'). Record these
              > values and tell the systems administrator.
              >
              > I did a test and found out that the error above is logged when i shut down the
              > WLS and NOT when i get the message bridge exception. The MQ system Admin feels
              > that there is bug in WLS as shuttting down WLS should gracefully terminate the
              > MQ connection and not throw any exceptions on MQ. So looks like this another thing
              > i would need your help on. Any other suggestions on what to do regarding the message
              > bridge exception ?
              >
              > Thanks,
              > Rajat
              >
              > Dongbo Xiao <[email protected]> wrote:
              > >Hi Rajat,
              > >Did you look at the log or tracing on the MQSeries side as I suggested?
              > >If you don't see any suspicious error messages on the MQSeries side,
              > >I would suggest that
              > >you contact the BEA Customer Support.
              > >Thanks,
              > >Dongbo
              > >
              > >Rajat wrote:
              > >
              > >> hi Dongbo,
              > >>
              > >> The problem occurs regardless of whether i stop the bridge and restart
              > >it. As
              > >> mentioned earlier, this problem does not occur all the time. This morning
              > >i started
              > >> up WLS and the it was giving the error. I then stopped it and restarted
              > >WLS ...it
              > >> started working fine. I then stopped the bridge and restarted the bridge..and
              > >> the errror happened. I then stopped the WLS and restarted it ...and
              > >the problem
              > >> was still there.... i then stopped and restarted WLS and everything
              > >started working
              > >> fine. On one occasion a few days ago... the bridge was working fine..and
              > >then
              > >> all of a sudden started giving this error...and after a while it started
              > >working
              > >> again. Pls suggest next steps.
              > >>
              > >> Thanks,
              > >> Rajat
              > >>
              > >> Dongbo Xiao <[email protected]> wrote:
              > >> >
              > >> >Hi Rajat,
              > >> >
              > >> >I have looked at your log file after Tom bought to me attention of
              > >the
              > >> >problem you are
              > >> >having.
              > >> >The error message regarding the adapter at the startup
              > >> >(NoSuchMethodException) is not a problem. It is just an info message.
              > >> >I also noticed that the Input bridge had been stopped and restarted
              > >before
              > >> >the error
              > >> >occurred. Did you get the same error if you did not stop and restart
              > >> >the bridge?
              > >> >Looks like the connection was somehow closed on the MQSeries side
              > >after
              > >> >the bridge
              > >> >established a connection to it but before the bridge sent any message
              > >> >over.
              > >> >If the problem only occurs after you stop and restart the bridge,
              > >it
              > >> >more likely is
              > >> >a bug on the WLS side. Otherwise, I would suggest that you check
              > >the
              > >> >log (or tracing)
              > >> >of the queue manager on the MQSeries side and see if you can spot
              > >some
              > >> >problem on the
              > >> >MQSeries side.
              > >> >
              > >> >Thanks,
              > >> >Dongbo
              > >> >
              > >> >Rajat wrote:
              > >> >
              > >> >> hi Tom... i looked over the FAQs but did not spot anything that
              > >i was
              > >> >doing wrong.
              > >> >> I have attatched the stack trace with the JMS debugging. (Sorry
              > >for
              > >> >the large
              > >> >> file... but i spotted some failure msgs regarding the adapter at
              > >startup
              > >> >and i
              > >> >> would like you to take a look ..). I have two bridges setup...
              > >> >> - JeInputBridge - connects weblogic Q to MQ Q
              > >> >> - JeReplyBridge - connects MQ Q to weblogic Q
              > >> >>
              > >> >> I am using the eis.jms.WLSConnectionFactoryJNDIXA adapter and am
              > >using
              > >> >the QOS
              > >> >> = "Exactly-Once"
              > >> >>
              > >> >> The weird thing is that the JeReplyBridge has never shown this error....
              > >> >but the
              > >> >> JeInput bridge sometimes works fine... then starts giving the error.
              > >> >On occassions,
              > >> >> it will keep trying and eventually start working... and sometimes
              > >i
              > >> >have to restart
              > >> >> the weblogic server several times before it starts working.
              > >> >>
              > >> >> Any suggestions/advice will be much appreciated.
              > >> >> Thanks,
              > >> >> Rajat
              > >> >>
              > >> >> Tom Barnes <[email protected]> wrote:
              > >> >> >The information below is too generic to interpret. Were stack
              > >traces
              > >> >> >printed out? Anyhow, I suggest that your start with the
              > >> >> >7.0 messaging bridge FAQ (it also applies to 8.1) to get
              > >> >> >more information about how to diagnose bridge issues:
              > >> >> >
              > >> >> >http://edocs.bea.com/wls/docs70/faq/msgbridge.html
              > >> >> >
              > >> >> >Rajat wrote:
              > >> >> >
              > >> >> >> hi ... was wondering if anyone could suggest what might be causing
              > >> >> >this.
              > >> >> >>
              > >> >> >> I have a weblogic 8.1 queue bridged to a MQ5.3 queue. I was successfully
              > >> >> >able
              > >> >> >> to put messages (using the container to handle the XA) into the
              > >> >weblogic
              > >> >> >Q and
              > >> >> >> have the bridge successfully pass the msg onto the MQ Q. However
              > >> >I
              > >> >> >have started
              > >> >> >> getting the following error msgs on random occasions.(and the
              > >bridge
              > >> >> >is not able
              > >> >> >> to transfer the msgs across). Any suggestions as to what might
              > >be
              > >> >causing
              > >> >> >this?
              > >> >> >> Please let me know if you need any additional info.
              > >> >> >>
              > >> >> >> thanks,
              > >> >> >> Rajat
              > >> >> >>
              > >> >> >> <Nov 14, 2003 11:10:08 AM EST> <Info> <MessagingBridge> <BEA-200033>
              > >> >> ><Bridge "JeInputBridge"
              > >> >> >> is obta
              > >> >> >> ining connections to the two adapters.>
              > >> >> >> <Nov 14, 2003 11:10:08 AM EST> <Info> <MessagingBridge> <BEA-200032>
              > >> >> ><Bridge "JeInputBridge"
              > >> >> >> is conf
              > >> >> >> igured to disallow degradation of its quality of service in cases
              > >> >where
              > >> >> >the configured
              > >> >> >> quality of se
              > >> >> >> rvice is unreachable.>
              > >> >> >> <Nov 14, 2003 11:10:08 AM EST> <Info> <MessagingBridge> <BEA-200030>
              > >> >> ><Bridge "JeInputBridge"
              > >> >> >> is conf
              > >> >> >> igured to work in "Exactly-once" mode, and it is actually working
              > >> >in
              > >> >> >"Exactly-once"
              > >> >> >> mode.>
              > >> >> >> <Nov 14, 2003 11:10:08 AM EST> <Info> <MessagingBridge> <BEA-200028>
              > >> >> ><The bridge
              > >> >> >> "JeInputBridge" has
              > >> >> >> started transferring messages.>
              > >> >> >> <Nov 14, 2003 11:10:08 AM EST> <Error> <MessagingBridge> <BEA-200015>
              > >> >> ><An error
              > >> >> >> occurred in bridge "
              > >> >> >> JeInputBridge" during the transfer of messages (javax.resource.ResourceException:
              > >> >> >> Exception during e
              > >> >> >> nListResource).>
              > >> >> >> <Nov 14, 2003 11:10:08 AM EST> <Warning> <MessagingBridge> <BEA-200026>
              > >> >> ><Bridge
              > >> >> >> "JeInputBridge" enco
              > >> >> >> untered some problems in one of its adapters or underlying systems.
              > >> >> >It stopped
              > >> >> >> transferring messages
              > >> >> >> and will try to reconnect to the adapters shortly. (The exception
              > >> >> >caught was
              > >> >> >> weblogic.jms.bridge.in
              > >> >> >> ternal.MessagingBridgeException.)>
              > >> >> >> <Nov 14, 2003 11:10:09 AM EST> <Info> <MessagingBridge> <BEA-200020>
              > >> >> ><Bridge "JeInputBridge"
              > >> >> >> is stop
              > >> >> >> ped.>
              > >> >> >
              > >> >>
              > >> >> ------------------------------------------------------------------------
              > >> >> Name: myserver.log
              > >> >> myserver.log Type: Text Document (application/x-unknown-content-type-txtfile)
              > >> >> Encoding: base64
              > >> >
              > >
              

  • Why am I suddenly getting this message from a page I have been using for 6 months(Error code: sec_error_unknown_issuer) how do I get my page back?

    Why am I suddenly getting this message from a page I have been using for 6 months(Error code: sec_error_unknown_issuer) how do I get my page back?

    Did you reset Firefox recently?
    *https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems
    If that is the case then you may have lost intermediate certificates that were stored in the cert8.db file in the Firefox profile folder.
    Check out why the site is untrusted (see the Technical details) and if this is caused by a missing intermediate certificate then see if you can install this intermediate certificate from another source.
    Some firewalls monitor secure (https) connections and send their own certificate instead of the website's certificate.
    You can retrieve the certificate and check details like who issued certificates and expiration dates of certificates.
    *Click the link at the bottom of the error page: "I Understand the Risks"
    Let Firefox retrieve the certificate: "Add Exception" -> "Get Certificate".
    *Click the "View..." button and inspect the certificate and check who is the issuer.
    You can see more Details like intermediate certificates that are used in the Details pane.

Maybe you are looking for

  • Need solution for use of IS/AS in function/procedure.

    Hi All, What is the diffence in IS / AS using in procedure /function .. could you please tell ...

  • Do we need to deploy BPEL, when a XSL changes????

    Hi, I was just thinking if we need to deploy whole BPEL process when there is a change in the transformation. When there is a change in transformation, the xsl file assosciated with that transformation changes. I wanted to test this, so i created a s

  • IPod resetting automatically when loading album artwork

    I purchased a 120GB iPod Classic this last Christmas, and with one month of usage I'm getting loads of trouble. I've been recently syncing some songs, I have about 25GB of music, but from about two weeks my iPod is behaving erratically. I can't play

  • Purchased album missing from library

    I purchased an album yesterday on my PC and synched it to my iPod. Today I went to sync my phone and the album is gone. It is still appearing in my list as "Purchased" but I can't make it appear in my library and can't redownload it. I definitely did

  • Color management missing?

    Hi working with Bridge CS2. The only other Adobe program I have in the CS is InDesign...the rest are previous to the CS. Can you still manage the color though even if you have Photoshop 7.0 or Illustrator 10.0? I was wondering because my color manage