File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes Groovy template exception while deploying Chat war file..?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Groovy template exception while deploying Chat war file..??" Watch "Groovy template exception while deploying Chat war file..??" New topic
Author

Groovy template exception while deploying Chat war file..??

asr chowdary
Ranch Hand

Joined: Mar 14, 2013
Posts: 35
HI

I tried to deploy the Chat.war in exo plat form(tomcat)

I am getting the below error

2013-04-12 16:40:24,729 | ERROR | Error while rendering the porlet [o.e.w.a.p.PortletApplicationController<http-nio-0.0.0.0-8090-exec-7>]
org.exoplatform.groovyscript.TemplateRuntimeException: Groovy template exception at DataText[pos=Position[col=1,line=6],data= jsManager.importJavascript("eXo.communication.chat.eXoChat", "/chat/javascript/");] for template app:/templates/chat/webui/UIChatPortlet.gtmpl
at org.exoplatform.groovyscript.GroovyScript.buildRuntimeException(GroovyScript.java:148) [exo.portal.component.scripting-3.5.3.Final.jar:3.5.3.Final]
at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:104) [exo.portal.component.scripting-3.5.3.Final.jar:3.5.3.Final]
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:105) [exo.portal.component.scripting-3.5.3.Final.jar:3.5.3.Final]
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:113) [exo.portal.component.scripting-3.5.3.Final.jar:3.5.3.Final]
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:114) [exo.portal.webui.framework-3.5.3.Final.jar:3.5.3.Final]
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:76) [exo.portal.webui.framework-3.5.3.Final.jar:3.5.3.Final]
at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processRender(UIApplicationLifecycle.java:58) ~[exo.portal.webui.portlet-3.5.3.Final.jar:3.5.3.Final]
at org.exoplatform.webui.core.lifecycle.UIApplicationLifecycle.processRender(UIApplicationLifecycle.java:29) ~[exo.portal.webui.portlet-3.5.3.Final.jar:3.5.3.Final]
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128) [exo.portal.webui.framework-3.5.3.Final.jar:3.5.3.Final]
at org.exoplatform.webui.core.UIPortletApplication.processRender(UIPortletApplication.java:117) ~[exo.portal.webui.portlet-3.5.3.Final.jar:3.5.3.Final]
at org.exoplatform.webui.application.portlet.PortletApplication.render(PortletApplication.java:255) ~[exo.portal.webui.portlet-3.5.3.Final.jar:3.5.3.Final]
at org.exoplatform.webui.application.portlet.PortletApplicationController.render(PortletApplicationController.java:131) ~[exo.portal.webui.portlet-3.5.3.Final.jar:3.5.3.Final]
at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:576) ~[pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.exoplatform.platform.common.portlet.PortletDisablerFilter.doFilter(PortletDisablerFilter.java:63) ~[platform-component-common-4.0.0-Beta2.jar:4.0.0-Beta2]
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.exoplatform.portal.application.ApplicationMonitoringFilter.doFilter(ApplicationMonitoringFilter.java:65) [exo.portal.webui.portal-3.5.3.Final.jar:3.5.3.Final]
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:513) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) [pc-bridge-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.aspects.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:55) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$201(ContextDispatcherInterceptor.java:46) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$CallableImpl.call(ContextDispatcherInterceptor.java:119) [pc-portlet-2.4.0.Final.jar:2.4.0.Final]
at org.exoplatform.portal.webui.application.ExoServerContext$1.doCallback(ExoServerContext.java:49) [exo.portal.webui.portal-3.5.3.Final.jar:3.5.3.Final]
at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82) [wci-wci-2.3.0.Final.jar:2.3.0.Final]
at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source) ~[na:na]

any help..!

Thanks
asr chowdary
Ranch Hand

Joined: Mar 14, 2013
Posts: 35
The Chat portlet and its services are deprecated. It remains fully supported for eXo customers, however it will not receive any enhancement and will be removed from the product scope in the future.

I tried to deploy the chat.war (which is available in exo 3.5) in exo platform 4, we need to do many code changes.then I stopped it.

This error came with .gtmpl file.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Groovy template exception while deploying Chat war file..??
 
Similar Threads
Portal with Gatein Portlet Container
Spring MVC and Weblogic Portal
JBoss AS 7.1.0 CR1b problem with hornetq-ra
Problem deploying JBoss AS 7.1.0 - ClassNotFoundException
ClientAbortException throw at the end of REST request