You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by "Paul Sharples (JIRA)" <ji...@apache.org> on 2014/02/11 10:39:19 UTC
[jira] [Updated] (WOOKIE-407) Can not redeploy signed widgets
[ https://issues.apache.org/jira/browse/WOOKIE-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Sharples updated WOOKIE-407:
---------------------------------
Fix Version/s: (was: 1.0.0)
1.1.0
Moving to 1.1.0
> Can not redeploy signed widgets
> -------------------------------
>
> Key: WOOKIE-407
> URL: https://issues.apache.org/jira/browse/WOOKIE-407
> Project: Wookie
> Issue Type: Bug
> Affects Versions: 0.14.0
> Environment: Windows 7 x64
> Reporter: Matthias Niederhausen
> Fix For: 1.1.0
>
> Attachments: Google Map.wgt, proper_file_release3.patch
>
>
> I have no clue why, but when I try to redeploy a signed widget, I get an error that the widget has an invalid manifest.
> Use case:
> 1. deploy a .wgt file by dropping it into /deploy folder
> 2. deploy the same .wgt file [works]
> 3. deploy the same .wgt file, but with signature file author-signature.xml [works]
> 4. deploy the same .wgt file as in step 3 [error]
> 11:23:28,327 ERROR ContextListener:214 - Google Map.wgt:Hot deploy error: widget has invalid manifest - java.io.IOException: Unable to delete file: C:\Users\mtni\workspace\Apache Rave\rave-portal\target\tomcat6x\webapps\wookie\deploy\mms.t-systems.de\widgets\eventfinder\script\eventfinder.js
> org.apache.wookie.w3c.exceptions.BadManifestException: java.io.IOException: Unable to delete file: C:\Users\mtni\workspace\Apache Rave\rave-portal\target\tomcat6x\webapps\wookie\deploy\mms.t-systems.de\widgets\eventfinder\script\eventfinder.js
> at org.apache.wookie.w3c.W3CWidgetFactory.processWidgetPackage(W3CWidgetFactory.java:334)
> at org.apache.wookie.w3c.W3CWidgetFactory.parse(W3CWidgetFactory.java:177)
> at org.apache.wookie.w3c.W3CWidgetFactory.parse(W3CWidgetFactory.java:162)
> at org.apache.wookie.server.ContextListener$1$1.fileModified(ContextListener.java:190)
> at org.apache.wookie.util.WgtWatcher.check(WgtWatcher.java:95)
> at org.apache.wookie.server.ContextListener$1.run(ContextListener.java:230)
> Caused by: java.io.IOException: Unable to delete file: C:\Users\mtni\workspace\Apache Rave\rave-portal\target\tomcat6x\webapps\wookie\deploy\mms.t-systems.de\widgets\eventfinder\script\eventfinder.js
> at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1919)
> at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
> at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
> at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1910)
> at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1399)
> at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1331)
> at org.apache.wookie.w3c.util.WidgetPackageUtils.unpackZip(WidgetPackageUtils.java:304)
> at org.apache.wookie.w3c.W3CWidgetFactory.processWidgetPackage(W3CWidgetFactory.java:298)
> ... 5 more
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)