[opencms-dev] Issue deleting files - OpenCMS reporting ~ file linking to it
Chris Shimmin-Vincent
C.S.Shimmin-Vincent at bath.ac.uk
Fri May 8 12:33:09 CEST 2015
We are having an issue deleting files using the OpenCMS workplace as it reports that a ~ file is linking to it. However, that ~ file no longer exists in the workplace.
We have tried restoring the deleted ~ file, publishing then deleting again but to no avail.
There are entries under cms_offline_resource_relations in the database which show the ~ file linking to other files. Is there any way of resolving this?
Thanks
Chris Shimmin-Vincent
Web Supporter
Digital Marketing & Communications
2 South
University of Bath
Tel: 01225 386275 (Extn: 6275)
If you have a support query then please contact web-support at bath.ac.uk
-----Original Message-----
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of opencms-dev-request at opencms.org
Sent: 08 May 2015 11:00
To: opencms-dev at opencms.org
Subject: opencms-dev Digest, Vol 184, Issue 5
Send opencms-dev mailing list submissions to
opencms-dev at opencms.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
or, via email, send a message with subject or body 'help' to
opencms-dev-request at opencms.org
You can reach the person managing the list at
opencms-dev-owner at opencms.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of opencms-dev digest..."
Today's Topics:
1. Re: finding the cause for this backtrace (Alberto Gallardo)
2. Re: finding the cause for this backtrace (Christoph Kukulies)
----------------------------------------------------------------------
Message: 1
Date: Thu, 7 May 2015 13:50:45 +0200
From: Alberto Gallardo <argrico at gmail.com>
To: Christoph Kukulies <kuku at physik.rwth-aachen.de>, The OpenCms
mailing list <opencms-dev at opencms.org>
Subject: Re: [opencms-dev] finding the cause for this backtrace
Message-ID:
<CA+zs-PxTCPY+pstAfiYbcQzZwr=ZOxNpfBY6fGCUd899OkuPtQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
>
> It could have to do with an email launching from a jsp, but I have no
> idea at the moment how to interpret the traceback.
>
The error is triggered by OpenCms when initializing the "formatter" taglet
of your published "/system/modules/org.my.template/formatters/footer widget
formatter.jsp". In Java, the stacktraces are written from the innermost
invokation to the outtermost:
This is the error message:
>
> May 07, 2015 10:50:41 AM org.apache.catalina.core.ApplicationDispatcher
> invoke
> SEVERE: Servlet.service() for servlet jsp threw exception
> org.opencms.main.CmsException: Error while reading element bean from
> request
>
Triggered by:
at
> org.opencms.ade.configuration.CmsADEManager.getCurrentElement(CmsADEManager.java:337)
>
...that was called here:
at
> org.opencms.jsp.CmsJspTagFormatter.init(CmsJspTagFormatter.java:230)
>
..and 'init' was invoked here:
> at
> org.opencms.jsp.CmsJspTagFormatter.doStartTag(CmsJspTagFormatter.java:128)
>
...and this was invoked by your jsp code:
at
> org.apache.jsp.WEB_002dINF.jsp.online.system.modules.org_my_template.
>
> formatters.footer_002dwidget_002dformatter_jsp._jspx_meth_cms_005fformatter_005f0(footer_002dwidget_002dformatter_jsp.java:109)
Apache Tomcat compiles the jsps into classes in a predefined directory,
usually resulting in the namespace prefix 'org.apache.jsp.WEB_002dINF.jsp'.
The rest of the namespace identifies where is the jsp stored.
In this case:
online -> online version
system.modules.org_my_template.formatters ->
system/modules/org.my.template/formatters
footer_002dwidget_002dformatter_jsp -> "footer widget formatter.jsp"
Regards,
Alberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20150507/09cca32a/attachment-0001.html>
------------------------------
Message: 2
Date: Thu, 7 May 2015 13:55:16 +0200
From: Christoph Kukulies <kuku at physik.rwth-aachen.de>
To: Alberto Gallardo <argrico at gmail.com>, The OpenCms mailing list
<opencms-dev at opencms.org>
Subject: Re: [opencms-dev] finding the cause for this backtrace
Message-ID: <554B52A4.8040507 at physik.rwth-aachen.de>
Content-Type: text/plain; charset="us-ascii"
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20150507/8be63326/attachment-0001.html>
------------------------------
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
End of opencms-dev Digest, Vol 184, Issue 5
*******************************************
More information about the opencms-dev
mailing list