Search found 341 matches

by Janak Mulani
05 Apr 2023, 10:34
Forum: Public Forums
Topic: Application not launching - looks like looping behavior
Replies: 26
Views: 20439

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: 22301

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: 20439

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: 20439

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: 20439

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: 10346

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: 10346

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: 20439

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: 20439

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: 20439

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: 20439

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: 20439

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: 4831

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: 5298

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: 7787

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: 14133

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.
by Janak Mulani
10 Mar 2023, 18:51
Forum: Installation & Configuration
Topic: Unattended Installation with JNLP file Association
Replies: 1
Views: 7725

Re: Unattended Installation with JNLP file Association

I tried reproducing this but could not. On my machine I had .jnlp associated to Oracle JWS using Settings > Choose Default Apps By File Type. .jnlp file were showing Java icons. Dbl clk/RtClk>open on jnlp file started oracle jws. I ran silent installer >OpenWebStart_windows-x64_1_7_0.exe> -q -varfil...
by Janak Mulani
10 Mar 2023, 12:44
Forum: Public Forums
Topic: Application not launching - looks like looping behavior
Replies: 26
Views: 20439

Re: Application not launching - looks like looping behavior

You are using OWS 1.4.0 : Stage 1 log says "Starting OpenWebStart 1.4.0".

Please try with the latest version of OWS 1.7.0 and send the logs. Please enable debug level logging and logging content of jnlp.
by Janak Mulani
10 Mar 2023, 12:41
Forum: Installation & Configuration
Topic: itw-settings.exe wont open
Replies: 7
Views: 14133

Re: itw-settings.exe wont open

Exception in thread "AWT-EventQueue-0" com.openwebstart.google.gson.JsonSyntaxException: Error in JSON conversion [ITW-APP ][2023-03-07 17:17:28.837 CET][ERROR][sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)] at com.openwebstart.jvm.json.JsonHandler.fromJson(JsonHandler.java:...
by Janak Mulani
09 Mar 2023, 20:42
Forum: Public Forums
Topic: FilePermission issue with OWS and RHEL8
Replies: 4
Views: 7787

Re: FilePermission issue with OWS and RHEL8

> The errors are coming from the log4j2 files that are saved in a remote server. I tested it in a Windows machine, and it worked just fine! Thus, the "java.io.FilePermission" error should be related to my Linux RHEL8 system. > When do you get these errors? After the application is started ...