掲示板
Porlet/VelocityServletResourceParser question
7年前 に William Gosse によって更新されました。
Porlet/VelocityServletResourceParser question
Liferay Master 投稿: 533 参加年月日: 10/07/04 最新の投稿
I've been seeing the following kinds of statements in my log
18:37:58,574 DEBUG [ajp-hal-pptla-q01.dc.fmcna.com/10.5.75.183:8009-1][VelocityServletResourceParser:65] /templates/portlet.MyLoginPortlet_WAR_myportal001SNAPSHOT.vm is associated with the servlet context mylogin-theme org.apache.catalina.core.ApplicationContextFacade@217b9236
MyLoginPortlet is a custom portlet that's deployed in myportal.war. MyLoginPortlet is developed using Spring MVC. Hows is it winding up as a velocity template in myLogin theme. Is Liferay generating a template for my custom portlet on the fly when it deploys it. The reason i'm asking is because sometimes I get naming exception under the covers saying that it can't find this .vm file.
avax.naming.NamingException: JBWEB006704: Resource /templates/portlet.MyLoginPortlet_WAR_myportal001SNAPSHOT.vm not found
org.apache.naming.resources.ProxyDirContext lookup
18:37:58,574 DEBUG [ajp-hal-pptla-q01.dc.fmcna.com/10.5.75.183:8009-1][VelocityServletResourceParser:65] /templates/portlet.MyLoginPortlet_WAR_myportal001SNAPSHOT.vm is associated with the servlet context mylogin-theme org.apache.catalina.core.ApplicationContextFacade@217b9236
MyLoginPortlet is a custom portlet that's deployed in myportal.war. MyLoginPortlet is developed using Spring MVC. Hows is it winding up as a velocity template in myLogin theme. Is Liferay generating a template for my custom portlet on the fly when it deploys it. The reason i'm asking is because sometimes I get naming exception under the covers saying that it can't find this .vm file.
avax.naming.NamingException: JBWEB006704: Resource /templates/portlet.MyLoginPortlet_WAR_myportal001SNAPSHOT.vm not found
org.apache.naming.resources.ProxyDirContext lookup
7年前 に Sushil Patidar によって更新されました。
RE: Porlet/VelocityServletResourceParser question
Expert 投稿: 467 参加年月日: 11/10/31 最新の投稿
Hi,
Problem may be related to custom theme.Are you getting the same problem on default theme for the same portlet?
Regards
Problem may be related to custom theme.Are you getting the same problem on default theme for the same portlet?
Regards