Foros de discusión

loading liferay projects in to Jboss 7.1.1

Kommana Naren, modificado hace 10 años.

loading liferay projects in to Jboss 7.1.1

New Member Mensajes: 3 Fecha de incorporación: 23/03/14 Mensajes recientes
Hi,

Am new to liferay development. we are using liferay 6.2 tomcat bundle version. we are creatiing sites last 3 months with this bundle version. it is working fine. now the requirement comes like this. we have to port this liferay 6.2 portal development to Jboss 7.1.1 vesrion. based on the liferay documentation, all our tomcat weapps filder to jboss deployment folder(windows version). am getting lot of errors. log file below. please provide your valuable advise on this. is there any option from liferay IDE to create war file from existing tomcat wedapps folder?

07:56:18,480 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 37) JBAS016200: Activating ConfigAdmin Subsystem
07:56:18,500 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 50) JBAS011940: Activating OSGi Subsystem
07:56:18,500 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 42) JBAS010280: Activating Infinispan subsystem.
07:56:18,510 INFO [org.jboss.as.security] (ServerService Thread Pool -- 55) JBAS013101: Activating Security Subsystem
07:56:18,550 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 49) JBAS011800: Activating Naming Subsystem
07:56:18,580 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 59) JBAS015537: Activating WebServices Extension
07:56:18,665 INFO [org.jboss.as.security] (MSC service thread 1-4) JBAS013100: Current PicketBox version=4.0.7.Final
07:56:18,667 INFO [org.jboss.as.connector] (MSC service thread 1-6) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
07:56:20,992 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 38) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
07:56:21,772 INFO [org.jboss.as.naming] (MSC service thread 1-6) JBAS011802: Starting Naming Service
07:56:21,782 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) JBAS015400: Bound mail session [java:jboss/mail/Default]
07:56:22,982 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-5) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
07:56:24,289 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
07:56:24,789 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-7) JBoss Web Services - Stack CXF Server 4.0.2.GA
07:56:26,249 INFO [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on /127.0.0.1:9999
07:56:26,249 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:4447
07:56:26,429 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-6) JBAS015012: Started FileSystemDeploymentService for directory C:\Java\liferay\jboss1\jboss1\standalone\deployments
07:56:27,459 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
07:56:27,459 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 31032ms - Started 133 of 208 services (74 services are passive or on-demand)
07:56:43,381 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found notifications-portlet.war in deployment directory. To trigger deployment create a file called notifications-portlet.war.dodeploy
07:56:43,391 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found learners-theme.war in deployment directory. To trigger deployment create a file called learners-theme.war.dodeploy
07:56:43,391 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found ROOT.war in deployment directory. To trigger deployment create a file called ROOT.war.dodeploy
07:56:43,391 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found marketplace-portlet.war in deployment directory. To trigger deployment create a file called marketplace-portlet.war.dodeploy
07:56:43,401 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found parents-theme.war in deployment directory. To trigger deployment create a file called parents-theme.war.dodeploy
07:56:43,401 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found opensocial-portlet.war in deployment directory. To trigger deployment create a file called opensocial-portlet.war.dodeploy
07:56:43,401 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found web-form-portlet.war in deployment directory. To trigger deployment create a file called web-form-portlet.war.dodeploy
07:56:43,411 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found resources-importer-web.war in deployment directory. To trigger deployment create a file called resources-importer-web.war.dodeploy
07:56:43,411 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found calendar-portlet.war in deployment directory. To trigger deployment create a file called calendar-portlet.war.dodeploy
07:56:43,421 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found sync-web.war in deployment directory. To trigger deployment create a file called sync-web.war.dodeploy
07:56:43,421 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found welcome-theme.war in deployment directory. To trigger deployment create a file called welcome-theme.war.dodeploy
07:56:43,421 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found teachers-theme.war in deployment directory. To trigger deployment create a file called teachers-theme.war.dodeploy
07:56:43,431 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found kaleo-web.war in deployment directory. To trigger deployment create a file called kaleo-web.war.dodeploy
07:56:43,593 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "parents-theme.war"
07:56:43,593 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "learners-theme.war"
07:56:43,593 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "calendar-portlet.war"
07:56:43,593 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "notifications-portlet.war"
07:56:43,593 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "kaleo-web.war"
07:56:43,603 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "ROOT.war"
07:56:43,593 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "resources-importer-web.war"
07:56:43,593 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "marketplace-portlet.war"
07:56:43,593 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "opensocial-portlet.war"
07:56:43,623 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "web-form-portlet.war"
07:56:43,623 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "welcome-theme.war"
07:56:43,613 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "teachers-theme.war"
07:56:43,613 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "sync-web.war"
07:56:48,011 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xbean.jar in "/C:/Java/liferay/jboss1/jboss1/standalone/deployments/web-form-portlet.war/WEB-INF/lib/rhino.jar" does not point to a valid jar for a Class-Path reference.
07:56:49,449 WARN [org.jboss.modules] (MSC service thread 1-8) Failed to define class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl in Module "deployment.resources-importer-web.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link com/liferay/taglib/util/ParamAndPropertyAncestorTagImpl (Module "deployment.resources-importer-web.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:396)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)
at org.jboss.modules.Module.loadModuleClass(Module.java:517)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_45]
at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_45]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) [rt.jar:1.7.0_45]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:327)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:391)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:243)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)
Kommana Naren, modificado hace 10 años.

RE: loading liferay projects in to Jboss 7.1.1

New Member Mensajes: 3 Fecha de incorporación: 23/03/14 Mensajes recientes
Hi All,
I found a littile solution to configure webapps folder from tomcat to jboss deployment.
add "jboss-deployment-structure.xml" to all web-inf folders of each portlet folder and theme folders.
change the folder names to .war folder and place dodeloy file for each folder.

thanks and good luck
Jose Alfaro, modificado hace 9 años.

RE: loading liferay projects in to Jboss 7.1.1

New Member Mensaje: 1 Fecha de incorporación: 4/07/14 Mensajes recientes
Hi, Kommana
Did you create a new "jboss-deployment-structure.xml" for your new content "theme" war folder? how did you do it ?

Thanks in advance
thumbnail
Manish Jha, modificado hace 9 años.

RE: loading liferay projects in to Jboss 7.1.1

Junior Member Mensajes: 50 Fecha de incorporación: 7/02/13 Mensajes recientes
Download the jboss with liferay bundle. And put your war file there.

I am using jboss EAP 6.2 with liferay. Provide me with any error I should able to help you.