java-web-start

Found unsigned entry in resource

喜你入骨 提交于 2019-11-27 02:04:34
问题 i have the following JNLP file: <jnlp spec="1.0+" codebase="http://****:****" href="tcm2012.jnlp"> <information> <title>TCM 2012</title> <vendor>Drift og Performance, *** Servicecenter</vendor> <homepage href="http://******"/> <description/> </information> <security> <all-permissions/> </security> <resources> <j2se version="1.6+"/> <jar href="tcm2012.jar"/> </resources> <application-desc main-class="com.****.kundeservice.TCMApplication"/> </jnlp> Now when i try to run in from the web i get

NullPointerException in invokeLater while running through Java Webstart

*爱你&永不变心* 提交于 2019-11-27 01:36:22
After upgraded from JRE 1.7.0_21 to 1.7.0_25-b15 my application started to throw NullPointerException in SwingUtilities.invokeLater(...) when it is run from Java WebStart. Surprisingly when it is executed as a standalone application (outside JWS), it works great. Here is the top of the stack: Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1011) at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1007) at sun.awt.SunToolkit.getSystemEventQueueImpl(SunToolkit.java:1002) at java.awt.Toolkit

How do I pipe the Java console output to a file?

别来无恙 提交于 2019-11-27 01:36:06
问题 I found a bug in an application that completely freezes the JVM. The produced stacktrace would provide valuable information for the developers and I would like to retrieve it from the Java console. When the JVM crashes, the console is frozen and I cannot copy the contained text anymore. Is there way to pipe the Java console directly to a file or some other means of accessing the console output of a Java application? Update: I forgot to mention, without changing the code. I am a manual tester.

How do I fix “missing Codebase, Permissions, and Application-Name manifest attribute” in my JNLP app?

帅比萌擦擦* 提交于 2019-11-27 01:18:27
With the recent Java updates, many people are having trouble with their Java Web Start apps lacking Codebase , Permissions , and Application-name manifest attributes. Although there are resources out there to help you accomplish this, I couldn't find any comprehensive answers to this question, I so I felt a Q-and-A would be good. So, here's the question: My Java Web Start app displays the following warnings in the console: Missing Permissions manifest attribute for: http://www.codebase.com/myApp/dist/myApp.jar Missing Codebase manifest attribute for: http://www.codebase.com/myApp/dist/myApp

How can I debug applications under Java Web Start (JNLP)?

余生颓废 提交于 2019-11-27 00:50:29
I know how I can debug a remote Java VM with Eclipse, but how can I do it with a Java Web Start program. I have a problem that only occurs in Java Web Start. It must be security related. I need a solution that will work with a current Java VM like 1.6.0_12. Kai Huppmann It's quite the same like with any other Java process you want to debug remotely: You have to set up some arguments for the VM ( -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=n,suspend=y,address=12345 ) and then connect to the given port. In Java webstart 6.0 this can be done with the -J option, in earlier version via

How to record a JNLP/ Java Web Start application with JMeter

时间秒杀一切 提交于 2019-11-26 23:39:27
问题 I need to do a performance test for JNLP accessible application. I used WireShark and see that the jnlp generates only TCP traffic. I read all the post related with jnlp perf testing and I tried with Apache JMeter + UbikLoadPack Java Serialization plugin but jmeter does not capture the traffic. Is it my only option capture the TCP traffic and work with that ? Regards, Jaime 回答1: If traffic is HTTP(s), as per documentation of UbikLoadPack bundle, You need to follow the instructions of

Where is the jar files cached for Java Web Start/JNLP applications?

杀马特。学长 韩版系。学妹 提交于 2019-11-26 23:34:53
问题 Where is the jar files cached for Java Web Start/JNLP applications? 回答1: It depends... on your OS and virtual machine, e.g.: with a Sun JDK 1.5 and Windows XP: C:\Documents and Settings\userid\Application Data\Sun\Java\Deployment\cache\javaws\ with a Sun JDK 1.6 and Vista: C:\Users\userid\AppData\LocalLow\Sun\Java\Deployment\cache\6.0 with a Sun JDK 1.6 and GNU/Linux: /home/userid/.java/deployment/cache/6.0 with a Sun JDK 1.6 and Mac OS X: ~/Library/Caches/Java/cache/6.0/ With a Sun JDK 6,

JTable Calls Custom Cell Renderer Method… Continuously

烂漫一生 提交于 2019-11-26 22:59:44
Compilable source can be found at: http://www.splashcd.com/jtable.tar I'm new to the language, so I'm not sure if this is acceptable behavior or not. I created a JTable to display a row for each message received (it receives about one every 20 seconds). One of the table columns can contain a large amount of text, so I created a custom cell renderer which word wraps and sets the row height accordingly. All that works as expected, except that once the table displays its first row, it calls the cell renderer about ten times a second... until the user closes the table. Once I get approx 20 rows in

What is the difference between runnable jar library handling options?

拟墨画扇 提交于 2019-11-26 22:31:37
问题 So I will be using Java Web Start to deploy the java application. When exporting to a Runnable Jar, there are three options in eclipse Helios. Extract required libraries into JAR Package required libraries into JAR Copy required libraries into sub folder next to JAR. What are differences, and how will they affect my .jnlp file? If it's a single jar, isn't it easier because I wouldn't have to write all the different paths to all the libraries it uses? If there are changes in both the library

Can't find jnlp.jar in JDK 1.7

百般思念 提交于 2019-11-26 22:10:48
问题 I have JDK 1.7 installed and I need to make a Java Web Start application. I searched the internet and found that you need the jnlp.jar in your project build path. There is a similar question (http://stackoverflow.com/questions/7593029/where-can-i-download-jnlp-jar) where a user said it's in the jdk folder, specifically in C:\Program Files\Java\jdk1.6.0_27\sample\jnlp\servlet. But that is for JDK 1.6. In 1.7 there is no sample folder and I can't find any jnlp.jar with windows search. If there