Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4910075

atg fails to start with tiger b16

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 5.0
    • 5.0
    • xml
    • tiger
    • generic
    • generic
    • Verified


      With tiger b16, atg5.6.1 fails to start.
      The error message in "atgserver.log" is
      **** Error Wed Aug 20 14:06:22 PDT 2003 1061413582258 / Unable t
      o resolve component /atg/dynamo/security/AdminAccountManager javax.xml.parser
      s.FactoryConfigurationError: java.lang.ClassNotFoundException: org/apache/xerces
      /jaxp/DocumentBuilderFactoryImpl
      **** Error Wed Aug 20 14:06:22 PDT 2003 1061413582258 /
      at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.j
      ava:120)
      **** Error Wed Aug 20 14:06:22 PDT 2003 1061413582258 /
      at atg.xml.tools.apache.ApacheXMLToDOMParser.getFactory(ApacheXMLToDOMParser.jav
      a:70)
      **** Error Wed Aug 20 14:06:22 PDT 2003 1061413582258 /
      at atg.xml.tools.apache.ApacheXMLToDOMParser.getDocumentBuilder(ApacheXMLToDOMPa
      rser.java:88)
      **** Error Wed Aug 20 14:06:22 PDT 2003 1061413582258 /
      at atg.xml.tools.apache.ApacheXMLToDOMParser.parse(ApacheXMLToDOMParser.java:161
      )
      **** Error Wed Aug 20 14:06:22 PDT 2003 1061413582258 /
      at atg.xml.tools.apache.ApacheXMLToDOMParser.parse(ApacheXMLToDOMParser.java:218
      )
      **** Error Wed Aug 20 14:06:22 PDT 2003 1061413582258 /
      at atg.security.XmlAccountManager.loadXmlFile(XmlAccountManager.java:347

      How to reproduce the problem:
      1. log on to "stagger"
      2. export JAVA_HOME=<your java home>
      3. execute the script /bs/runatg.ksh -server
      4. log files are under /bt/atg*
         "atgserver.log" is under /bt/atg*/home
        
      ###@###.### 2003-08-20

      By setting a few properties,
      -Datg.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.ja
      xp.SAXParserFactoryImpl -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.
      jaxp.SAXParserFactoryImpl -Datg.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.inter
      nal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.int
      ernal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.transform.TransformFactory=com.sun.org.apache.xalan.internal
      .processor.TranformFactoryImpl
      the origianl error went away. But atg server can not process any .jsp or .jhtml file.
      **** Error Wed Aug 20 15:58:19 PDT 2003 1061420299961 /atg/dynamo/serv
      let/pagecompile/PageCompileServlet Error compiling page: /hello.jhtml : The
       taglib declaration at line: 0 specifies the URI '/atg/servlet/pagecompile/tagli
      b/standard/JspTags.tld' which could not be loaded: There was a problem parsing t
      aglib descriptor file "/atg/servlet/pagecompile/taglib/standard/JspTags.tld": or
      g.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/w
      arn-on-undeclared-elemdef

      ###@###.### 2003-08-20

            rmandavasunw Ramesh Mandava (Inactive)
            jzhongsunw June Zhong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: