facebook

javax.naming.NameNotFoundException: Unable to resolve

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #309132 Reply

    Hi,
    When I execute the following

    Properties props = new Properties();
    props.put(“mail.transport.protocol”, “smtp”);
    props.put(“mail.smtp.host”, ARMConfigurator.getString(“MAIL_SMTP_HOST”));
    props.put(“mail.smtp.port”, ARMConfigurator.getString(“MAIL_SMTP_PORT”));
    props.put(“mail.smtp.auth”, ARMConfigurator.getString(“MAIL_SMTP_AUTH”));
    if (!ARM_ENVIRONMENT.trim().equalsIgnoreCase(“D”)) {
    props.put(“mail.smtp.user”, ARMConfigurator.getString(“MAIL_SMTP_USER”));
    props.put(“mail.smtp.password”, ARMConfigurator.getString(“MAIL_SMTP_PASSWORD”));
    }
    session = Session.getDefaultInstance(props, null);

    I get the Following Error

    2010-06-16 03:21:46,016 ERROR [com.carrier.arm.common.utils.SendMail] javax.naming.NameNotFoundException: Unable to resolve ‘armMailSession’ Resolved ; remaining name ‘armMailSession’
    com.carrier.arm.common.exceptions.ARMException: javax.naming.NameNotFoundException: Unable to resolve ‘armMailSession’ Resolved ; remaining name ‘armMailSession’
    at com.carrier.arm.common.utils.SendMail.getMailSession(SendMail.java:118)
    at com.carrier.arm.common.utils.SendMail.sendMail(SendMail.java:154)
    at com.carrier.arm.integration.dataaccess.accessrequest.AccessRequestDAO.addAccessRequest(AccessRequestDAO.java:7699)
    at com.carrier.arm.business.accessrequest.ejb.AccessRequestSBean.addAccessRequest(AccessRequestSBean.java:166)
    at com.carrier.arm.business.accessrequest.ejb.AccessRequestSBean_2jjz8w_EOImpl.addAccessRequest(AccessRequestSBean_2jjz8w_EOImpl.java:802)
    at com.carrier.arm.business.sessionfacade.AccessRequestSFacade.addAccessRequest(AccessRequestSFacade.java:200)
    at com.carrier.arm.business.sessionfacade.AccessRequestSFacade_gyq4g4_EOImpl.addAccessRequest(AccessRequestSFacade_gyq4g4_EOImpl.java:802)
    at com.carrier.arm.client.bd.AccessRequestBD.addAccessRequest(AccessRequestBD.java:152)
    ……

    #309133 Reply

    Test

    #309323 Reply

    support-joy
    Member

    Pravin.sonawane

    Investigate

    2010-06-16 03:21:46,016 ERROR [com.carrier.arm.common.utils.SendMail] javax.naming.NameNotFoundException: Unable to resolve ‘armMailSession’ Resolved ; remaining name ‘armMailSession’
    com.carrier.arm.common.exceptions.ARMException: javax.naming.NameNotFoundException: Unable to resolve ‘armMailSession’ Resolved ; remaining name ‘armMailSession’
    at com.carrier.arm.common.utils.SendMail.getMailSession(SendMail.java:118)
    at com.carrier.arm.common.utils.SendMail.sendMail(SendMail.java:154)
    at com.carrier.arm.integration.dataaccess.accessrequest.AccessRequestDAO.addAccessRequest(AccessRequestDAO.java:7699)
    at com.carrier.arm.business.accessrequest.ejb.AccessRequestSBean.addAccessRequest(AccessRequestSBean.java:166)
    at com.carrier.arm.business.accessrequest.ejb.AccessRequestSBean_2jjz8w_EOImpl.addAccessRequest(AccessRequestSBean_2jjz8w_EOImpl.java:802)
    at com.carrier.arm.business.sessionfacade.AccessRequestSFacade.addAccessRequest(AccessRequestSFacade.java:200)
    at com.carrier.arm.business.sessionfacade.AccessRequestSFacade_gyq4g4_EOImpl.addAccessRequest(AccessRequestSFacade_gyq4g4_EOImpl.java:802)
    at com.carrier.arm.client.bd.AccessRequestBD.addAccessRequest(AccessRequestBD.java:152)

    You are using a third party mailing client. Probably you haven’t set the parameters right. Also try to run the app in debug mode. Add watch where necessary. This will help you pin-point to the root cause.

    Best.

    #313164 Reply

    alicesmile
    Member

    Hi,

    How do I uninstall Eclipse 8.5? It is not shown in add/remove programs, and C:\Program Files\Genuitec\Pulse Explorer\pulse-explorer.exe gives me the options to register, anonymous and login only. This is a fully registered product.

    This is on windows xp.

    #313168 Reply

    support-joy
    Member

    alicesmile,

    Can you answer below queries?
    1. How did you install ME? Meaning all-in-one installer / pulse / archived update site on top of eclipse classic?
    2. Can you copy and paste your installation details here – open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details.
    3. Can you check if you have ME 8.5 listed under Start > Programs > Pulse > MyEclipse 8.5 or Start > Programs > MyEclipse > MyEclipse 8.5. If the un-install option is listed here, please click on the same.
    4.

    C:\Program Files\Genuitec\Pulse Explorer\pulse-explorer.exe gives me the options to register, anonymous and login only. This is a fully registered product.

    If your ME profile is registered on pulse. Please login to pulse. Select “Eclipse – Galileo” realm from top left hand corner dropdown and select “MyEclipse 8.5” from “My Profiles”. Right click on the same and click on [remove].
    5. Alternately you can manually remove the relevant software. Here is what you need to do –
    a. Make sure the MyEclipse Install Directory has been completely removed. Pulse Install Directory, on XP it’s under C:\Program Files in \Pulse or \Genuitec, and on Vista it’s under <USER.HOME>\AppData\Local and then under \Pulse or \Genuitec again
    b. Then make sure the pulse2.locator file under <USER.HOME> is erased as well

    Let me know how this works for you.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: javax.naming.NameNotFoundException: Unable to resolve

You must be logged in to post in the forum log in