• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
asr chowdary
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic