Hi all
I am using Jahia release 5.0.0, Community Edition, Build 16138 and am unable to
create links to external sites using the links portlet. (All the other options
work). The contents of my box_links.inc file is at the bottom of this email.
Bellow is the error message I get when trying to create a link to the external
site. Any help would be greatly appreciated.
Stack trace :
Cause level : 0 (level 0 is the most precise exception)
org.jahia.exceptions.JahiaException: User message=Could not create page.,
System message=Could not insert the page info into the database
at
org.jahia.services.pages.JahiaPageBaseService.createPage(JahiaPageBaseService.java:319)
at
org.jahia.services.pages.JahiaPageBaseService$$FastClassByCGLIB$$e7c6d2f7.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at
org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
at
org.jahia.services.pages.JahiaPageBaseService$$EnhancerByCGLIB$$1d1a8f86.createPage(<generated>)
at org.jahia.engines.shared.Page_Field.saveData(Page_Field.java:495)
at org.jahia.engines.shared.Page_Field.handleField(Page_Field.java:125)
at
org.jahia.engines.EngineToolBox.processFieldTypes(EngineToolBox.java:132)
at
org.jahia.engines.addcontainer.AddContainer_Engine.saveFields(AddContainer_Engine.java:870)
at
org.jahia.engines.addcontainer.AddContainer_Engine.processCurrentScreen(AddContainer_Engine.java:691)
at
org.jahia.engines.addcontainer.AddContainer_Engine.handleActions(AddContainer_Engine.java:277)
at org.jahia.operations.valves.EngineValve.invoke(EngineValve.java:110)
at
org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:208)
at
org.jahia.operations.valves.J2ProcessActionValve.invoke(J2ProcessActionValve.java:144)
at
org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:208)
at
org.jahia.operations.valves.CacheReadValve.invoke(CacheReadValve.java:65)
at
org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:208)
at
org.jahia.operations.valves.PageAccessCheckValve.invoke(PageAccessCheckValve.java:64)
at
org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:208)
at
org.jahia.operations.valves.OperationModeCheckValve.invoke(OperationModeCheckValve.java:83)
at
org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:208)
at
org.jahia.operations.valves.SiteCheckValve.invoke(SiteCheckValve.java:78)
at
org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:208)
at
org.jahia.operations.valves.EsiFragmentCacheReadValve.invoke(EsiFragmentCacheReadValve.java:326)
at
org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:208)
at
org.jahia.operations.valves.EsiUrlCookieCheckValve.invoke(EsiUrlCookieCheckValve.java:313)
at
org.jahia.pipelines.impl.GenericPipeline.invokeNext(GenericPipeline.java:208)
at
org.jahia.pipelines.impl.GenericPipeline.invoke(GenericPipeline.java:195)
at
org.jahia.operations.OperationManager.handleOperations(OperationManager.java:100)
at org.jahia.bin.JahiaAction.execute(JahiaAction.java:72)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.jahia.bin.JahiaRequestProcessor.process(JahiaRequestProcessor.java:82)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.jahia.bin.Jahia.process(Jahia.java:1654)
at org.jahia.bin.Jahia.service(Jahia.java:855)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
Cause level : 1
org.jahia.exceptions.JahiaException: User message=Error while processing
request, System message=Exception in processing pipeline, root cause:User
message=Could not create page., System message=Could not insert the page info
into the database root cause=org.jahia.exceptions.JahiaException: User
message=Could not create page., System message=Could not insert the page info
into the database
at
org.jahia.operations.OperationManager.handleOperations(OperationManager.java:107)
at org.jahia.bin.JahiaAction.execute(JahiaAction.java:72)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.jahia.bin.JahiaRequestProcessor.process(JahiaRequestProcessor.java:82)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.jahia.bin.Jahia.process(Jahia.java:1654)
at org.jahia.bin.Jahia.service(Jahia.java:855)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jahia.bin.filters.esi.ESIFilter.doFilter(ESIFilter.java:110)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
org.jahia.exceptions.JahiaException: User message=Could not create page.,
System message=Could not insert the page info into the database
at
org.jahia.services.pages.JahiaPageBaseService.createPage(JahiaPageBaseService.java:319)
at
org.jahia.services.pages.JahiaPageBaseService$$FastClassByCGLIB$$e7c6d2f7.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:661)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)
at
org.springframework.aop.interceptor.AbstractTraceInterceptor.invoke(AbstractTraceInterceptor.java:80)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:606)
at
org.jahia.services.pages.JahiaPageBaseService$$EnhancerByCGLIB$$1d1a8f86.createPage(<generated>)
at org.jahia.engines.shared.Page_Field.saveData(Page_Field.java:495)
at org.jahia.engines.shared.Page_Field.handleField(Page_Field.java:125)
at
org.jahia.engines.EngineToolBox.processFieldTypes(EngineToolBox.java:132)
at
org.jahia.engines.addcontainer.AddContainer_Engine.saveFields(AddContainer_Engine.java:870)
at
org.jahia.engines.addcontainer.AddContainer_Engine.processCurrentScreen(AddContainer_Engine.java:691)
at
org.jahia.engines.addcontainer.AddContainer_Engine.handleActions(AddContainer_Engine.java:277)
at org.jahia.operations.valves.EngineValve.invoke(EngineValve.java:110)
box_links.inc
<ul class="box_links">
<content:containerList name='<%="linksContainer" + id%>'
id="linksContainerList" parentContainerName="boxContainer">
<jahiaHtml:actionMenu name="linksContainerList" namePostFix=""
resourceBundle="jahiatemplates.Corporate_portal_templates">
<content:container id="linksContainer">
<li><content:pageField valueId="link" name='boxlink'>
<logic:notEmpty name="link">
<a class="box"
<logic:equal name="link" property="type" value="2">
target="_new"
</logic:equal>
href="<bean:write name='link' property='url'/>"
><bean:write name="link" property="title"
filter="false"/></a>
<content:textField valueId="linkDesc" name='linkDesc'
display="false" defaultValue=""/>
<logic:notEmpty name="linkDesc">
<ul>
<li><bean:write name="linkDesc"
filter="false"/></li>
</ul>
</logic:notEmpty>
</logic:notEmpty>
<logic:empty name="link">
<logic:equal name="currentRequest" property="editMode"
value="true">
<content:resourceBundle
resourceBundle="jahiatemplates.Corporate_portal_templates"
resourceName="noLink"/>
</logic:equal>
</logic:empty>
</content:pageField>
<jahiaHtml:actionMenu name="linksContainer" namePostFix=""
resourceBundle="jahiatemplates.Corporate_portal_templates" useFieldSet="false">
</jahiaHtml:actionMenu></li>
</content:container>
<content:addContainerURL id="addLinkContainerURL" display="false"/>
<logic:present name="addLinkContainerURL">
<jahiaHtml:actionMenu name="linksContainerList" namePostFix=""
resourceBundle="jahiatemplates.Corporate_portal_templates"
useFieldSet="false" actionIcon='<%=theURL +
"/images/add.gif"%>' labelKey="addLink">
</jahiaHtml:actionMenu>
</logic:present>
</jahiaHtml:actionMenu>
</content:containerList>
</ul>
Regards
Bojana
________________________________
Mind Over Matter - How Technology Matters
Find out how modern lifestyles and technologies are influencing the human mind
at education.au's seminar on Tuesday 26 August, Sydney.
Find out more: www.educationau.edu.au
IMPORTANT: This e-mail, including any attachments, may contain private or
confidential information. If you think you may not be the intended recipient,
or if you have received this e-mail in error, please contact the sender
immediately and delete all copies of this e-mail. If you are not the intended
recipient, you must not reproduce any part of this e-mail or disclose its
contents to any other party. This email represents the views of the individual
sender, which do not necessarily reflect those of education.au limited except
where the sender expressly states otherwise. It is your responsibility to scan
this email and any files transmitted with it for viruses or any other defects.
education.au limited will not be liable for any loss, damage or consequence
caused directly or indirectly by this email.
_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list