Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-382

Document packagning requirements for Ext Plugin when it defines a new taglib (don't get deployed in Jboss 7)

    Details

      Description

      A customer opened a support ticket about deployment problems for an ext-plugin in JBoss 7. The root cause is related on how Jboss 7 handles class loading. The special characteristic of the plugin is that it defines a new taglib.

      The best solution is to change a couple of things in the source tree of the ext-plugin:

      • Add the attached "jboss-deployment-structure.xml" to the plugin WEB-INF/ dir
      • Add a new dependency into "liferay-plugin-package.properties" file via portal-dependency-jars property: portal-dependency-jars=util-taglib.jar

      Then package your ext-plugin and install it using the usual process.

      This procedure should be documented in either one of following places (or other better one):

      http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/ext-plugi-4
      http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/lp-6-1-ugen11-installing-liferay-on-jboss-7-0

      Note: the procedure was tested in 6.1-EE-ga1

      Thanks

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  6.1.X
                  6.2.x