Re: Error when deploying intranet templates from the cvs

Philippe Vollenweider <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi,

Did you overwrite files in 
[tomcat]\webapps\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates? 


Philippe


At 30.08.2005 15:05, you wrote:


>Hi Serge,
>
>Why does the following approach not work ?
>
>1. Checked out  jahia JAHIA-4-1-BRANCH
>2. Changed ant.build.properties
>3. Ran build.xml with target "deploy-all"
>4. Copied the the build/dist/war files to ..webapps/jahia
>5. Ran the setup (against MySql) - everything OK
>6. Checked out intranet_templates JAHIA-4-1-BRANCH
>7. Changed ant.build.properties
>8. Ran build.xml with target "dist"
>9. Copied corporate_portal_templates.jar to 
>...webapps\jahia\WEB-INF\var\new_templates\myjahiasite
>10. Starting Tomcat (4.1.30)
>
>the above has the following result:
>
><?xml version="1.0" encoding="iso-8859-1"?>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
>Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
><html xmlns="http://www.w3.org/1999/xhtml">
><head>
><!--
>Error :
>
>Error during handle of operation, Error during 
>handle of operation, root cause:Error while 
>forwarding a Jahia engine's content, Error while 
>forwarding the Engine 
>/jsp/jahia/templates/myjahiasite/corporate_portal_templates/home.jsp 
>: Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
> package org.jahia.data.beans.portlets does not exist
>    [javac] import org.jahia.data.beans.portlets.*;
>    [javac] ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && ( (displayPreview || isSharedInStaging || jData.gui().isCompareMode()) &&
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
> cannot resolve symbol
>    [javac] symbol  : variable PageSearchResultBuilderImpl
>    [javac] location: class org.apache.jsp.home_jsp
>    [javac] 
> out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>    [javac]                 ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> out.print(topLinkBean.getPageType() == 
> PageInfoInterface.TYPE_URL ? "remote" : "local");
>    [javac]                                            ^
>    [javac] Note: 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 7 errors
>
>
>
>
>-> BAILING OUT, root cause:Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
> package org.jahia.data.beans.portlets does not exist
>    [javac] import org.jahia.data.beans.portlets.*;
>    [javac] ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && ( (displayPreview || isSharedInStaging || jData.gui().isCompareMode()) &&
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
> cannot resolve symbol
>    [javac] symbol  : variable PageSearchResultBuilderImpl
>    [javac] location: class org.apache.jsp.home_jsp
>    [javac] 
> out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>    [javac]                 ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> out.print(topLinkBean.getPageType() == 
> PageInfoInterface.TYPE_URL ? "remote" : "local");
>    [javac]                                            ^
>    [javac] Note: 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 7 errors
>
>
>
>
>
>
>
>Exception StackTrace: Cause level : 0 (level 0 is the most precise exception)
>org.apache.jasper.JasperException: Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
> package org.jahia.data.beans.portlets does not exist
>    [javac] import org.jahia.data.beans.portlets.*;
>    [javac] ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && ( (displayPreview || isSharedInStaging || jData.gui().isCompareMode()) &&
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
> cannot resolve symbol
>    [javac] symbol  : variable PageSearchResultBuilderImpl
>    [javac] location: class org.apache.jsp.home_jsp
>    [javac] 
> out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>    [javac]                 ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> out.print(topLinkBean.getPageType() == 
> PageInfoInterface.TYPE_URL ? "remote" : "local");
>    [javac]                                            ^
>    [javac] Note: 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 7 errors
>
>
>
>
>
>                 at 
> org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
>                 at 
> org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:248)
>                 at 
> org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)
>                 at 
> org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)
>                 at 
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
>                 at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
>                 at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
>                 at 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
>                 at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:627)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:306)
>                 at 
> org.jahia.engines.EngineRenderer.renderCore(EngineRenderer.java:187)
>                 at 
> org.jahia.engines.EngineRenderer.render(EngineRenderer.java:78)
>                 at 
> org.jahia.engines.core.Core_Engine.processCore(Core_Engine.java:177)
>                 at 
> org.jahia.engines.core.Core_Engine.handleActions(Core_Engine.java:109)
>                 at 
> org.jahia.operations.OperationManager.handleOperations(OperationManager.java:311)
>                 at org.jahia.bin.JahiaAction.execute(JahiaAction.java:50)
>                 at 
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
>                 at 
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
>                 at 
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
>                 at org.jahia.bin.Jahia.process(Jahia.java:1545)
>                 at org.jahia.bin.Jahia.service(Jahia.java:860)
>                 at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:627)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:306)
>                 at 
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:391)
>                 at org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
>                 at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
>                 at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>                 at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
>                 at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
>                 at 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
>                 at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>                 at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
>                 at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
>                 at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
>                 at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>                 at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
>                 at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>                 at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>                 at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>                 at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>                 at java.lang.Thread.run(Thread.java:534)
>Cause level : 1
>org.jahia.exceptions.JahiaException: Error while 
>forwarding a Jahia engine's content, Error while 
>forwarding the Engine 
>/jsp/jahia/templates/myjahiasite/corporate_portal_templates/home.jsp 
>: Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
> package org.jahia.data.beans.portlets does not exist
>    [javac] import org.jahia.data.beans.portlets.*;
>    [javac] ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && ( (displayPreview || isSharedInStaging || jData.gui().isCompareMode()) &&
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
> cannot resolve symbol
>    [javac] symbol  : variable PageSearchResultBuilderImpl
>    [javac] location: class org.apache.jsp.home_jsp
>    [javac] 
> out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>    [javac]                 ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> out.print(topLinkBean.getPageType() == 
> PageInfoInterface.TYPE_URL ? "remote" : "local");
>    [javac]                                            ^
>    [javac] Note: 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 7 errors
>
>
>
>
>-> BAILING OUT, root cause:Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
> package org.jahia.data.beans.portlets does not exist
>    [javac] import org.jahia.data.beans.portlets.*;
>    [javac] ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && ( (displayPreview || isSharedInStaging || jData.gui().isCompareMode()) &&
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
> cannot resolve symbol
>    [javac] symbol  : variable PageSearchResultBuilderImpl
>    [javac] location: class org.apache.jsp.home_jsp
>    [javac] 
> out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>    [javac]                 ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> out.print(topLinkBean.getPageType() == 
> PageInfoInterface.TYPE_URL ? "remote" : "local");
>    [javac]                                            ^
>    [javac] Note: 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 7 errors
>
>
>
>
>root cause=org.apache.jasper.JasperException: Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
> package org.jahia.data.beans.portlets does not exist
>    [javac] import org.jahia.data.beans.portlets.*;
>    [javac] ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && ( (displayPreview || isSharedInStaging || jData.gui().isCompareMode()) &&
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
> cannot resolve symbol
>    [javac] symbol  : variable PageSearchResultBuilderImpl
>    [javac] location: class org.apache.jsp.home_jsp
>    [javac] 
> out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>    [javac]                 ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> out.print(topLinkBean.getPageType() == 
> PageInfoInterface.TYPE_URL ? "remote" : "local");
>    [javac]                                            ^
>    [javac] Note: 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 7 errors
>
>
>
>
>
>                 at 
> org.jahia.engines.EngineRenderer.renderCore(EngineRenderer.java:227)
>                 at 
> org.jahia.engines.EngineRenderer.render(EngineRenderer.java:78)
>                 at 
> org.jahia.engines.core.Core_Engine.processCore(Core_Engine.java:177)
>                 at 
> org.jahia.engines.core.Core_Engine.handleActions(Core_Engine.java:109)
>                 at 
> org.jahia.operations.OperationManager.handleOperations(OperationManager.java:311)
>                 at org.jahia.bin.JahiaAction.execute(JahiaAction.java:50)
>                 at 
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
>                 at 
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
>                 at 
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
>                 at org.jahia.bin.Jahia.process(Jahia.java:1545)
>                 at org.jahia.bin.Jahia.service(Jahia.java:860)
>                 at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:627)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:306)
>                 at 
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:391)
>                 at org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
>                 at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
>                 at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>                 at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
>                 at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
>                 at 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
>                 at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>                 at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
>                 at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
>                 at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
>                 at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>                 at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
>                 at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>                 at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>                 at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>                 at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>                 at java.lang.Thread.run(Thread.java:534)
>Cause level : 2
>org.jahia.exceptions.JahiaException: Error 
>during handle of operation, Error during handle 
>of operation, root cause:Error while forwarding 
>a Jahia engine's content, Error while forwarding 
>the Engine 
>/jsp/jahia/templates/myjahiasite/corporate_portal_templates/home.jsp 
>: Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
> package org.jahia.data.beans.portlets does not exist
>    [javac] import org.jahia.data.beans.portlets.*;
>    [javac] ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && ( (displayPreview || isSharedInStaging || jData.gui().isCompareMode()) &&
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
> cannot resolve symbol
>    [javac] symbol  : variable PageSearchResultBuilderImpl
>    [javac] location: class org.apache.jsp.home_jsp
>    [javac] 
> out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>    [javac]                 ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> out.print(topLinkBean.getPageType() == 
> PageInfoInterface.TYPE_URL ? "remote" : "local");
>    [javac]                                            ^
>    [javac] Note: 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 7 errors
>
>
>
>
>-> BAILING OUT, root cause:Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
> package org.jahia.data.beans.portlets does not exist
>    [javac] import org.jahia.data.beans.portlets.*;
>    [javac] ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && ( (displayPreview || isSharedInStaging || jData.gui().isCompareMode()) &&
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
> cannot resolve symbol
>    [javac] symbol  : variable PageSearchResultBuilderImpl
>    [javac] location: class org.apache.jsp.home_jsp
>    [javac] 
> out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>    [javac]                 ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> out.print(topLinkBean.getPageType() == 
> PageInfoInterface.TYPE_URL ? "remote" : "local");
>    [javac]                                            ^
>    [javac] Note: 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 7 errors
>
>
>
>
>root cause=org.jahia.exceptions.JahiaException: 
>Error while forwarding a Jahia engine's content, 
>Error while forwarding the Engine 
>/jsp/jahia/templates/myjahiasite/corporate_portal_templates/home.jsp 
>: Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
> package org.jahia.data.beans.portlets does not exist
>    [javac] import org.jahia.data.beans.portlets.*;
>    [javac] ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && ( (displayPreview || isSharedInStaging || jData.gui().isCompareMode()) &&
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
> cannot resolve symbol
>    [javac] symbol  : variable PageSearchResultBuilderImpl
>    [javac] location: class org.apache.jsp.home_jsp
>    [javac] 
> out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>    [javac]                 ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> out.print(topLinkBean.getPageType() == 
> PageInfoInterface.TYPE_URL ? "remote" : "local");
>    [javac]                                            ^
>    [javac] Note: 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 7 errors
>
>
>
>
>-> BAILING OUT, root cause:Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>    [javac] Compiling 1 source file
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
> package org.jahia.data.beans.portlets does not exist
>    [javac] import org.jahia.data.beans.portlets.*;
>    [javac] ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && ( (displayPreview || isSharedInStaging || jData.gui().isCompareMode()) &&
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
> cannot resolve symbol
>    [javac] symbol  : variable PageSearchResultBuilderImpl
>    [javac] location: class org.apache.jsp.home_jsp
>    [javac] 
> out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>    [javac]                 ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> out.print(topLinkBean.getPageType() == 
> PageInfoInterface.TYPE_URL ? "remote" : "local");
>    [javac]                                            ^
>    [javac] Note: 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 7 errors
>
>
>
>
>root cause=org.apache.jasper.JasperException: Unable to compile class for JSP
>
>An error occurred at line: -1 in the jsp file: null
>
>Generated servlet error:
>     [javac] Compiling 1 source file
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
> package org.jahia.data.beans.portlets does not exist
>    [javac] import org.jahia.data.beans.portlets.*;
>    [javac] ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
> cannot resolve symbol
>    [javac] symbol  : method isAvailable ()
>    [javac] location: class org.jahia.services.pages.ContentPage
>    [javac]                 if (cp.isAvailable() 
> && ( (displayPreview || isSharedInStaging || jData.gui().isCompareMode()) &&
>    [javac]                       ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
> cannot resolve symbol
>    [javac] symbol  : variable PageSearchResultBuilderImpl
>    [javac] location: class org.apache.jsp.home_jsp
>    [javac] 
> out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
>    [javac]                 ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_URL) ||
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> (topLinkBean.getPageType() == PageInfoInterface.TYPE_LINK );
>    [javac]                                     ^
>    [javac] 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
> cannot resolve symbol
>    [javac] symbol  : method getPageType ()
>    [javac] location: class org.jahia.data.beans.PageBean
>    [javac] 
> out.print(topLinkBean.getPageType() == 
> PageInfoInterface.TYPE_URL ? "remote" : "local");
>    [javac]                                            ^
>    [javac] Note: 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 7 errors
>
>
>
>
>
>                 at 
> org.jahia.operations.OperationManager.handleOperations(OperationManager.java:327)
>                 at org.jahia.bin.JahiaAction.execute(JahiaAction.java:50)
>                 at 
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
>                 at 
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
>                 at 
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
>                 at org.jahia.bin.Jahia.process(Jahia.java:1545)
>                 at org.jahia.bin.Jahia.service(Jahia.java:860)
>                 at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:627)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
>                 at 
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:306)
>                 at 
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:391)
>                 at org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
>                 at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
>                 at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>                 at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
>                 at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
>                 at 
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
>                 at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
>                 at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
>                 at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
>                 at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
>                 at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>                 at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
>                 at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>                 at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>                 at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>                 at 
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
>                 at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>                 at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>                 at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>                 at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>                 at java.lang.Thread.run(Thread.java:534)
>
>
>-->
>    <title>Jahia Error</title>
>    <link rel="stylesheet" 
> href="/jahia/jsp/jahia/engines/css/error.css" type="text/css"/>
>    <script language="JavaScript" type="text/JavaScript">
>        <!--
>        function viewSource() {
>            document.location = "view-source:" + document.location.href;
>        }
>        //-->
>    </script>
></head>
>
><body>
>
>
><br/><br/><br/>
>
><table align="center" width="530" height="63" 
>border="0" cellspacing="0" cellpadding="0">
><tr>
>    <td class="boxtitlecolor1">Error page</td>
></tr>
><tr>
>    <td class="boxcontentcolor2">
>        <p class="bold">
>        An error has occured during processing. 
> Please contact the <br>administrator if you get this message repeatedly.<br/>
>
>         </p>
>
>            <a href="/jahia/Jahia">Click here to return to Jahia</a><br/>
>            <br/>
>            If this error occurs again, please <a
> 
>href="javascript:viewSource()">click here to view the html source</a>.
>                You should then find the detail 
> of the error (stack trace). Copy it and send it 
> to your site manager so that he can solve the 
> problem. Sorry for the inconvenience<br/>
>
>        <br/>
>        A mail notification has been sent to the Administrator.
>    </td>
>
></tr>
></table>
>
></body>
></html>
>
>
>Med venlig hilsen
>Aage Nielsen
>------------------------------------
>Vesterbrogade 8
>DK-8800 Viborg
>Denmark
>
>Phone +45 87 25 50 83
>Mobile +45 25 28 69 83
>e-mail: [email protected]
>
>
>Serge Huber <[email protected]>
>
>30-08-2005 11:57
>Please respond to
><[email protected]>
>
>To
>[email protected]
>cc
>Subject
>Re: Error when deploying intranet templates from the cvs
>
>
>
>
>
>The CVS head of the templates is related to the CVS head of Jahia, which
>is version 4.5 in development. You cannot use the CVS head templates
>with version 4.1 as they are not API compatible.
>
>In order to retrieve the templates for version 4.1, you must use the
>branch JAHIA-4-1-BRANCH.
>
>Regards,
>  Serge Huber.
>
>Aage Nielsen wrote:
>
> >
> > The binary Jahia 4.1.0_01 from your site - Windows XP - JDK 1.4.09 -
> >
> >
> > Error compiling file:
> > 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\/home_jsp.java 
>
> >     [javac] Compiling 1 source file
> >     [javac]
> > 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:17: 
>
> > package org.jahia.data.beans.portlets does not exist
> >     [javac] import org.jahia.data.beans.portlets.*;
> >     [javac] ^
> >     [javac]
> > 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2312: 
>
> > cannot resolve symbol
> >     [javac] symbol  : method isAvailable ()
> >     [javac] location: class org.jahia.services.pages.ContentPage
> >     [javac]                 if (cp.isAvailable() &&
> > 
> cp.hasEntries(ContentPage.ACTIVE_PAGE_INFOS,jParams.getLocale().toString())){
> >
> >     [javac]                       ^
> >     [javac]
> > 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2342: 
>
> > cannot resolve symbol
> >     [javac] symbol  : method isAvailable ()
> >     [javac] location: class org.jahia.services.pages.ContentPage
> >     [javac]                 if (cp.isAvailable() && ( (displayPreview
> > || isSharedInStaging || jData.gui().isCompareMode()) &&
> >     [javac]                       ^
> >     [javac]
> > 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:2862: 
>
> > cannot resolve symbol
> >     [javac] symbol  : variable PageSearchResultBuilderImpl
> >     [javac] location: class org.apache.jsp.home_jsp
> >     [javac]
> > out.print(PageSearchResultBuilderImpl.ONE_HIT_BY_PAGE_PARAMETER_NAME);
> >     [javac]                 ^
> >     [javac]
> > 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3253: 
>
> > cannot resolve symbol
> >     [javac] symbol  : method getPageType ()
> >     [javac] location: class org.jahia.data.beans.PageBean
> >     [javac]                         (topLinkBean.getPageType() ==
> > PageInfoInterface.TYPE_URL) ||
> >     [javac]                                     ^
> >     [javac]
> > 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3254: 
>
> > cannot resolve symbol
> >     [javac] symbol  : method getPageType ()
> >     [javac] location: class org.jahia.data.beans.PageBean
> >     [javac]                         (topLinkBean.getPageType() ==
> > PageInfoInterface.TYPE_LINK );
> >     [javac]                                     ^
> >     [javac]
> > 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java:3292: 
>
> > cannot resolve symbol
> >     [javac] symbol  : method getPageType ()
> >     [javac] location: class org.jahia.data.beans.PageBean
> >     [javac]                       out.print(topLinkBean.getPageType()
> > == PageInfoInterface.TYPE_URL ? "remote" : "local");
> >     [javac]                                            ^
> >     [javac] Note:
> > 
> C:\jahia410\tomcat\work\Standalone\localhost\jahia\jsp\jahia\templates\myjahiasite\corporate_portal_templates\home_jsp.java 
>
> > uses or overrides a deprecated API.
> >     [javac] Note: Recompile with -deprecation for details.
> >     [javac] 7 errors
> >
> > Med venlig hilsen
> > Aage Nielsen
> > ------------------------------------
> > Vesterbrogade 8
> > DK-8800 Viborg
> > Denmark
> >
> > Phone +45 87 25 50 83
> > Mobile +45 25 28 69 83
> > e-mail: [email protected]
> >
> >
> > *Stéphane Croisier <[email protected]>*
> >
> > 30-08-2005 09:53
> > Please respond to
> > <[email protected]>
> >
> >
> >
> > To
> >                  <[email protected]>
> > cc
> >
> > Subject
> >                  Re: Error when deploying intranet templates from the cvs
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Which version of Jahia? Which environment? Which templates? and which
> > exception in the console?
> >
> > Stéphane
> >
> > At 09:51 30/08/2005, you wrote:
> >
> > I keep getting jsp compilation errors when deploying/using the
> > intranet template versions
> >
> > package org.jahia.data.beans.portlets does not exist
> >
> > any ideas ?
> >
> > Regards
> > Aage Nielsen
> > ------------------------------------
> > Vesterbrogade 8
> > DK-8800 Viborg
> > Denmark
> >
> > Phone +45 87 25 50 83
> > Mobile +45 25 28 69 83
> > e-mail: [email protected]
>
>

-------=[ pvollenweider at jahia dot com ]=---------
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.