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

Overriding the STAX.jar in Root.war with stax-api.jar in Jbossws.sar

    Details

    • Type: Story
    • Status: Closed
    • Priority: Major
    • Resolution: Inactive
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Jboss 4.3
      Liferay 5.1
      JDK 1.5

      Description

      I am currently trying to invoke a webservice from my code on Liferay Portal but encountered an error mentioned below :
      java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory

      On further research I found that my environment contained two version of stax.jar. One was present in jbossws.sar folder,the stax.jar was star-api.jar(version 1.0) and the one present in Root.war ( or the portal/lib) was version(1.0.1). Now I wanted to override the version of stax.jar in Root.war with one in my Jbossws.jar ,so I placed it Ext
      folder but the server is not able to load the version present in ext. Please help me to resolve this issue of dual stax.jar versions

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              deshpandenilesh12@gmail.com Nilesh (Inactive)
              Recent user:
              Shalaka Tendulkar
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package