java-web-start

Configuring permissions for JNLP:

I'm trying to run a webstart demo, which ran on my friend's Windows machine, but throws an access error on my Ubuntu Linux box. javaws http://common.l2fprod.com/jnlp/demo.jnlp And I get the following error on my Linux box: java.security.AccessControlException: access denied (java.util.PropertyPermission javawebstart.version read) ...

Java web start doesn't launch

On my Windows 7 x64 machine, I'm having problems launching my remotely deployed Web Start app (the Web Start app launches correctly on another PC as expected). In IE or FF, I click on the web start launch link, the JNLP is downloaded, it seems to get executed and nothing happens. I see javaws.exe processes running. I don't see a java....

Java Web Start application gives MARSHAL exception when data loaded from database via remote EJB.

I have a Java Web Start application calling remote Java EE 5 EJBs to load in data from a database. When the data is returned from the EJB to the client, I get the following exception. Looking it up online, it seems that everyone gets this exception and everyone has a different solution for it. All of my entities (abstract or not) imple...

java web start alternative

We're looking for an alternative to Java web start that effectively does the same thing, just better implemented. We're having massive trouble with it. We have a few offices of XP desktops, all slightly different and so far only a handful have worked without serious tweaking. Problems are to do with not playing nicely with the proxy sett...

Tomcat + Hibernate + JNLP

Hello, I have a small question, I'm trying to build and application that run's on Tomcat 6.0.28. My application is a JNLP that has a swing frame. The deployment works fine, was able to delopy the JNLP in Tomcat and to access it after that from a browser. The JFrame show's up when I execute the JAR. But the problem is that I have a M...

Java webstart max-heap-size causes JVM cannot be started

We use java webstart on the client side for a java swing based aplication. Recently we have been experiencing a weird "Cannot start java Virtual machine " error when clicking in the jnlp link. We soon find out its because the max-heap-size setting in the jnlp file was set to 1024m whereas most of the clients PC only have 1 gb physical ...

Log4J and Java Web Start, how to alternate between different configurations?

Hello, i'm starting with Log4J and i want to have a default log4j.properties in our Java Web Start distributed application, which only logs errors and important events. But if something was wrong in one client i want to have a more detailed log, the way to do this is to define an alternate log4j configuration file in this client. This ...

What GUI toolkit is Cisco's ASDM written in?

I like the way ASDM on a ASA5505 works very much. Would anyone know what GUI toolkit did Cisco use to develop it? ...

How can I use JNLP to download Java 7?

I'm developing a rich Internet application that requires a Java 7 platform. How can its associated JNLP file ensure the installation of that platform? I've tried several variations on the following in the JNLP file (mostly playing with the URL in the "href" attribute): <jnlp ...> ... <resources> <java version="1.7+" href="http...

Dependency issues in deploying using Java Webstart

I am working on a project in Java which has a directory structure something like this: MainFolder / | \ Folder1 Folder2 Folder3... | Program.jar|Run.sh In Folder1 I have main jar file along with the shell script to run the program. In Folder2 I'm having configuration files in xml which may later be modified ...

Can I change the alias of my key?

I signed my JWS application MemorizEasy with a key whose alias is: memofile.reference.emma.jar=/Users/simpatico/.netbeans/6.8/modules/ext/emma.jar I don't remember why I chose such a long alias. I suspect it was memo only, but in my project settings I have: jnlp.signjar.alias=memofile.reference.emma.jar=/Users/simpatico/.netbeans/6.8/mo...

How to know which jars are the unsigned?

jarsigner -verify -verbose -certs /Users/simpatico/ws/MemoPlatform/application/target/webstart/foo/org-netbeans-modules-xml-retriever/org-netbeans-modules-xml-retriever.jar Returns that the jar is indeed signed: ... smk 4996 Mon Aug 02 14:20:54 AST 2010 org/netbeans/modules/xml/retriever/impl/Util.class X.509, CN=Gabriele, ...

Why does Java Web Start say a signed jar file is unsigned?

Java Web Start (JWS) says that it can't launch my application because the jar file is unsigned: Error: Unsigned application requesting unrestricted access to system Unsigned resource: .../dynaccn.jar But the jar file is signed: $ jarsigner -keystore ... dynaccn.jar idv $ jar tf dynaccn.jar META-INF/MANIFEST.MF META-INF/IDV.SF ...

How make working directory files available to WebStart application?

Hello everyone, We have to make a Java application demo available on Internet using JWS. It goes pretty well; all that's missing is making working directory files available for the application. We know about the getResource() way... The problem is that we have different plugins for the same application and each one require different fi...

How to persuade Java Web Start to actually remember password?

I use Java Web Start. The file is on http server, that needs name and password (it's windows server). What the Java Web start does is this (with user and IP redacted): The same on MS Windows client. There is this "Save this password in your password list" option, that does nothing at all (on both Mac OS and Windows), when running this...

Java Webstart not working offline (NoRouteToHostException/UnknownHostException)

I want to configure my webstart app/jnlp so that if no internet connection is available, it would start from cache. Nevertheless, when I disconnect from the internet, I always get a NoRouteToHostException or UnknownHostException exception, despite the configuration below. I've set the offline-allowed and update tags/attributes properly ...

How to get jnlp href attribute at run time in Java web Start app (similar to BasicService.getCodeBase())?

I have a single application that I am deploying via Java web Start. I have several different jnlp files for different launch scenarios. I am using DownloadService2 to check for updates periodically. When an update is available, I prompt the user. If they elect to update, I launch a new instance of javaws using Runtime.getRuntime().ex...

Java Web Start runtime update notification - checking for update with DownloadService2

I am deploying an application using Java Web Start and would like to provide in-app notification of update availability. I'm using DownloadService2 to check for update availability, but the return value is always an empty array. I'm doing something like: {code} Basic Service bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicSe...

ClassNotFoundException deploying webservice on Weblogic 10.3 with Hibernate

I have a project with a EJB implementing a JWS Webservice, like this: @Stateless @Remote(WebServiceTest.class) @WebService( serviceName="TestService", name="TestName" ) public class WebServiceTestImpl implements WebServiceTest { @Override @WebMethod(operationName="hello") public String hello() { return "Hello World!"; } } I de...

Are javaws exit codes really broken?

I was working to automate same java code execution using JNLP and I was surprised to discover that jawaws did not gave me a valid return code. Original execution line was: javaws -wait http://example.com:666/missing.jnlp This did showed an ugly window with "Unable to launch application." message. As you can image I tried to make thi...