java-web-start

redirecting a java web start app logs to a file

We have an application that we access over Java web start internally at our office. all the logs produced by the app are displayed in Firefox's console. what I want to do is to redirect that to a file. is that possible ? and how to do that ? P.S : the application is designed as follow : a client app that accesses an EJB on a server....

Authenticating a Java Web Start Client App

I have a Java Web Start Application which communicates against my server via a web service (over https). I want to restrict the usage of the webservice to my app only, so that 3rd party apps don't work. What strategies to I have? This question is somewhat broad, but running in JWS disables some options, like doing a checksum over all ja...

Possible to launch JWS applet within browser instead of standalone?

Is it possible to embed an applet in HTML so that it will be displayed within the browser window yet launched through Java Web Start via a JNLP file instead of using the browser's Java plugin? If so, how is this done? I've only been able to launch my applet in a standalone window, but disliking the user experience pop-ups create, I'd p...

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

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

Java Web Start: unsigned cglib

I am using hibernate on the server side with a client application started via Java Web Start. I can't sign the jars (I'd like to but I can't). I get a permission exception when I get a POJO with lazy fields. Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission cglib.debugLocation read) at java...

Webservice Read Timeout

All, I am calling a web service deployed on jboss using java annotations (javax.jws.web*) exposing a single method. In my web.xml I have the following code appended before the end of the webapp <session-config> <session-timeout>0</session-timeout> </session-config> I am wanting to the web service to wait and receive a response but...

Java Web Start window title problem

I've written a JavaFX application that uses Java Web Start. For some reason, the window title is always "Java" (on Linux) or blank (on Windows). However, the desktop icon has the correct application title and image. From what I've found so far, the important bit here is the information > title element in the JNLP file. What am I mis...

Java Web Start (JNLP) Loading Message

Is it possible to display a custom loading message when a user loads a java web start application from a webpage? Maybe a progressbar or something similar. Users with slow connections see "Java Loading..." for far too long while the jars are downloaded for the first time. ...

signing jars to be used over web start

I have a java web start app that uses Swing and needs to allow a user to open a file local on their machine. My application is failing to run because it says that the the single jar I am trying to use is unsigned. I did however, sign it. In my .jnlp file I am specifying security as: <security> <j2ee-application-client-permissions/> </...

jnlp unaivalable service exception

I am trying to use the FileOpenSerivce, but I always get an UnaivableServiceException regardless of whether I run it from Eclipse, or from my local webserver using the jnlp file. I am using an unsigned jar, which from what I understand is ok. I got a debugger connected, and when running under Webstart, everything seems to succeed just...

What is causing the problem - I am not able launch JNLP aaplications using "Java Web Start" ?

Up until recently, I was able to launch/open JNLP files in Firefox using Java web start. Don't know what happened all of a sudden JNLP files stopped launching, a splash screen appears saying Java Starting... and then nothing happens. Even the Java Console in the browser and javacpl.cpl applet doesn't open. Tried all possibilities: remo...

See a JWS apps stack trace?

How can I view a JWS apps stack trace? ...

Using CXF web service from java web start

UPDATE: I have submitted my question to the CXF User's mailing list, here. UPDATE: I have currently signed all of my jars. I still can't seem to get CXF setup in a way that it can find the WSDL. My last attempt was to place the WSDL inside of my WAr file so I can access it through a web browser. I set the wsdllocation inside of the clie...

Creating a desktop icon using JWS JNLP for a JavaFX app.

I am trying to get a custom destop icon to be displayed for my app but for some reason no matter what I do the same default java icon shows up. I have tried everything I can think of and gone and compared my jnlp file with others whose icons seem to work ok. According to everything I have read the following should work fine. But of cours...

Shared jars in apache-tomcat 6.0.20

Hi I'm pretty new to JWS. I have a web application ( several web services ) that I want to deploy using tomcat 6.0.20 on a linux system. Everything's ok if I generate a .war file with all used libraries inside and put it in the webapps directory, but I want to have these jars shared, and the .war file itself is way too big. First I t...

How to detect if file exists in jnlp without opening a file dialog box ?

In my jnlp app I need to know if a user property file exists, if it does, load it, my code looks like this : File_Contents=File_Open_Service.openFileDialog(".",new String[]{".txt"}); String Text=readFromFile(File_Contents); InputStreamReader in=new InputStreamReader(File_Contents.getInputStream()); Application_Props.load(in); Users d...

JNLP java.security.AccessControlException with TargetDataLine.open() ?

I have the following line which caused this error message run under JNLP : java.security.AccessControlException: access denied (javax.sound.sampled.AudioPermission record) at java.security.AccessControlContext.checkPermission(Unknown Source) TargetDataLine targetDataLine.open(audioFormat); How to fix it ? Or does that mean in JN...

Java Webstart: Does the execution of a local project using javaws ensure security restructions?

Hello, everyone! I've build a Netbeans project with enabled Java Webstart. The .jar itself seems not to be changed, but there are new files such as launch.jnlp. Inside there are some references to other jars and to that of the main project. The project now can be launched not only with java -jar MyProject.jar, but also with javaws laun...

How can i deliver jetty with many webapps via jnlp?

Hello, i have a webapp (http://sourceforge.net/projects/sf-mvn-plugins/files/m2-repo/net/sf/maven/plugins/example-captaincasa-jnlp/0.1-SNAPSHOT/example-captaincasa-jnlp-0.1-SNAPSHOT.war/download) wich use jsf in a servlet container. This works fine with jetty-maven-plugin run-war target at my local pc. In the future i would like make mo...

How to debug Java Web start applications?

The problem in short: I have a Java Web Start Application that I launch from live site by download a tailored JNLP file. The problem is that once the Java Web Start application has loaded, the application quits without any warning. I know that the certificate is OK since when I enable "Show site certificate from server even if it is va...