Announcement Announcement Module
No announcement yet.
webstart. application cannot be started in secure context Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • webstart. application cannot be started in secure context

    I have a problem starting my client in a secure context when I use spring.

    Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
    at org.springframework.util.ClassUtils.<clinit>(Class
    at <init>(
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at Source)
    Caused by: access denied (java.util.PropertyPermission org.apache.commons.logging.LogFactory.HashtableImp l read)
    at (Unknown Source)
    at nown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unkn own Source)
    at java.lang.System.getProperty(Unknown Source)
    at org.apache.commons.logging.LogFactory.createFactor yStore(
    at org.apache.commons.logging.LogFactory.<clinit>(Log
    ... 34 more

    private static final Hashtable createFactoryStore() {
    Hashtable result = null;
    String storeImplementationClass
    if (storeImplementationClass == null) {
    storeImplementationClass = WEAK_HASHTABLE_CLASSNAME;

    I do not get the Problem If I sign the jars and use the 'permision-all' tag in my jnlp, but that is not what I want.

    Actually the problem seems to be inside the commons-logging but as spring depends directly on it, it seems as if spring cannot be used in secure webstart clients.

    Does anyone have an idea how to overcome that problem ???