• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

permission problem  RSS feed

Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to everybody....
I have a problem in the client when I download theejb stubs class and when I try to makethe lookup I receive the followException:

weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate class for irma.ejb.serviceSessionManager.ServiceSessionManager_b1engw_EOImpl_813_WLStub ] - with nested exception:
[java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)]
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:814)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObjectReplacer.java:2

I have resolved the problem adding the propery line regerding the "getClassLoader" in the java.policy file under the jre installation dir but I would want to resolve the problem in aother way without modify any file......
Is this possible,perhaps modifing the main source code or the sign jar parameter?
Can anyone help me?
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

This might help (from Sun's developer guide, http://java.sun.com/products/javawebstart/docs/developersguide.html):

"An application can request full access to a client system when all its JAR
files are signed by including the following settings in the JNLP file:


Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!