Hi Hiranya,

+1. I fixed this on the trunk already. I still didn't port it to the 2.0.2
branch. You also need to fix the last few lines of the log4j.properties
file.

Thanks,
Senaka

On Wed, Oct 21, 2009 at 5:49 PM, Paul Fremantle <[email protected]> wrote:

> +1
>
> Paul
>
> 2009/10/21 Hiranya Jayathilaka <[email protected]>:
> > 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
> >
> >
>
>
>
> --
>
> --
> Paul Fremantle
> CTO and Co-Founder, WSO2
> OASIS WS-RX TC Co-chair
> VP, Apache Synapse
>
> Office: +44 844 484 8143
> Cell: +44 798 447 4618
>
> blog: http://pzf.fremantle.org
> [email protected]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to