Slow startup - many jars

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
sg431
Posts: 12
Joined: 21 Mar 2022, 08:17

Slow startup - many jars

Post by sg431 »

We use applications that consist of about 270 jars that need to be loaded. Starting with Oracle Webstart takes only a few seconds. With Openwebstart it can take up to 10 minutes. For individual users it is faster (about 1 minute), but not always.
Network problems should not be present.
We have tried to increase the parameter "deployment.cache.parallelDownloadCount". This gave a partial improvement, but it still takes way too long. Sometimes you get the impression that everything is still downloaded very slowly one after the other.

What can we do to improve this?

Janak Mulani
Posts: 497
Joined: 24 Mar 2020, 13:37

Re: Slow startup - many jars

Post by Janak Mulani »

OWS uses different code from Oracle JWS hence will behave differently.

We have tried to improve download and it happens in parallel. deployment.cache.parallelDownloadCount will increase the number of download threads. Default is 6. Do you see the download dialog with progress bar for each jar?

sg431
Posts: 12
Joined: 21 Mar 2022, 08:17

Re: Slow startup - many jars

Post by sg431 »

Yes, the progress bar is displayed for each jar.

Janak Mulani
Posts: 497
Joined: 24 Mar 2020, 13:37

Re: Slow startup - many jars

Post by Janak Mulani »

I cannot really say why the download is slow.

Are the logs you have sent by mail for the same application which you feel is slow while downloading? The logs indicate that there are 274 jar files.

From the stage-2 logs I can see that jar processing starts at 6:19:50.498 (line119) and jars are found in cache at 6:21:01.496 => about 2 minutes to download.

sg431
Posts: 12
Joined: 21 Mar 2022, 08:17

Re: Slow startup - many jars

Post by sg431 »

Yes, it is the same application. But it also applies to other applications that have the same base. For other users, the download time is much longer than 2 minutes.

sg431
Posts: 12
Joined: 21 Mar 2022, 08:17

Re: Slow startup - many jars

Post by sg431 »

Is there anything else I can do here now?

Janak Mulani
Posts: 497
Joined: 24 Mar 2020, 13:37

Re: Slow startup - many jars

Post by Janak Mulani »

You have tried increasing download threads. Beyond this it is hard to say how OWS is performing in on in your environment. We need to do detailed profiling to observe the performance. Request you to buy paid support so that we can allocate dedicated resources to investigate this issue.

Post Reply