Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Chethan Barike
Configuring jboss-deployment-structure.xml in Liferay 6.1EE GA2 and JBOSS?
January 16, 2013 1:24 AM
Answer

Chethan Barike

Rank: Junior Member

Posts: 28

Join Date: March 27, 2012

Recent Posts

Hi Liferay,

While deploying a Liferay vaadin portlet war file which gets exploded into deployments folder thereby adds jboss-deployment-structure.xml file in <project>.war\WEB-INF which contains as shown below:

<?xml version="1.0"?>

<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
<deployment>
<exclusions>
<module name="javaee.api" />
<module name="org.apache.log4j" />
</exclusions>
<dependencies>
<module name="com.liferay.portal" />
<module name="javax.mail.api" />
<module name="org.jboss.modules" />
</dependencies>
</deployment>
</jboss-deployment-structure>


And the Query is:

Where can i change this deployment structure:
i.e, i want to move <module name="javaee.api" />
from
<exclusions>
to
<dependencies>

As of now we are changing it manually to avoid deployment failure.

Anyone please let me know how to config this in Liferay 6.1 EE GA2 and JBOSS EAP 6.0 Bundle.

BR,
Chethan
Chethan Barike
RE: Configuring jboss-deployment-structure.xml in Liferay 6.1EE GA2 and JB
February 4, 2013 2:30 AM
Answer

Chethan Barike

Rank: Junior Member

Posts: 28

Join Date: March 27, 2012

Recent Posts

Resolved:

File is within the portal-impl.jar which needs to be modified & the path is as below:
jboss-eap-6.0\standalone\deployments\ROOT.war\WEB-INF\lib\portal-impl.jar\com\liferay\portal\deploy\dependencies\jboss-deployment-structure.xml

BR,
Chethan