|
From: Christian <chr...@ta...> - 2011-01-21 06:07:21
|
Lars, I'm not exactly sure what you were meaning. I tried starting an application through webstart inside the wrapped java application in the same fashion you were describing (runtime.exec) on my Win7 machine. I was using this sample application: http://download.oracle.com/javase/tutorial/deployment/webstart/examples/webstart_ComponentArch_DynamicTreeDemo/src/dynamictree-webstart.jnlp When running in console it was working fine. But I think you were more referring to running the application as Windows Service, am I right? When running as service the web start application was launched also successfully, however because the service was running in session 0, the GUI didn't show. That's why I think you got the impression the application didn't start... We were already thinking about a way on how to overcome this and think we figured out a way to do so. However this is still a little ways off until it will be implemented as it requires launching secondary Wrapper and optionally Java processes in the individual desktop's user space which will interact with each desktop. These child processes will then communicate back to the central Wrapper and or JVM that is always running as a service. Cheers, Christian -----Original Message----- From: Lars Schnoor <Lar...@if...> Reply-to: Lar...@if..., wra...@li... To: wra...@li... Subject: [Wrapper-user] Java Service Wrapper and Java Web Start on Windows 7 Date: Wed, 19 Jan 2011 17:21:53 +0100 Hi I am using the Java Service Wrapper to start an application on Windows 7. This application uses Java Web Start to start another application. This works fine on Windows XP, but on Windows 7 nothing happens. I was wondering if anyone has experienced something similar and maybe found a solution? The starting of the application using the Java Service Wrapper works fine, but the application that is started with Java Web Start never starts. If I start the service manually using the batch-file the other application started with Java Web Start starts fine. When writing that I start the application with Java Web Start I mean something like this: Process process = runtime.exec("javaws http://"+server+jnlpFile); I think this might have something to do with the session issue, but my application works fine when started directly with the Java Service Wrapper. Any help would be appreciated. Lars ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |