Fórum
Porlet/VelocityServletResourceParser question
William Gosse, modificado 7 Anos atrás.
Porlet/VelocityServletResourceParser question
Liferay Master Postagens: 533 Data de Entrada: 04/07/10 Postagens Recentes
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
Sushil Patidar, modificado 7 Anos atrás.
RE: Porlet/VelocityServletResourceParser question
Expert Postagens: 467 Data de Entrada: 31/10/11 Postagens Recentes
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