Wierd problem with web start in windows 7

I have a wierd problem with my web start app in windows 7, it just hang it self. it work fine in windows XP and Vista.
The wierd thing is that i can open the app but when i press on a specific button that will make a jlabel present a .png image everthing crash. why do i get this problem now? when i start the app, i load some pic i jlabels and that seems to work fine, but when i do it under the exection it seems to crash, why?
Should i do something different to make the app work in windows 7?
I hope someone can help me out!!

You should:
a) open the console (java control panel, advanced options) and see the stackTrace (if any). If it's not there check for swallowing.
b) post a code snippet, to at least show how and where you retrieve the png. Possibly a SSCCE.
c) check if this happens also running as a standalone app (may be more Swing-related than JWS-related).
Bye.

Similar Messages

  • Urgent Problems with Web Start Security

    Has anyone used Java Web Start to load application? I have given all-permissions to the application when loaded and also give the AllPermission in Policy.setPolicy() inside the code. I encountered the following problems right now.
    (1) In the application, I want to connect another server (different from the web server where I load the application), and get the following error (looks like that I cannot ping other server):
    com.esri.mo.client.io.UnableToPingEsrimapException: Unable to ping ESRIMAP
    (2) I create local directory, connect to database, use the return results to create some corresponding local files and load the local files in the Swing component, but it just cannot load. Here is the error message:
    java.security.AccessControlException: access denied (java.io.FilePermission C:\Documents and Settings\ABC\Desktop\.\shpdir read)
    I believe all these problems are resulted from security. But I have set the permission and policy already, so any solutions are highly appreciated!
    Best Regards
    David

    Has anyone used Java Web Start to load application? I
    have given all-permissions to the application when
    loaded and also give the AllPermission in
    Policy.setPolicy() inside the code. I encountered the
    following problems right now.
    (1) In the application, I want to connect another
    server (different from the web server where I load the
    application), and get the following error (looks like
    that I cannot ping other server):
    com.esri.mo.client.io.UnableToPingEsrimapException:
    Unable to ping ESRIMAP
    (2) I create local directory, connect to database, use
    the return results to create some corresponding local
    files and load the local files in the Swing component,
    but it just cannot load. Here is the error message:
    java.security.AccessControlException: access denied
    (java.io.FilePermission C:\Documents and
    Settings\ABC\Desktop\.\shpdir read)
    I believe all these problems are resulted from
    security. But I have set the permission and policy
    already, so any solutions are highly appreciated!
    Best Regards
    DavidHello David,
    If you want to use local files(R&W) then you have to set the following lines the .jnlp file like this:
    <security>
        <all-permissions/>
    </security>Now if you assign all permission then you have to make jar file signed.(you can use jarsigner tools provided with the jdk_1.4.* to make the jar file signed).
    If the jar file is signed then you have unrestricted access to the client side.
    best of luck.

  • Please Help ! Problems with Web Start and HTTPS

    Hi everyone,
    my Web Start application crashes with a SSLPeerUnverifiedException when I
    try to connect to the server with HTTPClient :
    // proxy settings
    HTTPConnection.setProxyServer(ipProxy, portProxy);
    // connection
    HTTPConnection con = new HTTPConnection("https", serverName, -1);
    // Post (then there is a SSLPeerUnverifiedException....)
    HTTPResponse rsp = con.Post("/myurl.jsp, toSend, ct_hdr);
    My application runs in a secure environnement configured by the javaws.policy :
    grant codeBase "file:${jnlpx.home}/javaws.jar" {
    permission java.security.AllPermission;
    and the ${user.home}.java.policy (shared by another application, an applet I think) :
    keystore "file:${user.home}/xxxxxxxxxxxxxxxxxxxxx.p7c";
    grant codebase "https://xxxxxxxxxxxxxxx/-" signedby "xxxxxxxxxx" {
    permission java.lang.RuntimePermission "usePolicy";
    permission java.lang.RuntimePermission "accessDeclaredMembers";
    permission java.lang.RuntimePermission "setIO";
    permission java.lang.RuntimePermission "modifyThread";
    permission java.lang.RuntimePermission "stopThread";
    permission java.lang.RuntimePermission "accessClassInPackage.sun.security.provider";
    permission java.lang.RuntimePermission "loadLibrary.*";
    permission java.security.SecurityPermission "insertProvider.SUN";
    permission java.security.SecurityPermission "insertProvider.JCRYPTO";
    permission java.security.SecurityPermission "insertProvider.JCRYPTO_PKCS11";
    permission java.security.SecurityPermission "putProviderProperty.JCRYPTO";
    permission java.security.SecurityPermission "putProviderProperty.JCRYPTO_PKCS11";
    permission java.security.SecurityPermission "removeProviderProperty.JCRYPTO";
    permission java.security.SecurityPermission "removeProvider.JCRYPTO";
    permission java.security.SecurityPermission "removeProvider.JCRYPTO_PKCS11";
    permission java.security.SecurityPermission "removeProvider.SUN";
    permission java.util.PropertyPermission "*", "read,write";
    permission java.io.FilePermission "<<ALL FILES>>", "write,read,delete";
    permission java.net.NetPermission "specifyStreamHandler";
    permission java.net.SocketPermission "localhost:1024-", "listen";
    permission java.net.SocketPermission "*", "connect,accept,listen,resolve";
    permission java.awt.AWTPermission "accessClipboard";
    permission java.lang.RuntimePermission "queuePrintJob";
    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
    permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
    grant codebase "file:/myApplication/-" {
    permission java.security.AllPermission;
    In this file (.java.policy) when I replace "codebase "https://xxxxxxxxxxxxxxx/-""
    by "codebase "http://xxxxxxxxxxxxxxx/-"" everything works fine !! It's very very
    very very strange...
    my application is launched by Web Start 1.2 and use JRE 1.4.1
    Any ideas ? Please, I become crazy...

    try using URLConnection instead of HTTPConnection.

  • Problem with web.show_document with Jinitiator and Firefox

    Not sure Firefox 2.0 is officially certified with Forms 9.0.4.1 and Jinitiatorbut regardless we have some users who want to use this combination. Everything seems to work fine except for the calls to web.show_document which opens a new browser window and displays some html etc.
    The problem is that even though the client Forms JVM is Jinitiator (1.3.1.18 or .21) when the call to web.show_document occurs somehow the Sun Java Plugin starts and having the two JVM's at once causes a fatal crash in Firefox. Can anyone suggest a way to preven the second JVM from opening?
    When the user uses the Sun Plug as the client Forms JVM there is no problem as the second JVM does not open. Unfortunately some users insist on Jinitiator with Firefox hence the problem. -quinn

    James,
    This whole applet embedded in a browser model for webforms is driving us batty at times. The list of problems includes:
    1) Users are constantly tempted by browser controls and accidentally do all sorts of things to get them in trouble. This has included but not limited to using the navigation arrows, jumping off to read their email in the same window as the form and returning to a dead forms session, minimizing, resizing, blurring off to another window and then returning back by clicking on the title bar of the browser and wondering why the form doesn't tab etc.
    Sure hobbling the browser by opening with limited functionality is a possibility but not a complete solution.
    2) New versions of browsers seem to break something. Both IE 7 and Firefox 2 have their own problems with web.show_document, especially file associations such as CSV and DBF and trying to open things in Excel in IE7.Firefox seems to have less problems for some yet some some oddities like the one that started this thread (and 2.0 opening new windows in tabs by default instead of windows).
    3) JVM jigsaw puzzle. Is it Jinit or Sun, which versions? Which combinations of browser version and JVM works.
    4) General fragility of the whole architecture. Running a client JVM in a web browser on top of a PC Operating system connectiong to a forms server over a network embedded in a Java Container server on a full blown web server running on a unix operating system is pushing the bubble. Throw in the mix that any of these components can be combined in numerous ways makes one wonder how it works as well as it does.
    Still users randomly getting dropped connections to forms server (network gltches?). General sluggishness (poorly written forms?). Periods of users with unduplicatable errors primarily network related it would appear.
    General feel that it is not rock solid stable. Perusing metalink documents on performance and tuning gives too much and too general info to troubleshoot so just shrug shoulders and say 'network problem'.
    What's the solution? Java webstart would seem to help at least with the browser realted issues but is that supported and documented how to use yet. Also we'd lose web_show_document which is critical (could it be replaced by webutil calls to open browser?).
    -quinn

  • Using Comm API with Web Start

    I am trying to use Sun's Comm API with Web Start so I can access COM1 from my application.
    When the application starts, I receive an exception for the CommPortIdentifier. When I run this
    application as a standalone, it works fine. I have to assume that there is a problem with the
    deployment of the Comm API.
    I have include the win32com.dll in a jar file and defined it in the nativelib tag in the jnlp file.
    The comm.jar and the javax.comm.properties files are include in another jar. I am not sure
    what is the proper way to deploy these files and cannot find any documentation on this.
    Does anyone know the correct way to handle this?

    I have include the win32com.dll in a jar file and
    defined it in the nativelib tag in the jnlp file.
    The comm.jar and the javax.comm.properties files are
    include in another jar. I am not sure
    what is the proper way to deploy these files and
    cannot find any documentation on this.
    should like like this
    <resources>
    <j2se version="..." href="..."/>
    <jar href="application.jar"/>
    <jar href="comm.jar" />
    </resources>
    <resources os="Windows">
    <nativelib href="win32com.dll"/>
    </resources>
    Then in the code in application.jar, call
    System.loadLibrary("win32com");
    /Dietz

  • Problems with shutdown, expose and window switching

    Hi there,
    Recently I've been having a few issues with OS X. First of all it wasn't shutting down properly -- the menu bar would disappear and it would look like it was going to shutdown, but it never did. I could move down to the dock (on auto-hide) and it would re-appear, at which point I can bring up a terminal window and use 'shutdown' to do the job. On startup I'd reset the PRAM, and then do a disk-check, but the problem keeps coming back.
    Subsequently, I've also been having problems with expose and switching windows (i.e. command-tab). Namely, neither of them work. Expose won't fire from either hot corners or the keyboard, and if I re-launch the app from the Apps folder (without trying to kill it first, I should say), it does nothing. Cmd-tab gets interpreted as just tab, and the keyboard shortcut for dashboard also fails (although I can start the dashboard from the dock).
    I read in another post about an invalid jpeg in the downloads folder being able to cause the Expose problem (seems like a most unlikely bug?). Anyway, I cleared all pictures from my downloads folder and functionality came back, but now it's gone again. It's really very frustrating as it makes moving between windows a lot more hassle.
    Any thoughts would be gratefully received.
    TIA,
    Mat

    This sounds interesting.
    Can you post a copy for the rest of us to see?
    As for actually helping you, and not just satisfying our curiousity, if you start cutting pieces of the code you will probably end up finding the source of the problem (and we won't have too big a program to handle). Since DSC is a likely suspect, you may want to start there.
    Also, are you creating an installer and using that to install? If not, you may wish to try that.
    Try to take over the world!

  • Problem with web.xml

    Hello,
    I have a big problem with web.xml.
    i can run the servlet demos with the default web.xml, but when i try to user a costum web.xml files, i receive a 404 page not found on a link.
    i have some dificulty to post here. but can somebody help my with my web.xml files?
    thanks for your help.
    have a nice day!

    Be careful with the place of your files and folders. It's possible that you've just mentioned the cause of your problem.
    My web.xml is
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>gco</display-name>
    <description>gco webapplicaties</description>
    <servlet>
    <servlet-name>MopoController</servlet-name>
    <servlet-class>org.gertcuppens.controller.MopoController</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>MopoController</servlet-name>
    <url-pattern>/MOPO</url-pattern>
    </servlet-mapping>
    </web-app>
    When I want to call my web application locally, I use the URL http://localhost:8080/gco/MOPO.
    The http://localhost:8080 calls Tomcat. With /gco, Tomcat knows it should look for a folder gco inside the webapps folder. This one should contain a WEB-INF/web.xml folder for further instructions.
    With /MOPO Tomcat knows, having read the web.xml files of all webapps folders at start, it should look for a servlet with the name MopoController. And this MopoController points to the class org.gertcuppens.controller.MopoController. So, Tomcat knows where to find everything.
    Try to see whether your Tomcat can find everything inside the folders using your web.xml file.

  • Trying to use 1.4 beta 3 with Web Start

    Hello,
    I'm trying to use the JRE 1.4 beta 3 on Windows with
    Web Start and it keeps giving me an error when trying
    to get the JRE version. I looked at the Sun docs on
    Web Start for using beta versions of the JRE and it states to put this in my .jnlp file, but it doesn't seem to work:
    <j2se version="1.4-beta" href="http://java.sun.com/products/autodl/j2se" />
    Has anyone got this to work?
    Thanks,
    Cory.

    I am having trouble with this as well. I have also tried the java1.4* for the version field and the client machine still states that it can not find the right runtime. Is there anything else you added?
    thanks

  • Problem With Captivate 4 and Windows 8

    Hi,
    I've a problem with Captivate 4 on Windows 8 projects :
    The mouse is not tracked.
    I've applied the last patch for this version (11/15/2011).
    Is there another patch for this ?
    Thanks a lot.

    Hi there
    I know this will come off as sounding snarky, but please know it's honestly not intended that way,
    Windows 8?
    I never was able to make Captivate 4 run successfully on Windows 7. So I'm not the least bit surprised to hear it has issues with Windows 8!
    Personally, I'm thinking you are due for an upgrade to Captivate if you want it to work on Windows 8. But then again, I'm not even certain if Captivate 6 is Windows 8 compatible.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Problem with photshop cc on windows 8.1 and 4k monitor at 3840x2160 resolution

    can anyone help
    i have a problem with photshop cc on windows 8.1 and 4k monitor at 3840x2160 resolution when i lauch photoshop cc everything is very small and i dont know how to get the program at the right size

    Search the forum for similar topics dealing with high-DPI displays. 4k is insane, though. I don't think even CC 2014 is up to it.
    Mylenium

  • I have bought Adobe Photoshop Elements 10 last August 2013 and having problems with installing it on Windows 8.1?

    I have bought Adobe Photoshop Elements 10 last August 2013 and having problems with installing it on Windows 8.1.  Why am I having this problem?

    You can check you Adobe account online to see if the serial number is registered under your account.  If not then your only option will likely be to contact Adobe Support directly thru chat to see if they can provide you with a/the serial number. For them to do so will require you being able to prove ownership.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Problem with national characters on windows client

    Hello there,
    I'am having problem with national characters on windows client.
    All national data stored in NVARCHAR2 colums, applications (.net) works fine,
    but in sqlplus:
    select city from test_table;
    - everything ok, sqlplus shows national characters
    select dump(N'<national symbols>') from dual
    - returns
    Typ=96 Len=12: 0,191,0,191,0,191,0,191,0,191,0,191
    select * from test_table where city = N'<national symbols> '
    - always returns nothing
    As i understand the problem in
    sql query text (and national literals) convertion
    to servers "WE8ISO8859P1" encoding, Is it possible
    to solve the issue?
    Thanks in advance
    PS.
    Console in right mode (chcp=1251)
    sqlplus shows russian messages well
    Server (oracle 9 on solaris):
    select * from nls_database_parameters
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_SAVED_NCHAR_CS WE8ISO8859P1
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET WE8ISO8859P1
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_RDBMS_VERSION 9.2.0.6.0
    Client (windows server 2003, oracle client 10):
    NLS_LANG = RUSSIAN_CIS.CL8MSWIN1251

    N'<national symbols>', being part of an SQL statement, will be converted to the database character set (WE8ISO8859P1) before being parsed. Only if the client and the database are both 10.2 or higher, the client can encode the literal appropriately so that it survives this conversion.
    In earlier versions, you can do the encoding yourself. Instead of the N'<national symbols>' literal use the UNISTR function: UNISTR('\xxxx\yyyy\zzzz'), where U+xxxx, U+yyyy, U+zzzz are Unicode code points of your national characters.
    -- Sergiusz

  • Problem with the audio editor window into logic pro X

    hello everybody, I have a problem with the audio editor window ! the "onglet" (sorry I don't know the word in english) "file and track" doesn't appear in the top of the audio editor window ! I can just make no destructive data, I have no access to Normalize and others audio fonctions ! could you help me ? in advance I thank you
    Alain

    'onglet' - great, my favorite when visiting restaurants in France!
    Anyway, I think you have to activate Advanced tools first:
    http://help.apple.com/logicpro/mac/10/#lgcp5cbf192f
    Have a nice day!

  • I have problem with data transfer between Windows Server 2012RT and Windows7 (no more than 14kbps) while between Windows Sever 2012RT and Windows8.1 speed is ok.

    I have problem with data transfer between Windows Server 2012RT and Windows7 (no more than 14kbps) while between Windows Sever 2012RT and Windows8.1 speed is ok.

    Hi,
    Regarding the issue here, please take a look at the below links to see if they could help:
    Slow data transfer speed in Windows 7 or in Windows Server 2008 R2
    And a blog here:
    Windows Server 2012 slow network/SMB/CIFS problem
    Hope this may help
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Deploying SWT application with web start

    Hi there,
    I was trying out to deploy the IBM's sample SWT application, FileViewer, with web start, but ended with the following exception which I couldn't figure out how this happened.
    EXCEPTION : -
    JNLPException[category: Download Error : Exception: java.net.ConnectException: Connection refused: connect : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    WRAPPED EXCEPTION : -
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)
         at com.sun.javaws.net.BasicNetworkLayer.doHeadRequest(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I am now using JDK5.0. Even when I was trying out the JDK's sample Webpad, I got "Servlet JnlpDownloadServlet is not available" . Can anyone advise please?

    Hi Jim,
    Try to replace,
    <jnlp spec="1.0+" codebase="http://localhost:8080/fileviewer" href="index.jnlp">
    with
    <jnlp spec="1.0+" codebase="$$codebase" href="index.jnlp">
    But i was using JNlpdownload servlet to do the task
    Regards
    Leo

Maybe you are looking for

  • Dump DBIF_RSQL_SQL_ERROR

    Hello, I am with the Dump DBIF_RSQL_SQL_ERROR the environment PRD. Can you help me? Below, the DUMP the transaction ST22. Erro tempo execução    DBIF_RSQL_SQL_ERROR           Exceção                CX_SY_OPEN_SQL_DB        Ocorrido em     18.12.2007

  • Wsdl file that is used in bpel (ejb web service)

    hi all, i have created a product table in the database and then i created an entity product class from the table, after that i created session bean and publish this session bean as a web service. During creating session bean --> i chose Business tier

  • Servlets in oracle 8i release 2 (version 8.1.6)

    Is it possible to deploy servlets in JServer (Oracle 8i release 2)? If possible, is there any working example or sample provided by Oracle? Pls advice me on the same NOTE: But one documentation says that servlet deployment is a feature of Release 3.

  • Po reqapprove workflow got errored

    Hi, In the po requisition approval process BUILD_APPROVAL_LIST_PROCESS in this process BUILD_DEFAULT_APPROVAL_LIST acticity got erroed with execption .i want to know the erroe message and erroe code , in which workflow tables shows total erroemessage

  • Snapshot Error When Adding Article to Transactional Replication

    I am trying to add an table articles to my transactional replication setup.   When I do, the snapshot error fails with the following message: Source: Microsoft.SqlServer.Smo Target Site: Microsoft.SqlServer.Management.Smo.SqlSmoObject GetSmoObject(Mi