Execution Error in Windows

Issue #1 new
Andreas Grünwald repo owner created an issue

Also downloaded ITPM and ran itpm.jar in windows and got some erros.

C:\Radha\downloads\itpm-0.0.1-mac-unix-64>java -jar itpm-1.0.0.jar java.io.IOException: Unable to delete directory C:\Radha\downloads\itpm-0.0.1-ma c-unix-64\work\webapp\org\apache\commons\io. at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1541) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at bekkopen.jetty.Main.resetTempDirectory(Main.java:129) at bekkopen.jetty.Main.start(Main.java:79) at bekkopen.jetty.Main.main(Main.java:26)

Comments (2)

  1. Andreas Grünwald reporter

    it has been awhile since you gave ITPM a try, and I had hardly time to look at the issue, since.

    However I have a workaround, which is worth to try for Windows (would be great if you could give it at try to scope the error): Download the prototype again (https://bitbucket.org/agruenwald/custom-itpm-builds), or use the prototype if it is still in your download directory.

    Try the following steps: 1) Copy the executables into C:\itpm 2) Ensure that all permissons are set. 3) Execute the run script with administrator permissions. It is likely that the same error appears again. 4) Modify the run script: Replace the line

    java -jar itpm.jar

    by

    java -jar -Dsembase.home=C:\itpm itpm.

    5) Now run the script again. 6) This time it should work.

  2. Andreas Grünwald reporter

    Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

    C:\Users\Andreas Grünwald>ls Der Befehl "ls" ist entweder falsch geschrieben oder konnte nicht gefunden werden.

    C:\Users\Andreas Grünwald>dir Datenträger in Laufwerk C: ist OS Volumeseriennummer: 7CD9-ED50

    Verzeichnis von C:\Users\Andreas Grünwald

    01.01.2014 02:49 <DIR> . 01.01.2014 02:49 <DIR> .. 01.01.2014 02:49 50 .bash_history 28.12.2013 04:46 <DIR> .eclipse 28.12.2013 00:18 163 .gitconfig 28.12.2013 01:14 <DIR> .m2 17.05.2014 17:04 <DIR> Contacts 01.07.2014 13:55 <DIR> Desktop 30.06.2014 16:15 <DIR> Documents 01.07.2014 13:55 <DIR> Downloads 17.05.2014 17:04 <DIR> Favorites 05.04.2012 20:23 <DIR> hpremote 17.05.2014 17:04 <DIR> Links 28.12.2013 00:18 138 mercurial.ini 17.05.2014 17:04 <DIR> Music 17.05.2014 17:04 <DIR> Pictures 17.05.2014 17:04 <DIR> Saved Games 17.05.2014 17:04 <DIR> Searches 17.05.2014 17:04 <DIR> Videos 28.12.2013 00:55 <DIR> workspace 3 Datei(en), 351 Bytes 17 Verzeichnis(se), 892.133.289.984 Bytes frei

    C:\Users\Andreas Grünwald>cd Downloads

    C:\Users\Andreas Grünwald\Downloads>ls Der Befehl "ls" ist entweder falsch geschrieben oder konnte nicht gefunden werden.

    C:\Users\Andreas Grünwald\Downloads>dir Datenträger in Laufwerk C: ist OS Volumeseriennummer: 7CD9-ED50

    Verzeichnis von C:\Users\Andreas Grünwald\Downloads

    01.07.2014 13:55 <DIR> . 01.07.2014 13:55 <DIR> .. 21.06.2014 17:29 110.410 andi_huemer170614_429.JPG 11.06.2014 10:22 2.075.725 BechhoferHorrocksGobleStevens-1start.ps 02.01.2014 18:18 189.730 booking.tiff 21.06.2014 17:28 2.173.896 DSC06658 (1).JPG 21.06.2014 14:35 2.173.896 DSC06658.JPG 21.06.2014 14:38 2.216.935 DSC06662.JPG 31.12.2013 13:26 158.776.211 eclipse-java-kepler-SR1-win32.zip 01.07.2014 13:55 89.293.738 itpm-0.0.1-mac-unix-64 (1).zip 30.12.2013 10:26 92.294.062 itpm-0.0.1-mac-unix-64.zip 21.06.2014 12:35 194.286.968 landwirtschafts-simulator_24826.exe 10.06.2014 21:27 139.987 OEBB_Ticket.pdf 21.06.2014 17:30 157.190 orchester_170614_148.JPG 07.06.2014 09:29 1.545.783 postcard_2.png 14.04.2014 15:20 1.744.162 poster-thesis-agruenwald-final.pdf 21.06.2014 17:32 206.404 publikum_170614_090.JPG 01.05.2014 19:00 233.571 RyanairBoardingPass.pdf 21.06.2014 17:32 93.458 steinhardt170614_073.JPG 22.06.2014 19:07 3.266 uml2owl.properties 09.05.2014 13:59 8.799.769 vacation-certificate.pdf 19 Datei(en), 556.515.161 Bytes 2 Verzeichnis(se), 892.133.289.984 Bytes frei

    C:\Users\Andreas Grünwald\Downloads>cd itpm

    C:\Users\Andreas Grünwald\Downloads\itpm>dir Datenträger in Laufwerk C: ist OS Volumeseriennummer: 7CD9-ED50

    Verzeichnis von C:\Users\Andreas Grünwald\Downloads\itpm

    01.07.2014 13:59 <DIR> . 01.07.2014 13:59 <DIR> .. 01.07.2014 13:59 469 base-config.properties 01.07.2014 13:59 91.197.253 itpm-0.0.1.jar 01.07.2014 13:59 696 readme.md 01.07.2014 13:59 <DIR> sembase 01.07.2014 13:59 <DIR> __MACOSX 3 Datei(en), 91.198.418 Bytes 4 Verzeichnis(se), 892.033.101.824 Bytes frei

    C:\Users\Andreas Grünwald\Downloads\itpm>java -jar itpm-0.0.1.jar java.lang.IllegalArgumentException: Bad temp directory: C:\Users\Andreas%20Gr%c3 %bcnwald\Downloads\itpm\work at org.eclipse.jetty.webapp.WebAppContext.setTempDirectory(WebAppContext .java:1077) at bekkopen.jetty.Main.resetTempDirectory(Main.java:130) at bekkopen.jetty.Main.start(Main.java:79) at bekkopen.jetty.Main.main(Main.java:26)

    C:\Users\Andreas Grünwald\Downloads\itpm>java -jar itpm-0.0.1.jar java.lang.IllegalArgumentException: Bad temp directory: C:\Users\Andreas%20Gr%c3 %bcnwald\Downloads\itpm\work at org.eclipse.jetty.webapp.WebAppContext.setTempDirectory(WebAppContext .java:1077) at bekkopen.jetty.Main.resetTempDirectory(Main.java:130) at bekkopen.jetty.Main.start(Main.java:79) at bekkopen.jetty.Main.main(Main.java:26)

    C:\Users\Andreas Grünwald\Downloads\itpm>cd C:\xxx

    C:\xxx>cd itpm

    C:\xxx\itpm>java -jar itpm-0.0.1.jar 2014-07-01 14:00:59.065:INFO::jetty-7.x.y-SNAPSHOT 2014-07-01 14:00:59.232:INFO::Extract jar:file:/C:/xxx/itpm/itpm-0.0.1.jar!/ to C:\xxx\itpm\work\webapp 2014-07-01 14:01:25.626:INFO::NO JSP Support for /, did not find org.apache.jasp er.servlet.JspServlet SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/xxx/itpm/work/webapp/WEB-INF/lib/org.apach e.karaf.client-3.0.0-cdlflex-08.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/xxx/itpm/work/webapp/WEB-INF/lib/pax-loggi ng-api-1.7.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/xxx/itpm/work/webapp/WEB-INF/lib/slf4j-log 4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

    SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory] 2014-07-01 14:01:29.807:INFO:/:Initializing Spring root WebApplicationContext 13474 [main] ERROR org.cdlflex.itpm.web.store.ConnectionUtil - Could not find ba se-config.properties in defined configuration path {system.property.sembase.home }\ (looked in C:\xxx\itpm.\base-config.properties; details: C). Please ensure t hat the relevant environment and Java system variables are set. 13474 [main] ERROR org.cdlflex.itpm.web.store.ConnectionUtil - Severe problem: c onfig connection could not be established. 2014-07-01 14:01:39.171:WARN::Failed startup of context o.e.j.w.WebAppContext{/, file:/C:/xxx/itpm/work/webapp/},file:/C:/xxx/itpm/itpm-0.0.1.jar java.lang.NullPointerException at org.cdlflex.itpm.web.store.ConnectionUtil.getFreshConnection(Connecti onUtil.java:210) at org.cdlflex.itpm.web.store.ConnectionUtil.getFreshConfigConnection(Co nnectionUtil.java:188) at org.cdlflex.itpm.web.store.ConnectionUtil.isNoData(ConnectionUtil.jav a:235) at org.cdlflex.itpm.web.store.TriggerLoadConfigData.loadAppDataFlushOnto logisIfEmpty(TriggerLoadConfigData.java:59) at org.cdlflex.itpm.web.backend.SynchronizerJob.contextInitialized(Synch ronizerJob.java:37) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextH andler.java:641) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletC ontextHandler.java:228) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.jav a:1181) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandle r.java:584) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496 ) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife Cycle.java:55) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCol lection.java:226) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife Cycle.java:55) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrappe r.java:93) at org.eclipse.jetty.server.Server.doStart(Server.java:243) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife Cycle.java:55) at bekkopen.jetty.Main.start(Main.java:88) at bekkopen.jetty.Main.main(Main.java:26) 2014-07-01 14:01:39.253:INFO::Started SelectChannelConnector@0.0.0.0:8080 2014-07-01 14:02:19.419:INFO::Graceful shutdown SelectChannelConnector@0.0.0.0:8 080 2014-07-01 14:02:19.423:INFO::Graceful shutdown o.e.j.w.WebAppContext{/,file:/C: /xxx/itpm/work/webapp/},file:/C:/xxx/itpm/itpm-0.0.1.jar 2014-07-01 14:02:24.424:INFO:/:Closing Spring root WebApplicationContext

    C:\xxx\itpm> C:\xxx\itpm> C:\xxx\itpm> C:\xxx\itpm> C:\xxx\itpm> C:\xxx\itpm> C:\xxx\itpm>java -jar itpm-0.0.1.jar 2014-07-01 14:02:26.913:INFO::jetty-7.x.y-SNAPSHOT 2014-07-01 14:02:26.938:INFO::Extract jar:file:/C:/xxx/itpm/itpm-0.0.1.jar!/ to C:\xxx\itpm\work\webapp 2014-07-01 14:02:45.740:INFO::NO JSP Support for /, did not find org.apache.jasp er.servlet.JspServlet SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/xxx/itpm/work/webapp/WEB-INF/lib/org.apach e.karaf.client-3.0.0-cdlflex-08.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/xxx/itpm/work/webapp/WEB-INF/lib/pax-loggi ng-api-1.7.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/xxx/itpm/work/webapp/WEB-INF/lib/slf4j-log 4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

    SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory] 2014-07-01 14:02:45.861:INFO:/:Initializing Spring root WebApplicationContext 8317 [main] ERROR org.cdlflex.itpm.web.store.ConnectionUtil - Could not find bas e-config.properties in defined configuration path {system.property.sembase.home} \ (looked in C:\xxx\itpm.\base-config.properties; details: C). Please ensure th at the relevant environment and Java system variables are set. 8317 [main] ERROR org.cdlflex.itpm.web.store.ConnectionUtil - Severe problem: co nfig connection could not be established. 2014-07-01 14:02:54.140:WARN::Failed startup of context o.e.j.w.WebAppContext{/, file:/C:/xxx/itpm/work/webapp/},file:/C:/xxx/itpm/itpm-0.0.1.jar java.lang.NullPointerException at org.cdlflex.itpm.web.store.ConnectionUtil.getFreshConnection(Connecti onUtil.java:210) at org.cdlflex.itpm.web.store.ConnectionUtil.getFreshConfigConnection(Co nnectionUtil.java:188) at org.cdlflex.itpm.web.store.ConnectionUtil.isNoData(ConnectionUtil.jav a:235) at org.cdlflex.itpm.web.store.TriggerLoadConfigData.loadAppDataFlushOnto logisIfEmpty(TriggerLoadConfigData.java:59) at org.cdlflex.itpm.web.backend.SynchronizerJob.contextInitialized(Synch ronizerJob.java:37) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextH andler.java:641) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletC ontextHandler.java:228) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.jav a:1181) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandle r.java:584) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496 ) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife Cycle.java:55) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCol lection.java:226) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife Cycle.java:55) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrappe r.java:93) at org.eclipse.jetty.server.Server.doStart(Server.java:243) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife Cycle.java:55) at bekkopen.jetty.Main.start(Main.java:88) at bekkopen.jetty.Main.main(Main.java:26) 2014-07-01 14:02:54.165:INFO::Started SelectChannelConnector@0.0.0.0:8080

  3. Log in to comment