On Wed, Jun 19, 2013 at 11:53 AM, Geeth Munasinghe <[email protected]> wrote:

> Hi
>
> I got the same error. But after placing the log4j.properties in
> AS_HOME/repository/conf/
> bundle-config/org.wso2.carbon.logging problem resolved. But in built pack
> log4j.properties file is located in the conf dir.
>

You need to change the bin.xml [1] of AS to place the log4j.properties in
AS_HOME/repository/conf/bundle-config/org.wso2.carbon.
logging location rather AS_HOME/repository/conf. Then it'll reflect in the
final built pack.

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/as/modules/distribution/src/assembly/bin.xml

Thanks,
Sinthuja.




> Thanks
>
> *G. K. S. Munasinghe
> *
> *Software Engineer,*
> *WSO2, Inc. http://wso2.com *
> *lean.enterprise.middleware.*
> *
> *
> email: [email protected]
> phone:(+94) 777911226
>
>
> On Wed, Jun 19, 2013 at 11:43 AM, Isuru Udana <[email protected]> wrote:
>
>> It worked for ESB as well. I previously looked for the log4j.properties
>> file in conf directory.
>> But why we have changed the location ?
>>
>>
>> On Wed, Jun 19, 2013 at 11:31 AM, Sinthuja Ragendran 
>> <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> Initially in BAM pack also we got this, but once the log4j.properties
>>> file is placed in
>>> BAM_HOME/repository/conf/bundle-config/org.wso2.carbon.logging/log4j.properties
>>> it's resolved.
>>>
>>> Thanks,
>>> Sinthuja.
>>>
>>>
>>> On Wed, Jun 19, 2013 at 11:20 AM, Isuru Udana <[email protected]> wrote:
>>>
>>>> Hi Pradeep,
>>>>
>>>> log4j.properties file is there.
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> On Wed, Jun 19, 2013 at 10:49 AM, Pradeep Fernando <[email protected]>wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> see whether you have this file[1] inside your conf dir.
>>>>>
>>>>> [1]
>>>>> https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/distribution/kernel/carbon-home/repository/conf/bundle-config
>>>>>
>>>>>
>>>>> On Wed, Jun 19, 2013 at 10:27 AM, Darshana Gunawardana <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Latest pack of IS also getting the same message. Seems like this
>>>>>> happens in latest kernel. Are we missing anything?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>>
>>>>>> On Wed, Jun 19, 2013 at 9:38 AM, Isuru Udana <[email protected]> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> ESB startup fails and only prints following in the console.
>>>>>>>  Does same happens with the other products ?
>>>>>>>
>>>>>>>
>>>>>>> CARBON_HOME environment variable is set to
>>>>>>> /media/isuru/WSO2/svn/public/trunk/platform/trunk/products/esb/modules/distribution/target/wso2esb-4.8.0-SNAPSHOT
>>>>>>> [2013-06-19 09:31:00,427]  INFO
>>>>>>> {org.wso2.carbon.server.extensions.PatchInstaller} -  Patch application
>>>>>>> disabled. Use -DapplyPatches parameter during start up to enable patch
>>>>>>> application if required.
>>>>>>> log4j:WARN No appenders could be found for logger
>>>>>>> (com.atomikos.logging.LoggerFactory).
>>>>>>> log4j:WARN Please initialize the log4j system properly.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Isuru Udana*
>>>>>>> *
>>>>>>> *
>>>>>>> Senior *
>>>>>>> Software Engineer
>>>>>>> *
>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>> email: [email protected] cell: +94 77 3791887
>>>>>>> blog: http://mytecheye.blogspot.com/
>>>>>>> twitter: http://twitter.com/isudana
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Regards,
>>>>>>
>>>>>> *
>>>>>> Darshana Gunawardana
>>>>>> *Software Engineer
>>>>>> WSO2 Inc.; http://wso2.com*
>>>>>> E-mail: [email protected]
>>>>>> **Mobile: +94718566859
>>>>>> *Lean . Enterprise . Middleware
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Pradeep Fernando*
>>>>> Associate Technical Lead;WSO2 Inc.; http://wso2.com
>>>>>
>>>>> blog: http://pradeepfernando.blogspot.com
>>>>> m: +94776603662
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Isuru Udana*
>>>> *
>>>>  *
>>>> Senior *
>>>> Software Engineer
>>>> *
>>>> WSO2 Inc.; http://wso2.com
>>>> email: [email protected] cell: +94 77 3791887
>>>> blog: http://mytecheye.blogspot.com/
>>>> twitter: http://twitter.com/isudana
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Sinthuja Rajendran*
>>> Software Engineer <http://wso2.com/>
>>> WSO2, Inc.:http://wso2.com
>>>
>>> Blog: http://sinthu-rajan.blogspot.com/
>>> Mobile: +94774273955
>>>
>>>
>>>
>>
>>
>> --
>> *Isuru Udana*
>> *
>>  *
>> Senior *
>> Software Engineer
>> *
>> WSO2 Inc.; http://wso2.com
>> email: [email protected] cell: +94 77 3791887
>> blog: http://mytecheye.blogspot.com/
>> twitter: http://twitter.com/isudana
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
*Sinthuja Rajendran*
Software Engineer <http://wso2.com/>
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to