Foros

Inicio » Liferay Social Office

Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Alessandro Sebastiano
Liferay not deployed
23 de marzo de 2012 3:02
Respuesta

Alessandro Sebastiano

Ranking: New Member

Mensajes: 13

Fecha de incorporación: 9 de marzo de 2012

Mensajes recientes

Hi,
I have installed Liferay EE 6.1.10 on Jboss EAP 5.1.1.
After the startup I see on Liferay Log file this error message:

16:27:33,541 ERROR [ClassPathUtil:168] Class javax.servlet.ServletException is not loaded from a standard location (/WEB-INF/classes)
16:27:33,541 ERROR [ClassPathUtil:168] Class com.liferay.portal.kernel.exception.PortalException is not loaded from a standard location (/WEB-INF/classes)
16:27:33,542 ERROR [ClassPathUtil:168] Class com.liferay.portal.servlet.MainServlet is not loaded from a standard location (/WEB-INF/classes)
16:27:36,751 INFO [DialectDetector:80] Determine dialect for Oracle 11
16:27:36,775 INFO [DialectDetector:145] Found dialect org.hibernate.dialect.Oracle10gDialect
16:27:40,935 ERROR [ContextLoader:227] Context initialization failed
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.liferay.portal.kernel.format.PhoneNumberFormatUtil] for bean with name 'com.liferay.portal.kernel.format.PhoneNumberFormatUtil' defined in class path resource [META-INF/util-spring.xml]; nested exception is java.lang.ClassNotFoundException: com.liferay.portal.kernel.format.PhoneNumberFormatUtil
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1261)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1330)
.....

Please, could you help me?
Thanks a lot

Alessandro
David H Nebinger
RE: Liferay not deployed
23 de marzo de 2012 5:42
Respuesta

David H Nebinger

Ranking: Liferay Legend

Mensajes: 5765

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

I believe you're missing some jars from the global lib directory...

You can't just drop the Liferay war and go, takes a little more than that...
Alessandro Sebastiano
RE: Liferay not deployed
23 de marzo de 2012 9:19
Respuesta

Alessandro Sebastiano

Ranking: New Member

Mensajes: 13

Fecha de incorporación: 9 de marzo de 2012

Mensajes recientes

I unzip the war file but I have the same errror messages.

Alessandro
David H Nebinger
RE: Liferay not deployed
23 de marzo de 2012 11:09
Respuesta

David H Nebinger

Ranking: Liferay Legend

Mensajes: 5765

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

Like I said, the war file is not enough.

To identify what Liferay is adding to build a bundle, I'd suggest downloading the Jboss bundle and expand it and download the clean Jboss w/ the same version. Use a comparison tool to identify differences between the two, and those differences will highlight what you need to do to install to your existing Jboss version.
Hitoshi Ozawa
RE: Liferay not deployed
24 de marzo de 2012 2:15
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

Running Liferay on JBoss is a little more complicated than just deploying Liferay war file.

Check the Liferay User's guide below on section "Installing Liferay on JBoss 7"

http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/installing-liferay-on-an-existing-application-server

Unfortunately, it seems you're running on JBoss 5.x, you'll need to use older Liferay version because Liferay 6.1 is for JBoss 7.
Alessandro Sebastiano
RE: Liferay not deployed
26 de marzo de 2012 3:37
Respuesta

Alessandro Sebastiano

Ranking: New Member

Mensajes: 13

Fecha de incorporación: 9 de marzo de 2012

Mensajes recientes

In my environment I have to use the JBOss Enterprise Application Platform 5.1.1. and I know that there's a bug with this version http://issues.liferay.com/browse/LPS-26057.

Regards

Alessandro
Hitoshi Ozawa
RE: Liferay not deployed
26 de marzo de 2012 3:48
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

In my environment I have to use the JBOss Enterprise Application Platform 5.1.1. and I know that there's a bug with this version http://issues.liferay.com/browse/LPS-26057.


Since you're using the EE version, you should be able to obtain a patch to fix this issue.
Alessandro Sebastiano
RE: Liferay not deployed
27 de marzo de 2012 1:32
Respuesta

Alessandro Sebastiano

Ranking: New Member

Mensajes: 13

Fecha de incorporación: 9 de marzo de 2012

Mensajes recientes

But, why the online documentations reports the installation Liferay 6 on Jboss 5.x?

http://www.liferay.com/documentation/liferay-portal/6.0/administration/-/ai/installing-liferay-for-an-enterpri-4

regards
alessandro
Hitoshi Ozawa
RE: Liferay not deployed
27 de marzo de 2012 5:45
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

You're looking at the Liferay 6.0.x document. Liferay 6.0.x uses JBoss 5.x.

If you're going to be using Liferay 6.1.x, you should be looking at Liferay 6.1.x documentation.

http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/installing-liferay-on-an-existing-application-server
Alessandro Sebastiano
RE: Liferay not deployed
27 de marzo de 2012 8:45
Respuesta

Alessandro Sebastiano

Ranking: New Member

Mensajes: 13

Fecha de incorporación: 9 de marzo de 2012

Mensajes recientes

What's the date of the Liferary 6.1.11 EE GA2 release ?

could you confirm that the actual Liferay EE 6.1.10 is compatible with Jboss AS 7.0?

Thank you very much
Alessandro
Hitoshi Ozawa
RE: Liferay not deployed
27 de marzo de 2012 15:45
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

Mensajes recientes

could you confirm that the actual Liferay EE 6.1.10 is compatible with Jboss AS 7.0?


If you're looking for an official answer, I recommend that you contact sales@liferay.com because this is just a community and comments posted here are all unofficial.