留言板
when i startup liferay 6.1 i have some error why?
maryam maryam masoudy,修改在11 年前。
when i startup liferay 6.1 i have some error why?
Regular Member 帖子: 149 加入日期: 11-10-30 最近的帖子
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,修改在11 年前。
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
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,修改在11 年前。
RE: when i startup liferay 6.1 i have some error why?
Liferay Master 帖子: 522 加入日期: 11-8-29 最近的帖子
Are you running liferay tomcat from the command / shell script? And if so have you set any Environment variables for log4j ?
Hitoshi Ozawa,修改在11 年前。
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
She probably have portal-impl.jar in her plugin's classpath or don't have log4j.properties in WEB-INF/classes
maryam maryam masoudy,修改在11 年前。
RE: when i startup liferay 6.1 i have some error why?
Regular Member 帖子: 149 加入日期: 11-10-30 最近的帖子
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,修改在11 年前。
RE: when i startup liferay 6.1 i have some error why?
Liferay Master 帖子: 678 加入日期: 09-7-7 最近的帖子
Is it a fresh tomcat bundle? Did you deploy any custom code on top of that?
maryam maryam masoudy,修改在11 年前。
RE: when i startup liferay 6.1 i have some error why?
Regular Member 帖子: 149 加入日期: 11-10-30 最近的帖子
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,修改在11 年前。
RE: when i startup liferay 6.1 i have some error why?
Liferay Master 帖子: 678 加入日期: 09-7-7 最近的帖子
Can you start tomcat once by undeploying your custom code for once, check whether it is starting properly or not
maryam maryam masoudy,修改在11 年前。
RE: when i startup liferay 6.1 i have some error why?
Regular Member 帖子: 149 加入日期: 11-10-30 最近的帖子
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,修改在11 年前。
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子have 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,修改在11 年前。
RE: when i startup liferay 6.1 i have some error why?
Regular Member 帖子: 149 加入日期: 11-10-30 最近的帖子
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,修改在11 年前。