Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 3.9.2
    • Fix Version/s: EJBCA 4.0.0
    • Component/s: Install-script
    • Labels:
      None
    • Environment:
      CentOS 5.1 (x86), JBOSS 6.0 (M1), jdk-1.6.0_12

      Description

      I have made a try to setup ejbca (3.9.2) on the newly available jboss 6.0 (M1).
      Compilation goes well, but I encounter "Failed to create a new SAX parser" issue when deploying.

      Looking to internet, this error seems to come from a difference between libraries from jboss and those provided by ejbca.


      The first exception is:
      17:44:47,304 INFO [TomcatDeployment] deploy, ctxPath=/ejbca/publicweb
      17:44:47,315 ERROR [JBossContextConfig] XML error parsing: context.xml
      org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
              at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)


      (other exception is of the same type)


      1. jboss6.patch
        13 kB
        Tomas Gustavsson

        Issue Links

          Activity

          Hide
          Tomas Gustavsson added a comment -
          I don't even have the file '/home/tomas/Dev/jboss-6.0.0.Final/common/lib/servlet-api_3.0_spec.jar' so something is definitely fishy with this commit.
          Show
          Tomas Gustavsson added a comment - I don't even have the file '/home/tomas/Dev/jboss-6.0.0.Final/common/lib/servlet-api_3.0_spec.jar' so something is definitely fishy with this commit.
          Hide
          Tomas Gustavsson added a comment -
          There is a jboss-servlet-api_3.0_spec.jar, so I guess you didn't really test the change to .classpath right?
          Show
          Tomas Gustavsson added a comment - There is a jboss-servlet-api_3.0_spec.jar, so I guess you didn't really test the change to .classpath right?
          Hide
          Johan Eklund added a comment -
          lib/batik/xml-apis-ext.jar (SVG classes) is still required according Glassfish JEE verifier and used from org.ejbca.core.model.hardtoken.profiles.SVGImageManipulator. This JAR is now bundled in the ejbca.ear on Glassfish and seems to work fine. Have you tried to bundle this with the ear on JBoss 6.0.0.FINAL?
          Show
          Johan Eklund added a comment - lib/batik/xml-apis-ext.jar (SVG classes) is still required according Glassfish JEE verifier and used from org.ejbca.core.model.hardtoken.profiles.SVGImageManipulator. This JAR is now bundled in the ejbca.ear on Glassfish and seems to work fine. Have you tried to bundle this with the ear on JBoss 6.0.0.FINAL?
          Hide
          Tomas Gustavsson added a comment -
          Didn't try that as far as I know.
          Show
          Tomas Gustavsson added a comment - Didn't try that as far as I know.
          Hide
          Tham Wickenberg added a comment -
          Deploys and runs tests successfully. We should register specific issues for any problems we find.
          Show
          Tham Wickenberg added a comment - Deploys and runs tests successfully. We should register specific issues for any problems we find.

            People

            • Assignee:
              Tomas Gustavsson
              Reporter:
              Christophe Pijcke
              Verified by:
              Johan Eklund
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: