How to solve this exception

Exception in thread "main" javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
that is in the SUN APPLICATION SERVER 8

Refer to the Sun App Server documentation.
http://docs.sun.com/source/819-0079/dgacc.htmlIt lists down the steps you need to follow.

Similar Messages

  • When using nant i was told "excepted point(.) and coma(;)".how to solve this error

    hi
      i am using nant and for my code 
                var symmetricKey = new RijndaelManaged() { Mode = CipherMode.CBC, Padding = PaddingMode.Zeros };
              it is ok when i compile it  by visual studio,but when i use nant i was told"excepted point(.) and  coma(;)".
             how to solve this error?
          any help would be appreciated
    best regards
    martin

    anyway now i realized that since i used .Net Frame work 2.0, and i should use like this
     RijndaelManaged symmetricKey = newRijndaelManaged();
                symmetricKey.Mode = CipherMode.CBC;
                symmetricKey.Padding = PaddingMode.Zeros; and i cannot use "var" i've solved this problem and it could be helpful if some one who have the same problem

  • How to Solve This in Win8: "Photoshop CS6 has stopped working ... ..."

    Anyone know how to solve this problem?? Please help. It's given me a lot of headache and I need it fixed as soon as possible.
    I have re-installed. And system restore. Everything is up-to-date. And I cannot find the problem to solve it.
    Computer Details:
    Tech Support Guy System Info Utility version 1.0.0.2
    OS Version: Microsoft Windows 8 Pro, 64 bit
    Processor: Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz, Intel64 Family 6 Model 26 Stepping 5
    Processor Count: 8
    RAM: 6142 Mb
    Graphics Card: NVIDIA GeForce GT 240, 1024 Mb
    Hard Drives: C: Total - 122001 MB, Free - 14560 MB; D: Total - 953866 MB, Free - 176631 MB; F: Total - 296441 MB, Free - 8907 MB;
    Motherboard: Gigabyte Technology Co., Ltd., X58A-UD3R
    Antivirus: Windows Defender, Disabled
    Other Details:
    Faulting application name: Photoshop.exe, version: 13.0.0.0, time stamp: 0x4f61c045
    Faulting module name: SelectivePalette.8li, version: 2.1.4.131, time stamp: 0x529e6913
    Exception code: 0xc0000005
    Fault offset: 0x0000000000009582
    Faulting process id: 0x3ac
    Faulting application start time: 0x01cf08a96051f5a5
    Faulting application path: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Photoshop.exe
    Faulting module path: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\Google\Selective Tool\SelectivePalette.8li
    Report Id: a1a5ffce-749c-11e3-bf7b-1c6f65365a00
    Faulting package full name:

    Your Nik/Google SelectivePalette plugin crashed.
    Disable the Nik/Google plugins for now, and contact Nik/Google for updates/bug fixes.

  • How to solve this problem javax.mail.AuthenticationFailedException

    i was used in this progrm my labtop means working correctly but instead of labtop i am using the desktop means following error is occuered can any one tell to me how to solve this problem.The erroe is **javax.mail.AuthenticationFailedException**
    The coding is as followes
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    public class Main
    String d_email = "[email protected]",
    d_password = "inst9",
    d_host = "smtp.gmail.com",
    d_port = "465",
    m_to = "[email protected]",
    m_subject = "Testing",
    m_text = "Hey, this is the testing email.";
    public Main()
    Properties props = new Properties();
    props.put("mail.smtp.user", d_email);
    props.put("mail.smtp.host", d_host);
    props.put("mail.smtp.port", d_port);
    props.put("mail.smtp.starttls.enable","true");
    props.put("mail.smtp.auth", "true");
    //props.put("mail.smtp.debug", "true");
    props.put("mail.smtp.socketFactory.port", d_port);
    props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
    props.put("mail.smtp.socketFactory.fallback", "false");
    SecurityManager security = System.getSecurityManager();
    try
    Authenticator auth = new SMTPAuthenticator();
    Session session = Session.getInstance(props, auth);
    //session.setDebug(true);
    MimeMessage msg = new MimeMessage(session);
    msg.setText(m_text);
    msg.setSubject(m_subject);
    msg.setFrom(new InternetAddress(d_email));
    msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
    Transport.send(msg);
    catch (Exception mex)
    mex.printStackTrace();
    public static void main(String[] args)
    Main blah = new Main();
    private class SMTPAuthenticator extends javax.mail.Authenticator
    public PasswordAuthentication getPasswordAuthentication()
    return new PasswordAuthentication(d_email, d_password);
    }

    yes that not a my password ...but the following erroer is occured ...
    run-main:
    javax.mail.AuthenticationFailedException
    at javax.mail.Service.connect(Service.java:319)
    at javax.mail.Service.connect(Service.java:169)
    at javax.mail.Service.connect(Service.java:118)
    at javax.mail.Transport.send0(Transport.java:188)
    at javax.mail.Transport.send(Transport.java:118)
    at Main.<init>(Main.java:41)
    at Main.main(Main.java:51)
    BUILD SUCCESSFUL (total time: 3 seconds)
    I am using the netbeand 5.5

  • How to solve this Data Configuration issue with error message ORA: 01017

    Bad public user name or password. ORA-01017: invalid username/password; logon denied
    How to solve this?

    I'm using JCreator jdk1.5.0_7.But i don't know how
    to use command prompt. When i execute my program, the
    command prompt showed
    Exception in thread "main"
    java.lang.NoClassDefFoundError: StringManipulation
    Press any key to continue...So you managed to compile your code since now you are running it. This error means that the class StringManipulation was not found. Usually an indicator that your classpath is incorrect.
    What did you do to generate this error? That is, how did you execute your program?
    [edit] if you did not compile your code then there is no class file StringManipulation.class and this error will appear.

  • How to solve this &(amberstand of lessthanand &(amberstand of greaterthan

    hi,
    i have below block,
    DECLARE
    doc dbms_xmldom.DOMDocument;
    node dbms_xmldom.DOMNode;
    elem dbms_xmldom.DOMElement;
    cur_node dbms_xmldom.DOMNode;
    root_elem_data dbms_xmldom.DOMElement;
    root_elem_tab dbms_xmldom.DOMElement;
    root_node_data dbms_xmldom.DOMNode;
    mode_elmn dbms_xmldom.DOMElement;
    mode_node dbms_xmldom.DOMNode;
    mode_text dbms_xmldom.DOMText;
    V_CLOB CLOB;
    v_doc CLOB;
    v_EMP CLOB;
    v_output_filename VARCHAR2(300) := 'SPOOL_DIR/'||'EMP_XML_FILE.xml';
    BEGIN
    doc := dbms_xmldom.newDOMDocument;
    node := dbms_xmldom.makeNode(doc);
    dbms_xmldom.setversion(doc, '1.0');
    dbms_xmldom.setCharset(doc, 'UTF8');
    elem := dbms_xmldom.createElement(doc, 'PartnerInfo');
    dbms_xmldom.setAttribute(elem,'xmlns','EMP');
    cur_node := dbms_xmldom.appendChild(node, dbms_xmldom.makeNode(elem));
    mode_elmn := dbms_xmldom.createElement(doc, 'EMPLOYEE');
    mode_node := dbms_xmldom.appendChild(cur_node,dbms_xmldom.makeNode(mode_elmn));
    BEGIN
    SELECT value(e).getClobVal() INTO V_CLOB
    FROM TABLE(XMLSequence(Cursor(SELECT * FROM EMP1 where EMPNO=7501))) e;
    Dbms_Output.Put_Line('THE OUTPUT IS::'||V_CLOB);
    mode_text := dbms_xmldom.createTextNode(doc,V_CLOB);
    mode_node := dbms_xmldom.appendChild(mode_node,dbms_xmldom.makeNode(mode_text));
    EXCEPTION
    WHEN OTHERS THEN
    Dbms_Output.Put_Line('Error in SELECT stmt(UC_PARTNER_MS):::'||'error::'||SQLERRM);
    END;
    dbms_lob.createtemporary(v_doc, true);
    dbms_xmldom.writeToClob(doc,v_doc,'UTF8');
    v_EMP:= v_doc;
    dbms_xmldom.writeToFile(DOC,v_output_filename,'UTF8');
    dbms_xmldom.freeDocument(doc);
    --Dbms_Output.Put_Line('THE OUTPUT IS::'||V_EMP);
    EXCEPTION
    WHEN OTHERS THEN
    Dbms_Output.Put_Line('Error in SELECT stmt(UC_PARTNER_MS):::'||'error::'||SQLERRM);
    END;
    The xml file is 'EMP_XML_FILE.xml'
    &lt;empno&gt;U++kYmcVuGchxbh+++++++++++++++1+&lt;/empno&gt;
    &lt;empname&gt;J&lt;/empname&gt;
    how to solve this <(amberstand of lessthan and >(amberstand of lgreaterthan) instead of > and <
    i am trying to write xml in spoo_dir directory.when i am open in notepad or any other editor its showing amberstand of lt and amberstand of gt instead of > and >.But its open in internet explorer it showing correctly.i don't know whats problem in xml file.i am using below mentioned statement.
    v_emp is clob with out parameter
    dbms_lob.createtemporary(v_doc, true);
    dbms_xmldom.writeToClob(doc,v_doc,'UTF8');
    v_emp:= v_doc;
    query using
    SELECT value(e).getClobVal() INTO V_CLOB
    FROM TABLE(XMLSequence(Cursor(SELECT * FROM EMP1 where EMPNO=7501))) e;
    can u please give solution for this problem.its urgent please.
    by
    siva

    Continued discussion previously started at {message:id=3961457}

  • I recieve SMS and i hear established melody and I do't hear the person on all over SMS. How to solve this problem?

    Problem with an incoming message. For example, during my conversation the second line receives a call, I hear the sound in dynamics such as "piiiip piiiip," but when in this situation I recieve SMS and i hear established melody and I do't hear the person on all over SMS. How to solve this problem? Perhaps someone tell me? save in advance

    Not Charge
    - See:     
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • I'm trying to connect my 30" Cinema Display to my new Mac Pro along with a new Apple 23'" monitor.  The new Apple monitor is fine.  On the cinema monitor everything is blown up pretty large.  Any ideas on how to solve this?

    I'm trying to connect my 30" Cinema Display to my new Mac Pro along with a new Apple 23'" monitor.  The new Apple monitor is fine.  On the cinema monitor everything is blown up pretty large.  Any ideas on how to solve this?

    The 30" display needs a DUAL-LINK adapter.
    <http://store.apple.com/us/product/MB571Z/A/mini-displayport-to-dual-link-dvi-ada pter>

  • Hi, when ever I'm using 3G, on my Iphone4 sim stops working and Network is lost, this started after I updated my phone with  6.0.1(10A523)version. Please help how to solve this problem.

    Hi, when ever I'm using 3G, on my Iphone4 sim stops working and network is lost, this started after I updated my phone with  6.0.1(10A523)version. Please help how to solve this problem. Thanks.

    Photos/videos in the Camera Roll are not synced. Photos/videos in the Camera Roll are not touched with the iTunes sync process. Photos/videos in the Camera Roll can be imported by your computer which is not handled by iTunes. Most importing software includes an option to delete the photos/videos from the Camera Roll after the import process is complete. If is my understanding that some Windows import software supports importing photos from the Camera Roll, but not videos. Regardless, the import software should not delete the photos/videos from the Camera Roll unless you set the app to do so.
    Photos/videos in the Camera Roll are included with your iPhone's backup. If you synced your iPhone with iTunes before the videos on the Camera Roll went missing and you haven't synced your iPhone with iTunes since they went missing, you can try restoring the iPhone with iTunes from the iPhone's backup. Don't sync the iPhone with iTunes again and decline the prompt to update the iPhone's backup after selecting Restore.

  • I Try to open an Indesign document. The message: it is made in a newer version. Go tot CC: Help/Give your Adobe id/Start Indesign again and try to open the document. This doesn't work. How to solve this problem?

    I Try to open an Indesign document. The message: it is made in a newer version. Go tot CC: Help/Give your Adobe id/Start Indesign again and try to open the document. This doesn’t work. How to solve this problem?

    What version are you running?
    What version was it made with?

  • After installing Lion os I cannot see my desktop 1 nor can I see my open windows when I go to finder, I just get the grey/black background that comes with mission control. Any ideas as to how to solve this problem?

    The top picture is what my Desktop 1 looks like. And the picture below is what my desktop looks like after clicking mission control. Ive tried changing wallpapers, changing preferences, etc. and I still can't figure out what's wrong. As you can see, on mission control you can't see any of the open windows, or anything that I have placed on my desktop. Any ideas as to how to solve this issue?

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

  • Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Go to Settings/General/Reset - Erase all content and settings. the connecto to iTunes and restore as a New phone. Do not restore any backup. If the problem persists you have a hardware problem. Take it to Apple for exchange.
    This assumes that the phone is not hacked or jailbroken. If it is you will have to go elsewhere on the internet for help.

  • TS1702 Does any one know how to solve this iPod touch error: I am tryin to pay for an app but I can because it says that I don't have enough space when I actually have more than enough space to download it so please help me

    Does anyone know how to solve this problem: I a trying to download a paid app but I cannot because the AppStore says that info not have enough space to download it even though I have more than enough space so if any of you know what can solve this problem then please let me know

    The app is compressed and needs swap space to install. As a rule of thumb you need 3 times the listed size of the app available, or in your case 4.6GB. You only have 1.7GB.

  • Iphone 4 is hiting in ios 5.1.1. any one know how to solve this problem??

    iphone 4 is hiting in ios 5.1.1. any one know how to solve this problem??

    This sounds like a hardware problem and should be taken to Apple if the heating / "hiting" becomes disturbing to you. If you feel that your iPhone has a heating / "hiting" problem and needs to be repaired, please contact Apple Support and they can further assist you in having it inspected, repaired, or even replaced. In the past, the overheating of Apple products has been known to cause harmful problems to a few particular users. Please evaluate your situation and take further action if you feel necessary.
    http://www.apple.com/support/contact/

  • Transaction failed for unknown reason (100) Unable to complete backup at this time. Does anyone know how to solve this issue?

    Transaction failed for unknown reason (100) Unable to complete backup at this time. Does anyone know how to solve this issue?
    Thanks.

    The system is set up to backup files to the iCloud at the end of the day. This has ot happen for sometime now and the mesaage I get is the back up error.

Maybe you are looking for

  • Attaching files to a PDF form and Submission.

    I'm pretty new to LC (hence the sn) and running into a little problem.  Currently, I have created a form that allows the attachment of files.  Everything is fine and dandy as I am able to ADD, OPEN and DELETE any file as I'm filling out the form.  Ho

  • Question re Fusion Middleware Repository

    Greetings, Hopefully this is the proper place to post this question and hopefully I can articulate it properly. I am new to Fusion Middleware and I am at the point of using the repository creation utility to manage the repository. This is a new insta

  • Can't backup library

    When I go to backup my itunes library, it starts off working fine, I put in my DVD-R or DVD+R and it tells me I need more than one disc and tells me how many discs I need. It then proceeds to write to the first DVD. The problem occurs when the first

  • Convert data to MSWORD, MSEXCEL or PDF

    Hi, I have a requirement of sending SAP std report output as an attachment via email. I am thinking of using SUBMIT TO MEMORY or SPOOL and then get the data from there and convert and send as file attachment using SO_DOCUMENT_SEND_API1 or class CL_BC

  • Purchase Order Download ALE Config for automation

    We need to automate the current PO idoc creation message download whenever a PO is created , changed or deleted. We have set up an output type Z005 for it and manual creation of idocs from the Purchase Order works fine. We need to automate it though.