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

context.xml is not copied from the war file to the context folder in webapps (after exploding the war)

    Details

      Description

      Create a war with a cutom /META-INF/context.xml and just copy it into the liferay's deploy folder.

      (I used this context.xml)
      <Context reloadable="true" crossContext="true">
      <Loader
      loaderClass="com.liferay.support.tomcat.loader.PortalClassLoader"
      />
      </Context>

      during the hotdeploy process the context.xml is not copied to the exploded folder but a standard liferay context.xml is copied from this path:
      liferay-portal-6.1.1-ce-ga2\tomcat-7.0.27\temp\liferay\com\liferay\portal\deploy\dependencies\context.xml

      and this way my loaderClass is gone.

        Attachments

          Activity

            People

            Assignee:
            shinn.lok Shinn Lok
            Reporter:
            vasile.dirla Vasile Dirla
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 11 weeks ago

                Packages

                Version Package
                6.1.30 EE GA3
                6.2.0 CE M2