Saturday, May 12, 2012

Sunday, April 01, 2012

oracle coherence and clustering

I have been configuring this oracle coherence more then 2 weeks. and I must say its been a pleasure. I love clustered things. they mostly does not work and hard to figure out. but oracle coherence is not that complicated.

one thing. in our production environment I could not use multi casters and convert configuration to unicast stuff. its a p2p based tcmp network and solid work. I can say oracle coherence is something like memcached. and its easy to figure out. because it can run under tomcat and deployed to weblogic servers with our application.

while production tests I saw that if you change any simple detail in tangosol-coherence-override.xml I need to restart weblogic instances. because when coherence started it could not change its configuration on the fly. I think if we used coherence jar out of our war it would be more flexible. but our cache system does not need to configured every one day or so. so we keep those xmls(tangosol-coherence-override.xml,coherence-cache-config.xml) inside our war.

another thing. if I add well-known-addresses to tangosol xml it trys to connect while starting the war. and if there is no localhost coherence does not look for it. so I need to change tangosol like this.


this configuration looks for localhost and runs well in redhat enterprise linux. coherence version:3.7.1.0

Friday, March 30, 2012

linuxde makine startına komut eklemek

hep unuttuğum hep tekrardan yazdığım bişeydir. neyse glassfishimi start eden bir bash scripti var. onu init.d ye kopyalıyoruz

cp startGlassfish.sh /etc/init.d/

sonrada

update-rc.d startGlassfish.sh defaults

hayırlı olsun artık o script her açılışta çalışacaktır.

Tuesday, March 06, 2012

akşam akşam hataya gel

Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find
referenced pointcut

li bir exception alınıyor springin aop sinden beri patlıo. ulan altına bakıom üstüne bakıom yok. tomcati ipv4 ile çalıştırıom bind adresi olarak 127 li veriom yemio. derken derken buldum meğer makineye java 1.7 kurulmuş.

http://issues.opennms.org/browse/NMS-4350

burdada şikayetler listelenmiş. sonuçda 1.7 kapsar 1.6 olması gerekmezmiydi. neyse 1.6 kurduk geçti ama nedir bizim çilemiz :) güle güle 1 saat.

Monday, March 05, 2012

axis log4j

log4j ile axis gelen gidenleri görmenin en uygun yolu log4j.xml

buyrun örnek configürasyon:

Saturday, February 11, 2012

mecidiyeköy şampiyon kokoreç

verdiğim siparişde ayvalık tostu vardı siz sucuklu kaşarlı tost yollamışsınız. allahtan etrafta başka eve servis tuzlama bulamıom yoksa töbe sizden bişe istemezdim :) neyse tuzlama yine iyiydi çok seviom sirke sarımsak limon sakatataı ya.

tuzlama dışında hiçbişey alınmicak dükkan mecidiyeköy şampiyon kokoreç bilgilerinize sunarım.

Thursday, February 09, 2012

şişli rezene

az evel tavuk bonfile yedim rezeneden gerçekten sosuyla falan şok güzeldi. üstünede tarihi dolmak üzere olan nutelladan yidim kendimi iyi hissediom uleyn =)

speed test hyperoptic