JDK-8019367 : With java console showing app starts up, without console it doesn't
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7u25
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_7
  • Submitted: 2013-06-28
  • Updated: 2013-07-26
  • Resolved: 2013-07-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7u40Resolved
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version  " 1.7.0_25 " 
Java(TM) SE Runtime Environment (build 1.7.0_25-b16)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)


ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.2.9200]

A DESCRIPTION OF THE PROBLEM :
We use heavily webstart apps that are also quite big with loads of jars and jnlps (extensions in extensions and so on)

see for example: https://login.directmanager.nl/servoy-client/DirectManager.jnlp

that jnlp has a reference to for example: it2be-calendar.jar.jnlp
that again has 4 jars, that builds up a calender bean/component

Now if i start with the java console enabled/showing. It works just fine. If i disable or hide the java console through the preferences the bean class can't suddenly be found.

also i see really a difference in the trace.. If it works i see right before the bean is loaded this in the console or output log file:

Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-calendar/migcalendar.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-calendar/migcalendar.jar

that means that that jar is then touched. If the console is disabled those 2 lines don't come up and i get a ClassNotFoundException..



REGRESSION.  Last worked in version 7u25

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
i could give you some customers login codes but i can't just give it you through this.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
INFO: Scheduler scheduler_$_one started.
Missing Permissions manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-calendar/migcalendar.jar
Missing Codebase manifest attribute for: https://login.directmanager.nl:443/plugins/it2be-calendar/migcalendar.jar
ERROR - components                 -
ERROR - components                 -
0 events gevonden!
0 events gevonden!

that is a log file when it works around that same time
ACTUAL -
INFO: Scheduler scheduler_$_one started.
java.lang.ClassNotFoundException: com/it2be/servoy/bean/IT2BeCalendar
Continuing ...

that is what i get when it doesnt work

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
no thing found so far except showing the java console which is ofcourse not really doable in a production environment
Comments
remove the critical-watch if this is closed as a dup.
24-07-2013

Fixed by the changes for JDK-8017776. Closing as duplicate.
18-07-2013

I think this might be fixed by 8017776: Swing Event Thread does not use JNLP class loader can you try and see if that's the case please ?
11-07-2013