Tag Archives: websphere

Commons logging configuration under WebSphere

Sometimes you want to customize logging level for given package in your application (to see tracing details for example). If you're using commons-logging library the configuration file is called "commons-logging.properties" and it should be places somewhere on classpath. org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog priority=1 … Continue reading

Posted in en | Tagged , | Leave a comment

Custom CacheProvider for Hibernate based on Websphere DistributedMap

Hibernate is a library that maps database tables to Java objects. Is performance problems arise it's very easy to add database caching for application using Hibernate (just few options in config file). Hibernate is shipped with EHCache, default cache implementation. … Continue reading

Posted in en | Tagged , , | 6 Comments

Websphere Extreme Scale + Hibernate = ?

Recently I was asked to integrate WXS (Websphere Extreme Scale, commercial cache implementation from IBM) into existing WPS (Websphere Process Server)-based project to implement read-only non-distributed cache (one independent cache instance per JVM). The idea is to plug cache implementation … Continue reading

Posted in en | Tagged , , | 3 Comments

Recreate Derby Database Under WebSphere

WebSphere uses SQL databases for internal managment of MQ queues (Derby database engine under the covers). Sometimes you need to reset their state. Here's the script that erase and recreate BPEDB database state (tested under WS 6.1.2): rm -rf $WID_HOME/pf/wps/databases/BPEDB … Continue reading

Posted in en | Tagged , , , | Leave a comment

Eclipse hangs – solved!

Sometimes you see that Eclipse stops responding and causes 100% of CPU usage (UI controls not redrawn). The only action can be taken then is to kill eclipse process. I discovered that it's caused by big console output option. Test … Continue reading

Posted in en | Tagged , , | Leave a comment