How to add Java Web Start MIME type to Sun Java SYstem Application Server?

Hi,
In the process of learning about Java Web Start,
I read in the document that I had to add "application/x-java-jnlp-file JNLP " to a configuration file.
Does anyone know where that file is for Sun Application web server( vesion 8, on WIndows)?
Thanks,
Sun

I believe you can add it to default-web.xml file located in your server config dir.
(i.e. /opt/SunAppServer8/domains/domain1/config/default-web.xml)

Similar Messages

  • Java web start unable to auto download java 1.6.0_14

    Hi,
    My application runs on java 1.6.0_14 and i want clients to use either 1.6.0_14 or higher while running the application. In the JNLP file i have mentioned j2se version as 1.6.0_14+
    If the client machine has a java version lesser than 1.6.0_14, Java web start is not automatically downloading the given version from sun auto download site.
    Isn' t this version supported by Sun for auto download? If yes, how to get around this problem?

    Thanks..
    We do have a web page from which we access the jnlp and that web page has javascript to force download of a specific version of JRE. Once it downloads the application on client machine, it creates an icon on the desktop.
    If the application and jnlp is changed on the server, we want clients to go through the icon on desktop and still get the version of jre mentioned in the updated jnlp rather than having them go through the web page again do download the new JRE required...

  • HT5651 When I execute Java Web Start, I get an error "Java Web Start cannot be opened because of an error " I am running OSX 10.6.8 and Java Update 13. Anyone know why ?

    Error :

    I still have the problem. This is the error:
    Process:         Java Web Start [2760]
    Path:            /Users/Admin/UTILITIES/Java/Java Web Start.app/Contents/MacOS/Java Web Start
    Identifier:      com.apple.JavaWebStart
    Version:         12.2.0 (12.2.0)
    Build Info:      JavaApplicationSupport-1450000~1
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [127]
    Date/Time:       2013-02-21 17:49:43.369 -0500
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          2712 sec
    Crashes Since Last Report:           3
    Per-App Crashes Since Last Report:   3
    Anonymous UUID:                      383BDFCF-9AA2-4B81-828C-6AD5615B5474
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  4
    Dyld Error Message:
      Symbol not found: _JVMGetLatestJVMInfo
      Referenced from: /Users/Admin/UTILITIES/Java/Java Web Start.app/Contents/MacOS/Java Web Start
      Expected in: /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM

  • Bea Weblogic 6.0 and Java Web Start

    We want to use Java Web Start on the Bea Weblogic 6.0 Application Server.
    Is there any way to add the Java Web Start Mime Type to the Bea Weblogic 6.0 Server?
    Michael

    Sure, check out the documentation on adding mime types. I'm not quite sure
    what mime types are supported by WebStart, but the documentation for it will
    likely include that information.
    Michael Girdley, BEA Systems Inc
    Learning WebLogic? Buy the book.
    http://www.learnweblogic.com/
    "Michael Werner" <[email protected]> wrote in message
    news:[email protected]..
    >
    We want to use Java Web Start on the Bea Weblogic 6.0 Application Server.
    Is there any way to add the Java Web Start Mime Type to the Bea Weblogic6.0 Server?
    >
    Michael

  • Java Web Start and Firefox

    Hello!
    I want to use some java web start applications, which are started directly by clicking a link. My browser (firefox) doesn't know the java web start mime type (*.jnlp). Because of that I can only download the specific JNLP-File instead of executing this file to start the java app.
    There is no jnlp mime type in the firefox section Edit-->Preferences --> Application and I can't add a new mime type because there is no funkction to did that job.
    I have installed the jre and the jdk package. In firefox Tools --> Addons there is the plugin "Java Plug-in 1.6.0_19" listed.
    Has anybody an idea, who to add the jnlp mime type in firefox?
    Thanks for help!
    Best regards,
    Flasher

    Maybe this can help you.
    And related link in Ubuntu Forum.

  • How to setup Proxy for Java Web Start App ?

    I'm having trouble getting Java Web Start to work.
    at... http://java.sun.com/docs/books/tutorial/uiswing/14start/compile.html
    It tell me...
    To test whether your browser can launch an application using Java Web Start, click this link.
    http://java.sun.com/docs/books/tutorialJWS/uiswing/14start/example-1dot4/HelloJWS.jnlp
    I do that & see Java Web Start try to start but get message...
    Java Web Start - Invalid Argument
    Unable to launch specified application
    An error occurred while launching/running the application.
    Category: Invalid Argument error
    Could not load file/URL specified: C:\Documents and Settings\Will\Local Settings\Temporary Internet Files\Content.IE5\OP8RSBCV\HelloJWS[1].jnlp
    Then... http://java.sun.com/docs/books/tutorial/information/javawebstart.html tells me...
    "This situation usually happens when your browser and your copy of Java Web Start have different proxy settings."
    I click Start | Programs | Java Web Start | Java Web Start,,, then click File | Preferences | General
    My choices are... Proxies: None   User Browser _ Manual (User Browser grayed out)
    If _ Manual checked then I get...
    HTTP Proxy ______
    HTTP Port _______
    I'm running XP Pro via Wi Fi to a Linksys Wi Fi router to a cable modem... I'm also running Zone Alarm (tried turning it off but no luck)
    I don't know how to set up the Proxy stuff... can any one please help me get this set up.
    thanks - Will

    OK, on my XP Pro system I went to...
    Start IE -> Control Panel -> Internet Options -> Connections -> Lan Settings -> Proxy Settings
    This is my 'Local Area network (LAN) Settings panel...
    - user Proxy server for LAN is checked
    - Address is blank
    - Port is blank
    So do I plug something in here... the ip address of my linksys wi-fi router and a port number or what?
    My Java Web Start Preferences won't let me click 'Use Browser' only None or Manual
    If I click Manual, I don't know what to plug into the HTTP Proxy and HTTP Port fields...
    I tried the ip address of my router... thinking it may have a built in Proxy Server... and port 8080 as indicated by the Help page for the Java Web Start... but no luck.
    I really appriceate any help on this...
    thanks - Will

  • SQL Server JDBC problem of JClient deploy in java web start

    I have a test of JClient, it use SQL Server JDBC ,and I download the Microsoft SQL Server 2000 Driver for JDBC from microsoft(msbase.jar, mssqlserver.jar, msutil.jar), add the driver in jdevelop libraries, I can right click the java file to run this application in application navigator , I want run it in java web start and deploy in oc4j, and setup application follow the document of
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adfjclientbcwebstart.pdf
    ,but application catch the exception of com.microsoft.jdbc.sqlserver.SQLServerDriver ClassNotFoundException, how to load SQL Server JDBC in embedded oc4j server or standalone oc4j server
    Thaks for helping me!

    How to load SQL Server JDBC to OC4J server

  • Java Web Start- Cannot launch Application. Pls help

    HI
    Ia m beginner in java web start. I creaate a simple swing application and try to launch it through web start. But I failed. My application jar file (sample.jar)contains only class files. No menifest file. Then I sign my "sample.jar" file and placed inside tomcat server: "webapps/root/WebStart/Sample". I also placed the "sample.jnlp" file in the above directory.The name of my main class is :"Sample" .Here is the content of sample.jnlp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
      codebase="http://165.231199.164:8080"
    >
    <information>
      <title>Sample Launching Test</title>
      <vendor>FMO</vendor> 
      <homepage href="www.sun.com" />
      <description>Demonstration of JNLP</description>
    </information>
    <offline-allowed/>
    <security>
      <all-permissions/>
    </security>
    <resources>
      <j2se version="1.2+" />
      <jar href="/WebStart/Sample/sample.jar"/>
    </resources>
    <application-desc main-class="Sample" />
    </jnlp>Whenever I try to launch this application from the browser , it shows me following :
    An error occurred while launching/running the application.
    Title: Sample Launching Test
    Vendor: FMO
    Category: Unexpected Error
    RED
    Anybody pls help me here about how to Launch my application. Am I missing something?

    I fixed the porblem by modifying the sample.jnlp file. Here is the latest version:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase=http://[my-ip-address]:8080/WebStart/Sample>
    <href="sample.jnlp">
    <information>
      <title>Sample Launching Test</title>
      <vendor>FMO</vendor> 
      <homepage href="www.sun.com" />
      <description>Demonstration of JNLP</description>
      <offline-allowed/>
    </information>
    <security>
      <all-permissions/>
    </security>
    <resources>
      <j2se version=1.4+ />
      <jar href="sample.jar"/>
    </resources>
    <application-desc main-class="Sample" />
    </jnlp>

  • Application started using Java Web Start doesn't launch the first time

    I have a Facebook photo uploader application that I plan to distribute using Java Web Start. I'm using Java 6u4 on Windows XP SP2 with 2GB of RAM. I have Java 6u3, Java 6u4 and Java 5 u14 installed and I'm sure the one used is Java 6u4.
    I signed my application and make use of all security settings.
    Here is my JNLP file:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
         codebase="http://www.antaki.ca/bloom/jars"
         href="http://www.antaki.ca/bloom/Bloom.jnlp">
    <information>
        <title>Bloom</title>
        <vendor>Carl Antaki</vendor>
        <icon kind="splash" href="http://www.antaki.ca/bloom/Bloom.jpg"/>
        <icon href="http://www.antaki.ca/bloom/bloom32.jpg"/>
      <shortcut online="false">
      <desktop/>
      <menu submenu="Bloom"/>
      </shortcut>
    </information>
        <resources>
            <j2se version="1.5+" initial-heap-size="32m" max-heap-size="128m" href="http://java.sun.com/products/autodl/j2se" />
            <property name="sun.java2d.d3d" value="false"/>
            <jar href="http://www.antaki.ca/bloom/jars/Bloom.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/BrowserLauncher2-1_3.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/SmartProgressMonitor.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/facebook.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/forms-1.1.0.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/json_simple.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swing-worker-1.1.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/glazedlists_java15.jar"/>
            <jar href="http://www.antaki.ca/bloom/jars/swingx-0.9.1.jar"/>   
            <jar href="http://www.antaki.ca/bloom/jars/jhbasic.jar"/>
       </resources>
    <security>
         <all-permissions/>
      </security>
    <application-desc main-class="ca.antaki.www.bloom.gui.Bloom" />
    </jnlp>Here is the link for my application http://antaki.ca/bloom/Bloom.jnlp
    The first time the application is installed using a link on the browser it's downloaded then the certificate dialog is shown, after that I check the checkbox to accept the certificate permanently. The application doesn't load, it only loads the second time although I see it in the task manager. If I don't accept the certificate permanently it does load. This happens on both Firefox 2 and IE 7. I enabled the console and logging but nothing shows up there.That's really a weird problem, I wonder if Java Web Start is a viable deployment option, it does have great capabilities such as autoupdate but still seems to have important bugs.
    Does anyone have any clue about what is going on.
    The problem doesn't occur on Ubuntu 7.10.
    Thanks,
    Carl Antaki

    >
    You were right my XML file was not correct. I still couldn't find a valid JNLP validator. Sun has to provide that.>No they don't (have to supply a validator for their own document type, though it makes sense to do so), but yes they do (provide a tool that validates XML against schemas). Java can validate XML against a DTD or XSD.
    Check these two threads (and chase the links) for more details.
    JNLP xsd schema
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/c6f65bf1df5f105d/30c6b7e2dc342dc4>
    Validate XML against DTD? XSD OK. SSCCE.
    <http://groups.google.com.au/group/comp.lang.java.programmer/browse_thread/thread/5b997a1edb765b11/e831f3066eb4aa38>
    Look especially for the posts by Piotr Kobzda.
    I had a tool on my site based largely on Piotr's codes, that linked to a valid JNLP DTD and XSD, but unfortunately my site is offline at the moment. Andy assures me that the JNLP 6.0 DTD has been corrected for the developer ..download tutorials of web start, though the online (web site) version may still be invalid.

  • Problem with CORBA application deployed using Java Web Start 1_6_0.

    Java Web Start fans and experts:
    We have been using Java Web Start to deploy the client side of a CORBA-based application since the inception of Java Web Start ... including Java Web Start 1.0 right up through the present.
    With Java Web Start 1_6_0, we see evidence that Web Start is "tinkering with" the IOR that CORBA uses to communicate. In all previous versions of Java Web Start, independent of the JRE which the application uses, the stringified IOR have been the same size regardless of whether the application is deployed locally or via Java Web Start. With Java Web Start 1_6_0, the stringified IOR is much longer than the "real" IOR (again, regardless of the JRE used by the application itself). To me this smells like a bug in Java Web Start 1_6_0. Has anyone else observed this behavior?
    Here are some specifics .... I've run the same client application with various JREs both with and without Java Web Start as the deployment mechanism. The application was compiled and runs against servers that are running JDK 1_5_0_09.
    Here is the summary of my results from a Linux box running various JREs, various versions of Java Web Start, and also running as a non-JWS deployed application. I've listed the length of the stringified IOR in each case.
    JRE 1.5.0 non-JWS client: stringified IOR length = 344
    JRE 1.6.0 non-JWS client: stringified IOR length = 344 ... this, I think, excludes the JRE as the cause of these problems.
    Java WS 1.5.0, JRE 1.5.0 JWS client: stringified IOR length = 344
    Java WS 1.5.0, JRE 1.6.0 JWS client: stringified IOR length = 344
    Java WS 1.6.0, JRE 1.6.0 JWS client: stringified IOR length = 1568
    Java WS 1.6.0, JRE 1.5.0 JWS cleint: stringified IOR length = 1568
    In all cases, the stringified IOR length is determined by the service receiving the message and is always running JRE 1_5_9_09 and is
    always the same 344 characters in length UNLESS it was deployed
    using Java Web Start 1_6_0, in which case it in nearly 5 times as big!
    To me, it sure looks as if there is a problem with Java Web Start 1_6_0 to be adding so much to the stringified IOR. Note: it's hard to tell how different the underlying IOR is in the JWS 1_6_0 case because, unlike most other ORBs, the Sun ORB doesn't have a tool to extract the IOR into a human readable structure. However, I can think of no good reason why the identical application deployed using Java Web Start 1_6_0 should have a stringified IOR length that is different than that of the same application deployed in non-JWS form or should differ from the behavior seen in all previous releases of Java Web Start.
    Any clues or suggestions? Has anyone else observed this behavior?
    Thanks,
    John

    Hi.
    I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
    getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
    #### Java Web Start Error:
    #### null
    Can you help me?

  • About Java Web Start Problems

    Hi, everyone....
    When I want to deploy BC4J Application using the Java Web Start , I occur one exception.
    Java Web Start show exception for me :
    java.lang.ExceptionInInitializerError
         at oracle.jbo.mom.DefinitionManager.<init>(DefinitionManager.java:122)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.<init>(JUMetaObjectManager.java:52)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.getJUMom(JUMetaObjectManager.java:131)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObject(JUMetaObjectManager.java:363)
         at mypackage1.FormDepartmentsView1EmployeesView3.main(FormDepartmentsView1EmployeesView3.java:376)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sun.javaws.Launcher.executeApplication(Unknown Source)
         at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
         at com.sun.javaws.Launcher.continueLaunch(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)
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission oracle.xdkjava.compatibility.version read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at oracle.xml.parser.v2.XMLParser.<clinit>(XMLParser.java:753)
         ... 16 more
    Can anyone Know what is wrong ?

    Wei,
    did you sign the jar files you deploy ? Please follow the instruction sin teh online help and have a look at the batch file that need to be run to create the JClient ear file. This file contains signing information that might not be true for your system.
    Frank

  • Java Web Start and JAAS

    Has anybody tried to use JAAS in an application launched via Java Web Start?
    I'm experiencing problems with it. (The application works fine when being launched directly on the client.)
    If somebody already successfully tried, please let me know.
    Do I need to modify tags in the JNLP file? Do I need to re-configure my webserver or servlet engine?

    OK I got a response from the Java Web Start engineering folks. It sounds like using JAAS directly, to login to an ejb app server or whatever, is out of the question with Java Web Start on JDK1.3:
    << begin Sun's email >>
    The problem you got is due to JAAS 1.0 (jaas.jar) uses systemClassLoader to load
    classes that are defined in the JNLP application jar files, which should be
    loaded by the contextClassLoader instead. For more information on classLoading
    with JWS, look at:
    http://java.sun.com/products/javawebstart/faq.html#54
    http://java.sun.com/products/javawebstart/docs/developersguide.html#dev
    The new JAAS that comes with JDK 1.4 fixed this problem, which uses
    contextClassLoader in their class.
    Thanks for your interest in Java Web Start.
    << end of Sun's email >>
    FYI our workaround: We use a SOAP servlet as a proxy for the app server and we've defined a SOAP xmlrpc api between our client and the application server. This has the advantage of being able to get thru firewalls, as our variant of SOAP is transported on HTTP. Java Web Start installs and starts the SOAP client.
    I would hope the JWS folks would search the Sun provided services and see which ones ignore the current thread's class loader and fix them.
    David Harvey
    Siemens Energy and Automation, Inc.
    Gardner Systems Business Unit

  • Java Web Start

    Hi,
       I've got the XI 3.0 installed and also the SP number 09 has been installed.the JDK version is 1.3.1.which version of the JAVA Web Start should i download and from where can i get it dowloaded.
    Thanks and Regards,
    Jishi

    I got the answer take Pacifist and the Macos 10.4. DVD pull from the DVD Java web start and copy to my Java folder and it works.
    But caution there is something wrong with the latest Java Update the free one after my construction i have tried to install the Java Update over and it destroy java web start.

  • Using Xerces with Java Web Start

    I read that there might be problems using xerces with Java Web Start, because JWS uses Sun's implementation of JAXP internally. My application needs Xerces and I think I am able to get it working using the following settings in the JNLP file:
    <resources>
    <j2se version="1.3"/>
    <jar href="xerces-1.4.3.jar"/>
    <property name="javax.xml.parsers.DocumentBuilderFactory" value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
    </resources>

    Hi,
    I have packaged the xerces jar into my code jar and it does work. HTH
    Aniruddha

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

Maybe you are looking for

  • HP ENVY TouchSmart 15-j050ex GeForce driver instalatio​n

    Hello, I upgraded HDD to SSD (in M2 slot)  and I can't install GeFore driver - Nvidia software says that it cannot find compatibile equipment (it should find 750M if I not mistaken ). I installed all drivers from HP product page, in the Device Manage

  • Module pool program

    Hi, Im very new to module pool i have one requirement . that is i want to write the functionality for follwoing keys. 1.newentry 2.copy 3.delete. as per spec i want the following logic PBO Logic  Create PF status in the PBO and create Application tol

  • We stinn lacks for a mark as read feature

    Please could you reimplement a mark as read feature. We can't read all forums at once but when we go into a single forum all are marked as read. TIA Tullio

  • Workforce Planning: Relation between Employee and Entity dimension

    Hi, I was looking at the Workforce Planning module and the hierarchy/forms/rules that come built with it. One of the major points I noted was that the forms showed data for all employees (with a suppress missing data condition applied) so only those

  • Configuring PCMCIA Network Card 3Com 3CCFE574BT,3CCE589EC

    Hi reader, Have two PCMCIA cards 3Com, How do I install one this cards in Solaris 8 X86 or Sol 7 X86, Is possible install in my Acer TravelMate 507DX Not book using the device configuration assistant software don't know my boards! How do I now? Wait