Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9072937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:17:37+00:00 2026-06-16T18:17:37+00:00

I am trying to load an applet using jnlp and deployjava.js but I could

  • 0

I am trying to load an applet using jnlp and deployjava.js but I could not get my head around this problem .Stacktrace as follows:

JNLParseException[ Could not parse launch file. Error at line 56.]
    at com.sun.javaws.jnl.XMLFormat.throwNewException(Unknown Source)
    at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
    at sun.plugin2.main.client.PluginMain.initManager(Unknown Source)
    at sun.plugin2.main.client.PluginMain.access$200(Unknown Source)
    at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Here’s my jnlp file:

<%-- 
    Document   : render
    Created on : 18 May, 2012, 2:16:37 PM
    Author     : Piyush
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String protocol = request.getScheme();
    String domain = request.getServerName();
    String port = Integer.toString(request.getServerPort());
    String a = protocol + "://" + domain + ":" + port + path;
    path = protocol + "://" + domain + ":" + port + path + "/";
    String invitedUnder=request.getParameter("invitedUnder");
%>

<%@page contentType="application/x-java-jnlp-file" pageEncoding="UTF-8"%>
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="<%=path%>" href="">
    <information>
        <title>Enrollment</title>
        <vendor>Piyush</vendor>
    </information>
    <resources>
        <!-- Application Resources -->
        <j2se version="1.6+"
              href="http://java.sun.com/products/autodl/j2se" />
        <jar href="jnlp/FingerPrint_fat1.jar" main="true" />

    </resources>
    <applet-desc 
        name="Enrollment Applet"
        main-class="ui.InvitationApplet"
        width="600"
        height="600">
        <param name="separate_jvm" value="true" />
        <param name="firstName" value="${firstName}"/>
        <param name="lastName" value="${lastName}"/>
        <param name="loginId" value="${loginId}"/>
        <param name="roleId" value="${roleId}"/>
        <param name="urlCode" value="${urlCode}"/>
        <param name="databaseURL" value="${databaseURL}"/>
        <param name="userName" value="${userName}"/>
        <param name="createdBy" value="${createdBy}"/>
        <param name="password" value="root"/>    
        <param name="driverName" value="com.mysql.jdbc.Driver"/>
        <param name="path" value="<%=a%>"/>
        <param name="invitedUnder" value="${invitedUnder}"/>
    </applet-desc>
    <update check="background"/>
</jnlp>            

I don’t get whats gone wrong because the day before everything was working fine.I am using SpringMVC 3.2 release and Java 7.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T18:17:38+00:00Added an answer on June 16, 2026 at 6:17 pm

    href="" The href should be explicitly set to a valid path, or omitted entirely.

    Be sure to validate the (typical) end product with JaNeLA.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to load a small .txt file into mysql but get all my data
I trying to load and save setting with this code but when I closing
I have a problem with out of memory when I'm trying load a few
While trying to load a Bitmap onto a SWFLoader the Event.COMPLETE event is not
Im trying to load a image at runtime in WPF using the following code
I aam trying to GET an array from a JSON file using JQuery's ajax
I'm trying to deploy the texteditor-applet example on this page: http://docs.oracle.com/javase/tutorial/deployment/doingMoreWithRIA/usingJNLPAPI.html on Glassfish. I
I'm trying to get games center to work with, no luck. I'm using the
I am trying to load the HelloWorld Example in Phonegap 1.9.0 using iOS and
I'm trying to get setup to do mobile development using phonegap so i can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.