Showing posts with label weblogic. Show all posts
Showing posts with label weblogic. Show all posts

Tuesday, June 24, 2014

weblogic şifrelerin decrypt edilmesi

bazen yönetilen domainin şifreleri kaybolur silinir. bu tip durumlarda weblogicin içindeki dosyalardan bu şifre toplanabilir.

import weblogic.security.internal.SerializedSystemIni;
import weblogic.security.internal.encryption.ClearOrEncryptedService;
es=weblogic.security.internal.SerializedSystemIni.getEncryptionService("/data/usr/domains/DOMAIN/security/");
ces=weblogic.security.internal.encryption.ClearOrEncryptedService(es);
print ces.decrypt("{AES}6Xkvv0+md8WJiAg1jv4xyB9ElyRzjyAbIweTsA674oE=");


yukardaki encrypted şifreyi jdbc için şurdan alabilirsiniz

/data/usr/domains/DOMAIN/config/jdbc

Friday, February 22, 2013

apache weblogic 404

durum çok acayip not etmem şart. sayfa geliyor ama header da apache 404 veriyordu.

sayfa gelmesine rağmen http status de 404 veriyordu örnek curl çıktısı


[ecompileusr@commercetest ~]$ curl -si http://shopstable.turkcell.com.tr/|grep HTTP
HTTP/1.1 404 Not Found

bu aslen kimseyi bozmazda otomatik toollar ile işlemler yapıcaksanız veya çok acaip bi yerde garip bir javascript hatası verebilirdi. benim durumumda sorun sahi otomatize testlerde çıkmıştı neyse çözüm şöyle oldu.

virtual host tanımlarında

DirectoryIndex main.do  -->>bunu siliyoruz. 

weblogic modülünde

DefaultFileName                 main.do -->> olduğuna emin oluyoruz

birde apache documentroot da index.html dosyası create ediyoruz. artık headerda 200 sayfada başarılı olmuş oldu. main.do da benim uygulamamın ana sayfasıydı.

Sunday, January 01, 2012

publishing and reading from jms

simple java class for reading and writing to weblogic jms.

speed test hyperoptic