Glassfish, jmx, jconsole, apps active sessions

Posted by & filed under java.

We put lately more attention to monitoring and tuning our systems – mainly db.  I tried to refresh in mind how to check active sessions on jvm for specified app. I’ve experimented with VisualVM, but it didn’t satisfied me. I simply does not work out-of-the-box. After registering jmx remote host, I could not expand apps list… I… Read more »

Glassfish ESB, Resolving “localhost” in WSDL

Posted by & filed under Enterprise Sevice Bus.

I wrote an composite application with webservice as entrance endpoint for client system. When I was previewing the wsdl file I’ve notice there is only host name without full domain name(as it is in DNS servers) give in schema location and webservice endpoint.  That was obviously wrong, because client would not be able to resolve those adresses…. Read more »

Glassfish 3.1 on my box

Posted by & filed under java.

It is online only when my box is turned on. I might have bought quiet pinwheel for it. johnnyjava.dyndns.org (I’ve noticed funny feature of my wordpress engine, that it is crosses out the link when my server is turned off)

Unit testing EJB 3.1 in Netbeans 6.9.1

Posted by & filed under java.

Unit testing EJB 3.1I was talking to one of my friends (spring is always better then anything – type) and he was laughing that there is a serious problem with testing EJB. So I found a tutorial on you tube that is simply obvious feature and all you need to do is to import glassfish… Read more »

Log4j stopped logging on Glassfish

Posted by & filed under Enterprise Sevice Bus.

I use log4j library for confirmation what is being send to db server by my EJB code. Everything was working fine till one day. It simply stopped logging. (it turned out that I’ve used somehow newer version of log4j in my project, I’ve changed pointer in Libraries in Netbeans). I’ve created a new domain on… Read more »