Hi Devs,

In our existing launcher scripts for Carbon (wso2server.sh) the path to
log4j.properties file is stated as follows.

           -Djava.util.logging.config.file=log4j.properties

It seems this causes some issues on certain JVMs. For instance on IBM JVM we
get this error at startup.

java.io.FileNotFoundException: log4j.properties (No such file or
directory)
       at java.io.FileInputStream.<init>(FileInputStream.java:112)
       at java.io.FileInputStream.<init>(FileInputStream.java:72)
       at

Changing the above property to
-Djava.util.logging.config.file=$CARBON_HOME/lib/log4j.properties  fixes the
issue. Shall we permanently change out shell scripts with this modification?

-- 
Hiranya Jayathilaka
Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: [email protected];  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to