GUI initialization problem !!

hello,
I am using netbeans 5.5. for my application, when I start it, I am checking for password from a file (passfile.txt) stored in my application program folder ( emsFrameProject ). now I am creating jar file for my application and when I execute it it can't look the password file ( passfile.txt). it go to else part of my if loop.
This proble comes only when create jar file. when i run project from netbean IDE ,its working fine.
I am putting lib folder, my other application related folder inside "dist" folder and also put "passfile.txt" inside the dist folder. But wnen I execute jar file i can't strt.
my code for this check is,
File InputFileCheck = new File("passfile.txt");
        if(InputFileCheck.exists()==false)
            javax.swing.JOptionPane.showMessageDialog(mainFrame, " main appl installation is corrupted and cannot proceed. Please reinstall the appl.");       
            System.exit(0);
        else
        initComponents();
        nmsPanel.setVisible ();
         }whats my poblem for this jar file.
any one please help me.

hello forum administrators,
sorry I am mistakenly post this question two times. sorry for this inconveniance .

Similar Messages

  • GUI related problem in solaris 8 02/04

    Hello all,
    I am facing GUI related problem in the software running on solaris when I upgraded from solaris 8 02/02 to 8 02/04.
    The GUI which was working fine on 02/02 was giving some menu selection problem in 02/04. In GUI applications i was unable to select items after double clicking it in solaris 8 02/04 while it was working fine in solaris 8 02/02.
    Are there any O.S. related problem?
    Thanks and regards,
    Ankit

    Wolfgang073 wrote:
    Hi guys and ladys!
    I added the LD_LIBRARY_PATH, Why are you doing that. It's probably a bad idea.
    but the Openwindows not run OK (e.g. start cmdtool window without csh % prompt etc.).That's very possible. Don't make global changes to LD_LIBRARY_PATH (by putting in your login files for example). Instead if you need it to run a particular program, make a wrapper that sets the variable and then calls the program. That will limit the scope of those changes.
    vi .login
    # Erasing LD_LIBRARY_PATH
    setenv LD_LIBRARY_PATH
    # Important Paths set
    setenv LD_LIBRARY_PATH     /usr/ucblib:$LD_LIBRARY_PATHDon't do that.
    Darren

  • GenericServiceFactory initialization problem when trying to load Web servic

    Hi,
    I am making a Guided procedure that calls a webservice. I have created a new Destination Template and was able to load the webservice definition successfully, but when I test the callable object I created for that same webservice y get the error:
    GenericServiceFactory initialization problem when trying to load Web service model for WSDL.
    Somehow I think there is something wrong with the user authentication. The Destination template has a user and password but somehow I think the callable object test is not using this information at all.
    Can anyone help ?
    Thanks in advance

    Hi Hans,
    Have you verified if you can call any external web service calls from your J2EE engine?  Go into the SOA Management / Global settings (if you are on CE - if you're on 7.0 it's in manage WS desintations).
    Look at your proxy settings and set them like your web browser that enables external calls.  For example, in the SAP network I set my global proxy settings on my local J2EE engine to be:
    Proxy host:  proxy
    Proxy port: 8080
    Exclude list:  *.sap.corp
    Does that make sense - have you verified if your settings are correct for your company?
    Regards
    Ginger

  • Unavailable or Initialization problem when viewing the servlets from admin console

    Hi
    I am on Weblogic 5.1.0. I connect to myServer which comes configured by
    default. When i see the
    registered servlets inside HTTP, on the console i see Unavailable or
    Initialization problem on every
    servlet that i select. Also when i try to load the servlet, it gives me the
    following error :--
    Property Change error for property "Load". Unable to load servlet.
    This is happening for all the servlets which are inside the General
    application inside HTTP tab.
    But when i executing the servlet examples that comes along with Weblogic,
    those examples are
    working fine.
    Also, i started my console and started the "myServer" instance and attached
    it to the console. But due to
    some reason my console hung. So i closed down the console window by pressing
    the browser close button.
    The weblogic server instance of "myServer" was still running. Then i started
    the console again and attached the
    running weblogic server instance of "myServer" to the console and went to
    servlets. This time all the servlets
    show "Previous Class Load Problem".
    Why all this is happening. Has this any where documented how to use the
    Weblogic console and Weblogic server
    instances. I have gone thru the Installation documentation of Weblogic but
    nothing like this has been mentioned over
    there.
    Thanks for ur help
    Niranjan

    Hi,
    Try to find which object causing high cpu usage following Oracle Doc ID 779349.1.
    by looking into the files then we can find what would be exact cause of this issue.
    Regards,
    Kalyan

  • Why "Export Error Codec Initialization Problem!" when I export using Adobe Media Encorder for FLV?

    I get "Export Error - Codec Initialization Problem!" when I try to export a project using Adobe Media Encoder as a Macromeida Flash Video.  Premiere Pro 2.0 goes through the rendering process but no file is created; just the Export Error message.  What does this mean, and what do I need to do to export a project as a FLV file?
    Thanks.

    Sounds weird...  You could try the standard fix for general unexplained behaviour in a document; export it to idml, open that, save as an Indesign file and try exporting again.  If that doesn't work try a few different presets, like smallest file size.  If that doesn't work try opening your image in Photoshop, resaving as a psd, placing that (delete your old one) and see if that helps.  Obviously do this on a copy....

  • Early Chipset Initialization Problem

    Hello all,
    After reading around this board I havn't found a very good answer for the Early Chipset Initialization problem.  (which is the code that D-bracket gives me)  Everything is entirely new, Including the new PSU that I bought to try to fix the problem.  Any ideas?  I know it's not the PSU so don't try telling me that.  
    The funny thing about this problem...the computer locks up and gives me the Neo Platinum screen, gives one beep to say the POST finished, and then locks up and I can't use the keyboard or get into the BIOS.  Oddly enough, if I hit the reset button it boots up just fine.  I'm thinking perhaps a faultly reset switch but has anybody else had this problem?

    Quote
    Originally posted by naedaneth
    Hello all,
    The funny thing about this problem...the computer locks up and gives me the Neo Platinum screen, gives one beep to say the POST finished, and then locks up and I can't use the keyboard or get into the BIOS.  Oddly enough, if I hit the reset button it boots up just fine.  I'm thinking perhaps a faultly reset switch but has anybody else had this problem?
    Yeah try using a USB keyboard instead if you are using a PS2 keyboard..

  • Codec Initialization Problem!

    Hi,
    I'm trying to use Adobe Media Encoder CS6 to convert a mov file of size 3072 by 768 resolution to f4v of the same attributes.
    However, I get the error Codec Initialization Problem!.
    I can convert it to f4v at 1920x1080 or other lower resolutions.
    Please help.
    Thank you

    Thank you!!!!

  • JSPServlet Initialization problem

    Sorry for asking such a simple question.
              I'm just a notice in WebLogic Server.
              When I tried to run JSP pages, I have this problem
              "weblogic.servlet.JSPServlet<unavailable or initialization problem>"
              I'm using WebLogic 5.1.
              weblogic.properties files JSP configuration is as follows
              # WEBLOGIC JSP PROPERTIES
              # Sets up automatic page compilation for JSP. Adjust init args for
              # directory locations and uncomment to use.
              weblogic.httpd.register.*.jsp=\
              weblogic.servlet.JSPServlet
              weblogic.httpd.initArgs.*.jsp=\
              pageCheckSeconds=0,\
              compileCommand=c:/jdk1.3/bin/javac.exe,\
              workingDir=d:/data/program/weblogic/myserver/classfiles,\
              verbose=true
              I have JDK1.3 installed under C: (Windows NT4.0 w/ Service Pack 4)
              Could anyone help me out?
              Thanks in advance.
              Billy Park
              

    Sorry for asking such a simple question.
              I'm just a notice in WebLogic Server.
              When I tried to run JSP pages, I have this problem
              "weblogic.servlet.JSPServlet<unavailable or initialization problem>"
              I'm using WebLogic 5.1.
              weblogic.properties files JSP configuration is as follows
              # WEBLOGIC JSP PROPERTIES
              # Sets up automatic page compilation for JSP. Adjust init args for
              # directory locations and uncomment to use.
              weblogic.httpd.register.*.jsp=\
              weblogic.servlet.JSPServlet
              weblogic.httpd.initArgs.*.jsp=\
              pageCheckSeconds=0,\
              compileCommand=c:/jdk1.3/bin/javac.exe,\
              workingDir=d:/data/program/weblogic/myserver/classfiles,\
              verbose=true
              I have JDK1.3 installed under C: (Windows NT4.0 w/ Service Pack 4)
              Could anyone help me out?
              Thanks in advance.
              Billy Park
              

  • ConnectionServer cannot started - NT Service Initialization Problem

    When I startup a "Connection Server" for "Business Object Enterprise 12.0" under Windows XP Professional machine, following error raised.
    Could you tell me what is the problem. Thanks.
    Timestamp     ProcessID     ThreadID     Message
    [Wed May 20 09:30:21 2009]     6712     8100     Log: level=3 cat=1 msg=35100 p=ConnectionServer started
    [Wed May 20 09:30:21 2009]     6712     8100     trace message: Creating controller thread
    [Wed May 20 09:30:21 2009]     6712     8100     trace message: Waiting on monitor to initialize
    [Wed May 20 09:30:21 2009]     6712     2412     trace message: In service controller thread's run!
    [Wed May 20 09:30:21 2009]     6712     8100     trace message: SIServerController::waitingToInitialize
    [Wed May 20 09:30:21 2009]     6712     2412     trace message: SINTService::run enter
    [Wed May 20 09:30:36 2009]     6712     2412     trace message: SIServerController::initialize
    [Wed May 20 09:30:36 2009]     6712     2412     assert failure: (.\siservice.cpp:839). (false : StartServiceCtrlDispatcher: The operation completed successfully.
    [Wed May 20 09:30:36 2009]     6712     2412     Log: level=0 cat=14 msg=35500 p=NT Service Initialization Problem
    [Wed May 20 09:30:36 2009]     6712     2412     trace message: SINTService::run: Cannot start service control dispatcher

    Hi Thomas,
    I am having the same issue...I couldn't able to start CMS (Content Management services ) .
    Reducing the tomcat heap size doesn't help in my case....
    Regards, Anil

  • Early Chipset Initialization problem with K8T Neo 2 - FIS2R

    This one has me stumped.
    I went to install a new CPU fan earlier today and while I was installing the fan I had to remove my sound card and AGP card so I could screw the fan to the side of the heat sink.
    I got all that done and went to start the computer back up and now I get a contineous high pitched sound while at the same time 3 beeps. The D bracket shows a green LED on 1 so this is the "early chipset initialization" problem.
    What is causing this and why would this happen after a fan installation?
    Specs
    A64 3200+ Winchester
    1.5 GB RAM (2x 512, 2x 256) DDR 400
    MSI K8T Neo 2 - FIS2R
    PNY GF 6800
    Audigy 2 ZS Gamer
    200GB IDE HDD
    80 GB IDE HDD
    DVD - R/RW
    Win XP Pro w/ SP2

    Okay after a bit of messing around with the problem I discovered what the problem was....
    I didn't plug in the power to the video card 
    Yeah the 6800 uses needs more power from the PSU and I left that little rail unplugged. Maybe some other soul will find this useful in a time of need.

  • JDeveloper 10g (10.1.3.3.0) GUI Buldier problems

    Hi there,
    I am running JDeveloper on several platforms (Windows XP Pro SP 2, Ubuntu Linux, Mac OS 10 Leopard), but all of them manifest this problem.
    I am designing a Swing Application.
    When I load the source code for a given class I click the Design tab to bring up the graphical representation of my component (in this case, a JPanel).
    In some cases this works fine. The component comes up in the main window, and I can graphically edit it.
    In other cases, it comes up with a blank screen which says: "No GUI Selected. Double click on an item in the Structure Window to see its GUI here.". I double click the item as instructed, but nothing changes in the main window.
    Can someone tell me exactly what JDeveloper is doing behind the scenes to facilitate this graphical GUI builder?
    Does it just instantiate the object using the default constructor?
    Does it save the layout somewhere?
    Does it parse the layout from the java file?
    Does it compile a separate version to render, or does it use the generated .class files?
    This is really frustrating. I had a lucky spell where 10 out of 10 JPanels I was designing would render correctly, but now some of them have this problem.
    What changes am I making to my source code to break the graphical visual editor?
    Thanks,
    Allen

    I have the same problem and I noticed some things in previous approaches, because the problem occured more than once.
    Last year I noticed that the problem occured, because I changed to JDK 1.6 (project java version, not the one running JDeveloper itself). The solution was that I had to clean all .class files (with an ant-Task) and all worked fine, but Inner Class-GUI-Objects. These are ASFAIK not supported.
    Now more than 6 months later I noticed that somehow old source code is working and displaying fine, but whenever I make an update to a newer revision the visual editor behavious like you said. (I am using subversion).
    This thing is strange, but anyway I managed to find out, that JDeveloper uses the method jbInit() to initialize the GUI and that other methods like doSomeMoreInit() will not be executed. So one approach was also do create postJbInit() methods, but somehow I am stuck now.
    Maybe this can help you with your problem, but I have to research a little bit.

  • LoadGen 2013 DB initialization problem

    I am running Exchange Server 2013 SP1 on Windows Server 2012 R2 and trying to get LoadGen 2013 running. 
    I get a failure from LoadGen after recipients are created but prior to initialization phase of DBs. There is this popup: 
    Failed to count users for user group 
    UserGroup1:System.DirctoryServices.DirectoryServicesCOMException 
    (0x8007202B): A referral was returned from the server. 
    at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwlfFail) 
    at System.DirectoryServices.DirectoryEntry.Bind() 
    at System.DirectoryServices.DirectoryEntry.get_AdsObject() 
    at System.DirectoryServices.DirectoryEntry.FindAll(BooleanfindMoreThanOne) 
    at Microsoft.Exchange.Swordfish.GUI.SummaryPage.GetADObjectCount(GlobalSettings settings, String ldapBaseDn, String ldapSearchFilter) 
    at Microsoft.Exchange.Swordfish.GUI.SummaryPage.BackgroundWorker_DoWork(Object sender, DoWorkEventArgs e)
    Note LoadGen is running on the Exchange Server 2013 machine which is also the AD and DNS server for this test case.

    Hi RDvirtualization,
    Hope you are using the only AD server here, otherwise if you have more it might be due to replication issues.
    Secondly deploying Exchange on AD is not a good idea, which might be the actual problem. To me it appears that Exchange is not able to talk to the AD component properly causing this error.
    Installing Exchange on a domain controller is not recommended:
    http://technet.microsoft.com/en-us/library/ms.exch.setupreadiness.warninginstallexchangerolesondomaincontroller(v=exchg.150).aspx
    *Exchange services may not start correctly when the domain controller is also a global catalog server.
    Looking elsewhere found below:
    "A referral is sent by an AD server when it doesn't have the information requested itself, but know that another server have the info. It usually appears in trust environment where a DC can  refer to a DC in trusted domain."
    Something that LoadGen might be using in the backend:
    "LDAP strings can be less than intuitive. LDAP://DC=primary,DC=secondary,DC=com which worked in most cases. But when trying to connect to its sub-domain with full trust, the string had to change to: LDAP://MyDomainController1.primary.secondary.com"
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Web service model initialization problem

    Hello, every one
    I have some trouble in the initialization of web service model.
    I tested the web service through web service navigator and it was ok.
    My context structure is:
    Request_ZBAPIWCALIST_zbapiWcalist(0..n)
    --parameters(0..1)
    rBdate(0..n)
    high(string)
    low(string)
    option(string)
    sign(string)
    --Response(0..1)
    Result(0..1)
    tWca(0..n)
    estat(string)
    istat(string)
    Following is my codes:
    Request_ZBAPIWCALIST_zbapiWcalist model = new Request_ZBAPIWCALIST_zbapiWcalist();
    ComplexType_ZbapiWcalist parameter = new ComplexType_ZbapiWcalist();
    model.setParameters(parameter);          
    ComplexType_ZbapiRBdate rBdate = new ComplexType_ZbapiRBdate();
    ComplexType_ZbapiRResp rResp = new ComplexType_ZbapiRResp();
    ComplexType_ZbapiRTplnr rTplnr = new ComplexType_ZbapiRTplnr();
    ComplexType_ZbapiRWapinr rWapinr = new ComplexType_ZbapiRWapinr();
    ComplexType_ZbapiRWapius rWapius = new ComplexType_ZbapiRWapius();
    ComplexType_ZbapiWcalistImport wcaImport = new ComplexType_ZbapiWcalistImport();
    rBdate.setLow("2007-7-1");
    rBdate.setHigh("2007-7-2");
    rBdate.setOption("EQ");
    rBdate.setSign("I");          
    rResp.setLow("");
    rResp.setHigh("");
    rResp.setOption("");
    rResp.setSign("");
    rTplnr.setLow("");
    rTplnr.setHigh("");
    rTplnr.setOption("");
    rTplnr.setSign("");
    rWapinr.setLow("");
    rWapinr.setHigh("");
    rWapinr.setOption("");
    rWapinr.setSign("");
    rWapius.setLow("");
    rWapius.setHigh("");
    rWapius.setOption("");
    rWapius.setSign("");
    wcaImport.setAnye("");
    wcaImport.setAnyi("");
    wcaImport.setSpd("");
    wcaImport.setStatu("");
    wcaImport.setWerks("");          
    ZbapiRBdate rBdateBean = rBdate.getOriginalBean();
    ZbapiRResp rRespBean = rResp.getOriginalBean();
    ZbapiRTplnr rTplnrBean = rTplnr.getOriginalBean();
    ZbapiRWapinr rWapinrBean = rWapinr.getOriginalBean();
    ZbapiRWapius rWapiusBean = rWapius.getOriginalBean();
    ZbapiWcalistImport wcaImportBean = wcaImport.getOriginalBean();
    ZbapiRBdate[] rBdateArray = new ZbapiRBdate[1];
    rBdateArray[0] = rBdateBean;
    ZbapiRResp[] rRespArray = new ZbapiRResp[1];
    rRespArray[0] = rRespBean;
    ZbapiRTplnr[] rTplnrArray = new ZbapiRTplnr[1];
    rTplnrArray[0] = rTplnrBean;          
    ZbapiRWapinr[] rWapinrArray = new ZbapiRWapinr[1];
    rWapinrArray[0] = rWapinrBean;          
    ZbapiRWapius[] rWapiusArray = new ZbapiRWapius[1];
    rWapiusArray[0] = rWapiusBean;
    wcalistBean.setRBdate(rBdateArray);
    wcalistBean.setRResp(rRespArray);
    wcalistBean.setRTplnr(rTplnrArray);
    wcalistBean.setRWapinr(rWapinrArray);
    wcalistBean.setRWapius(rWapiusArray);
    wcalistBean.setWaImport(wcaImportBean);
    wdContext.nodeRequest_ZBAPIWCALIST_zbapiWcalist().bind(model);
    The exception is:
    LocalizedMessage: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [Low] of class [com.pjs.wcalist.model.wsmodel.proxies.types.p1.ZbapiRWapius] must exist and can not be null. This is required by schema description.
    In the test of the web service the Low of the ZbapiRWapius is not needed.
    And after setting the value, the exception told me that I must set the tWca, ie the subnode of the result.
    The problem is: I do not know why the setter method of the original bean of the "parameters" only accept the parameter of array type .
    I think the parameter I set may be wrong.
    When I deal with another web service model(the level of the structure is not deep), it is ok.
    Could someone give me some suggestion or explanation?
    Thanks a lot.
    Referring to the link:
    Re: HELP for WebDynpro web service model with complex structure

    Hi,
    I ahbe set the proxy in webcontainer in configtool,Is there any other thing i need to do?But please tell me what does the error means,<b>GenericServiceFactory error</b>?
    waiting for your reply,
    Regards,
    Ameya

  • LDAP Context Initialization Problem in a Servlet's Init method

    Hi
    I have a servlet where I am using the InitialDirContext to Initialize context to a LDAP Server. I have created the context as a static variable. I am initializing the context in the init method and am using the same reference in the service method of the servlet. But if the context fails (due to naming exception and time out) in the init method all my requests in the service method will fail. Is there any way to validate the reference before using the same in the service method.
    Also what is the best approach to initialize the context in a servlet. Whether to initialize in the service method or the init method.
    I would appreciate if anyone can answer the above 2 queries.
    Thanks in advace,
    Ashish

    If you want to use threadsafe objects in doPost/doGet there are two common ways to do this.
    First, create the object in doPost/doGet. This may get expensive depending on the object, but it is 'easy' code and works.
    The second option is to create a pool of objects in the servlet's init() method and to just have doPost/doGet get an object from the pool, use it and return it when done. This take a little more work to code, but the overhead of creating objects is almost eliminated. Look at jakarta/apache commons pool for a quick way to do this.
    If you create on object in init() and use it in doPost/doGet, any time you get two request for the same servlet at the same time you will have synchronization issues that will usually cause problems. There is one instance of each Servlet, so all request for that servlet go through the single instance. Anything in doPost/doGet must be threadsafe.

  • AppleScript GUI scripting problem.

    Hi All,
    I've created a script that will automatically open new document in Indesign CS2. But when i run the script i'm getting system events error as "NSReceiverEvaluationScriptError: 4". I tried following the instruction given in forums but still couldn't figure out. Below is the script i wrote. Can any one tell where and what i'm missing.
    tell application "Adobe InDesign CS2" to activate
    tell application "System Events"
    tell process "Adobe InDesign CS2"
    tell menu bar 1
    tell menu bar item "File"
    tell menu "File"
    tell menu item "New"
    tell menu "New"
    click menu item "Document"
    end tell
    end tell
    end tell
    end tell
    end tell
    click button "Ok" of window 1
    end tell
    end tell
    This is the submenu of menu New. This might be the problem cos the below script works for for which i'm clicking the menu not sub menu
    tell application "Adobe InDesign CS2" to activate
    tell application "System Events"
    tell application process "Adobe InDesign CS2"
    tell menu bar 1
    tell menu bar item "Help"
    tell menu "Help"
    click menu item "Welcome Screen..."
    end tell
    end tell
    end tell
    end tell
    end tell
    My Mac version 10.4.10
    Any help would be appreciated.
    -Jacintha

    Using GUI scripting is the road to madness; it's for emergency use only.<br />Try:<br /><br />tell application "Adobe InDesign CS2"<br />make document<br />end tell<br /><br />-- <br />Shane Stanley <[email protected]>

Maybe you are looking for

  • Need some help with error

    I am taking a course in Java and am getting an error in my code-Can anyone help? I would appreciate it! When I compile I get- C:\IST265 Java\lesson2\GFH2_1.java:23: ')' expected ^ 1 error Tool completed with exit code 1 My code is //Convert fahrenhei

  • How can I reverse the acction create with F110

    When I use F110 for Automatic Payment Transaction,how can I reverse the document  if it nessesary?

  • Vi logger creation

    Hello, I created vi to control a unit. What I want to do is adding a string indicator on the front panel where some of the vi actions performed during the unit operation (e.g a specific boolean become true) will be written, and of course the exact ti

  • Prompted for lpadmin group name and password when adding printer

    I was running into a prompt to enter an lpadmin group name and password whenever I tried to do any printing, so I decided to go ahead and reset my printer list. Now I'm trying to add my local printer to the list and I'm still getting the same prompt.

  • Building XML from relational data

    I need to create XML documents from relational data that conforms to an XML schema document. We need to store and query the XML documents we create. Therefore, we have decided to store the XML using the object model rather than as a CLOB i.e. registe