Xerces2-J
  1. Xerces2-J
  2. XERCESJ-545

p = new DOMParser(); creates an UnsatisfiedLinkError

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Resolution: Incomplete
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: DOM (Level 3 Core)
    • Labels:
      None
    • Environment:
      Operating System: Windows NT/2K
      Platform: PC

      Description

      I'm working on an VisualJ++ Project which creates an executeable including the xerces
      packages.
      Since i have switched from Xerces 1.4 to 2.2.1 my Application won't start.
      I
      debugged and found the cause of this error here

      => parser = new DOMParser();

      at this point
      i get the following exception:

      Could not initialize.
      java.lang.UnsatisfiedLinkError:
      java/security/AccessController.doPrivileged Possible causes: If you are trying to use
      J/Direct(@dll.import), check your compiler version(for JVC, requires 4336 or greater.) If you
      are trying tu use RNI, there are new requirements: see documentation.
      at
      java/sevurity/AcessController.doPrivileged(AccessController.java)
      at
      org/apache/xerces/util/SecuritySupport12.getContextClassLoader
      at
      org/apache/xerces/util/ObjectFactory.findClassLoader
      at
      org/apache/xerces/util/ObjectFactory.createObject
      at
      org/apache/xerces/util/ObjectFactory.createObject
      at
      org/apache/xerces/parsers/DOMParser.<init>
      at
      org/apache/xerces/parsers/DOMParser.<init>
      ...etc.

      the same Application with the
      same code worked fine before i switched to Xerces 2.2.1.
      Until now i've seen this error only on
      some NT4SP6 machines. Other machines works perfekt also with the new package. On win2k machines
      i've never had this Problem.
      Could you please thell about the changes between 1.4 & 2.2.1 that
      could cause this problem on some NT4 machines?

      Thank you.

        Activity

        Jan Kubitschek created issue -
        Hide
        Jan Kubitschek added a comment -

        Please delete this Bug... it was a simple Classpath problem on my side.

        sorry!

        Regards, Jan.

        Show
        Jan Kubitschek added a comment - Please delete this Bug... it was a simple Classpath problem on my side. sorry! Regards, Jan.
        Serge Knystautas made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 15447 20605
        Mark Thomas made changes -
        Workflow jira [ 30600 ] Default workflow, editable Closed status [ 12575089 ]
        Mark Thomas made changes -
        Assignee Xerces-J Developers Mailing List [ xerces-j-dev@xml.apache.org ]
        Mark Thomas made changes -
        Assignee Xerces-J Developers Mailing List [ xerces-j-dev@xml.apache.org ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12575089 ] jira [ 12598563 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Jan Kubitschek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development