Foros de discusión
when i startup liferay 6.1 i have some error why?
maryam maryam masoudy, modificado hace 11 años.
when i startup liferay 6.1 i have some error why?
Regular Member Mensajes: 149 Fecha de incorporación: 30/10/11 Mensajes recientes
hi all friends
when i startup liferay 6.1 i have some error why?
my portla-ext.propertise:
i did not any configuration on other files but i create own theme and own layout and i use that on my liferay i think i must do more configuration but i don't knew
when i startup liferay 6.1 i have some error why?
log4j:ERROR Could not create an Appender. Reported error follows.
java.lang.ClassCastException: org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
log4j:ERROR Could not create the Layout. Reported error follows.
java.lang.ClassCastException: org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout
at org.apache.log4j.xml.DOMConfigurator.parseLayout(DOMConfigurator.java:556)
oading file:/opt/liferay6.1/tomcat-7.0.27/temp/0-marketplace-portlet/WEB-INF/classes/portal.properties
log4j:ERROR No layout set for the appender named [FILE].
log4j:ERROR Could not create an Appender. Reported error follows.
java.lang.ClassCastException: org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
log4j:ERROR Could not create the Layout. Reported error follows.
java.lang.ClassCastException: org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout
at org.apache.log4j.xml.DOMConfigurator.parseLayout(DOMConfigurator.java:556)
Loading file:/opt/liferay6.1/tomcat-7.0.27/temp/0-marketplace-portlet/WEB-INF/classes/portlet.properties
Dec 23, 2012 8:30:26 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/liferay6.1/tomcat-7.0.27/webapps/story6-1-portlet
log4j:ERROR No layout set for the appender named [FILE].
Dec 23, 2012 8:30:26 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
log4j:ERROR Could not create an Appender. Reported error follows.
java.lang.ClassCastException: org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:248)
at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
log4j:ERROR Could not create the Layout. Reported error follows.
java.lang.ClassCastException: org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout
log4j:ERROR No layout set for the appender named [FILE].
Dec 23, 2012 8:30:26 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/liferay6.1/tomcat-7.0.27/webapps/SendMessage-portlet
my portla-ext.propertise:
i did not any configuration on other files but i create own theme and own layout and i use that on my liferay i think i must do more configuration but i don't knew
Hitoshi Ozawa, modificado hace 11 años.
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
You probably have an error in log4j configuration. Can't say what's wrong without seeing the configuration.
If you undeploy your theme, the error should go away.
If you undeploy your theme, the error should go away.
Bart Simpson, modificado hace 11 años.
RE: when i startup liferay 6.1 i have some error why?
Liferay Master Mensajes: 522 Fecha de incorporación: 29/08/11 Mensajes recientes
Are you running liferay tomcat from the command / shell script? And if so have you set any Environment variables for log4j ?
Hitoshi Ozawa, modificado hace 11 años.
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
She probably have portal-impl.jar in her plugin's classpath or don't have log4j.properties in WEB-INF/classes
maryam maryam masoudy, modificado hace 11 años.
RE: when i startup liferay 6.1 i have some error why?
Regular Member Mensajes: 149 Fecha de incorporación: 30/10/11 Mensajes recientes
hi friends
i have log4j.properties but i didnot any change in that ,
i attach log4j.properties and portal-ext.propertie
and i am running liferay tomcat from the command / shell script.
i have portal-impl.jar in her plugin's classpath in some own portlet but i clean in lib folder 's own portlet
i have log4j.properties but i didnot any change in that ,
i attach log4j.properties and portal-ext.propertie
and i am running liferay tomcat from the command / shell script.
i have portal-impl.jar in her plugin's classpath in some own portlet but i clean in lib folder 's own portlet
Archivos adjuntos:
Nagendra Kumar Busam, modificado hace 11 años.
RE: when i startup liferay 6.1 i have some error why?
Liferay Master Mensajes: 678 Fecha de incorporación: 7/07/09 Mensajes recientes
Is it a fresh tomcat bundle? Did you deploy any custom code on top of that?
maryam maryam masoudy, modificado hace 11 años.
RE: when i startup liferay 6.1 i have some error why?
Regular Member Mensajes: 149 Fecha de incorporación: 30/10/11 Mensajes recientes
my liferay :liferay-portal-6.1.1-ce-ga2
tomcat:tomcat-7.0.27
i deploy some portlets and themes and leyouts
tomcat:tomcat-7.0.27
i deploy some portlets and themes and leyouts
Nagendra Kumar Busam, modificado hace 11 años.
RE: when i startup liferay 6.1 i have some error why?
Liferay Master Mensajes: 678 Fecha de incorporación: 7/07/09 Mensajes recientes
Can you start tomcat once by undeploying your custom code for once, check whether it is starting properly or not
maryam maryam masoudy, modificado hace 11 años.
RE: when i startup liferay 6.1 i have some error why?
Regular Member Mensajes: 149 Fecha de incorporación: 30/10/11 Mensajes recientes
ok thanks i trace your offer
but i want to knew what is more confirmation liferay
but i want to knew what is more confirmation liferay
Hitoshi Ozawa, modificado hace 11 años.
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recienteshave portal-impl.jar in her plugin's classpath in some own portlet but i clean in lib folder 's own portlet
Shouldn't have that.
maryam maryam masoudy, modificado hace 11 años.
RE: when i startup liferay 6.1 i have some error why?
Regular Member Mensajes: 149 Fecha de incorporación: 30/10/11 Mensajes recientes
hi hitoshi
my portlet needed that was impoted this lib
must i clean form classpath after export .war file ?
or it is suffice clean from lib folder of portlet
my portlet needed that was impoted this lib
must i clean form classpath after export .war file ?
or it is suffice clean from lib folder of portlet
Nagendra Kumar Busam, modificado hace 11 años.