• Post Reply Bookmark Topic Watch Topic
  • New Topic

permission problem

mickey hendrix
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?
Cristian Negresco
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:


my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!