Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8019367

With java console showing app starts up, without console it doesn't

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 7u25
    • Fix Version/s: 7u40
    • Component/s: deploy
    • Labels:

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dmarkov Dmitry Markov
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: