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

Similar Messages

  • Using Signed Jars with Web Start

    Hi
    I am working with an application that needs to access disk. I signed the jars, and in the jnlp file I gave full permisions to it. My question is how Web start recognize that the jar is signed, should I upload the certificate and how to do it? I am having permissions problems at the client side.
    Thank you!!!

    http://www.vamphq.com/jwsfaq.htmlI don't want to be picky but the Unofficial Web Start FAQ moved to the Lopica Web Start Paradise site a couple of months ago. Please update your bookmarks. The new web address (URL) is:
    http://lopica.sourceforge.net/faq.html
    and the ongoing in-progress FAQ Update and Errata page is online @ http://lopica.sourceforge.net/update.html
    - Gerald
    (Unofficial Web Start FAQ Editor)

  • Exception while using Java Comm and Java Web Start together

    Hello Java Experts!
    Here's the problem that's been bothering me. The application i'm developing uses Java Comm API to listen to Serial Ports. The application works absolutely fine when it is run locally.
    Now, I need to deploy this remotely using java web start. All resources(dependent jar files) are present on the server and are referenced properly in the JNLP file. All jar files are signed properly.
    Still, it throws the following exception.
    java.lang.NullPointerException: name can't be null
         at java.io.FilePermission.init(Unknown Source)
         at java.io.FilePermission.<init>(Unknown Source)
         at java.lang.SecurityManager.checkDelete(Unknown Source)
         at javax.comm.CommPortIdentifier.getPortIdentifiers(CommPortIdentifier.java:70)
    The exact line of code where it apparently seems to error out is...
    Enumeration portList = CommPortIdentifier.getPortIdentifiers();
    Are there any security issues involved here? Can a application deployed through java web start access serial ports on the system?
    Any pointers as to what the problem might be would be much appreciated.
    Thanks in advance!

    I have the IBM Communications API. I've
    been told that it works with Java Web Start but I
    have not tried it. IBM has changed it's download site
    so.... I can't point you to it. But I have it(55k zip'ed)
    and can send it to you if you post your E-Mail address
    of where you would like it sent.
    Bruce Houghton
    PS If it does work with Web Start please post the
    news here. I will be watching.

  • Problem with Using Spring IoC and Web Start

    Greetings Everyone,
    I have a small Swing app that runs using spring to load its dependencies. I can run it from a single signed jar file locally, and I setup my .jnlp file to try it with Web Start.
    Unfortunately, I get the following:
    java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)
         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
         at java.security.AccessController.checkPermission(AccessController.java:546)
         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1662)
         at java.lang.Class.checkMemberAccess(Class.java:2157)
         at java.lang.Class.getDeclaredMethods(Class.java:1790)
         at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:429)
         at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:412)
         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:363)
         at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:296)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:745)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:448)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
         at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:597)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:366)
         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
         at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
         at org.chibgrant.main.MainPOE.main(MainPOE.java:31)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.javaws.Launcher.executeApplication(Launcher.java:1321)
         at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1267)
         at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066)
         at com.sun.javaws.Launcher.run(Launcher.java:116)
         at java.lang.Thread.run(Thread.java:619)
    I am running build 1.6.0_13-b03. Anyone run into this before?
    Thanks for any insights...!

    I suspect you may have solved this yourself by now, but in case not.
    I've recently created a desktop application that uses Spring and is launched via Java Web Start and I did have a problem getting it to launch via Web Start until I modified my code to ensure the classloader setup is done before any Spring methods are called.
    i.e.
        // This is needed for Java Web Start compatibility.
        UIManager.getLookAndFeelDefaults().put("ClassLoader", Loader.class.getClassLoader());In may application this code is invoked in the class that starts my application (Loader) before I load anything via Spring.
    Cheers,
    Stephen.

  • 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

  • Using KM APIs with Anonymous user

    Dear SDNites,
    I have gone thorough one of the SAP notes on possible CM scenarios with anonymous users. It says the the supported scenarios are Search, browse and download.
    My question is that can we use KM apis in these areas with anonymous users?  I got some documentation on KM Indexmanagement APIs for searching with TREX, which requires authenticated user. I am wondering is there any way to use those APIs with anonymous user access.
    Thanks a lot in advance.
    Regards
    Pavan

    Hi Pavan,
    if you access the KM via Web Service you'll find parameters in each service to send username and password.
    If you browse the KM reposiroties via http you may need to do an authentication first. If your portal accepts basic authentication (as it does by default) you may call the KM explorer iView with some URL like:
    http://<username>:<password>@<hostname>.<domain>:<port>/<path to KM iView>
    If this does not work, maybe you need to use a client that supports basic authentication (digest). This may be e.g. the OpenSourcer library [HttpClient|http://hc.apache.org/] from the Apache project.
    See [RFC2617|http://www.faqs.org/rfcs/rfc2617.html] for more details on Basic Authentication and Basic Authentication (digest).
    If you have some more questions, please come back.
    Carsten

  • 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

  • Can i use 2D API with out using JRE.

    hi,
    can i use 2d API with out using JRE 1.3 .
    please reply
    ravi

    Yes, it was (still is?) supported in Java 1.2 - but no
    earlier.How is it done.can u please give some sample code.
    Thanks and regards,
    Ravikumar

  • SSL: Connection reset by peer ; Failed to enable crypto error while calling the report using bing API with SOAP client

    Hi,
    I am trying to fetch report using bing API and making a SOAP call for fetching the data. I get the following error:
    [Warning] fopen(): SSL: Connection reset by peer [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    02-04-2015 10:17:41 (BST) : [Warning] fopen(): Failed to enable crypto [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    02-04-2015 10:17:41 (BST) : [Warning] fopen(https://download.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=rzr63XFt5qJduddohoIRyOYAP%2f1%2ftsnhk8L%2bzBmUpdU2CQlcUB98RpY%2bbOaLFFGMqAC4IUUadC%2fNdNnJqeVCY%2f%2bpy6noVsVA%2fMJp47a3Xb1VjABfKhcdKy6vqpgEdcQg%2fQZ7QcEpZ3bEloJjUtGpDquFk53BnkeHEPVWZkDYcsQegRz%2fpG4t4w6gKCCRmhArd6osr6ZU9CMJ3lbxtGXjcQEMPvP2apNyr9P%2fc8niyfWA2aBcm1aEmOLX2KL3aRJ4rz9N7gG7uBslVZH%2b4rUjHdB7CMkbb%2fHyHwvPTqGPbPCHnicefr%2b%2fDP70hlkBEGfyOOswK67%2bl1zh7CyIv%2bcMlaDsuDX1HeFf4uORfD41H1z7):
    failed to open stream: operation failed [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    Whenever I execute my script. Can you please let me know what we can do to solve this issue. The version of PHP we are using is 5.3.3 with open ssl. 

    Hi Shobha,
    I can't confirm what version of PHP you are using, but to err on the side of caution please use the version specified in the sample/SDK:
    PHP 5.4.14 has been installed from PHP.
    Here is our code examples:
    https://msdn.microsoft.com/en-US/library/bing-ads-overview-getting-started-php-with-web-services.aspx
    Thanks,
    Itai

  • How to get access to the local file system when running with Web Start

    I'm trying to create a JavaFX app that reads and writes image files to the local file system. Unfortunately, when I run it using the JNLP file that NetBeans generates, I get access permission errors when I try to create an Image object from a .png file.
    Is there any way to make this work in Netbeans? I assume I need to sign the jar or something? I tried turning "Enable Web Start" on in the application settings, and "self-sign by generated key", but that made it so the app wouldn't launch at all using the JNLP file.

    Same as usual as with any other web start app : sign the app or modify the policies of the local JRE. Better sign the app with a temp certificate.
    As for the 2nd error (signed app does not launch), I have no idea as I haven't tried using JWS with FX 2.0 yet. Try to activate console and loggin in Java's control panel options (in W7, JWS logs are in c:\users\<userid>\appdata\LocalLow\Sun\Java\Deployment\log) and see if anything appear here.
    Anyway JWS errors are notoriously not easy to figure out and the whole technology in itself is temperamental. Find the tool named JaNeLA on the web it will help you analyze syntax error in your JNLP (though it is not aware of the new syntax introduced for FX 2.0 and may produce lots of errors on those) and head to the JWS forum (Java Web Start & JNLP Andrew Thompson who dwells over there is the author of JaNeLA).

  • 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.

  • Getting started with web start

    Hello All,
    I am a newbie to the Java Web Start technology and am trying to do the following:
    We have a desktop application that we are trying to convert to a Web start. The source code of the application consists of some Jar files and some configuration files. In order to convert the application to a web start, we are writing a JNLP file for this application. As part of the JNLP file, we are trying to provide each of the jars using the jar element under the resource tag. But how do we specify the configuration file in the JNLP ?
    Certain classes in the source code look for these configuration files. Currently since the configuration files are not being provided in a proper manner there is an exception that is being thrown.
    Is it enough if we write a JNLP file for converting a desktop to a web start? Or do we need to write java web start specific code as well? And how do we provide configuration files as a resource in JNLP?
    Any suggestions or guidance would be of great help.
    Thanks and Regards,
    Sampath MS.

    >
    Where are your configuration files located and what type of information is in them?
    I would suggest one of two options:
    1) Have a "default" config file inside your jar file which you load using Class.getResourceAsStream() -- this will have default configuration details. Then, if the user chooses to change the configuration you can write a different config file to their user.home dir which will over-ride the defaults.
    ..>
    >
    The configuration files are placed in the same location as the codebase.>That is extremely non webstart compatible. Sun regards the location of the JWS cache to be no business of applications, so even if you could put it there, it would be difficult, if not impossible, to figure the location to access it.
    The best approach to this type of problem is kid_wonder's approach 1), though besides writing to user.home or the registry, you can also access the [PersistenceService of the JNLP API|http://pscode.org/jws/api.html#ps] to store the changed details.
    >
    The issue is that the location of the files is difficult to change as it will need a modification in the code as well.>You will need to bite the bullet and change this code, to deploy it successfully using webstart.

  • Making exe of application which work fine with Web start.

    Hello guys,
    i am working on on-line casino gaming.First thing i want to explain to you is about my current mechanism for downloading game.
    I have used JNLP and web start to download all necessary files at client side and it works fine..At every time it checks new jars are there or not...
    Now i want to make the exe of my java application which i can give to client on movable device like compact disk..so client can install the application from anywhere and play casino games..
    Now I want to know how to make on-line application as executable (exe) and every time it checks for updates which is supported right now by jnlp file..
    which thing i have to consider,which tool is easy to use,which mechanism can solve my query....
    please help me out...
    thank you in advance...

    Hi
    Chris RENAUD 768,
    First of all the PDF files should be set to be read by the application you developed by default.
    To set the default program:
    Control panel \Programs \Default Programs \Associate a file or protocol with a program
    In IE8 There used to be a key called HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\AttachmentExecute\{0002DF01-0000-0000-C000-000000000046}  which stored the File Types that could either
    Auto-Open or not. We can create a .bat file to automatically add a value here to achieve the goal.
    The code is as following:
    @ECHO OFF
    reg query HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\AttachmentExecute\{0002DF01-0000-0000-C000-000000000046}
    if "%ERRORLEVEL%" EQU "1" (
    reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\AttachmentExecute\{0002DF01-0000-0000-C000-000000000046}" /f /v "PDF.File" /t REG_NONE
    Note: Please Back up the registry before you modified the registry and delete the key  {0002DF01-0000-0000-C000-000000000046} if it has existed in the registry before you ran the .bat file.
    Best regards

  • 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.

  • Comm API with SCSI

    Can the Javax Comm Api support SCSI??? There is any API that works with SCSI?

    No, the comm API is for use with the serial ports etc. I don't think there is an API to work specifically with SCSI, unless you use JNI to call platform specific OS libraries.

Maybe you are looking for