Foros de discusión
Porlet/VelocityServletResourceParser question
William Gosse, modificado hace 7 años.
Porlet/VelocityServletResourceParser question
Liferay Master Mensajes: 533 Fecha de incorporación: 4/07/10 Mensajes recientes
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 hace 7 años.
RE: Porlet/VelocityServletResourceParser question
Expert Mensajes: 467 Fecha de incorporación: 31/10/11 Mensajes recientes
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