Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-70033

xerces sax parser requested by amazon s3 client not found

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0 DXP GA1
    • Fix Version/s: None
    • Component/s: Portal Services
    • Labels:
    • Fix Priority:
      1

      Description

      an older report was similar to this and i applied the solution to no avail:

      https://web.liferay.com/community/forums/-/message_boards/message/48237651

      i also tried copying the xercesImpl.jar to tomcat/lib that doesnt work either

      used s3 repository on site successfully uploaded documents using your s3 repository. however trying to replace logo of site resulted in amazon s3 client error. perhaps something specifically related to com.liferay.layout.admin.web_1.0.17:

      Caused by: org.xml.sax.SAXException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found_java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser cannot be found by com.liferay.layout.admin.web_1.0.17 [S
      
      Caused by: com.amazonaws.AmazonClientException: Couldn't initialize a SAX driver to create an XMLReader
              at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.<init>(XmlResponsesSaxParser.java:116)
              at com.amazonaws.services.s3.model.transform.Unmarshallers$ListObjectsUnmarshaller.unmarshall(Unmarshallers.java:78)
              at com.amazonaws.services.s3.model.transform.Unmarshallers$ListObjectsUnmarshaller.unmarshall(Unmarshallers.java:75)
              at com.amazonaws.services.s3.internal.S3XmlResponseHandler.handle(S3XmlResponseHandler.java:62)
              at com.amazonaws.services.s3.internal.S3XmlResponseHandler.handle(S3XmlResponseHandler.java:31)
              at com.amazonaws.http.AmazonHttpClient.handleResponse(AmazonHttpClient.java:1072)
              at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:746)
              at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:489)
              at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:310)
              at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3608)
              at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3561)
              at com.amazonaws.services.s3.AmazonS3Client.listObjects(AmazonS3Client.java:647)
              at com.liferay.portal.store.s3.S3Store.getS3ObjectSummaries(S3Store.java:589)
              ... 284 more
      Caused by: org.xml.sax.SAXException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found_java.lang.ClassNotFoundException: org.apache.xerces.parsers.SAXParser cannot be found by com.liferay.layout.admin.web_1.0.17 [Sanitized]
              at org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:230)
              at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:191)
              at com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.<init>(XmlResponsesSaxParser.java:114)
      

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              shan1 shan
              Participants of an Issue:
              Recent user:
              Sherry Zhu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                2 years, 45 weeks ago

                Packages

                Version Package