Foren

Liferay on Jboss eap 5.2

thumbnail
David Rodriguez, geändert vor 8 Jahren.

Liferay on Jboss eap 5.2

New Member Beiträge: 13 Beitrittsdatum: 29.12.14 Neueste Beiträge
Hi there!

I have installed my liferay CE on the server without many problems. This is what I've done:
-include dependencies in the global path
-change the context in the file jboss-web
-included the file jboss-classloading
-delete the libraries jaxrpc. stax. xercesImpl and xml-apis
-include the properties hibernate.validator.apply_to_ddl=false and hibernate.validator.autoregister_listeners=false in portal-ext.properties
-modify run.conf with:
set "JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.net.protocol.file.useURI=false -Dfile.encoding=UTF-8 -Duser.timezone=GMT+01:00"
-included the war in the deploy path with the name eps.war

And everything worked fine!
But, when I do the same with the Enterprise version, it doesn't work, and the server even stops itself. This is the trace. Any clue?

13:30:07,601 INFO [ClassLoaderComponentConfiguration] Properties for portal loaded from [vfsfile:/C:/sanidad/lr_portal_jboss/jboss-as/server/def
ault/deploy/eps.war/WEB-INF/classes/portal-ext.properties, vfsfile:/C:/sanidad/lr_portal_jboss/jboss-as/server/default/deploy/eps.war/WEB-INF/cla
sses/portal.properties]
13:30:07,602 INFO [STDOUT] Loading vfsfile:/C:/sanidad/lr_portal_jboss/jboss-as/server/default/deploy/eps.war/WEB-INF/classes/portal.properties
13:30:07,602 INFO [STDOUT] Loading vfsfile:/C:/sanidad/lr_portal_jboss/jboss-as/server/default/deploy/eps.war/WEB-INF/classes/portal-ext.propert
ies
13:30:08,427 INFO [STDOUT] 13:30:08,419 ERROR [main][ClassPathUtil:228] Class javax.servlet.ServletException is not loaded from a standard locat
ion (/WEB-INF/classes)
13:30:08,430 INFO [STDOUT] 13:30:08,430 ERROR [main][ClassPathUtil:228] Class com.liferay.portal.kernel.exception.PortalException is not loaded
from a standard location (/WEB-INF/classes)
13:30:08,431 INFO [STDOUT] 13:30:08,430 ERROR [main][ClassPathUtil:228] Class com.liferay.portal.servlet.MainServlet is not loaded from a standa
rd location (/WEB-INF/classes)
13:30:10,322 INFO [[/eps]] Initializing Spring root WebApplicationContext
13:30:16,005 INFO [STDOUT] 13:30:16,005 WARN [main][BasicResourcePool:275] Bad pool size config, start 3 < min 10. Using 10 as start.
13:30:17,727 INFO [STDOUT] 13:30:17,726 INFO [main][DBFactoryImpl:59] Using dialect org.hibernate.dialect.Oracle10gDialect
13:30:20,748 INFO [STDOUT] 13:30:20,747 WARN [main][BasicResourcePool:275] Bad pool size config, start 3 < min 10. Using 10 as start.
13:30:52,724 INFO [STDOUT] Starting Liferay Portal Enterprise Edition 6.2.10 EE GA1 (Newton / Build 6210 / November 1, 2013)
13:30:52,725 INFO [STDOUT] 13:30:52,724 INFO [main][StartupAction:100] The following patches are installed: portal-77-6210
13:30:54,871 INFO [STDOUT] 13:30:54,870 INFO [main][BaseDB:481] Database supports case sensitive queries
13:30:55,285 INFO [STDOUT] 13:30:55,285 INFO [main][StartupHelper:128] Upgrading from 6203 to 6210 is not supported
13:30:55,286 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
13:30:55,465 INFO [TomcatDeployment] undeploy, ctxPath=/web-console
13:30:55,534 INFO [TomcatDeployment] undeploy, ctxPath=/invoker
13:30:55,542 INFO [TomcatDeployment] undeploy, ctxPath=/jbossws
13:30:55,546 INFO [TomcatDeployment] undeploy, ctxPath=/admin-console
13:30:55,550 INFO [TomcatDeployment] undeploy, ctxPath=/
13:30:56,344 INFO [StandardService] Parando servicio jboss.web

The EE versions I am using are:

liferay-portal-6.2-ee-sp14-20151105114451508.war
liferay-portal-dependencies-6.2-ee-sp14-20151105114451508

Thanks in advance!
thumbnail
David Rodriguez, geändert vor 8 Jahren.

RE: Liferay on Jboss eap 5.2 (Antwort)

New Member Beiträge: 13 Beitrittsdatum: 29.12.14 Neueste Beiträge
Ok, I solved it. There is a bug with the upgrade from one version to another, so if you include this property in portal-ext.properties:

upgrade.processes.6203=${upgrade.processes.master}

then, the upgrade will go smooth.