Search found 345 matches

by Janak Mulani
26 Apr 2023, 09:10
Forum: Public Forums
Topic: unable to launch jnlp File - Fatal: Read Error: Could not read or parse the JNLP file
Replies: 11
Views: 17263

Re: unable to launch jnlp File - Fatal: Read Error: Could not read or parse the JNLP file

In the Jnlp, your application is tagged as an Applet. OWS does not support applets. <applet-desc name="KeyLink Applet" main-class="com.ubs.swidKL2.v1.init.KLW" width="1260" height="850"> You will have to convert your applet to a java application and specify it...
by Janak Mulani
26 Apr 2023, 08:38
Forum: Public Forums
Topic: Launch Error: Could not launch JNLP file
Replies: 3
Views: 10723

Re: Launch Error: Could not launch JNLP file

On line 308 In the Stage 2 log, OWS is Starting your application and invoking the main method of your application. After that there is an exception in your app: Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(...
by Janak Mulani
18 Apr 2023, 06:59
Forum: Public Forums
Topic: Launch Error: Could not launch JNLP file
Replies: 3
Views: 10723

Re: Launch Error: Could not launch JNLP file

Please attach the log files. Please don't copy and paste logs as it is difficult to read long logs.

It could be that the jar file is corrupt or you need to provide the jvm arg in jnlp for the module in which the class iss.
by Janak Mulani
17 Apr 2023, 10:19
Forum: Installation & Configuration
Topic: Heapsize leads to abort of the OpenWebstart installation
Replies: 1
Views: 7776

Re: Heapsize leads to abort of the OpenWebstart installation

You must be running the OWS installer for Windows. install4j creates a log file prefixed with i4j_log in the temporary directory when an installer application is executed. This log file can be helpful for debugging purposes. Also I found the following. See if it helps [url]https://stackoverflow.com/...
by Janak Mulani
05 Apr 2023, 10:34
Forum: Public Forums
Topic: Application not launching - looks like looping behavior
Replies: 26
Views: 20839

Re: Application not launching - looks like looping behavior

> Removing APPLICATION_TEMPLATE.JNLP seems to fix the issue, but I now have a new problem: My app (login prompt) is not launching before a POST is sent. The POST fails because user is not authenticated. > I don't understand. From where did you remove the APPLICATION_TEMPLATE.JNLP, from JNLP-INF in t...
by Janak Mulani
05 Apr 2023, 09:02
Forum: Public Forums
Topic: Jars are downloaded several times during application running (and it fails)
Replies: 15
Views: 22542

Re: Jars are downloaded several times during application running (and it fails)

You say the jars are downloaded and the application is started successfully but after that jars are downloaded again?

Can you please send the logs? What does your C:\Users\Janak\.cache\icedtea-web\cache\recently_used.cache look like?

Is your application using JNLP API like DownloadService?
by Janak Mulani
04 Apr 2023, 13:48
Forum: Public Forums
Topic: Application not launching - looks like looping behavior
Replies: 26
Views: 20839

Re: Application not launching - looks like looping behavior

But, are you using any of the JNLP APIs in your application? Is removing the APPLICATION_TEMPLATE.JNLP a solution? Don't you need Signed JNLP? How about removing JNLP-INF from INDEX.LIST but keeping the JNLP-INF/APPLICATION_TEMPLATE.JNLP? Does that work? OWS code is different from JWS of Java 8 so c...
by Janak Mulani
04 Apr 2023, 12:08
Forum: Public Forums
Topic: Application not launching - looks like looping behavior
Replies: 26
Views: 20839

Re: Application not launching - looks like looping behavior

<application-desc main-class="no.statnett.fifty.intern.client.ApplicationStarter" name="Fifty (@https://mms-sn-nattbygg1-klient-fifty-cm-mms-endpoints.apps.stas-test.statnett.no)" > <argument>https://mms-sn-nattbygg1-klient-fifty-cm-mms-endpoints.apps.stas-test.statnett.no/larm<...
by Janak Mulani
31 Mar 2023, 14:10
Forum: Public Forums
Topic: Application not launching - looks like looping behavior
Replies: 26
Views: 20839

Re: Application not launching - looks like looping behavior

I created a sample jar with JNLP-INF containing APPLICATION_TEMPLATE.JNLP and also INDEX.LIST: 75 Fri Mar 31 17:17:34 IST 2023 META-INF/INDEX.LIST 0 Fri Mar 31 17:17:06 IST 2023 META-INF/ 58 Fri Mar 31 17:17:06 IST 2023 META-INF/MANIFEST.MF 1882 Wed Mar 09 13:12:36 IST 2022 Hello.class 699 Wed Mar 0...
by Janak Mulani
31 Mar 2023, 13:21
Forum: Public Forums
Topic: Slow startup - many jars
Replies: 10
Views: 10546

Re: Slow startup - many jars

Just to clearly identify your issues: 1. When there are many files in the cache itw-settings is not able to clean the cache, you had to do it at OS level. This happened when you had 270 jars in the cache. How did you try to clean the cache, by selecting and purging files in "View Files" pa...
by Janak Mulani
30 Mar 2023, 09:58
Forum: Public Forums
Topic: Slow startup - many jars
Replies: 10
Views: 10546

Re: Slow startup - many jars

Do you mean to say clearing cache with the itw-settings tool did not clear the cache? Also do you mean that App started faster when cache was clean and OWS downloaded resources against when the resources were in the cache? Is the app starting slow everytime when resources are present in the cache? I...
by Janak Mulani
30 Mar 2023, 09:44
Forum: Public Forums
Topic: Application not launching - looks like looping behavior
Replies: 26
Views: 20839

Re: Application not launching - looks like looping behavior

This is just the META-INF. What about the other content at root level?

What does your INDEX.LIST contain?
by Janak Mulani
29 Mar 2023, 10:36
Forum: Public Forums
Topic: Application not launching - looks like looping behavior
Replies: 26
Views: 20839

Re: Application not launching - looks like looping behavior

would you consider buying paid support or online consulting? Then I can have a deeper look at your app.

OWS is starting your app, but OWS is also finding something in your jar which is making it read the APPLICATION_TEMPLATE.JNLP again and again.

What is the content of your jar file?
by Janak Mulani
27 Mar 2023, 17:14
Forum: Public Forums
Topic: Application not launching - looks like looping behavior
Replies: 26
Views: 20839

Re: Application not launching - looks like looping behavior

Of course, you either have the APPLICATION.JNLP or the APPLICATION_TEMPLATE.JNLP. You have the latter. I tried creating a sample signed jnlp like yours. See attached. I could not reproduce your issue. In your case too the jar is processed, APPLICATION_TEMPLATE.JNLP is found and processed and then ap...
by Janak Mulani
27 Mar 2023, 13:05
Forum: Public Forums
Topic: Application not launching - looks like looping behavior
Replies: 26
Views: 20839

Re: Application not launching - looks like looping behavior

Can you share your APPLICATION.JNLP?

What are the contents of your jar i.e. the directory structure within the jar and contents of JNLP-INF and META-INF folder and manifest?
by Janak Mulani
23 Mar 2023, 18:48
Forum: Public Forums
Topic: Application not launching - looks like looping behavior
Replies: 26
Views: 20839

Re: Application not launching - looks like looping behavior

You have a jar file specified in your Jnlp file. This jar file must have a JNLP-INF folder which must contain APPLICATION.TEMPLATE.JNLP. Can you please send me the APPLICATION_TEMPLATE.JNLP? You are running on Windows OS which is not x86, other jvm args are picked up. Your jnlp is being launched wit...
by Janak Mulani
21 Mar 2023, 15:24
Forum: Public Forums
Topic: OpenWebStart as Java 8
Replies: 2
Views: 4941

Re: OpenWebStart as Java 8

OWS is not a replacement for Java 8. OWS uses a JVM (Java8 or higher) to start your application which is specified in a Jnlp file ( https://docs.oracle.com/javase/tutorial/deployment/deploymentInDepth/jnlp.html ) OWS implements https://jcp.org/en/jsr/detail?id=56 Your application must be packaged in...
by Janak Mulani
13 Mar 2023, 08:13
Forum: Installation & Configuration
Topic: auto update
Replies: 1
Views: 5368

Re: auto update

Do you mean Auto Update of OpenWebStart? You can do it using itw-settings: DisableAutoUpdate.png The following properties in deployment.properties are set from the choice made in itw-settings: ows.update.strategy.launch=NEVER ows.update.strategy.settings=NEVER ows.update.activated=false > as i tried...
by Janak Mulani
10 Mar 2023, 19:46
Forum: Public Forums
Topic: FilePermission issue with OWS and RHEL8
Replies: 4
Views: 7885

Re: FilePermission issue with OWS and RHEL8

please post the complete stage 1 and stage 2 OWS log files.
by Janak Mulani
10 Mar 2023, 19:43
Forum: Installation & Configuration
Topic: itw-settings.exe wont open
Replies: 7
Views: 14382

Re: itw-settings.exe wont open

> What exactly did the "javaws.exe -Xclearcache" command clear? I assumed it will get rid of all the cached data.

It clears the applications cache - all the cached jnlps and jars.

jvm-cache is for caching the downloaded jvms that are used to run jnlp applications.