"java.io.IOException: Permission denied"

Hello,

I’ve a problem during the execution of one graph:

“Graph definition file: FREF002_Maj_OD_Date.grf
DEBUG [main] - Reference: repertoireDonneesTravail
DEBUG [main] - Reference: ref_calendrier01
DEBUG [main] - Reference: numeroIntegration
DEBUG [main] - Reference: numeroIntegration
INFO [main] - Initializing DB connection:
INFO [main] - DBConnection driver[org.postgresql.Driver]:url[jdbc:postgresql://localhost:5432/dm-dev]:user[dm-dev
] … OK
INFO [main] - Initializing sequence:
INFO [main] - org.jetel.data.sequence.SimpleSequence@723d7c … OK
INFO [main] - Initializing sequence:
INFO [main] - org.jetel.data.sequence.SimpleSequence@22c95b … OK
INFO [main] - Initializing sequence:
INFO [main] - org.jetel.data.sequence.SimpleSequence@1d1acd3 … OK
INFO [main] - Initializing sequence:
INFO [main] - org.jetel.data.sequence.SimpleSequence@1503a3 … OK
INFO [main] - Initializing sequence:
INFO [main] - org.jetel.data.sequence.SimpleSequence@1a1c887 … OK
INFO [main] - Initializing sequence:
INFO [main] - org.jetel.data.sequence.SimpleSequence@743399 … OK
INFO [main] - Starting WatchDog thread …
INFO [WatchDog] - Thread started.
INFO [WatchDog] - Running on 2 CPU(s) max available memory for JVM 692 KB
INFO [WatchDog] - [Clover] Initializing phase: 10
DEBUG [WatchDog] - initializing edges:
ERROR [WatchDog] - java.io.IOException: Permission denied
ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
INFO [main] - WatchDog thread finished - total execution time: 0 (sec)
ERROR [main] - !!! Graph execution finished with errors !!!
Failed starting graph !”

Does anybody has an idea about the origin of this error ?

Thanks,

Jeremy
(French)

Thanks, apparently it was the first solution.
I put all the components of my graph in the same phase and the execution was ok.

I don’t understand the system of phase. Is it explain somewhere ? I don’t know when I can pass to another phase and when I can’t ?

Thanks again David.

Jeremy

Just one word to say that in fact, the problem was about the tmp directory.
His properties were not ok.
So it was not a problem with phases.

thanks again David

Hi !

There is “The Concept” document on clover’s web - http://cloveretl.berlios.de/docs/doc1.html which explains basis about graph, nodes, edges, phases.

David.

Hi !

It looks like the problem occures when intializing Edge. That can be cause by two reasons:
a) the edge is Phase-crossing edge and Clover needs to allocate temp-file - at that point it fails
b) you are using Edge in debug mode which means whatever flows through that Edge is duplicated to a file which has to be created
c) some other obscure reason :slight_smile:

In either case, check where Java’s “java.io.tmpdir” property points (also check your TEMP/tmp environment variable).

Also, you could send me the graph file for more detailed analysis (to david.pavlis@centrum.cz).

David.