Connecting to a database with a webService (cxf) deployed (osgi) in Servicemix

2009-06-07 | #Me #Ope #OpenSource #Servicemix #SOA

Install and start ServiceMix 4.0 2) Add necessary bundles features/install cxf-osgi osgi/install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.2.2_3/ osgi/install -s wrap:mvn:org.springframework/spring-jdbc/2.5.6/ osgi/install -s wrap:mvn:mysql/mysql-connector-java/5.1.6 … See details in this gooole document or download test-wsdl-first-osgi.

Continue reading 


Http statistics with curl

2009-04-15 | #Me

With CURL and RRDTOOL it is possible to collect http request statistics. Below you can find the 2 scripts #************************ #curl-rrdtool.sh #************************ #!/bin/bash # Paths… adjust as necessary BASE="/home/matteo/curl" CONFIG=“config” CURL="/usr/bin/curl" RRDTOOL="/usr/bin/rrdtool" # Given a URL, return a file name # ensure we have the needed parameters # Strip out any non alphas, replace with underscores, # and add a host name FILE=apache.

Continue reading 