掲示板
when i startup liferay 6.1 i have some error why?
11年前 に maryam maryam masoudy によって更新されました。
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
11年前 に Hitoshi Ozawa によって更新されました。
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend 投稿: 7942 参加年月日: 10/03/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.
11年前 に Bart Simpson によって更新されました。
RE: when i startup liferay 6.1 i have some error why?
Liferay Master 投稿: 522 参加年月日: 11/08/29 最新の投稿
Are you running liferay tomcat from the command / shell script? And if so have you set any Environment variables for log4j ?
11年前 に Hitoshi Ozawa によって更新されました。
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
She probably have portal-impl.jar in her plugin's classpath or don't have log4j.properties in WEB-INF/classes
11年前 に maryam maryam masoudy によって更新されました。
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
11年前 に Nagendra Kumar Busam によって更新されました。
RE: when i startup liferay 6.1 i have some error why?
Liferay Master 投稿: 678 参加年月日: 09/07/07 最新の投稿
Is it a fresh tomcat bundle? Did you deploy any custom code on top of that?
11年前 に maryam maryam masoudy によって更新されました。
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
11年前 に Nagendra Kumar Busam によって更新されました。
RE: when i startup liferay 6.1 i have some error why?
Liferay Master 投稿: 678 参加年月日: 09/07/07 最新の投稿
Can you start tomcat once by undeploying your custom code for once, check whether it is starting properly or not
11年前 に maryam maryam masoudy によって更新されました。
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
11年前 に Hitoshi Ozawa によって更新されました。
RE: when i startup liferay 6.1 i have some error why?
Liferay Legend 投稿: 7942 参加年月日: 10/03/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.
11年前 に maryam maryam masoudy によって更新されました。
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
11年前 に Nagendra Kumar Busam によって更新されました。