Foren
when i startup liferay 6.1 i have some error why?
maryam maryam masoudy, geändert vor 11 Jahren.
when i startup liferay 6.1 i have some error why?
Regular Member Beiträge: 149 Beitrittsdatum: 30.10.11 Neueste Beiträge
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, geändert vor 11 Jahren.
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
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, geändert vor 11 Jahren.
RE: when i startup liferay 6.1 i have some error why?
Liferay Master Beiträge: 522 Beitrittsdatum: 29.08.11 Neueste Beiträge
Are you running liferay tomcat from the command / shell script? And if so have you set any Environment variables for log4j ?
Hitoshi Ozawa, geändert vor 11 Jahren.
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
She probably have portal-impl.jar in her plugin's classpath or don't have log4j.properties in WEB-INF/classes
maryam maryam masoudy, geändert vor 11 Jahren.
RE: when i startup liferay 6.1 i have some error why?
Regular Member Beiträge: 149 Beitrittsdatum: 30.10.11 Neueste Beiträge
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
Nagendra Kumar Busam, geändert vor 11 Jahren.
RE: when i startup liferay 6.1 i have some error why?
Liferay Master Beiträge: 678 Beitrittsdatum: 07.07.09 Neueste Beiträge
Is it a fresh tomcat bundle? Did you deploy any custom code on top of that?
maryam maryam masoudy, geändert vor 11 Jahren.
RE: when i startup liferay 6.1 i have some error why?
Regular Member Beiträge: 149 Beitrittsdatum: 30.10.11 Neueste Beiträge
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, geändert vor 11 Jahren.
RE: when i startup liferay 6.1 i have some error why?
Liferay Master Beiträge: 678 Beitrittsdatum: 07.07.09 Neueste Beiträge
Can you start tomcat once by undeploying your custom code for once, check whether it is starting properly or not
maryam maryam masoudy, geändert vor 11 Jahren.
RE: when i startup liferay 6.1 i have some error why?
Regular Member Beiträge: 149 Beitrittsdatum: 30.10.11 Neueste Beiträge
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, geändert vor 11 Jahren.
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträgehave 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, geändert vor 11 Jahren.
RE: when i startup liferay 6.1 i have some error why?
Regular Member Beiträge: 149 Beitrittsdatum: 30.10.11 Neueste Beiträge
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, geändert vor 11 Jahren.