Foren
Porlet/VelocityServletResourceParser question
William Gosse, geändert vor 7 Jahren.
Porlet/VelocityServletResourceParser question
Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
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, geändert vor 7 Jahren.
RE: Porlet/VelocityServletResourceParser question
Expert Beiträge: 467 Beitrittsdatum: 31.10.11 Neueste Beiträge
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