2 Replies Latest reply on Oct 20, 2003 11:48 AM by maaaah

    java.lang.VeryfyError

    maaaah

      I am currently trying to use TopLink with JBoss 3.2.1 - I used it on another AppServer. When ClassLoader loads TopLink class XMLLoader it throws:

      java.lang.VerifyError: (class: oracle/toplink/tools/sessionconfiguration/XMLLoad
      er, method: retreiveDOM signature: (Ljava/lang/ClassLoader;)Lorg/w3c/dom/Documen
      t;) Incompatible object argument for function call

      XMLLoader class contains retreiveDOM (java.lang.ClassLoader c) method.

      It is probably because that java security forbids use of java.lang.ClassLoader as a parameter.

      How I should disable all restrictions in JBoss?

        • 1. Re: java.lang.VeryfyError

          The JVM permissions are in server.policy file. By default they grant all access.

          -- Juha

          • 2. Re: java.lang.VeryfyError
            maaaah

            Heh, thank you. But I've checked server.policy - all ok. My mistake was that I tried to load XML parser classes by child classloader. As stated at enhydra.org it could not be done. May be it is true - my app works :-)