[opencms-dev] Reinstalling module problem

Jaroslav.Novotny at ibacz.eu Jaroslav.Novotny at ibacz.eu
Wed Mar 7 12:46:49 CET 2018


Reinstalling module problem. OpenCms Version 10.5.3

Situation
1) I have an installed and running module
2) Click the Import Module with HTTP button
3) Deleting the module work fine
4) Starts installing the module
- approx 10 percent of cases fails on:


java.io.FileNotFoundException: 
C:\apache-tomcat-8.0.45\webapps\opencms\WEB-INF\lib\modul.jar (Systém 
nemůže nalézt uvedený soubor)
at 
org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.getArchiveEntry(AbstractSingleArchiveResourceSet.java:97)
at 
org.apache.catalina.webresources.AbstractArchiveResourceSet.getResource(AbstractArchiveResourceSet.java:260)
at 
org.apache.catalina.webresources.StandardRoot.getResourceInternal(StandardRoot.java:281)
at org.apache.catalina.webresources.Cache.getResource(Cache.java:62)
at 
org.apache.catalina.webresources.StandardRoot.getResource(StandardRoot.java:216)
at 
org.apache.catalina.webresources.StandardRoot.getClassLoaderResource(StandardRoot.java:225)
at 
org.apache.catalina.loader.WebappClassLoaderBase.findResourceInternal(WebappClassLoaderBase.java:2633)
at 
org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2470)
at 
org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:859)
at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1302)
at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)


Possible problem
If the jar is used by a tomcat, it would not be possible to delete the jar 
in the delete phase.

CmsModuleManager. deleteModule(…) 
line 697 OpenCms.getPublishManager().publishProject(cms, report);


Any idea? Thx.

Novotný Jaroslav, IBAcz.eu



Jaroslav Novotný
Java developer

IBA CZ, s.r.o.
Office: Křenová 72 Brno, 602 00
Phone: +420 778 492 817
E-mail: jaroslav.novotny at ibacz.eu


Disclaimer:

The information contained in this communication is intended solely for the 
use of the individual or entity to whom it is addressed and others 
authorized to receive it.
It may contain confidential or legally privileged information.
If you are not the intended recipient you are hereby notified that any 
disclosure, copying, distribution or taking any action in reliance on the 
contents of this information is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us 
immediately by forwarding this email to ict at ibacz.eu and then delete it 
from your system.
IBA Group is neither liable for the proper and complete transmission of 
the information contained in this communication nor for any delay in its 
receipt.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180307/068575e7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 48578 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20180307/068575e7/attachment.png>


More information about the opencms-dev mailing list