September 25, 2009

Java Runtime Inspection - Pax Reflector

« Spring JMX Example | Main | Java FTP Example »

If an exception occurs, sometimes it's difficult to build and restart your running software system. Especially if you are using complex associated and distributed software components which hold states. The solution could be the usage of a runtime inspection mechanism. The Pax Reflector project supports the manipulation of object instances at runtime level. The following steps describes the usage of the Pax Reflector in OSGI environments.

Step 1 - Checkout and Build:

svn co
mvn clean install
Step 2 - Download Pax-Runner
Step 3 - Starting of the OSGI Engine
sh bin/ --profiles=web,config \
  mvn:org.ops4j.pax.reflector/pax-reflector-service \     
  mvn:org.ops4j.pax.reflector/pax-reflector-servlet \    
  mvn:org.ops4j.pax.reflector/pax-reflector-types \  
  mvn:org.ops4j.pax.reflector/pax-reflector-html \ 
Step 4 - Look at http://localhost:8080/reflector


Technorati Tags:

Posted by rafael.sobek at 3:27 PM in Uncategorized


[Trackback URL for this entry]

Your comment:

(not displayed)

Live Comment Preview: