jnlp

Performance testing of Thick client

自作多情 提交于 2019-12-12 02:58:26
问题 I have a thick client application to be tested. We need to downlod the jnlp file and then launch it, supply required credentials and click submit. It then launches the application. I'm newbie to performance testing and want to performance test this application. Which open source tool will be useful, which is the best tool for testing thick clients? 回答1: What do you mean by "Performance testing of Thick client"? If it is about how fast it launches, downloads or operates than you need to loop

java and signed jars on Mac

匆匆过客 提交于 2019-12-11 19:56:43
问题 I have a thick Java client that is launched as jnlp. The jars are all signed. this application works on all OSes except on Mac OSX 10.5.8. Using Safari or FireFox, when I launch the app, I get the following error: java.lang.NullPointerException at java.util.jar.JarVerifier.mapSignersToCodeSource(JarVerifier.java:496) at java.util.jar.JarVerifier.mapSignersToCodeSources(JarVerifier.java:508) at java.util.jar.JarVerifier.getCodeSources(JarVerifier.java:826) at java.util.jar.JarFile

JWS Class not found error

↘锁芯ラ 提交于 2019-12-11 19:33:47
问题 I was trying to explore how the JWS works end to end, was following this blog. JWS tutorial link initially got "unsigned jar error" stackoverflow post- may be fixed now, but now its throwing class not found, tried multiple things like creating a class without package etc etc, but still its not working. A new class with the steps etc. I am not sure if its some version compatibility issue or not. Apache tomcat - 8.0.23 Java -1.8.0_40-b26 JNLP file details <?xml version="1.0" encoding="utf-8"?>

Send userId at java web start from web page

孤街醉人 提交于 2019-12-11 18:22:11
问题 I'm developing a JSF2 site where the users may start a java application through java web start. The app parses mp3 metadata and sends back a xml file with the parsed information. I need some way of identifying the user for each file that is sent to the server and I have not been able to figure out how to do this. In other words the goal is to be able to set the userId in the xml file before the user sends it to the server. In order to do that, I need to somehow have that Id available in the

How to use variables in JNLP arguments

旧时模样 提交于 2019-12-11 15:57:41
问题 Having the following sample jnlp: <?xml version="1.0" encoding="UTF-8"?> <jnlp spec="1.0+" codebase="$$codebase" href="$$name"> <information> <title>Some Example</title> <vendor>Some Sample Vendor</vendor> <homepage href="http://www.somesamplevendorhomepage.com"/> <description>Some Sample Description</description> <icon kind="splash" href="link_to_some_splash.jpg"/> <offline-allowed/> </information> <security> <all-permissions/> </security> <update check="always" policy="always"/>

Unable to save using JNLP

柔情痞子 提交于 2019-12-11 15:03:19
问题 I am trying to save applet using JNLP in local system but getting the exception Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException Below is the snippet public void genericDocSave() { System.out.println("in genericDocSavedfdd"); FileSaveService fss; FileOpenService fos; try { fos = (FileOpenService)ServiceManager.lookup("javax.jnlp.FileOpenService"); fss = (FileSaveService)ServiceManager.lookup ("javax.jnlp.FileSaveService"); } catch (Exception e) { fss = null; fos = null; }

Applet, JNLP. Force update jar files

╄→гoц情女王★ 提交于 2019-12-11 14:28:53
问题 How I can force updating of my jar files when client open applet application? Jar files always cached in client machine. And I always need to clear cache using Java Control Panel. 回答1: I always need to clear cache using Java Control Panel. This is probably because the JWS client does not recognize the Jars as being new. One source of such confusion lies in the difference in time-zone between the developers machine and that of the server. In that case, the Jars will typically update within the

what are the advantages that JWS offers by keeping Jars separate vs One-Jar?

北城以北 提交于 2019-12-11 13:45:14
问题 I am trying to launch One-Jar using JWS but it could not make it launch. Can anybody suggest me a good approach to make web start version of application from my two options -- 1. Launch One-Jar using JWS Have anyone tried this earlier? I am not getting success in this. Related Post. 2. Launch simple application JAR by specifying each jar in property that are being used in application. I am looking a strong reason to avoid One-JAR because We always need to keep updating JNLP if any JAR version

Why can't I pack certain JARs outside WEB-INF

给你一囗甜甜゛ 提交于 2019-12-11 10:17:56
问题 I have read in several blogs that it is not advised (or not possible)to pack jars outside the WEB-INF folder. I am curious as to know why this is so.. For instatnce, mainStuff.war | |-->WEB-INF | | | |-->lib (having many jars, used by the contents of specificStuff.jar | |-->classes | |-->web.xml | |-->META-INF (having the .MF file and signed files .SF and .DSA) | | |-->index.jsp (consists of a jnlp xml, referring to the jars in lib) | | |-->specificStuff.jar (this is a separate jar module,

How to force to open JNLP File in Java 1.5.0_14 JRE instead of JRE 1.7

青春壹個敷衍的年華 提交于 2019-12-11 10:05:59
问题 I have Java 5-based Java Web Start application which I need to open on a Windows PC. PC has JRE 1.7 installed, with JRE 1.5.0_14 copied manually to the another drive (d:). The problem is that whenever I want to open the JW Start application, it opens using Java 7. Even if I use the javaws executable from JRE 1.5.0_14, somehow some properties still refer to JRE 7 files. How can I force JRE 1.5.0_14 to run just for this application? Thanks in advance & Best Regards. Edit 1: By the way, I forgot