java.lang.RuntimeException: Unable to iterate files in the specified way. dir=../ includes=lib/portlets/**/*.war excludes=[Not Evaluated]

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When running 'ant initportal': deployPortletApp: [echo] Invoking Portlet Application Deployment Tool [java] ** Deploying All Portlet Applications in lib/portlets/ ** [java] Deploying Portlet Application: lib/portlets/BookmarksPortlet.war [java] Deploying Portlet Application: lib/portlets/RssPortlet.war [java] Failed to create InputSource (java.net.UnknownHostException: Users): file://Users/esm/src/up-rel-2-6-patches/webpages/dtd/web-app_2_3.dtd [java] Deploying Portlet Application: lib/portlets/googleportlet.war [java] Failed to create InputSource (java.net.UnknownHostException: Users): file://Users/esm/src/up-rel-2-6-patches/webpages/dtd/web-app_2_3.dtd [java] Deploying Portlet Application: lib/portlets/proxyportlet.war [java] Failed to create InputSource (java.net.UnknownHostException: Users): file://Users/esm/src/up-rel-2-6-patches/webpages/dtd/web-app_2_3.dtd [java] Deploying Portlet Application: lib/portlets/testsuite.war [java] Failed to create InputSource (java.net.UnknownHostException: Users): file://Users/esm/src/up-rel-2-6-patches/webpages/dtd/web-app_2_3.dtd [echo] Finished initializing uPortal When running: ant deployPortletApp -DportletApp=all deployPortletApp: [echo] Invoking Portlet Application Deployment Tool [java] ** Deploying All Portlet Applications in lib/portlets/ ** [java] Deploying Portlet Application: lib/portlets/BookmarksPortlet.war [java] Exception in thread "main" java.lang.RuntimeException: Unable to iterate files in the specified way. [java] dir=../ [java] includes=lib/portlets/**/*.war [java] excludes=[Not Evaluated] [java] at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:126) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.flow.IfTask.perform(IfTask.java:62) [java] at org.danann.cernunnos.flow.ChooseTask.perform(ChooseTask.java:110) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:182) [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:143) [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:111) [java] at org.danann.cernunnos.runtime.Main.main(Main.java:42) [java] Caused by: java.lang.RuntimeException: Unable to invoke the specified script: classpath://org/jasig/portal/container/deploy/deploy-portlet-app.crn [java] at org.danann.cernunnos.core.CernunnosTask.perform(CernunnosTask.java:92) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:119) [java] ... 9 more [java] Caused by: java.lang.RuntimeException: Unable to extract the specified archive: lib/portlets/BookmarksPortlet.war [java] at org.danann.cernunnos.io.ExtractArchiveTask.perform(ExtractArchiveTask.java:110) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.core.CernunnosTask.perform(CernunnosTask.java:88) [java] ... 15 more [java] Caused by: java.io.FileNotFoundException: /Users/esm/tomcat/up26-patches/webapps/uPortal/../BookmarksPortlet/WEB-INF/context/portlet/bookmarksPortletContext.xml (No such file or directory) [java] at java.io.FileOutputStream.open(Native Method) [java] at java.io.FileOutputStream.<init>(FileOutputStream.java:179) [java] at java.io.FileOutputStream.<init>(FileOutputStream.java:131) [java] at org.danann.cernunnos.io.ExtractArchiveTask.perform(ExtractArchiveTask.java:98) [java] ... 23 more BUILD FAILED /Users/esm/src/up-rel-2-6-patches/build.xml:1244: Java returned: 1
    via by Elliot Metsger,
  • When running 'ant initportal': deployPortletApp: [echo] Invoking Portlet Application Deployment Tool [java] ** Deploying All Portlet Applications in lib/portlets/ ** [java] Deploying Portlet Application: lib/portlets/BookmarksPortlet.war [java] Deploying Portlet Application: lib/portlets/RssPortlet.war [java] Failed to create InputSource (java.net.UnknownHostException: Users): file://Users/esm/src/up-rel-2-6-patches/webpages/dtd/web-app_2_3.dtd [java] Deploying Portlet Application: lib/portlets/googleportlet.war [java] Failed to create InputSource (java.net.UnknownHostException: Users): file://Users/esm/src/up-rel-2-6-patches/webpages/dtd/web-app_2_3.dtd [java] Deploying Portlet Application: lib/portlets/proxyportlet.war [java] Failed to create InputSource (java.net.UnknownHostException: Users): file://Users/esm/src/up-rel-2-6-patches/webpages/dtd/web-app_2_3.dtd [java] Deploying Portlet Application: lib/portlets/testsuite.war [java] Failed to create InputSource (java.net.UnknownHostException: Users): file://Users/esm/src/up-rel-2-6-patches/webpages/dtd/web-app_2_3.dtd [echo] Finished initializing uPortal When running: ant deployPortletApp -DportletApp=all deployPortletApp: [echo] Invoking Portlet Application Deployment Tool [java] ** Deploying All Portlet Applications in lib/portlets/ ** [java] Deploying Portlet Application: lib/portlets/BookmarksPortlet.war [java] Exception in thread "main" java.lang.RuntimeException: Unable to iterate files in the specified way. [java] dir=../ [java] includes=lib/portlets/**/*.war [java] excludes=[Not Evaluated] [java] at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:126) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.flow.IfTask.perform(IfTask.java:62) [java] at org.danann.cernunnos.flow.ChooseTask.perform(ChooseTask.java:110) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:182) [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:143) [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:111) [java] at org.danann.cernunnos.runtime.Main.main(Main.java:42) [java] Caused by: java.lang.RuntimeException: Unable to invoke the specified script: classpath://org/jasig/portal/container/deploy/deploy-portlet-app.crn [java] at org.danann.cernunnos.core.CernunnosTask.perform(CernunnosTask.java:92) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:119) [java] ... 9 more [java] Caused by: java.lang.RuntimeException: Unable to extract the specified archive: lib/portlets/BookmarksPortlet.war [java] at org.danann.cernunnos.io.ExtractArchiveTask.perform(ExtractArchiveTask.java:110) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.core.CernunnosTask.perform(CernunnosTask.java:88) [java] ... 15 more [java] Caused by: java.io.FileNotFoundException: /Users/esm/tomcat/up26-patches/webapps/uPortal/../BookmarksPortlet/WEB-INF/context/portlet/bookmarksPortletContext.xml (No such file or directory) [java] at java.io.FileOutputStream.open(Native Method) [java] at java.io.FileOutputStream.<init>(FileOutputStream.java:179) [java] at java.io.FileOutputStream.<init>(FileOutputStream.java:131) [java] at org.danann.cernunnos.io.ExtractArchiveTask.perform(ExtractArchiveTask.java:98) [java] ... 23 more BUILD FAILED /Users/esm/src/up-rel-2-6-patches/build.xml:1244: Java returned: 1
    via by Elliot Metsger,
  • When doing 'ant initportal' a problem similar to that described in UP-1819 occurs when server.home in build.properties is set to a relative path (like ../apache-tomcat-5.5.26). This is on Linux, haven't tried on Windows. Stacktrace: ant initportal ... deployPortletApp: [echo] Invoking Portlet Application Deployment Tool [java] [java] ** Deploying All Portlet Applications in lib/portlets/ ** [java] Deploying Portlet Application: lib/portlets/BookmarksPortlet.war [java] Exception in thread "main" java.lang.RuntimeException: Unable to iterate files in the specified way. [java] dir=../ [java] includes=lib/portlets/**/*.war [java] excludes=[Not Evaluated] [java] at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:126) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.flow.IfTask.perform(IfTask.java:62) [java] at org.danann.cernunnos.flow.ChooseTask.perform(ChooseTask.java:110) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:246) [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:162) [java] at org.danann.cernunnos.runtime.Main.main(Main.java:42) [java] Caused by: java.lang.RuntimeException: Unable to invoke the specified script: classpath://org/jasig/portal/container/deploy/deploy-portlet-app.crn [java] at org.danann.cernunnos.core.CernunnosTask.perform(CernunnosTask.java:92) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:119) [java] ... 8 more [java] Caused by: java.lang.RuntimeException: Unable to extract the specified archive: lib/portlets/BookmarksPortlet.war [java] at org.danann.cernunnos.io.ExtractArchiveTask.perform(ExtractArchiveTask.java:141) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.core.CernunnosTask.perform(CernunnosTask.java:88) [java] ... 14 more [java] Caused by: java.io.FileNotFoundException: ../apache-tomcat-5.5.26/webapps/uPortal/../BookmarksPortlet/WEB-INF/context/portlet/bookmarksPortletContext.xml (No such file or directory) [java] at java.io.FileOutputStream.open(Native Method) [java] at java.io.FileOutputStream.<init>(FileOutputStream.java:179) [java] at java.io.FileOutputStream.<init>(FileOutputStream.java:131) [java] at org.danann.cernunnos.io.ExtractArchiveTask.perform(ExtractArchiveTask.java:115) [java] ... 22 more
    via by Fredrik Tuomas,
  • When doing 'ant initportal' a problem similar to that described in UP-1819 occurs when server.home in build.properties is set to a relative path (like ../apache-tomcat-5.5.26). This is on Linux, haven't tried on Windows. Stacktrace: ant initportal ... deployPortletApp: [echo] Invoking Portlet Application Deployment Tool [java] [java] ** Deploying All Portlet Applications in lib/portlets/ ** [java] Deploying Portlet Application: lib/portlets/BookmarksPortlet.war [java] Exception in thread "main" java.lang.RuntimeException: Unable to iterate files in the specified way. [java] dir=../ [java] includes=lib/portlets/**/*.war [java] excludes=[Not Evaluated] [java] at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:126) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.flow.IfTask.perform(IfTask.java:62) [java] at org.danann.cernunnos.flow.ChooseTask.perform(ChooseTask.java:110) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:246) [java] at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:162) [java] at org.danann.cernunnos.runtime.Main.main(Main.java:42) [java] Caused by: java.lang.RuntimeException: Unable to invoke the specified script: classpath://org/jasig/portal/container/deploy/deploy-portlet-app.crn [java] at org.danann.cernunnos.core.CernunnosTask.perform(CernunnosTask.java:92) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:119) [java] ... 8 more [java] Caused by: java.lang.RuntimeException: Unable to extract the specified archive: lib/portlets/BookmarksPortlet.war [java] at org.danann.cernunnos.io.ExtractArchiveTask.perform(ExtractArchiveTask.java:141) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) [java] at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) [java] at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) [java] at org.danann.cernunnos.core.CernunnosTask.perform(CernunnosTask.java:88) [java] ... 14 more [java] Caused by: java.io.FileNotFoundException: ../apache-tomcat-5.5.26/webapps/uPortal/../BookmarksPortlet/WEB-INF/context/portlet/bookmarksPortletContext.xml (No such file or directory) [java] at java.io.FileOutputStream.open(Native Method) [java] at java.io.FileOutputStream.<init>(FileOutputStream.java:179) [java] at java.io.FileOutputStream.<init>(FileOutputStream.java:131) [java] at org.danann.cernunnos.io.ExtractArchiveTask.perform(ExtractArchiveTask.java:115) [java] ... 22 more
    via by Fredrik Tuomas,
  • TeamCity is leaking caches/git file descriptors
    via by Unknown author,
  • Marker Issues
    via GitHub by TheSeize
    ,
  • Embedded Jetty | Page number 3 | PC E-World
    via by Unknown author,
    • java.lang.RuntimeException: Unable to iterate files in the specified way. dir=../ includes=lib/portlets/**/*.war excludes=[Not Evaluated] at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:126) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) at org.danann.cernunnos.flow.IfTask.perform(IfTask.java:62) at org.danann.cernunnos.flow.ChooseTask.perform(ChooseTask.java:110) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:182) at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:143) at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:111) at org.danann.cernunnos.runtime.Main.main(Main.java:42) Caused by: java.lang.RuntimeException: Unable to invoke the specified script: classpath://org/jasig/portal/container/deploy/deploy-portlet-app.crn at org.danann.cernunnos.core.CernunnosTask.perform(CernunnosTask.java:92) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:119) ... 9 more Caused by: java.lang.RuntimeException: Unable to extract the specified archive: lib/portlets/BookmarksPortlet.war at org.danann.cernunnos.io.ExtractArchiveTask.perform(ExtractArchiveTask.java:110) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:111) at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.core.CernunnosTask.perform(CernunnosTask.java:88) ... 15 more Caused by: java.io.FileNotFoundException: /Users/esm/tomcat/up26-patches/webapps/uPortal/../BookmarksPortlet/WEB-INF/context/portlet/bookmarksPortletContext.xml (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at org.danann.cernunnos.io.ExtractArchiveTask.perform(ExtractArchiveTask.java:98) ... 23 more

    Users with the same issue

    Matty
    Matty1 times, last one,
    Unknown visitor1 times, last one,
    Axelo
    Axelo2 times, last one,
    rp
    rp1 times, last one,
    Eric Henderson
    Eric Henderson20 times, last one,
    149 more bugmates