'Unable to Launch Application Error' - Java Web Start Running Under MS IIS.

I am attempting to render the following .jnlp in MS IE:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for LottoMadness Application -->
<jnlp
   codebase="http://localhost/LottoMadness/"
   href="LottoMadness.jnlp">
   <information>
     <title>LottoMadness Application</title>
     <vendor>Rogers Cadenhead</vendor>
     <homepage href="http://localhost/LottoMadness/"/>
     <icon href="lottobigicon.gif"/>
   </information>
   <resources>
     <j2se version="1.5"/>
     <jar href="LottoMadness.jar"/>
   </resources>
   <application-desc main-class="LottoMadness"/>
</jnlp>I've deployed the .jnlp, .gif, and .jar to MS IIS, running locally on my PC.
When I attempt to render the .jnlp in IE I obtain an 'Application Error' window stating 'Unable to Launch Application'. Clicking details gives me:
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost/LottoMadness/LottoMadness.jnlp
     at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
     at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
     at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
     at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
     at com.sun.javaws.Launcher.launch(Unknown Source)
     at com.sun.javaws.Main.launchApp(Unknown Source)
     at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
     at com.sun.javaws.Main$1.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)I have configured MS IIS for Web Start, by setting the Extension/Content Type fields to .jnlp and application/x-java-jnlp-file.
(The .jnlp is basically from 'Programming with Java in 24 Hours', as this is the book I am learning Java from.)

AndrewThompson64 wrote:
I am not used to seeing references to a local server that do not include a port number.
E.G. http://localhost:8080/LottoMadness/
I have deployed the following HTML (HelpMe.html) to the web server:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
     <title>Untitled</title>
</head>
<body>
Help Me!
</body>
</html>When I attempt to render the URL in IE, I see the page just fine. The URL is use is:
http://localhost/LottoMadness/HelpMe.htmlSo, I think my web server setup and usage is ok.
>
As an aside, what happens if (your MS IIS is running and) you click a direct link to..
[http://localhost/LottoMadness/LottoMadness.jnlp|http://localhost/LottoMadness/LottoMadness.jnlp]
When I click this link I get the error and exception I cited in my previous post.

Similar Messages

  • Unable to launch application with java web start (OILOM)

    I'm connecting to a remote Oracle console from a server, using "oracle integrated lights out manager". I go to "Remote Control" and click on "Launch Console". After that, it download a JNLP file, called "jnlpgenerator-16". I open it with Java7 -web starter- update 5.
    After a while hanging I get this error:
    Error: Unable to load resource: https://XXX.XXX.XXX.XX:443/Java/JavaRConsole.jar.
    In Exception:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: https://XXX.XXX.XXX.XXX:443/Java/JavaRConsole.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    In Wrapped Exception:
    java.net.SocketException: SOCKS server general failure
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
         at sun.security.ssl.BaseSSLSocketImpl.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.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    It happens the same under Windows 7 and Linux -using openJRE and icedtea as substitution of Java Web Start-.
    I'm behind a proxy. In my browser -Chrome, IE and FF- putted the info of the proxy and I can browse. Aldo tried to put the info in the Java "Network Settings". It did not work -the launching of the console-.
    I installed the last Java Web Start in Windows 7 -Java7 Update5-. I disabled my anti-virus and firewall. Always the same result.
    Could you help me please. I don't have idea of what is going on.
    Greetings.
    PD: I tested from other machines of the company and it works. So, I guess is my laptop. I exported the oracle certificates from those machine and imported them into mine.

    AndrewThompson64 wrote:
    I am not used to seeing references to a local server that do not include a port number.
    E.G. http://localhost:8080/LottoMadness/
    I have deployed the following HTML (HelpMe.html) to the web server:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    Help Me!
    </body>
    </html>When I attempt to render the URL in IE, I see the page just fine. The URL is use is:
    http://localhost/LottoMadness/HelpMe.htmlSo, I think my web server setup and usage is ok.
    >
    As an aside, what happens if (your MS IIS is running and) you click a direct link to..
    [http://localhost/LottoMadness/LottoMadness.jnlp|http://localhost/LottoMadness/LottoMadness.jnlp]
    When I click this link I get the error and exception I cited in my previous post.

  • Unable to launch Integeration Builder - Java Web Start - Unexpected Error

    Hi there,
    I am not able to launch the Integeration builder. The ESR has no problem and is working fine though.
    Here is the exception :- com.sap.aii.ibdir.gui.appl.ApplicationImpl
    I have tried below options already :
    1. Cleared the java cache under - javaws -logviewer
    2. Go into administration and inside Directory --> Java Web Start Administration clicked "Restore archives and generate new sign."
    Strange part is some of my colleagues here doesnt have any issue while opening the Integeration Builder. In fact I dont have any such issue in QA and PROD environment. The issue is only in DEV environment. Please advice.
    Anshul

    Hello,
    Usually restoring the archives will help resolve the issue.
    If the issue is occurring for just yourself maybe you could check that you are using the correct java version. e.g. for for 7. 1 java version 5
    Also please refresh the Java Web Start:
    If it's a Windows terminal, select Start - Run - javaws to launch Java Web Start and then clear the cache. File -> preferences ->
    advanced -> clear folder button
    If you have later versions of Java and doing the
    Start -> Run doesn't give you anything, then select Start - Run and type Control and hit Enter. Double-click Java in the list
    that displays to view the more up-to-date Java Control Panel. In the General tab, select Settings from the Temporary Internet Files section. Click Delete Files to clear the cache and then log into the Integration Builder again (download will be longer as jars will be cached locally again).
    If the problem still remains I would advise to check that the latest patches have been applied for XI_TOOL, and also the other components MESSAGING  SAP-XIAFC SAP_XIAF SAP_XIESR SAP_XIGUI
    Regards,
    Sarah

  • Unable to Launch Integration Builder: Java Web Start problem

    Hi,
    I am unable to launch the integration builder. I am using JDK 1.4.2_05. The java Web Start gives the following error:
    Unsigned application requesting unrestricted access to system
    Unsigned resource: http://<XIHostName>:50000/rep/repository/aii_util_rb.jar
    I have tried deleting the Java web start cache, and even reinstalling the JDK.
    Can someone suggest a workaround this problem ?
    thanks,
    Manish

    The Java Web Start cannot accept unsigned jars. If the jars are signed, it will ask in a dialog box if it should allow unrestricted access to this jar.
    In my case, I upgraded XI SP0 to SP4, which included updating the Adapter Core, Adapter Framework, and the XI TOOLS to SP4.
    On launching the Web start, it seemed that the jars were not getting signed. JWS cannot allow unsigned jars to the client.
    These jars are maintained in:
    \usr\sap\<SID>\SYS\global\xi\directory_server\javaws\directory
    I am having problems with my XI upgrade to SP4, and it is probably not signing the jars.
    Do you know why this may be happening ...
    thanks,
    Manish

  • Unable to launch application error

    Everytime I try to open a jnlp file i get the Unable to launch application error. I have no clue how to fix this and would like to know a solution. I currently have JRE 6 Update 6. Here is the error info.
    java.lang.Exception: cache failed forhttp://pokeglobal.sourceforge.net/game/beta.jnlp
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Java Web Start 1.6.0_06
    Using JRE version 1.6.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\MILTON
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    0-5: set trace level to <n>
    #### Java Web Start Error:
    #### cache failed forhttp://pokeglobal.sourceforge.net/game/beta.jnlp

    I see, you found a solution for this problem. Can you share it with me please, because i am having the same error right now.

  • Not getting application in Java Web Start

    Hello Sir,
    I wanted to run an application using Java Web Start. So, I created a jnlp file and i have mentioned the necessary jar files and the main class file. when I clicked on the jnlp file, the application is running in the Server using Java Web Start and its shortcuts are creates on the desktop and in the startmenu. I am able to run the application by clicking on the shortcut in the server. But I am unable to Download the application in the Java Web Start. It is not showing any Error Messages and the application is not running in the cleint machines.
    The contents of the jnlp file is as follows.
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for SimpleClass Demo Application -->
    <jnlp
    spec="1.0+"
    codebase="http://dev01/Dummy/New"
    href="SimpleClass.jnlp">
    <information>
    <title>SimpleClass Demo Application</title>
    <vendor>xxx</vendor>
    <!-- <homepage href="docs/help.html"/> -->
    <description>SimpleClass Demo </description>
    <description kind="short">A demo of Class A and Class B Dependencies in java Web Start.</description>
    <!-- <icon href="images/swingset2.jpg"/> -->
    <!-- <icon kind="splash" href="images/splash.gif"/> -->
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.4.0"/>
    <jar href="ClassLib.jar"/>
    </resources>
    <application-desc main-class="A"/>
    </jnlp>
    So, please Tell me how to solve this problem.
    Thanking you
    R.Venkatesh
    MakeLogic
    www.makelogic.com
    [email protected]

    Here is an example of my JNLP file that works.
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for the Passport Application -->
    <jnlp spec="1.0+" codebase="http://application:8080/application/" href="passport.jnlp">
      <information>
        <title>Passport</title>
        <vendor>WIM Consulting</vendor>
        <homepage href="http://www.wim.ca"/>
        <description>application Passport.</description>
        <description kind="short">Passport</description>
        <icon href="WIMicon.gif" width="32" height="32"/>
        <icon href="WIMsplash.jpg" kind="splash"/>
        <offline-allowed/>
      </information>
      <security>
        <all-permissions/>
      </security>
      <resources>
        <j2se version="1.4+"/>
        <jar href="passport.jar"/>
        <jar href="jars/kunststoff.jar"/>
        <jar href="jars/ldapsec.jar"/>
        <jar href="jars/localedata.jar"/>
        <jar href="jars/mysql-connector-java-3.0.6-stable-bin.jar"/>
      </resources>
      <application-desc main-class="ca.wim.passport.startup"/>
    </jnlp>I am not sure what the problem is.
    "I am unable to Download the application in the Java Web Start"
    If webstart in not actually downloading the jar - is the jar in the correct location?
    Is the server named dev01 and the directory structure actually /Dummy/New?
    Note: you do need to set up the mine type JNLP on your server,
    In my case the location of the JNLP file and main jar file passport is in the following directory.
    c:\Inetpub\WIMRoot\application
    The additional jars are in
    c:\Inetpub\WIMRoot\application
    I hope this may give you some clue
    rykk

  • Deploying no java applications using Java Web Start

    Hi,
    I am new to java web start. Is it possible to distribute non java applications using java web start. I have an APP which can run on a desktop in standalone mode. The app has jusy HTML and Java script files. Is it possible to package this app and deploying using java web start? I am assuming If it is possible, I can make updates to the packaged app in the web servers and the updates will be downloaded next time the app is used provided configurations are correct?
    thx

    The app has jusy HTML and Java script files. Is it possible
    to package this app and deploying using java web start? Not really. Resources for JWS need to be zipped,
    while this HTML/JS app. will (I guess) not work from
    inside the depths of a Jar (or Zip) archive.
    Note that you can organise for those files to be
    downloaded and expanded onto a known place
    on the user's disk, by using an 'installer' element,
    but..
    ...I am assuming If it is possible, I can make updates to the
    packaged app in the web servers and the updates ..installers are only called once, and do not 'update'.

  • Unable to Launch Application error while starting IR

    Dear friends
    I am not a BASIS trained person, but wearing different caps because I am the only SAP engineer in our company and so learning on the job.
    I have installed a new server that has (SAP ECC 6.0, EP and PI). This is an IDES version. The operating system is Windows Server 2003 R2 (64 Bit).
    The menu System -> Status says that  Software Component SAP_BASIS is  Release 700.
    The ECC part is working ok, since I have been using many custom and standard tables, Bapis etc.,
    However, when I give transaction code    "SXMB_IFR"   to start PI, it opens the browser with a message at the top saying "You need to install Javau2122 WebStart 1.4.2. "
    However, I have installed j2sdk1.4.2_17-x64 and entered the environment variable path "C:\j2sdk1.4.2_17-x64".
    When I try to click on 'Integration Repository', it tries to start 'Java Web Start window and after a while fails with a message 'Unable to launch the application'.
    I searched SDN and other blogs and tried suggestions like,
    selecting  Control Panel -> Java and removing temporary internet files. But this didn't help.
    I have installed another server on a 32 bit system and that one doesn't have any issues. The main difference with this one is that it is a 64 bit server and has (ECC, EP and PI) installed on the same server.
    I would appreciate any feedback or suggestions.
    Thanks
    Ram

    Dear Ram
    install JDK then
    first set your environment variable like this... upto ur java bin folder.
    JAVE_HOME      C:\Program Files\Java\jre6\bin
    then run your java webstart . goto preferences and there  make proxy as none
    now start IR again.. it will start.. if it fails again then take 1-2 more trial to start . It will open.
    IN SAP XI/PI, java webstart is used to cache fat clients like IR and ID on local machines. So you need to make JWS proxy as NONE and then run IR or ID. with in 1-2 attemt it will cache all the required files.
    then after wards it will run smoothly.
    good luck
    --sandeep

  • Can not launch swing application from Java Web Start 1.6.0_37

    I have a dynamic generated jnlp file from a serlvet. When I used Java Web Start to start the swing application, it failed. The exception showed
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://xxxx.xx.com:9080/dilpipweb/Test-1.0-SNAPSHOT.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I used janela to validate the generated jnlp file. It was valid. I also checked the tomcat access log, it showed that the Test-1.0-SNAPSHOT.jar file was accessed correctly (with a 200 return code).
    Can anyone help me what was the problem?
    Thanks,

    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?

  • Unable to run my application using java web start

    i have created one application and use java web start to download the application. all the files are succesfully downloaded but when i try to run the application an expected error occur. this only happen in my machine but not in other machine i'm currently using
    -jsdk1.4.2
    -windows 2000 professional 5.00.2195 service pack 3
    -pentium III 870 Mhz
    -x86-based PC
    -RAM 256 Mhz
    Anyone knows why, plz help me with this puzzle

    Please post the information from the Web Start "Exception" and "Wrapped Exception" tabs when the error occurs (I assume the error was in fact unexpected ;-)
    A blind stab in the dark would be that you don't have write permission to the cache directory on the second machine. Also worth checking that the proxy settings on the second machine are the same as the first (if they are on the same network).

  • 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

  • Java web start running on windows NT4 work station

    I have installed java web start on a windows NT4 work station (service pack 6) with a directx v5. I successfuly launch the sun applications such as swing set 2, but I have some troubles concerning our software which used another look and feel than the default one. A system error is raised saying that the library ddraw.dll could not be loaded.
    I have unistalled and re-installed directx v5 but the error is still raised.
    Does any one can help me to solve this problem ?.
    Thank you.

    Hello Sim085
    thanks for your reply.
    Perhaps it would be easier for us to continue the programming with any kind of VisualStudio Produkt ;-), although we dont't had to think about OOP yet!
    Because of our new Network-Technology (Terminal-Server) we have to discuss serveral possibilities.
    I've read about JSP and ASP.NET, and I want to know if JSP or any kind of JAVA Program will run on a Terminal-Server.
    Are there any special aspects I have to know when running JSP on a terminal server from Microsoft? Is it better to program applications in JAVA or in JSP? ...
    Thanks
    Rasming

  • Java Web Start running JasperReports

    The following is the exception that is thrown when trying to compile an .xml report template to a JasperReport object, from an app that has been deployed via the Java Web Start:
    dori.jasper.engine.JRException: Errors were encountered when compiling report expressions class file:
    C:\Program Files\mozilla.org\Mozilla\DailyReport.java:4: package dori.jasper.engine does not exist
    import dori.jasper.engine.*;
    * I have deployed the application properly via Java Web Start; however, when running the application it is not able to compile the xml file to a JasperReport object.
    * The .java file is created properly; but the app does not seem to be able to find the dori.jasper.engine.*; library.
    * I have signed and included the jasperreports-0.5.0.jar (and it's dependencies) with the app, and have put the path to all of it in the Class-Path of the manifest file.
    * NOTE: Just FYI, I am able to run this without any problems under netbeans.

    Dear Patrick,
    Recently I have used iReports for generating report through java & deploy it through java web start.
    I had taken all the measures you had mentioned in your previous replies. But I am not able to view the report. ( might be it is not compiliing)
    I am using new version of jasperreports-0.5.3.jar
    also through console it is running well.
    Also it is not giving any errors. can u have any idea about this.
    Might be it is silly mistake I have done.
    My code for report generation is :
    public class SReportA
         public SReportA()
         try
         JasperDesign jasperDesign = JasperManager.loadXmlDesign("/home/ora/iReport/RSENIORITYLIST-A.xml");
         dori.jasper.engine.design.JRBshCompiler theCompiler = new dori.jasper.engine.design.JRBshCompiler();
         JasperReport jasperReport = theCompiler.compileReport(jasperDesign);     
         Map parameters = new HashMap();
         parameters.put("uname","admin");               
         Connection con=null;
         try
              Class.forName("oracle.jdbc.driver.OracleDriver");
              con=DriverManager.getConnection("jdbc:oracle:thin:@158.144.71.219:1521:dbadp","acom","admin123");
         catch(Exception e)
              System.out.println("Exception in test.jsp "+ e);
         JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,parameters,con);
         JasperManager.printReportToPdfFile(jasperPrint,"ReportA.pdf");
         JasperViewer.viewReport(jasperPrint,false);
         catch(Exception e){ System.out.println("There is exception here"+ e); }

  • Error while launching of the application thru java web start

    I have java webstart 1.2. While opening one of the application, its showing me following error message,
    "javaws.exe has generated error and will be closed by Windows. You will need to restart the program. An error log is being created."
    After that application works fine(It does not close the application) and no log file is generated.
    Can any one tell me what is the cause of this problem.
    Regards,
    Pravanjana

    You shouldn't give up without studying the source of JMF.
    JMFSecurityManager blocks opening the webcam when it recognizes that the application is executed as an applet. JMF - in fact JMFSecurityManager - cannot distinguish between an applet and a java webstart application because it only evaluates System.getSecurityManager().
    If the application is deployed via webstart the System.SecutityManager is NOT null and so JMFSecurityManager makes problems.
    So the easiest solution of this problem is to call System.setSecurityManager(null) before any static function of JMF is executed or any class of the Framework is instanciated - e.g in the main-function. Java webstart allows to execute the command if the .jnlp-file requests all-permissions.
    Another possibility is to read the properties. Therefore jmutil.dll has to be deployed and in C:\WINDOWS\java\.jmfdir the first line must contain the path of jmf.properties. This should be an alternative but I haven't checked if it works.

  • Deploy Forms 10g applications using Java Web Start (JNLP)

    I wonder if anybody can help me out to use WebStart for my Oracle Application . Currently our application is running using Jinitiator.recently i got to know that webstart is another method to run webforms as just as Client/Server ,am not able create an exact JNLP file and i could't see much posts related to this.
    Thanks & Regards
    Najeeb.M

    You can avoid extra windows simply by setting separateFrame=false in the formsweb.cfg. Another helpful tip, if your page does not contain any extra html, is to set the height and width as follows:
    HEIGHT=100%
    WIDTH=100%
    This will cause the applet container to use all available browser window space. It will also cause the applet container size to dynamically adjust if the browser window is resized. This tends to create a more professional look-and-feel.

Maybe you are looking for

  • Sharing apps with other family members

    My husband and I have a desktop and two iPod touches. We have no problem sharing apps as we are using the same apple id. I turned on home sharing so that I could share a couple of apps that we have purchased with my daughter. We authorized her laptop

  • Power Mac G4 shows only screensaver image; won't read disks

    My Power Mac G4 will no longer show the finder or any of my folders. It boots beyond the grey and blue screens to show a screensaver I'd chosen earlier, but doesn't show the finder or any of my folders. It will not read any of its original install di

  • Performance tuning in DW system

    Hi All, Now I am working for DW system. Some days ago, I was told if I want to get employee id and departmment name with some filter conditions in this dw system , I need to get employee ids and department ids first from this single table to create a

  • ADobe Bridge CC encounters a cache problem....

    it is unable to read the cache. Try purging central cache in Prefs to correct.... done it! doesn't work.  same every time I open it.

  • Outbound Service/Message interface in PI 7.1

    Can anybody let me know the following please... How should I go about "Creating an Outbound Service/Message interface in PI 7.1 " ? Or even check if there is an existing one already. ? How to access ESR/IR ? Thanks