FileNotFoundException lors du passage java 1.4 vers 1.5
Bonjour
J'ai récemment passé de la 1.4 vers la 1.5 le code java d'un batch.
Lorsque je lance le batch depuis une machine HP-UX
Citation:
sh exec_export.sh
J'ai l'erreur suivante:
Citation:
log4j:WARN No appenders could be found for logger (fr.aphp.mediweb.batch.LanceBatchWriterHL7).
log4j:WARN Please initialize the log4j system properly.
log4j:ERROR Could not read configuration file [/app/bsr/MDE1BSR/home/BJN/conf/].
java.io.FileNotFoundException: /app/bsr/MDE1BSR/home/BJN/conf (Is a directory (errno:21))
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:297)
at org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:315)
at fr.aphp.mediweb.batch.GestionLog.initialiseLog(GestionLog.java:35)
at fr.aphp.mediweb.batch.LanceBatchWriterHL7.main(LanceBatchWriterHL7.java:65)
log4j:ERROR Ignoring configuration file [/app/bsr/MDE1BSR/home/BJN/conf/].
Le répertoire /app/bsr/MDE1BSR/home/BJN/conf existe. Les droits pour ce dossier sont les suivants pour le dossier conf :
drwxrwxr-x 2 user dba 4096 Feb 17 10:24 conf
Je ne comprends pas pourquoi j'ai cette erreur en passant en java 1.5 ?
Merci