Foren

Run Liferay 6.1.1 CE + JBoss 7.1.3 domain model

thumbnail
Pablo DC, geändert vor 10 Jahren.

Run Liferay 6.1.1 CE + JBoss 7.1.3 domain model

New Member Beiträge: 8 Beitrittsdatum: 05.06.09 Neueste Beiträge
Hi,
I donwnloaded JBoss 7.1.3 and built it then I setup Liferay stuff in domain model (cluster) but when I try to deploy ROOT.war using deploy command within JBoss administration client prompt I got this message:

15:25:19,581 INFO [org.jboss.as.osgi] (MSC service thread 1-4) JBAS011907: Register module: Module "deployment.ROOT.war:main" from Service Module Loader
15:25:19,930 INFO [org.jboss.as.server] (host-controller-connection-threads - 1) JBAS015870: Deploy of deployment "ROOT.war" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.web.deployment.default-host./.realm Missing[jboss.security.security-domain.PortalRealm]","jboss.web.deployment.default-host./ Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"ROOT.war\".jboss.security.jacc Missing[JBAS014861: <one or more transitive dependencies>]"]}
15:25:19,960 INFO [org.jboss.as.osgi] (MSC service thread 1-7) JBAS011908: Unregister module: Module "deployment.ROOT.war:main" from Service Module Loader
15:25:23,609 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015877: Stopped deployment ROOT.war in 3678ms

Does anybody have any clue?

Thanks in advance!
Jan Roman, geändert vor 10 Jahren.

RE: Run Liferay 6.1.1 CE + JBoss 7.1.3 domain model

New Member Beiträge: 12 Beitrittsdatum: 03.07.13 Neueste Beiträge
Hello,
I am running liferay 6.2.0.M6 on JDK 7.021 and on Jboss 7.1.3

I have been getting very same error but i managed to fix it by comparing standalone.xml and standalone-full.xml from Jboss 7.1.1 bundle.

First of all add portal realm to the security domains:
<security-domains>
<security-domain name="PortalRealm">
<authentication>
<login-module code="com.liferay.portal.security.jaas.PortalLoginModule" flag="required" />
</authentication>
</security-domain>

On Virtual server configuration set welcome root to false
<virtual-server name="default-host" enable-welcome-root="false">

In jboss-web.xml I also specified default virtual host to localhost:
<virtual-host>localhost</virtual-host>

Hope it helps.
Regards
JR
Prabhu R, geändert vor 8 Jahren.

RE: Run Liferay 6.1.1 CE + JBoss 7.1.3 domain model

New Member Beitrag: 1 Beitrittsdatum: 15.06.15 Neueste Beiträge
Hello Jan,

I have the below issue similar to the one mentioned above. I am still stuck even after making the changes you told. Please help.

Logs:

14:11:53,831 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "liferay-portal.war")]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.web.deployment.default-host./.realm is missing [jboss.security.security-domain.PortalRealm]"]}

14:11:53,895 INFO [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS015859: Deployed "liferay-portal.war" (runtime-name : "liferay-portal.war")
14:11:53,908 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.security.security-domain.PortalRealm (missing) dependents: [service jboss.web.deployment.default-host./.realm]

14:11:53,943 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://16.181.233.50:9990/management
14:11:53,943 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://16.181.233.50:9990

14:11:53,943 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) started (with errors) in 33340ms - Started 1879 of 1920 services (3 services failed or missing dependencies, 59 services are lazy, passive or on-demand)
14:11:54,580 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment liferay-portal.war (runtime-name: liferay-portal.war) in 435ms

14:11:54,641 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015858: Undeployed "liferay-portal.war" (runtime-name: "liferay-portal.war")
14:11:54,715 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:

service jboss.deployment.unit."liferay-portal.war".component."com.liferay.alloy.taglib.alloy.AioTag".START (missing) dependents: [service jboss.web.deployment.default-host./, service jboss.deployment.unit."liferay-portal.war".deploymentCompleteService]
service jboss.deployment.unit."liferay-portal.war".component."com.liferay.alloy.taglib.alloy.AutoCompleteTag".START (missing) dependents: [service jboss.web.deployment.default-host./, service jboss.deployment.unit."liferay-portal.war".deploymentCompleteService]
service jboss.deployment.unit."liferay-portal.war".component."com.liferay.alloy.taglib.alloy.ButtonItemTag".START (missing) dependents: [service jboss.web.deployment.default-host./, service jboss.deployment.unit."liferay-portal.war".deploymentCompleteService]
.
.
,.
It goes on n on until it is undeployed.
Collin Ng, geändert vor 8 Jahren.

RE: Run Liferay 6.1.1 CE + JBoss 7.1.3 domain model

New Member Beiträge: 2 Beitrittsdatum: 07.12.15 Neueste Beiträge
Hi Prabhu,
I'm getting this error as well. Did you manage to fix this?


Prabhu R:
Hello Jan,

I have the below issue similar to the one mentioned above. I am still stuck even after making the changes you told. Please help.

Logs:

14:11:53,831 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "liferay-portal.war")]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.web.deployment.default-host./.realm is missing [jboss.security.security-domain.PortalRealm]"]}

14:11:53,895 INFO [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS015859: Deployed "liferay-portal.war" (runtime-name : "liferay-portal.war")
14:11:53,908 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.security.security-domain.PortalRealm (missing) dependents: [service jboss.web.deployment.default-host./.realm]

14:11:53,943 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://16.181.233.50:9990/management
14:11:53,943 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://16.181.233.50:9990

14:11:53,943 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) started (with errors) in 33340ms - Started 1879 of 1920 services (3 services failed or missing dependencies, 59 services are lazy, passive or on-demand)
14:11:54,580 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment liferay-portal.war (runtime-name: liferay-portal.war) in 435ms

14:11:54,641 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015858: Undeployed "liferay-portal.war" (runtime-name: "liferay-portal.war")
14:11:54,715 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:

service jboss.deployment.unit."liferay-portal.war".component."com.liferay.alloy.taglib.alloy.AioTag".START (missing) dependents: [service jboss.web.deployment.default-host./, service jboss.deployment.unit."liferay-portal.war".deploymentCompleteService]
service jboss.deployment.unit."liferay-portal.war".component."com.liferay.alloy.taglib.alloy.AutoCompleteTag".START (missing) dependents: [service jboss.web.deployment.default-host./, service jboss.deployment.unit."liferay-portal.war".deploymentCompleteService]
service jboss.deployment.unit."liferay-portal.war".component."com.liferay.alloy.taglib.alloy.ButtonItemTag".START (missing) dependents: [service jboss.web.deployment.default-host./, service jboss.deployment.unit."liferay-portal.war".deploymentCompleteService]
.
.
,.
It goes on n on until it is undeployed.