Forums

Home » Liferay Social Office

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Juan Carlos Toledo Baute
Social Office en Jboss7 modo domain
October 31, 2013 6:02 AM
Answer

Juan Carlos Toledo Baute

Rank: Junior Member

Posts: 50

Join Date: March 30, 2011

Recent Posts

Hola

Intento desplegar el social-office.war (version=2.0.5) en un Jboss 7 en modo domain con Liferay 6.1.1 ce-cga2.

El proceso que sigo es el de desplegarlo en un jboos local en modo standalone con la carpeta deployed (que no existe en domain)

El resultado de los despliegues (son varios .war) lo comprimo y lo subo a la consola del jboss domain.

En el log aparece que se realiza el despliegue sin problemas.

Pero no tengo las funcionalidades accesibles desde el interfaz de Liferay.

Adjunto extracto del server.log con los mensajes de despliegue.

Otra cuestión es si es necesario desplegar todos los .war que vienen en el social office (tambien lo he probado asi)

¿ Hay algun .war indispensable ?

Saludos

 111:45:59,380 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.2.0.Alpha1-SNAPSHOT "Steropes" started in 75324ms - Started 1627 of 1688 services (59 services are passive or on-demand)
 211:52:51,086 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "so-hook.war" (runtime-name: "so-hook.war")
 311:52:51,698 INFO  [org.jboss.web] (ServerService Thread Pool -- 70) JBAS018210: Register web context: /so-hook
 411:52:51,819 INFO  [org.jboss.as.server] (host-controller-connection-threads - 4) JBAS018559: Deployed "so-hook.war" (runtime-name : "so-hook.war")
 511:53:08,012 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "so-portlet.war" (runtime-name: "so-portlet.war")
 611:53:08,589 INFO  [org.jboss.web] (ServerService Thread Pool -- 71) JBAS018210: Register web context: /so-portlet
 711:53:08,670 INFO  [org.jboss.as.server] (host-controller-connection-threads - 4) JBAS018559: Deployed "so-portlet.war" (runtime-name : "so-portlet.war")
 811:53:17,747 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "so-theme.war" (runtime-name: "so-theme.war")
 911:53:18,339 INFO  [org.jboss.web] (ServerService Thread Pool -- 71) JBAS018210: Register web context: /so-theme
1011:53:18,420 INFO  [org.jboss.as.server] (host-controller-connection-threads - 4) JBAS018559: Deployed "so-theme.war" (runtime-name : "so-theme.war")
1111:53:28,296 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "chat-portlet.war" (runtime-name: "chat-portlet.war")
1211:53:28,732 INFO  [org.jboss.web] (ServerService Thread Pool -- 71) JBAS018210: Register web context: /chat-portlet
1311:53:28,863 INFO  [org.jboss.as.server] (host-controller-connection-threads - 4) JBAS018559: Deployed "chat-portlet.war" (runtime-name : "chat-portlet.war")
1411:53:38,915 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "contacts-portlet.war" (runtime-name: "contacts-portlet.war")
1511:53:39,378 INFO  [org.jboss.web] (ServerService Thread Pool -- 71) JBAS018210: Register web context: /contacts-portlet
1611:53:39,476 INFO  [org.jboss.as.server] (host-controller-connection-threads - 4) JBAS018559: Deployed "contacts-portlet.war" (runtime-name : "contacts-portlet.war")
1711:55:47,367 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "deploy-listener-hook.war" (runtime-name: "deploy-listener-hook.war")
1811:55:47,552 INFO  [org.jboss.web] (ServerService Thread Pool -- 73) JBAS018210: Register web context: /deploy-listener-hook
1911:55:47,607 INFO  [org.jboss.as.server] (host-controller-connection-threads - 5) JBAS018559: Deployed "deploy-listener-hook.war" (runtime-name : "deploy-listener-hook.war")
Igor Spasić
RE: Social Office en Jboss7 modo domain
November 1, 2013 1:06 AM
Answer

Igor Spasić

LIFERAY STAFF

Rank: New Member

Posts: 10

Join Date: April 26, 2010

Recent Posts

If google translator works correctly, you are having problem with deploying portal in JBoss domain mode.

That is correct. Please see: https://issues.liferay.com/browse/LPS-33287 and take a look at the attached PDF documents. What you can learn there, regarding your problem, is:

* In domain mode there is no Deployment Scanner that monitors a directory for new files and deploy those files. All deployments are only possible in CLI or Console. This means that portal hot-deployment feature is not available.

* WAR file in Domain mode is NOT extracted on deployment and it is located under domain/data/content folder and long hash as a single file. This means that all kind of Liferay patching and modification is not working. This also means that none of JSON WebServices will be registered, as no jar is scanned.

But if you want to deploy SO (portal + plugins) on JBoss domain mode, you might try to deploy them as an EAR bundle. I havent do this personally, but its doable emoticon

Hope this helps ;)
Juan Carlos Toledo Baute
RE: Social Office en Jboss7 modo domain
February 18, 2014 1:32 AM
Answer

Juan Carlos Toledo Baute

Rank: Junior Member

Posts: 50

Join Date: March 30, 2011

Recent Posts

Thanks Igor for you anwser.

La solución como bien indicas viene en dejar accesible las librerias de Liferay. Si el plugin desplegado necesita de sobreescribir alguna propiedad (tipo hook) se debe desplegar el Liferay y el plugin en modo carpeta para que sus componentes esten accesibles.

Saludos