<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1002376746520411668</id><updated>2011-12-27T02:32:20.379-08:00</updated><category term='H2 web console'/><category term='SOA registry'/><category term='H2 shell'/><category term='max_allowed_packet'/><category term='JBoss'/><category term='URI based repository'/><category term='selenium RC'/><category term='soa governance'/><category term='wso2 gadget server'/><category term='soa'/><category term='junit'/><category term='oracle installation.'/><category term='selenium'/><category term='tomcat'/><category term='oracle XE'/><category term='WSAS'/><category term='Microsoft SQL Server'/><category term='heap size tomcat'/><category term='H2 database'/><category term='popup'/><category term='ubuntu 10.04'/><category term='soa registry repository'/><category term='sqljdbc.jar 1.2'/><category term='oracle10g'/><category term='Ubuntu'/><category term='wso2 registry'/><category term='64 bit'/><title type='text'>Open Source Technologies</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-7784746916221547737</id><published>2010-08-05T04:25:00.000-07:00</published><updated>2010-08-05T04:43:45.281-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wso2 gadget server'/><category scheme='http://www.blogger.com/atom/ns#' term='soa'/><title type='text'>How to deploy WSO2 Gadget Server on tomcat</title><content type='html'>Applies To: &lt;a href="http://wso2.org/downloads/gadget-server"&gt;wso2gs-1.1.0.zip&lt;/a&gt; ( Carbon 3.0.0)&lt;br /&gt;            apache-tomcat-6.0.20&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1&lt;/span&gt;&lt;br /&gt;Download WSO2 Gadget Server -1.1.0 from &lt;a href="http://wso2.org/downloads/gadget-server"&gt;http://wso2.org/downloads/gadget-server&lt;/a&gt;. Extract the downloaded zip into a directory. And copy repository and resources directories in to a new folder. Here after, we will refer it as gs-repo (eg:- /home/krishatha/gs-repo)&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2&lt;/span&gt;&lt;br /&gt;Lets refer to your tomacat installation directory as CATALINA_HOME. Go to CATALINA_HOME/webapps directory and create a new folder call wso2gs .Now, copy wso2gs-1.1.0/webapps/ROOT/WEB-INF to &lt;br /&gt;CATALINA_HOME/webapps/wso2gs&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3&lt;/span&gt;&lt;br /&gt;Now you will need to enable HTTPS on Apache Tomcat since WSO2 Gadget Server runs over HTTPS. To do this, access the server.xml file located at CATALINA_HOME/conf and uncomment the following&lt;br /&gt;and fill as below.&lt;br /&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;&amp;lt;Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"&lt;br /&gt; maxThreads="150" scheme="https" secure="true"&lt;br /&gt; clientAuth="false" sslProtocol="TLS" &lt;br /&gt; keystoreFile ="/home/krishatha/gs-repo/resources/security/wso2carbon.jks"&lt;br /&gt; keystorePass="wso2carbon"/&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;One could find the wso2carbon.jks file inside the CARBON_HOME/repository/resources/security/ directory in WSO2 Gadget Server installation home (CARBON_HOME)&lt;br /&gt;&lt;br /&gt;Make sure to give the exact location of wso2carbon.jks&lt;br /&gt;Note: you can use your own keystore file if required. &lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4&lt;/span&gt;&lt;br /&gt;Now we must do the necessary configurations in a set of config files shipped with WSO2 Gadget Server. We will update carbon.xml, axis2.xml, registry.xml, mgt-transports.xml and user-mgt.xml which can be found at gs-repo/repository/conf directory. &lt;br /&gt; &lt;br /&gt;(a) Edit the carbon.xml in gs-repo/repository/conf and put /wso2gs as the WebContextRoot&lt;br /&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;&amp;lt;WebContextRoot&amp;gt;/wso2gs&amp;lt;/WebContextRoot&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the WebContextRoot will be the name you used to create war distribution in CATALINA_HOME/webapps&lt;br /&gt; &lt;br /&gt;(b) Edit the same carbon.xml and set backend sever URL as below. &lt;br /&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;&amp;lt;ServerURL&amp;gt;https://your-ip:8443/wso2gs/services/&amp;lt;/ServerURL&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It is recommended to use your IP rather than using localhost or hostname.&lt;br /&gt;Note that we have configured Tomcat to run on 8443 port now.&lt;br /&gt; &lt;br /&gt;(c)Now open axis2.xml to change the http and https ports in the Transports section of axis2.xml as follows: &lt;br /&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;&amp;lt;transportReceiver name="http"&lt;br /&gt;class="org.wso2.carbon.core.transports.http.HttpTransportListener"&amp;gt;&lt;br /&gt;&amp;lt;parameter name="port"&amp;gt;8080&amp;lt;/parameter&amp;gt;&lt;br /&gt;&amp;lt;/transportReceiver&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;&amp;lt;transportReceiver name="https"&lt;br /&gt;class="org.wso2.carbon.core.transports.http.HttpsTransportListener"&amp;gt;&lt;br /&gt;&amp;lt;parameter name="port"&amp;gt;8443&amp;lt;/parameter&amp;gt;&lt;br /&gt;&amp;lt;/transportReceiver&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;(d) Edit the mgt-transports.xml as follows: https and http ports of the transport section can be changed as follows. &lt;br /&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;&amp;lt;transport name="http" class="org.wso2.carbon.server.transports.http.HttpTransport"&amp;gt;&lt;br /&gt;&amp;lt;parameter name="port"&amp;gt;8080&amp;lt;/parameter&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;&amp;lt;transport name="https" class="org.wso2.carbon.server.transports.http.HttpsTransport"&amp;gt;&lt;br /&gt;&amp;lt;parameter name="port"&amp;gt;8443&amp;lt;/parameter&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(e) Open registry.xml and update DB configurations as follows: &lt;br /&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;&amp;lt;dbConfig name="wso2registry"&amp;gt;&lt;br /&gt;        &amp;lt;url&amp;gt;jdbc:h2:/home/krishatha/gs-repo/repository/database/WSO2CARBON_DB&amp;lt;/url&amp;gt;&lt;br /&gt;        &amp;lt;userName&amp;gt;wso2carbon&amp;lt;/userName&amp;gt;&lt;br /&gt;        &amp;lt;password&amp;gt;wso2carbon&amp;lt;/password&amp;gt;&lt;br /&gt;        &amp;lt;driverName&amp;gt;org.h2.Driver&amp;lt;/driverName&amp;gt;&lt;br /&gt;        &amp;lt;maxActive&amp;gt;50&amp;lt;/maxActive&amp;gt;&lt;br /&gt;        &amp;lt;maxWait&amp;gt;60000&amp;lt;/maxWait&amp;gt;&lt;br /&gt;        &amp;lt;minIdle&amp;gt;5&amp;lt;/minIdle&amp;gt;&lt;br /&gt;    &amp;lt;/dbConfig&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that you have to use absolute path to the H2 DB.&lt;br /&gt; &lt;br /&gt;(f) Open user-mgt.xml and update DB configurations as follows: &lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;&amp;lt;Property name="url"&amp;gt;jdbc:h2:/home/krishatha/gs-repo/repository/database/WSO2CARBON_DB&amp;lt;/Property&amp;gt;&lt;br /&gt;&amp;lt;Property name="userName"&amp;gt;wso2carbon&amp;lt;/Property&amp;gt;&lt;br /&gt;&amp;lt;Property name="password"&amp;gt;wso2carbon&amp;lt;/Property&amp;gt;&lt;br /&gt;&amp;lt;Property name="driverName"&amp;gt;org.h2.Driver&amp;lt;/Property&amp;gt;&lt;br /&gt;&amp;lt;Property name="maxActive"&amp;gt;50&amp;lt;/Property&amp;gt;&lt;br /&gt;&amp;lt;Property name="maxWait"&amp;gt;60000&amp;lt;/Property&amp;gt;&lt;br /&gt;&amp;lt;Property name="minIdle"&amp;gt;5&amp;lt;/Property&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that you have to use the absolute path to the H2 DB.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 5&lt;/span&gt;&lt;br /&gt;You also need to copy the wso2gs-1.1.0/lib/log4j.properties file into CATALINA_HOME/webapps/wso2gs/WEB-INF/classes&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 6&lt;/span&gt;&lt;br /&gt;Now  copy the jar files in wso2gs-1.1.0/lib/endorsed/ into CATALINA_HOME/lib. You need to copy the followig jar files.&lt;br /&gt;&lt;br /&gt;   1. xalan-2.7.0.wso2v1.jar&lt;br /&gt;   2. xercesImpl-2.8.1.wso2v1.jar &lt;br /&gt;   3. xml-apis-1.3.04.wso2v1.jar&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 7&lt;/span&gt;&lt;br /&gt;We have completed the required configurations. Now, open a new command window and change the directory to CATALINA_HOME/bin. Define an environment variable called CARBON_HOME and set the path to your gs-repo directory. &lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;In windows; set CARBON_HOME=C:\gs\gs-repo&lt;br /&gt;In linux; export CARBON_HOME=/home/krishatha/gs-repo&lt;br /&gt;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;Start tomcat server from the same command window/shell.&lt;br /&gt; &lt;br /&gt;eg:- catalina.sh run&lt;br /&gt;     catalina.bat run&lt;br /&gt; &lt;br /&gt;After starting the WSO2 Gadget Server, you can access the management console using below URL&lt;br /&gt; &lt;br /&gt;https://your-ip:8443/wso2gs/carbon&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-7784746916221547737?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/7784746916221547737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=7784746916221547737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/7784746916221547737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/7784746916221547737'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2010/08/how-to-deploy-wso2-gadget-server-on.html' title='How to deploy WSO2 Gadget Server on tomcat'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-5910439400057251911</id><published>2010-07-20T05:05:00.000-07:00</published><updated>2010-07-20T22:26:32.324-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle XE'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu 10.04'/><category scheme='http://www.blogger.com/atom/ns#' term='64 bit'/><title type='text'>How to install oracle XE on ubuntu 10.04 64 bit</title><content type='html'>Recently I had to go though the pain of installing oracle on Ubuntu again in my new laptop. Two years back I did the same &lt;a href="http://opensource-soa.blogspot.com/2008/08/installing-oracle-10g-on-ubuntu-710.html"&gt;installation&lt;/a&gt; on Ubuntu 7.10 and cost me two days to complete the installation. But this time things are rather easy.&lt;br /&gt;&lt;br /&gt;So here we go.&lt;br /&gt;&lt;br /&gt;Before installing&lt;br /&gt;1. sudo apt-get install bc&lt;br /&gt;&lt;br /&gt;Then I installed the packet.&lt;br /&gt;sudo dpkg --force-architecture -i &lt;a href="http://oss.oracle.com/debian/dists/unstable/non-free/binary-i386/oracle-xe-universal_10.2.0.1-1.1_i386.deb"&gt;oracle-xe_10.2.0.1-1.0_i386.deb&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then I configured the system:&lt;br /&gt;sudo /etc/init.d/oracle-xe configure&lt;br /&gt;&lt;br /&gt;Then follow the below steps&lt;br /&gt;&lt;br /&gt;1. export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server&lt;br /&gt;2. export ORACLE_SID=XE&lt;br /&gt;3. export PATH=$ORACLE_HOME/bin:$PATH&lt;br /&gt;4. sudo apt-get install ia32-libs&lt;br /&gt;5. sudo /etc/init.d/oracle-xe start&lt;br /&gt;&lt;br /&gt;If you get bash: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus: No such file or directory error then killer might be missing step 4&lt;br /&gt;sudo apt-get install ia32-libs&lt;br /&gt;&lt;br /&gt;References :&lt;br /&gt;[1] &lt;a href="http://littlebrain.org/2008/05/12/how-to-install-oracle-xe-in-ubuntu-64-bit/"&gt;http://littlebrain.org/2008/05/12/how-to-install-oracle-xe-in-ubuntu-64-bit/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Guide to install oracle using apt get&lt;br /&gt;[2] &lt;a href="http://www.webxpert.ro/andrei/2009/05/31/instal-oracle-10g-xe-on-ubuntu-server-904-jaunty-jackalope/"&gt;http://www.webxpert.ro/andrei/2009/05/31/instal-oracle-10g-xe-on-ubuntu-server-904-jaunty-jackalope/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-5910439400057251911?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/5910439400057251911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=5910439400057251911' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/5910439400057251911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/5910439400057251911'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2010/07/how-to-install-oracle-xe-on-ubuntu-1004.html' title='How to install oracle XE on ubuntu 10.04 64 bit'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-7568655591574192343</id><published>2010-05-04T00:30:00.000-07:00</published><updated>2010-05-04T00:53:40.059-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='soa governance'/><category scheme='http://www.blogger.com/atom/ns#' term='soa registry repository'/><category scheme='http://www.blogger.com/atom/ns#' term='soa'/><title type='text'>Start SOA governance with WSO2 governance Registry</title><content type='html'>WSO2 has recently announced their new release of &lt;a href="http://wso2.org/downloads/governance-registry"&gt;WSO2 Governance Registry&lt;/a&gt; which is based on &lt;a href="http://wso2.org/downloads/carbon"&gt;WSO2 Carbon framework 3.0.0&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It was packed with some exciting and very useful new features. The product can be used not only to govern you SOA metadata, but also as a registry-repository for your organization. Most interestingly the product is open source and available freely under Apache license. First version (0.1) of the product was released in December, 2007. Thus, the product has been matured over two years and good enough to cater your SOA governance requirement easily.&lt;br /&gt;&lt;br /&gt;List of new features of the release as follows.&lt;br /&gt;&lt;br /&gt;New Features &lt;br /&gt;============================&lt;br /&gt;&lt;br /&gt; * Gadgets for impact analysis on services and registry resources&lt;br /&gt; * WSDL custom view&lt;br /&gt; * Dynamic Handler configuration&lt;br /&gt; * Handler simulator&lt;br /&gt; * Tree-based Resource view&lt;br /&gt; * API to govern SOA artifacts&lt;br /&gt; * Complete Web Services API for Registry&lt;br /&gt; * Improved options for Service discovery&lt;br /&gt; * WS-Discovery support&lt;br /&gt; * Scripting support for lifecycle management&lt;br /&gt; * Improved P2 based provisioning and feature management support&lt;br /&gt; * Support for adding remote mounts&lt;br /&gt; * Platform, and Group/Cluster based deployment model&lt;br /&gt; * Support for multiple server instances&lt;br /&gt; * E-mail verification for subscriptions&lt;br /&gt; * Support for deleting tags and comments&lt;br /&gt; * Support for PostgreSQL DBMS&lt;br /&gt; * Paged activity and resource search&lt;br /&gt; * Hierarchical permission model with granular and extensible permissions&lt;br /&gt; * Ability to upload metadata (in addition to importing)&lt;br /&gt; * Governance Archive for uploading WSDLs and Schemas with imports&lt;br /&gt; * Ability to update resource content by uploading&lt;br /&gt; * Rich text editor for editing text resources&lt;br /&gt; * XML editor for editing handler, lifecycle and service UI configurations&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-7568655591574192343?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/7568655591574192343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=7568655591574192343' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/7568655591574192343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/7568655591574192343'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2010/05/start-soa-governance-with-wso2.html' title='Start SOA governance with WSO2 governance Registry'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-9141957588237427964</id><published>2009-10-29T22:48:00.000-07:00</published><updated>2009-11-12T22:24:37.636-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='selenium RC'/><category scheme='http://www.blogger.com/atom/ns#' term='popup'/><category scheme='http://www.blogger.com/atom/ns#' term='selenium'/><title type='text'>How to capture popup windows using selenium.</title><content type='html'>I am going to discuss on selenium popup handling specifically with selenium RC. I was searching though internet for a while to find a solution for processing of popups though selenium.But I was unable to find best fit answer for my test scenario. I wanted to capture pop-up window do some processing then close the popup and get back to parent window again.Anyway by following the reference guides and other available materials I was able to implement the the above mentioned test scenario. &lt;br /&gt;&lt;br /&gt;As per my understanding selenium IDE supports capturing popup windows but get back to parent window is not supported. I tried several times and failed to set focus to parent window again. Selenium API doc says, in order to select parent window again, use selectWindow() methods with null parameter. But that didn't work for me. selenium RC was fail to select the parent window again. There are several API methods available in selenium to detect required references for popup windows. Those are &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;selenium.selectWindow();&lt;br /&gt;selenium.getAllWindowIds();&lt;br /&gt;selenium.getAllWindowNames();&lt;br /&gt;selenium.windowFocus();&lt;br /&gt;selenium.waitForPopUp();&lt;br /&gt;selenium.close();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In my case,I have followed implementation give below to write the test scenarios in junit.&lt;br /&gt;&lt;br /&gt;click the popup window link&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;selenium.click("link=Feed");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Get the pop up window ID.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;String feedWinId = selenium.getEval("{var windowId; for(var x in selenium.browserbot.openedWindows ) {windowId=x;} }");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Select the popup window.In order to select it, you must somehow identify it. Various identification methods are available with selectWindow() function see &lt;a href="http://release.seleniumhq.org/selenium-remote-control/0.9.0/doc/java/"&gt;http://release.seleniumhq.org/selenium-remote-control/0.9.0/doc/java/&lt;/a&gt; for more details&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;selenium.selectWindow(feedWinId);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Set focus to popup window.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;selenium.windowFocus(); &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;//Then do some proccssing&lt;br /&gt;&lt;br /&gt;close the popup&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;selenium.close(); &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;select parent window again. You need to know the window title or name&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;String[] winFocus; &lt;br /&gt;String winTitle;&lt;br /&gt;winFocus = selenium.getAllWindowTitles();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If there is more than one open windows you have to iterate though winFocus array and find the correct window to set the focus.&lt;br /&gt;&lt;br /&gt;winTitle = winFocus[0];&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;if (winTitle.equalsIgnoreCase("WSO2 Management Console")) {&lt;br /&gt;    selenium.selectWindow(winTitle);&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you need to wait for the popup then use&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;selenium.waitForPopUp(winID, time-ms);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I hope above instructions will help you in dealing with pop ups. Please feel free to comment and ask questions&lt;br /&gt;&lt;br /&gt;Source code of the test : &lt;a href="https://wso2.org/repos/wso2/branches/commons/qa/web-test-framework/2.0.2/registry/src/test/java/org/wso2/carbon/web/test/registry/FeedsTest.java"&gt;https://wso2.org/repos/wso2/branches/commons/qa/web-test-framework/2.0.2/registry/src/test/java/org/wso2/carbon/web/test/registry/FeedsTest.java&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-9141957588237427964?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/9141957588237427964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=9141957588237427964' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/9141957588237427964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/9141957588237427964'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2009/10/how-to-capture-pop-up-window-using.html' title='How to capture popup windows using selenium.'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-8003912358970484263</id><published>2009-10-22T00:05:00.000-07:00</published><updated>2009-10-22T00:06:49.511-07:00</updated><title type='text'>WSO2 SOA workshop - Santa Clara, CA | November 3rd 2009</title><content type='html'>Join us in Santa Clara, CA on the 3rd of November for a full-day interactive workshop on real world best practices for SOA. Learn how to map specific business requirements to concrete SOA development.&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/HblG2izluE8&amp;hl=en&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/HblG2izluE8&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-8003912358970484263?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/8003912358970484263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=8003912358970484263' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/8003912358970484263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/8003912358970484263'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2009/10/wso2-soa-workshop-santa-clara-ca.html' title='WSO2 SOA workshop - Santa Clara, CA | November 3rd 2009'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-3818827922493055917</id><published>2009-08-18T06:07:00.000-07:00</published><updated>2009-08-20T01:23:58.230-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='soa governance'/><category scheme='http://www.blogger.com/atom/ns#' term='soa'/><title type='text'>WSO2 Governance Registry 3.0.0 installation on Jboss 5.0 with Oracle 10g</title><content type='html'>WSO2 G-Reg, one of the leading open source SOA governance solution available. The latest release of the WSO2 G-Reg support multiple application servers along with most common production databases.This post list down the steps to deploy G-Reg 3.0.0 on Jboss 5.0 GA using oracle 10g.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1&lt;/span&gt;&lt;br /&gt;Download WSO2 G-Reg-3.0.0 from &lt;a href="http://dist.wso2.org/products/registry/3.0.0/wso2greg-3.0.0.zip"&gt;here&lt;/a&gt;. Extract the downloaded zip into a directory. Copy conf, database, repository and resources directories in to a new folder. Here after, we will refer it is greg-repo (i.e:- /home/krishatha/greg-repo)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2&lt;/span&gt;&lt;br /&gt;Lets refer to your jboss installation directory, JBOSS_HOME. Go to JBOSS_HOME/server/default/deploy directory and create a new folder, wso2greg.war.Now, copy wso2greg-3.0.0/webapps/ROOT/WEB-INF to JBOSS_HOME/server/default/deploy/wso2greg.war&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step3&lt;/span&gt;&lt;br /&gt;Now configuring jboss ssl connector as given below.&lt;br /&gt;&lt;br /&gt; a. First up, you should probably shut down the JBoss server as you do this step.&lt;br /&gt;    In the JBoss directory, there should be a file called server.xml:&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;    JBOSS_HOME/server/default/deploy/jbossweb.sar/server.xml &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;   This file includes information about what web features to turn on when the server starts  up.Inside this file, there should be a part that looks like this&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;   &amp;lt;!--&amp;lt;Connector protocol="HTTP/1.1" SSLEnabled="true"&lt;br /&gt;   port="8443" address="${jboss.bind.address}"&lt;br /&gt;   scheme="https" secure="true" clientAuth="false"&lt;br /&gt;   keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore"&lt;br /&gt;   keystorePass="rmi+ssl" sslProtocol = "TLS" /&amp;gt;--&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt; b. Make the following changes:&lt;br /&gt;&lt;br /&gt;    i. Uncomment the block&lt;br /&gt;    ii. Change the port to 8443&lt;br /&gt;    iii. Change the keystore password to the password used.&lt;br /&gt;&lt;br /&gt;    The end result should look something like this:&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;    &amp;lt;!-- SSL/TLS Connector configuration using the admin devl guide keystore--&amp;gt;&lt;br /&gt;    &amp;lt;Connector protocol="HTTP/1.1" SSLEnabled="true"&lt;br /&gt;    port="8443" address="${jboss.bind.address}"&lt;br /&gt;    scheme="https" secure="true" clientAuth="false"&lt;br /&gt;    keystoreFile="&lt;span style="font-weight:bold;"&gt;/home/krishatha/greg-repo/resources/security    /wso2carbon.jks&lt;/span&gt;" &lt;br /&gt;    keystorePass="wso2carbon" sslProtocol = "TLS" /&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Make sure to give the exact location of wso2carbon.jks as highlighted above.&lt;br /&gt;Note: you can use your own keystore file if required. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 4&lt;/span&gt;&lt;br /&gt;Now we must do the necessary configurations in a set of config files shipped with WSO2 G-Reg. We will update carbon.xml, axis2.xml, registry.xml, transports.xml and user-mgt.xml which can be found at greg-repo\conf directory.&lt;br /&gt;&lt;br /&gt;  a. Edit the carbon.xml in greg-repo/conf and set backend sever URL as below.&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;     &amp;lt;ServerURL&amp;gt;https://IP:8443/wso2greg/services/&amp;lt;/ServerURL&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;     it is recommended to use your IP rather than using localhost or hostname.&lt;br /&gt;     Note that we have configured JBoss to run on 8443 port.&lt;br /&gt;&lt;br /&gt;  b. Edit the same carbon.xml and put /wso2greg as the WebContextRoot&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;     &amp;lt;WebContextRoot&amp;gt;/wso2greg&amp;lt;/WebContextRoot&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;     the webcontextroot will be the name you used to create war distribution in JBOSS_HOME/server /default/deploy/wso2greg.war/&lt;br /&gt;&lt;br /&gt;  c. Then open axis2.xml, We must change the http and https ports in In Transports section of axis2.xml as follows.&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;  &amp;lt;transportReceiver name="http"&lt;br /&gt;  class="org.wso2.carbon.core.transports.http.HttpTransportListener"&amp;gt;&lt;br /&gt;  &amp;lt;parameter name="port"&amp;gt;8080&amp;lt;/parameter&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;  &amp;lt;/transportReceiver&amp;gt;&lt;br /&gt;  &amp;lt;transportReceiver name="https"&lt;br /&gt;  class="org.wso2.carbon.core.transports.http.HttpsTransportListener"&amp;gt;&lt;br /&gt;  &amp;lt;parameter name="port"&amp;gt;8443&amp;lt;/parameter&amp;gt;&lt;br /&gt;  &amp;lt;/transportReceiver&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  d. Edit the transports.xml as follows. https and http ports of the transport section can be changed as follows.&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;  &amp;lt;transport name="http" class="org.wso2.carbon.server.transports.http.HttpTransport"&amp;gt;&lt;br /&gt;        &amp;lt;parameter name="port"&amp;gt;8080&amp;lt;/parameter&amp;gt;&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;   &amp;lt;transport name="https" class="org.wso2.carbon.server.transports.http.HttpsTransport"&amp;gt;&lt;br /&gt;        &amp;lt;parameter name="port"&amp;gt;8443&amp;lt;/parameter&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;  e. Open registry.xml and update DB configurations as follows.&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;     &amp;lt;dbconfig name="wso2registry"&amp;gt;&lt;br /&gt;         &amp;lt;url&amp;gt;jdbc:oracle:thin:@hostname:1521:SID&amp;lt;/url&amp;gt;&lt;br /&gt;         &amp;lt;userName&amp;gt;wso2&amp;lt;/userName&amp;gt;&lt;br /&gt;         &amp;lt;password&amp;gt;wso2&amp;lt;/password&amp;gt;&lt;br /&gt;         &amp;lt;driverName&amp;gt;oracle.jdbc.driver.OracleDriver&amp;lt;/driverName&amp;gt;&lt;br /&gt;         &amp;lt;maxActive&amp;gt;80&amp;lt;/maxActive&amp;gt;&lt;br /&gt;         &amp;lt;maxWait&amp;gt;60000&amp;lt;/maxWait&amp;gt;&lt;br /&gt;         &amp;lt;minIdle&amp;gt;5&amp;lt;/minIdle&amp;gt;&lt;br /&gt;     &amp;lt;/dbconfig&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;     Note that the DB configuration used here is for oracle and you can set the DB configuration to any other supported DB accordingly.&lt;br /&gt;&lt;br /&gt;   f. Open user-mgt.xml and update DB configurations as follows.&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;            &amp;lt;Database&amp;gt;&lt;br /&gt;                &amp;lt;URL&amp;gt;jdbc:oracle:thin:@hostname:1521:SID&amp;lt;/URL&amp;gt;&lt;br /&gt;                &amp;lt;UserName&amp;gt;wso2&amp;lt;/UserName&amp;gt;&lt;br /&gt;                &amp;lt;Password&amp;gt;wso2&amp;lt;/Password&amp;gt;&lt;br /&gt;                &amp;lt;Dialect&amp;gt;oracle&amp;lt;/Dialect&amp;gt;&lt;br /&gt;                &amp;lt;Driver&amp;gt;oracle.jdbc.driver.OracleDriver&amp;lt;/Driver&amp;gt;&lt;br /&gt;                &amp;lt;maxActive&amp;gt;30&amp;lt;/maxActive&amp;gt;&lt;br /&gt;                &amp;lt;maxWait&amp;gt;60000&amp;lt;/maxWait&amp;gt;&lt;br /&gt;                &amp;lt;minIdle&amp;gt;5&amp;lt;/minIdle&amp;gt;&lt;br /&gt;            &amp;lt;/Database&amp;gt;&lt;/span&gt;&lt;br /&gt;   Note that the DB configuration used here is for oracle and you can set the DB configuration to any other supported DB accordingly.now you have done with configuration changes. &lt;br /&gt;&lt;br /&gt;More details on setting up G-Reg with oracle can be found from &lt;a href="https://www.wso2.org/project/registry/3.0.0/docs/installation_guide/db_oracle.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 5&lt;/span&gt;&lt;br /&gt;Now you need to copy oracle driver class to the correct location. In my case I have used ojdbc14.jar.&lt;br /&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;copy ojdbc14.jar into greg-repo/repository/components/extensions&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;step 6&lt;/span&gt;&lt;br /&gt;You also need to copy the wso2greg-3.0.0/lib/log4j.properties file into JBOSS_HOME/server/default/deploy/wso2greg.war/WEB-INF/classes, and JBOSS_HOME/common/lib/log4j.jar to JBOSS_HOME/server/default/deploy/wso2greg.war/WEB-INF/lib&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;step7&lt;/span&gt;&lt;br /&gt;We have completed the required configurations. Now, open a new command window and change the directory to JBOSS_HOME/bin.Define an environment variable called CARBON_HOME and set the path to your greg-repo directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;In windows; set CARBON_HOME=C:\greg\greg-repo&lt;br /&gt;In linux; export CARBON_HOME=\home\user\greg\greg-repo&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Start JBoss from the same command window/shell. To start JBoss with the "-b [IP]" option use the following commands.&lt;br /&gt;&lt;span style="border: 1px solid rgb(192, 192, 192); padding: 5px; display: block;font-size:100%;"&gt;&lt;br /&gt;ex:- run.bat -b 12.34.56.78 OR &lt;br /&gt;    ./run.sh -b 12.34.56.78&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;WSO2 G-Reg will be started successfully. You can access the management console using https:\\IP:8443\wso2greg\carbon&lt;br /&gt;&lt;br /&gt;Related posts: &lt;a href="http://charithaka.blogspot.com/2009/04/how-to-deploy-wso2-wsas-3-on-jboss.html"&gt;How to deploy WSO2 WSAS-3.* on JBoss&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-3818827922493055917?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/3818827922493055917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=3818827922493055917' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/3818827922493055917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/3818827922493055917'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2009/08/wso2-governance-registry-300.html' title='WSO2 Governance Registry 3.0.0 installation on Jboss 5.0 with Oracle 10g'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-8374128452650787947</id><published>2009-04-26T21:51:00.000-07:00</published><updated>2009-04-26T21:57:04.949-07:00</updated><title type='text'>Deploying and securing web service with Username Token Policy</title><content type='html'>Here &lt;a href="http://charithaka.blogspot.com/"&gt;Charitha Kankanamge&lt;/a&gt;, one of my colleague demonstrate deploying a java web Service on WSAS and Securing it with Username Token Policy&lt;br /&gt;&lt;br /&gt;&lt;object width="560" height="340"&gt;&lt;param name="movie" value="http://www.youtube.com/v/d_VQrmXbOWk&amp;hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/d_VQrmXbOWk&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-8374128452650787947?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/8374128452650787947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=8374128452650787947' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/8374128452650787947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/8374128452650787947'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2009/04/deploying-and-securing-web-service-with.html' title='Deploying and securing web service with Username Token Policy'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-3810153453890479716</id><published>2009-03-26T00:50:00.000-07:00</published><updated>2009-03-26T01:21:09.737-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sqljdbc.jar 1.2'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft SQL Server'/><title type='text'>Microsoft SQL Server (Microsoft Driver)</title><content type='html'>Today I wanted to configure WSO2 Registry to run with MSSQL server. To do that I had to specifically use sqljdbc.jar 1.2 driver. I had to struggle few minutes to find correct connection parameters. Most of the connection details mentioned in the web are outdated or invalid. So I waisted around 1 hour due to my laziness to debug the application. To the benefit of others I will publish the connection details here. (at least to save others time)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Driver Class:&lt;/span&gt; com.microsoft.sqlserver.jdbc.SQLServerDriver&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Default Port:&lt;/span&gt; 1433&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;JDBC URL&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;jdbc:sqlserver://host:1433;databasename=db&lt;br /&gt;&lt;br /&gt;or &lt;br /&gt;&lt;br /&gt;jdbc:sqlserver://host:port;databasename=db;user=yourUser;password=yourPwd&lt;br /&gt;&lt;br /&gt;If you set the incorrect connection URL probable you will end up with "java.sql.SQLException: No suitable driver" exception.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-3810153453890479716?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/3810153453890479716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=3810153453890479716' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/3810153453890479716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/3810153453890479716'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2009/03/microsoft-sql-server-microsoft-driver.html' title='Microsoft SQL Server (Microsoft Driver)'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-4472721957181417843</id><published>2009-03-18T07:44:00.000-07:00</published><updated>2009-03-18T07:46:58.216-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle10g'/><category scheme='http://www.blogger.com/atom/ns#' term='wso2 registry'/><category scheme='http://www.blogger.com/atom/ns#' term='JBoss'/><title type='text'>How to Deploy WSO2 Registry on JBoss using oracle</title><content type='html'>The step by step guide is available at &lt;a href="https://wso2.org/wiki/display/registry/Deploying+WSO2+Registry+2.0.1+on+Jboss"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-4472721957181417843?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/4472721957181417843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=4472721957181417843' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/4472721957181417843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/4472721957181417843'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2009/03/how-to-deploy-wso2-registry-on-jboss.html' title='How to Deploy WSO2 Registry on JBoss using oracle'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-1287883140849186445</id><published>2009-03-16T11:46:00.000-07:00</published><updated>2009-03-18T07:00:08.798-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wso2 registry'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>Deploying WSO2 Registry on tomcat</title><content type='html'>WSO2 registry is one of the leading open source registry-repository available today. It allows users to store and manage SOA metadata in a more convenient and manageable manner. WSO2 Registry can be used as a standalone distribution as well as it can be deployed on most of the servlet containers . Following step by step guide will show you how to deploy wso2registry on tomcat.&lt;br /&gt;&lt;br /&gt;This guide applies to &lt;a href="http://wso2.org/downloads/registry"&gt;WSO2 registry 2.0.1&lt;/a&gt; and &lt;a href="http://tomcat.apache.org/download-55.cgi"&gt;tomcat-6.0.14&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 1 – Enable SSL connector in tomcat.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Lets refer to your tomcat installation directory, CATALINA_HOME.&lt;br /&gt;&lt;br /&gt;E.g.: -&lt;br /&gt;CATALINA_HOME=C:\apache-tomcat-6.0.14&lt;br /&gt;&lt;br /&gt;Now you will need to enable HTTPS on Apache Tomcat since WSO2 REGISTRY runs over HTTPS. To do this, access the server.xml file located at %CATALINA_HOME%/conf and uncomment the following.&lt;br /&gt;&lt;br /&gt;Connector port="8443" maxHttpHeaderSize="8192"&lt;br /&gt;maxThreads="150" minSpareThreads="25" maxSpareThreads="75"&lt;br /&gt;enableLookups="false" disableUploadTimeout="true"&lt;br /&gt;acceptCount="100" scheme="https" secure="true"&lt;br /&gt;clientAuth="false" sslProtocol="TLS"&lt;br /&gt;&lt;br /&gt;Then you will need to provide the keystore file location along with it's password as below.&lt;br /&gt;&lt;br /&gt;Connector port="8443" maxHttpHeaderSize="8192"&lt;br /&gt;maxThreads="150" minSpareThreads="25" maxSpareThreads="75"&lt;br /&gt;enableLookups="false" disableUploadTimeout="true"&lt;br /&gt;acceptCount="100" scheme="https" secure="true"&lt;br /&gt;clientAuth="false" sslProtocol="TLS"&lt;br /&gt;keystoreFile = "C:\Carbon\ESB\tomcat\WSO2-registry-2.0.1\resources\security\wso2carbon.jks"&lt;br /&gt;keystorePass="wso2carbon"&lt;br /&gt;&lt;br /&gt;One could find the wso2carbon.jks file inside the /resources/security/ directory in wso2 registry installation home.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 2 - Downloading and installing WSO2 Registry&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Download the latest WSO2 Registry distribution from here and extract to a specific location. (E.g.:- C:\Carbon\Registry\tomcat\WSO2 registry 2.0.1). From this folder copy the folders,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;- conf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;- database&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;- resources&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;- repository&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;to a separate folder. (E.g.:- C:\Carbon\REGISTRY\tomcat\registry_home)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 3 - Setting environmental variables&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You will have to set an environment variable with the name CARBON_HOME pointing it to the directory which you copied the above files to.&lt;br /&gt;&lt;br /&gt;E.g.:-&lt;br /&gt;CARBON_HOME=C:\Carbon\REGISTRY\tomcat\registry_home&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 4 - Copying required files to Apache Tomcat&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now create a folder inside the webapps folder of Tomcat.&lt;br /&gt;&lt;br /&gt;E.g.:-&lt;br /&gt;C:\apache-tomcat-5.5.20\webapps\wso2registry&lt;br /&gt;&lt;br /&gt;Next, you need to copy the WEB-INF folder, which is in the folder which you extracted the downloaded Registry distribution. Then copy it into the registry folder which you created above.&lt;br /&gt;&lt;br /&gt;E.g.:-&lt;br /&gt;Copy&lt;br /&gt;C:\Carbon\REGISTRY\tomcat\WSO2-registry-2.0.1\webapps\ROOT\WEB-INF&lt;br /&gt;to&lt;br /&gt;C:\WSO2\Installations\apache-tomcat-6.0.14\webapps\wso2registry&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 5 - Changing necessary files of the WSO2 Registry distribution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;a) Open the carbon.xml file which is in the CARBON_HOME\conf folder and specify the following URL as the backend ServerURL&lt;br /&gt;&lt;br /&gt;E.g.:-&lt;br /&gt;https://localhost:8443/wso2registry/services/&lt;br /&gt;&lt;br /&gt;b) Next open the axis2.xml which is located inside the CARBON_HOME\conf and change the http port from 9763 to 8080 (the default http port of Tomcat) and the https port from 9443 to 8443.&lt;br /&gt;&lt;br /&gt;c) In addition to the above, you need to specify the correct paths for the two .jks files wso2carbon.jks and client-truststore.jks specified in the axis2.xml and also the wso2carbon.jks file specified in the carbon.xml file.&lt;br /&gt;&lt;br /&gt;d) Then you need to specify the absolute paths of the WSO2CARBON_DB of the two files registry.xml and user-mgt.xml&lt;br /&gt;&lt;br /&gt;E.g.:- Change&lt;br /&gt;jdbc:derby:database/WSO2CARBON_DB;create=true&lt;br /&gt;to&lt;br /&gt;jdbc:derby:C:\Carbon\REGISTRY\tomcat\registry_home\WSO2CARBON_DB;create=true&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 6 - Starting the Apache Tomcat Server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now you can start the Apache Tomcat server by giving the following command.&lt;br /&gt;catalina.bat run&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step 7 - Login to the WSO2 Registry Administration Console&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now you should be able to login to the WSO2 Registry Administration Console as, https://localhost:8443/wso2registry/carbon&lt;br /&gt;&lt;br /&gt;Guide to deploy other wso2 product on tomcat server is available also.&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://wso2.org/library/knowledge-base/setup-wsas-apache-tomcat"&gt;WSO2 Web Services Application Server (WSAS)&lt;/a&gt;&lt;br /&gt;2. &lt;a href="http://evanthika.blogspot.com/2009/02/deploying-wso2-esb-20-on-apache-tomcat.html"&gt;WSO2 Enterprise Service Bus (WSO2 ESB)&lt;/a&gt;&lt;br /&gt;3. &lt;a href="http://charithaka.blogspot.com/2009/02/how-to-deploy-wso2-bps-on-apache-tomcat.html"&gt;WSO2 Business Process Server (WSO2 BPS)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-1287883140849186445?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/1287883140849186445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=1287883140849186445' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/1287883140849186445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/1287883140849186445'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2009/03/deploying-wso2-registry-on-tomcat.html' title='Deploying WSO2 Registry on tomcat'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-3616042550781741016</id><published>2009-03-04T04:35:00.000-08:00</published><updated>2009-03-04T05:14:49.482-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='H2 web console'/><category scheme='http://www.blogger.com/atom/ns#' term='H2 shell'/><category scheme='http://www.blogger.com/atom/ns#' term='H2 database'/><title type='text'>How to use H2 shell</title><content type='html'>H2 is one of the fastest database which comes under modified version of the MPL 1.1 ( &lt;a href="http://www.mozilla.org/MPL"&gt;Mozilla Public License&lt;/a&gt; ) or under the (unmodified) EPL 1.0 ( &lt;a href="http://opensource.org/licenses/eclipse-1.0.php"&gt;Eclipse Public License&lt;/a&gt; ).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;H2 Shell &lt;/b&gt;  is a command line database tool which can be used for any of the database sql operation. To run the H2 shell go to the bin directory of your H2 installation and run the following.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;java -cp h2*.jar org.h2.tools.Shell&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Once you run the tool it will ask some connection details.&lt;br /&gt;&lt;pre&gt;URL       jdbc:h2:tcp://localhost/~/test1&lt;br /&gt;Driver    org.h2.Driver&lt;br /&gt;User      sa&lt;br /&gt;Password  sa&lt;br /&gt;Connected&lt;br /&gt;Commands are case insensitive; SQL statements end with ';'&lt;br /&gt;help or ?      Display this help&lt;br /&gt;list           Toggle result list mode&lt;br /&gt;maxwidth       Set maximum column width (default is 100)&lt;br /&gt;show           List all tables&lt;br /&gt;describe       Describe a table&lt;br /&gt;quit or exit   Close the connection and exit&lt;br /&gt;&lt;br /&gt;sql&gt;&lt;br /&gt;&lt;/pre&gt;Users can either use H2 shell or web console. H2 web console will allow you to access sql database using a browser. One of my colleague has written nice blog entry on &lt;a href="http://wso2.org/blog/sumedha/3734"&gt;getting started with H2 database&lt;/a&gt; and using the H2 web console.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-3616042550781741016?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/3616042550781741016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=3616042550781741016' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/3616042550781741016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/3616042550781741016'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2009/03/how-to-use-h2-shell.html' title='How to use H2 shell'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-2251514734177440708</id><published>2008-08-29T07:02:00.000-07:00</published><updated>2008-08-29T08:04:48.050-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle installation.'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle10g'/><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Installing oracle 10g on Ubuntu 7.10 (Linux)</title><content type='html'>If you are not an genius on oracle, Installing oracle on Ubuntu/Linux is really a hard process.Two days ago,I had to undergo though the same installation process and thought of sharing my steps for installation in here (at least to save someones time and effort). By being successful with the installation, wso2 registry team is in the effort of making their SOA registry-repository compatible with oracle.&lt;br /&gt;&lt;br /&gt;This guide applies to 10.2.0 linux32 and Ubuntu 7.10.&lt;br /&gt;&lt;br /&gt;1.Download and unpack 10201_database_linux32.zip&lt;br /&gt;&lt;br /&gt;2.Run the following commands in a terminal&lt;br /&gt;&lt;br /&gt;$ sudo ln -s /usr/bin/basename /bin/basename&lt;br /&gt;$ sudo ln -s /usr/bin/awk /bin/awk&lt;br /&gt;&lt;br /&gt;The installer relies on some binaries being in /bin instead of /usr/bin so you need to make a few links.&lt;br /&gt;&lt;br /&gt;3.Add nobody and dba groups.&lt;br /&gt;&lt;br /&gt;sudo addgroup nobody&lt;br /&gt;sudo addgroup dba&lt;br /&gt;&lt;br /&gt;4. Add yourself to dba group Useradd -G {group_name} username o&lt;br /&gt;&lt;br /&gt;Go to /etc/groups and modify the dba group with your name&lt;br /&gt;in my case "dba:x:1003:krishantha"&lt;br /&gt;&lt;br /&gt;5. I recommend you to set ORACLE_HOME and ORACLE_OWNR environment variables before begin the installation. Setting these values may overcome lots of problems that your will have to face when working with oracle instance.I know, it is quite strange to set those values before beging the installation. But better to do it. Noramally oracle takes it home as /product/10.2.0/db_1 with default settings.&lt;br /&gt;&lt;br /&gt;so set the env variable in your terminal or .bashrc file as below.&lt;br /&gt;&lt;br /&gt;export ORACLE_HOME=/home/krishantha/oracle/product/10.2.0/db_1&lt;br /&gt;export ORACLE_OWNR='krishantha'&lt;br /&gt;&lt;br /&gt;6. Before starting with oracle installation start installing following packages, in any case those packages are unavailable on your machine.&lt;br /&gt;-gcc&lt;br /&gt;-make&lt;br /&gt;-binutils&lt;br /&gt;-lesstif2 libc6&lt;br /&gt;-libc6-dev&lt;br /&gt;-rpm&lt;br /&gt;-libaio&lt;br /&gt;-libaio-dev&lt;br /&gt;-libstdc++5&lt;br /&gt;-ibstdc++5-3.3-dev&lt;br /&gt;-build-essential&lt;br /&gt;&lt;br /&gt;You can use apt-get install and apt-cache search command for finding and installing missing packages.&lt;br /&gt;&lt;br /&gt;7. Now you need to run the installer. Go to zip extracted directory (./product) and issue the below command. Note that you must not run this command as root.&lt;br /&gt;&lt;br /&gt;./runInstaller -ignoresysprereqs&lt;br /&gt;&lt;br /&gt;ignoresysprereqs option will ignore the process of checking product prerequisite.&lt;br /&gt;&lt;br /&gt;(please ignore "sh: /bin/rpm: not found" message on the terminal)&lt;br /&gt;&lt;br /&gt;8. In the oracle installation wizard follow the default settings ( You can define your own settings based on your requirement)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Oracle installation wizard&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;In one of the step oracle ask global database group, you need to enter dba as the group which you are already a member. By keeping that in mind, follow the wizard.&lt;br /&gt;&lt;br /&gt;   a. Keep the default path for oraInventory or else you can change it to another.&lt;br /&gt;&lt;br /&gt;   b. Select installation type as Enterprise edition.&lt;br /&gt;&lt;br /&gt;   c. Keep the default values for oracle home (make sure to change the ORACLE_HOME value if your are changing the path.&lt;br /&gt;&lt;br /&gt;   d. Select "create database" in configuration option step.&lt;br /&gt;&lt;br /&gt;   e. Select database configuration as "General Purpose"&lt;br /&gt;&lt;br /&gt;   f. Set Global database name and sid as 'orcl' or your own name.( if you want to create database with sample oracle schemas then tick&lt;br /&gt;   the sample creation text box&lt;br /&gt;&lt;br /&gt;   g. Select Use database control for database Management.&lt;br /&gt;&lt;br /&gt;   h. Select file system.&lt;br /&gt;&lt;br /&gt;   i. Enable or disable automated backups.&lt;br /&gt;&lt;br /&gt;   j.Set database schema passwords.&lt;br /&gt;&lt;br /&gt;   k.After you do that the installer will ask you to run two scripts as root. Paths to these scripts (shown in installer dialogue) depend on your system, for me they were:&lt;br /&gt;&lt;br /&gt;$ sudo /home/krishantha/oraInventory/orainstRoot.sh&lt;br /&gt;$ sudo /home/krishantha/oracle/product/10.2.0/db_1/root.sh&lt;br /&gt;&lt;br /&gt;9. Finally wizard will display some links to sqlplus and em. Make sure to copy them.&lt;br /&gt;&lt;br /&gt;10. Finally set following environmental variables.&lt;br /&gt;&lt;br /&gt;export LD_LIBRARY_PATH=/home/taw/oracle/product/10.2.0/db_1/lib/&lt;br /&gt;export ORACLE_SID='orcl'&lt;br /&gt;&lt;br /&gt;ORACLE_SID is the database name give in 6th step of the installation wizard. In my case it is 'orcl'.&lt;br /&gt;And also you can check the SID value from /etc/oratab file.&lt;br /&gt;&lt;br /&gt;orcl:/home/krishantha/oracle/product/10.2.0/db_1:N&lt;br /&gt;&lt;br /&gt;Now you have finished with the installation. It is time to check the new oracle installation is working or not.&lt;br /&gt;&lt;br /&gt;Below simple steps will guide your to startup and shut down of oracle instance.&lt;br /&gt;&lt;br /&gt;In a new terminal issue&lt;br /&gt;$ sqlplus /nolog&lt;br /&gt;&lt;br /&gt;Then&lt;br /&gt;SQL&gt; connect sys/yourpassword as sysdab&lt;br /&gt;Connected.&lt;br /&gt;&lt;br /&gt;If it displays "connected to idle instance",means that your oracle instance is not up and running. you can start the oracle instance using startup command.&lt;br /&gt;&lt;br /&gt;Issue startup command.&lt;br /&gt;&lt;br /&gt;shut command will shut-down the oracle instance.&lt;br /&gt;&lt;br /&gt;Now as the sys DBA create simple table and query to see how much you are lucky.&lt;br /&gt;&lt;br /&gt;CREATE TABLE TEST (ID NUMBER PRIMARY KEY,NAME VARCHAR2(30));&lt;br /&gt;INSERT INTO TEST(ID,NAME) VALUES ('1','test1');&lt;br /&gt;INSERT INTO TEST(ID,NAME) VALUES ('2','test2');&lt;br /&gt;SELECT * FROM TEST;&lt;br /&gt;&lt;br /&gt;Okay you have done!!!. Enjoy with oracle.&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;1 .&lt;a href="http://ubuntuforums.org/showthread.php?t=112572"&gt;http://ubuntuforums.org/showthread.php?t=112572&lt;/a&gt;&lt;br /&gt;2. &lt;a href="http://t-a-w.blogspot.com/2007/11/installing-oracle-10g-enterprise.html"&gt;http://t-a-w.blogspot.com/2007/11/installing-oracle-10g-enterprise.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-2251514734177440708?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/2251514734177440708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=2251514734177440708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/2251514734177440708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/2251514734177440708'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2008/08/installing-oracle-10g-on-ubuntu-710.html' title='Installing oracle 10g on Ubuntu 7.10 (Linux)'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-8012856633094653540</id><published>2008-08-21T23:52:00.000-07:00</published><updated>2008-08-22T01:37:00.984-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='max_allowed_packet'/><title type='text'>Change mysql max_allowed_packet variable</title><content type='html'>&lt;span style=";font-family:verdana;font-size:100%;"  &gt;There are several ways to change the max_allowed_packet variable size in mysql&lt;br /&gt;&lt;br /&gt;1. Edit max_allowed_packet entry of /etc/my.cnf file (on Linux). Change the following line&lt;br /&gt;&lt;br /&gt;[mysqld]&lt;br /&gt;max_allowed_packet=16M&lt;br /&gt;&lt;br /&gt;2. Start the mysql server with the --max_allowed_packet option.&lt;br /&gt;&lt;br /&gt;/etc/init.d/mysql restart --max_allowed_packet=1024M&lt;br /&gt;&lt;br /&gt;3. To edit the max_allowed_packet without restarting the server.&lt;br /&gt;&lt;br /&gt;mysql&gt; show variables like 'max_allowed_packet%' ;&lt;br /&gt;+--------------------+---------+&lt;br /&gt;| Variable_name      | Value   |&lt;br /&gt;+--------------------+---------+&lt;br /&gt;| max_allowed_packet | 1048576 |&lt;br /&gt;+--------------------+---------+&lt;br /&gt;1 row in set (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; set max_allowed_packet = 1073741824;&lt;br /&gt;Query OK, 0 rows affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; show variables like 'max_allowed_packet%' ;&lt;br /&gt;+-----------------------------------+---------------------+&lt;br /&gt;| Variable_name                  | Value               |&lt;br /&gt;+----------------------------------+---------------------+&lt;br /&gt;| max_allowed_packet | 1073741824  |&lt;br /&gt;+--------------------+------------+----------------------+&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-8012856633094653540?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/8012856633094653540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=8012856633094653540' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/8012856633094653540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/8012856633094653540'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2008/08/change-mysql-maxallowedpacket-variable.html' title='Change mysql max_allowed_packet variable'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-1024191584394439818</id><published>2008-08-20T06:22:00.000-07:00</published><updated>2008-08-20T06:27:29.889-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='heap size tomcat'/><title type='text'>How to set heap size for tomcat on Linux.</title><content type='html'>&lt;span style="font-family: verdana;"&gt;I was searching about the subject on internet. But unable to find a exact answer. Finally I manage to solve my probe with below mentioned work round.This is a quick tip to change heap size for tomcat.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Fist set the CATALINA_OPTS as follows.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;export CATALINA_OPTS="-Xms256m -Xmx900m"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Then start the tomcat server by &gt; sh startup.sh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;The two JVM options for heap size are &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;-Xms - is the minimum or initial size of your heap&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;-Xmx - is the maximum size of your heap.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-1024191584394439818?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/1024191584394439818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=1024191584394439818' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/1024191584394439818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/1024191584394439818'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2008/08/how-to-set-heap-size-for-tomcat-on.html' title='How to set heap size for tomcat on Linux.'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-1291092564879062495</id><published>2008-08-06T03:49:00.000-07:00</published><updated>2008-08-06T04:26:13.997-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='junit'/><title type='text'>JUnit best practices</title><content type='html'>I found this article written by Andy Schneider about Junit best practices from &lt;a href="http://www.javaworld.com/javaworld/jw-12-2000/jw-1221-junit.html?page=1"&gt;here&lt;/a&gt;. He talks about techniques to improve unit test and test usefulness, avoiding basic mistakes and design level issue.&lt;br /&gt;&lt;br /&gt;Just have a quick look if you are interesting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-1291092564879062495?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/1291092564879062495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=1291092564879062495' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/1291092564879062495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/1291092564879062495'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2008/08/junit-best-practices.html' title='JUnit best practices'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-7159883137894846955</id><published>2008-07-16T01:52:00.000-07:00</published><updated>2008-07-16T02:22:11.993-07:00</updated><title type='text'>How to run JUnit test suite from Ant</title><content type='html'>&lt;span style="font-family:verdana;"&gt;When I was developing performance test framework for &lt;a href="http://www.blogger.com/wso2.org/downloads/registry/"&gt;wso2registry&lt;/a&gt;, I came across a problem of using &lt;a href="http://www.blogger.com/ant.apache.org/"&gt;Ant &lt;/a&gt;to run a &lt;a href="http://www.blogger.com/www.junit.org/"&gt;Junit &lt;/a&gt;test suite. As I seen in the web, lots of users asking whether Ant supports for running Junit test Suite class. I didn't see anything mentioned in the documentation as to if this is possible. Here is my answer for all, running a Junit test Suite is possible using Ant. Following simple step by step guide illustrate how to do that.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;As the first step, let's create a sub directory called “mytest” and put the bellow test class to the directory. For simplicity this test class doesn't really test anything.&lt;br /&gt;&lt;br /&gt;import junit.framework.TestCase;&lt;br /&gt;public class HelloWorld extends TestCase {&lt;br /&gt;&lt;br /&gt; public HelloWorld(String text){&lt;br /&gt;     super (text);&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public void testprint1(){&lt;br /&gt;     System.out.println("Hello World1");&lt;br /&gt;     assertTrue( "TestExample", true );&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public void testprint2(){&lt;br /&gt;     System.out.println("Hello World2");&lt;br /&gt;     assertTrue( "TestExample", true );&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;Then create the below test suite in the same subdirectory. In JUnit, "suites" can be used to run a group of test classes and allows for some additional functionality.&lt;br /&gt;&lt;br /&gt;import junit.framework.Test;&lt;br /&gt;import junit.framework.TestSuite;&lt;br /&gt;&lt;br /&gt;public class HelloworldSuite extends TestSuite {&lt;br /&gt;&lt;br /&gt; public static Test suite(){&lt;br /&gt;     TestSuite suite = new TestSuite();&lt;br /&gt;&lt;br /&gt;     suite.addTest(new HelloWorld("testprint1"));&lt;br /&gt;     suite.addTest(new HelloWorld("testprint2"));&lt;br /&gt;     suite.addTest(new HelloWorld("testprint1"));&lt;br /&gt;&lt;br /&gt;     return suite;&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Now create a directory called “lib” inside your “mytest” directory and copy the junit.jar file to it. In my case, I'm using &lt;a href="http://sourceforge.net/project/showfiles.php?group_id=15278&amp;amp;package_id=12472"&gt;junit-4.4.jar&lt;/a&gt;. In addition to that you need to add junit.jar to your CLASSPATH or copy junit.jar to your Ant library(ANT_HOME/lib) from your JUnit library to enable the integration of JUnit and Ant.&lt;/span&gt;&lt;project name="Hello-world-sample" basedir="." default="test"&gt;&lt;property name="dest.dir" value="build"&gt;&lt;property name="dest.dir.classes" value="${dest.dir}/classes"&gt;&lt;property name="dest.dir.lib" value="${dest.dir}/lib"&gt;&lt;property name="home" value="."&gt;&lt;path id="build.class.path"&gt;&lt;fileset dir="${home}/lib"&gt;&lt;include name="*.jar"&gt;&lt;/include&gt;&lt;/fileset&gt;&lt;path id="test.class.path"&gt;&lt;pathelement location="${dest.dir.classes}"&gt;&lt;/pathelement&gt;&lt;target name="clean"&gt;&lt;delete dir="${dest.dir}"&gt;&lt;/delete&gt;&lt;target name="prepare"&gt;&lt;mkdir dir="${dest.dir}"&gt;&lt;mkdir dir="${dest.dir.classes}"&gt;&lt;/mkdir&gt;&lt;target name="compile" depends="clean,prepare"&gt;&lt;javac srcdir="src" destdir="${dest.dir.classes}"&gt;&lt;classpath refid="build.class.path"&gt;&lt;/classpath&gt;&lt;/javac&gt;&lt;target name="run" depends="compile"&gt;&lt;target name="test" depends="compile"&gt;&lt;junit&gt;&lt;classpath refid="test.class.path"&gt;&lt;classpath refid="build.class.path"&gt;&lt;formatter type="brief" usefile="false"&gt;&lt;test name="HelloworldSuite"&gt;&lt;/test&gt;&lt;/formatter&gt;&lt;/classpath&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Now put the below build.xml file to your “mytest” directory.&lt;br /&gt;&lt;br /&gt;&amp;lt;project name="Hello-world-sample" basedir="." default="test"&amp;gt;&lt;br /&gt;&lt;br /&gt;   &amp;lt;property name="dest.dir" value="build" /&amp;gt;&lt;br /&gt;   &amp;lt;property name="dest.dir.classes" value="${dest.dir}/classes" /&amp;gt;&lt;br /&gt;   &amp;lt;property name="dest.dir.lib" value="${dest.dir}/lib" /&amp;gt;&lt;br /&gt;   &amp;lt;property name="home" value="." /&amp;gt;&lt;br /&gt;&lt;br /&gt;   &amp;lt;path id="build.class.path"&amp;gt;&lt;br /&gt;       &amp;lt;fileset dir="${home}/lib"&amp;gt;&lt;br /&gt;           &amp;lt;include name="*.jar" /&amp;gt;&lt;br /&gt;       &amp;lt;/fileset&amp;gt;&lt;br /&gt;   &amp;lt;/path&amp;gt;      &lt;br /&gt;&lt;br /&gt;   &amp;lt;path id="test.class.path"&amp;gt;&lt;br /&gt;       &amp;lt;pathelement location="${dest.dir.classes}" /&amp;gt;      &lt;br /&gt;   &amp;lt;/path&amp;gt;&lt;br /&gt;&lt;br /&gt;   &amp;lt;target name="clean"&amp;gt;&lt;br /&gt;       &amp;lt;delete dir="${dest.dir}" /&amp;gt;&lt;br /&gt;   &amp;lt;/target&amp;gt;&lt;br /&gt;&lt;br /&gt;   &amp;lt;target name="prepare"&amp;gt;&lt;br /&gt;       &amp;lt;mkdir dir="${dest.dir}" /&amp;gt;&lt;br /&gt;       &amp;lt;mkdir dir="${dest.dir.classes}" /&amp;gt;&lt;br /&gt;   &amp;lt;/target&amp;gt;&lt;br /&gt;&lt;br /&gt;   &amp;lt;target name="compile" depends="clean,prepare"&amp;gt;&lt;br /&gt;       &amp;lt;javac srcdir="src" destdir="${dest.dir.classes}"&amp;gt;&lt;br /&gt;           &amp;lt;classpath refid="build.class.path" /&amp;gt;&lt;br /&gt;       &amp;lt;/javac&amp;gt;&lt;br /&gt;   &amp;lt;/target&amp;gt;&lt;br /&gt;&lt;br /&gt;        &amp;lt;target name="run" depends="compile"/&amp;gt;&lt;br /&gt;&lt;br /&gt;   &amp;lt;target name="test" depends="compile"&amp;gt;&lt;br /&gt;           &amp;lt;junit&amp;gt;&lt;br /&gt;                 &amp;lt;classpath refid="test.class.path" /&amp;gt;&lt;br /&gt;           &amp;lt;classpath refid="build.class.path" /&amp;gt;&lt;br /&gt;                 &amp;lt;formatter type="brief" usefile="false" /&amp;gt;&lt;br /&gt;                 &amp;lt;test name="HelloworldSuite" /&amp;gt;&lt;br /&gt;           &amp;lt;/junit&amp;gt;&lt;br /&gt;     &amp;lt;/target&amp;gt;&lt;br /&gt;&amp;lt;/project&amp;gt; &lt;project name="Hello-world-sample" basedir="." default="test"&gt;&lt;property name="dest.dir" value="build"&gt;&lt;property name="dest.dir.classes" value="${dest.dir}/classes"&gt;&lt;property name="dest.dir.lib" value="${dest.dir}/lib"&gt;&lt;property name="home" value="."&gt;&lt;path id="build.class.path"&gt;&lt;path id="test.class.path"&gt;&lt;target name="clean"&gt;&lt;target name="prepare"&gt;&lt;mkdir dir="${dest.dir}"&gt;&lt;target name="compile" depends="clean,prepare"&gt;&lt;target name="run" depends="compile"&gt;&lt;target name="test" depends="compile"&gt;&lt;junit&gt;&lt;classpath refid="test.class.path"&gt;&lt;classpath refid="build.class.path"&gt;&lt;formatter type="brief" usefile="false"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/formatter&gt;&lt;/classpath&gt;&lt;/classpath&gt;&lt;/junit&gt;&lt;/target&gt;&lt;/target&gt;&lt;/target&gt;&lt;/mkdir&gt;&lt;/target&gt;&lt;/target&gt;&lt;/path&gt;&lt;/path&gt;&lt;/property&gt;&lt;/property&gt;&lt;/property&gt;&lt;/property&gt;&lt;/project&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;Finally execute the test as below.&lt;br /&gt;&lt;br /&gt;C:\Ant_Test&gt;ant test&lt;br /&gt;Buildfile: build.xml&lt;br /&gt;&lt;br /&gt;clean:&lt;br /&gt;[delete] Deleting directory C:\Ant_Test\build&lt;br /&gt;&lt;br /&gt;prepare:&lt;br /&gt; [mkdir] Created dir: C:\Ant_Test\build&lt;br /&gt; [mkdir] Created dir: C:\Ant_Test\build\classes&lt;br /&gt;&lt;br /&gt;compile:&lt;br /&gt; [javac] Compiling 4 source files to C:\Ant_Test\build\classes&lt;br /&gt;&lt;br /&gt;test:&lt;br /&gt; [junit] Testsuite: HelloworldSuite&lt;br /&gt; [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0 sec&lt;br /&gt; [junit]&lt;br /&gt; [junit] ------------- Standard Output ---------------&lt;br /&gt; [junit] inside test print1&lt;br /&gt; [junit] inside test print2&lt;br /&gt; [junit] inside test print3&lt;br /&gt; [junit] ------------- ---------------- ---------------&lt;br /&gt;&lt;br /&gt;BUILD SUCCESSFUL&lt;br /&gt;Total time: 1 second&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Note that if you use packages then the test name in the build.xml should be change as&lt;br /&gt;&lt;br /&gt;&amp;lt;test name="package.name/HelloworldSuite"/&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;test name="package.name/HelloworldSuite"&gt;&lt;/test&gt;&lt;/span&gt;&lt;/classpath&gt;&lt;/junit&gt;&lt;/target&gt;&lt;/target&gt;&lt;/target&gt;&lt;/mkdir&gt;&lt;/target&gt;&lt;/target&gt;&lt;/path&gt;&lt;/path&gt;&lt;/property&gt;&lt;/property&gt;&lt;/property&gt;&lt;/property&gt;&lt;/project&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-7159883137894846955?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/7159883137894846955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=7159883137894846955' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/7159883137894846955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/7159883137894846955'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2008/07/how-to-run-junit-test-suite-from-ant.html' title='How to run JUnit test suite from Ant'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-5208028958803736602</id><published>2008-07-02T05:12:00.000-07:00</published><updated>2008-07-02T22:02:22.507-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SOA registry'/><title type='text'>SOA registry competition</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Deepal Jayasinghe has written this blog entry about &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://blogs.deepal.org/2008/07/open-source-competition-mule-galaxy-vs.html"&gt;Open source competition - Mule Galaxy vs WSO2 Registry&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;. He has published an &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://wso2.org/library/3777"&gt;article&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; of comparing Glaxy vs WSO2 Registry. It is worth to read his article before you starting with any open source SOA registry.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-5208028958803736602?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/5208028958803736602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=5208028958803736602' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/5208028958803736602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/5208028958803736602'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2008/07/soa-registry-competition.html' title='SOA registry competition'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-1504894877384727346</id><published>2008-07-02T04:32:00.000-07:00</published><updated>2008-09-17T04:58:42.515-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='URI based repository'/><category scheme='http://www.blogger.com/atom/ns#' term='wso2 registry'/><category scheme='http://www.blogger.com/atom/ns#' term='WSAS'/><title type='text'>Using WSO2 Registry as URL-based repository for WSO2 Web Services Application Server (WSAS)</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Here I discusses how to configure &lt;a href="http://wso2.org/projects/wsas/java"&gt;WSAS &lt;/a&gt;to use WSO2 registry as URL repository. &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;Versions above WSAS 2.0 support URL-based repositories. It is simple to configure WSAS to use WSO2 Registry as repository. Let's follow step by step guide given below to do the configuration.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:verdana;" &gt;Step 1:&lt;/span&gt; &lt;span style="font-family:verdana;"&gt;Deploy WSAS binary distribution. See &lt;a href="http://wso2.org/project/wsas/java/2.3/docs/installation_guide.html"&gt;WSO2 WSAS Installation Guide&lt;/a&gt; for details.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:verdana;" &gt;Step 2:&lt;/span&gt; &lt;span style="font-family:verdana;"&gt;Deploy wso2registry.war file in a preferred servelet container it is matter of copying wso2registry.war file into your servelet container. See &lt;a href="http://wso2.org/project/registry/1.1/docs/userguide.html"&gt;WSO2 Registry user guide&lt;/a&gt; for details. WSO2 Registry 1.1 can be downloaded from &lt;a href="http://wso2.org/projects/registry"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:verdana;" &gt;Step 3:&lt;/span&gt; &lt;span style="font-family:verdana;"&gt;Go to http://localhost:8080/wso2registry. Note that port should be changed      according to yours.&lt;/span&gt;  &lt;span style="font-weight: bold;font-family:verdana;" &gt;&lt;br /&gt;&lt;br /&gt;Step 4:&lt;/span&gt; &lt;span style="font-family:verdana;"&gt;Login to the system using user name “admin” and password “admin.&lt;/span&gt;  &lt;span style="font-weight: bold;font-family:verdana;" &gt;&lt;br /&gt;&lt;br /&gt;Step 5:&lt;/span&gt; &lt;span style="font-family:verdana;"&gt;Then go to add collection  and create a collection with the name “wsas-repo” , and select Media Type as “application/vnd.wso2.wsas”. you will notice it creates a collection name "wsas-repo",there will be three sub collection called “services” , “modules” and “conf” inside the wsas-repo.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_PUD9OP4w3pc/SGtuVmi6D1I/AAAAAAAAADk/K3PNcDtJ4Io/s1600-h/wsas-repo.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_PUD9OP4w3pc/SGtuVmi6D1I/AAAAAAAAADk/K3PNcDtJ4Io/s320/wsas-repo.jpg" alt="" id="BLOGGER_PHOTO_ID_5218385910642118482" border="0" /&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;At the moment please ignore the “conf” directory.&lt;/span&gt;  &lt;span style="font-weight: bold;font-family:verdana;" &gt;&lt;br /&gt;&lt;br /&gt;Step 6: &lt;/span&gt; &lt;span style="font-family:verdana;"&gt;Next you need to upload WSAS administration modules into “wsas-repo”. To do that go to modules collection and upload following modules and module.list file by using “Add resource” option. These modules are shipped with WSAS binary distribution and can be found under the $WSO2WSAS_HOME/repository/module&lt;br /&gt;(in my case /home/krishantha/wsas/wso2wsas-2.2.1/repository/modules on Linux).&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_PUD9OP4w3pc/SGtupC02k-I/AAAAAAAAADs/hQwnD5V8mcA/s1600-h/modules.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp3.blogger.com/_PUD9OP4w3pc/SGtupC02k-I/AAAAAAAAADs/hQwnD5V8mcA/s320/modules.jpg" alt="" id="BLOGGER_PHOTO_ID_5218386244651095010" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;font-family:verdana;" &gt;&lt;br /&gt;Step 7: &lt;/span&gt; &lt;span style="font-family:verdana;"&gt;Same as the above step, now you need to upload WSAS default services in to “services” collections. To do that, go to “service” collection and upload following service files. These services are shipped with WSAS and can be found under the $WSO2WSAS_HOME/repository/services.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_PUD9OP4w3pc/SGtvBVz_nlI/AAAAAAAAAD0/PGNYgOCvWlg/s1600-h/services.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp1.blogger.com/_PUD9OP4w3pc/SGtvBVz_nlI/AAAAAAAAAD0/PGNYgOCvWlg/s320/services.jpg" alt="" id="BLOGGER_PHOTO_ID_5218386662064627282" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;font-family:verdana;" &gt;Step 8:&lt;/span&gt; &lt;span style="font-family:verdana;"&gt;Now you need to configure the registry URL repository in WSAS. Locate the       server.xml file under the $WSO2WSAS_HOME/conf directory, and locate the following entry in the file.&lt;/span&gt;&lt;br /&gt;&lt;pre  style="font-weight: bold;font-family:verdana;"&gt;&lt;repositorylocation&gt;&lt;repositorylocation&gt;&lt;span style="font-weight: normal;font-family:arial;font-size:100%;"  &gt;&amp;lt;RepositoryLocation&amp;gt;${wso2wsas.home}/repository/&amp;lt;RepositoryLocation&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/repositorylocation&gt;&lt;repositorylocation&gt;&lt;/repositorylocation&gt;&lt;/repositorylocation&gt;&lt;/pre&gt;&lt;span style="font-family:verdana;"&gt;&lt;repositorylocation&gt;&lt;/repositorylocation&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;Change the "RepositoryLocation" entry to "http://localhost:8080/wso2registry/resources/wsas-repo". &lt;/span&gt;  &lt;span style="font-weight: bold;font-family:verdana;" &gt;&lt;br /&gt;&lt;br /&gt;Step 9:&lt;/span&gt; &lt;span style="font-family:verdana;"&gt;Restart WSAS server pointing to repository so all the available services under “services” collection will be deployed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:verdana;" &gt;step 10:&lt;/span&gt; &lt;span style="font-family:verdana;"&gt;Check your WSO2 WSAS instance using the URL https://localhost:9443. Login as administrator with user name “admin” and password “admin”&lt;/span&gt;  &lt;span style="font-weight: bold;font-family:verdana;" &gt;&lt;br /&gt;&lt;br /&gt;Step 11:&lt;/span&gt; &lt;span style="font-family:verdana;"&gt;Now navigate though services link in WSAS admin console (Services &gt; echo &gt; Try Web Service) . And try out the echo sample.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_PUD9OP4w3pc/SGtvkyyqR4I/AAAAAAAAAD8/lewsOhsdCAQ/s1600-h/echo_sample.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_PUD9OP4w3pc/SGtvkyyqR4I/AAAAAAAAAD8/lewsOhsdCAQ/s320/echo_sample.jpg" alt="" id="BLOGGER_PHOTO_ID_5218387271139084162" border="0" /&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;Finally&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;If you have done the above steps correctly then you will be able to invoke all the WSO2 WSAS default services without any problem.&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;You can find nice tutorial explaining WSAS URL-based repositories from &lt;a href="http://wso2.org/library/2732"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-1504894877384727346?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/1504894877384727346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=1504894877384727346' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/1504894877384727346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/1504894877384727346'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2008/07/using-wso2-registry-as-url-based.html' title='Using WSO2 Registry as URL-based repository for WSO2 Web Services Application Server (WSAS)'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_PUD9OP4w3pc/SGtuVmi6D1I/AAAAAAAAADk/K3PNcDtJ4Io/s72-c/wsas-repo.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1002376746520411668.post-3904322784802366479</id><published>2008-07-01T05:27:00.000-07:00</published><updated>2008-07-02T04:32:26.479-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='soa governance'/><category scheme='http://www.blogger.com/atom/ns#' term='wso2 registry'/><category scheme='http://www.blogger.com/atom/ns#' term='SOA registry'/><title type='text'>Open Source registry for SOA governance.</title><content type='html'>&lt;span style="font-family:verdana;"&gt;WSO2 has announced their latest release of &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://wso2.org/projects/registry"&gt;WSO2 Registry 1.1&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;. Comparing to registry 1.0 release, the new release has lots of new features and performance improvements. So it has more enhanced support for SOA governance.&lt;br /&gt;&lt;br /&gt;New features:&lt;/span&gt;&lt;br /&gt;&lt;ul style="font-family: verdana;"&gt;&lt;li&gt;Performance improvements&lt;/li&gt;&lt;li&gt;Change from auto-versioning collections to explicit checkpointing&lt;/li&gt;&lt;li&gt;Lifecycle/Aspect support&lt;/li&gt;&lt;li&gt;Much improved WSDL handling, validation, and WS-I validation&lt;/li&gt;&lt;li&gt;Support for transaction handling&lt;/li&gt;&lt;li&gt;Generic typed associations&lt;/li&gt;&lt;li&gt;API improvements, including streamlined Filter/Handler plugins&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:verdana;"&gt;WSO2 registry comes with a web based user interface, which is really user friendly and easy to use by technical or non technical people. The UI is based on web 2.0 look and feel. Newly implemented pagination support is cool feature which serve the users more faster. &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://wso2.org/projects/esb/java"&gt;WSO2 ESB&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; and &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://wso2.org/projects/mashup"&gt;WSO2 Mashup Server&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; have embedded WSO2 Registry, so the registry is already used in production environments.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1002376746520411668-3904322784802366479?l=opensource-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://opensource-soa.blogspot.com/feeds/3904322784802366479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1002376746520411668&amp;postID=3904322784802366479' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/3904322784802366479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1002376746520411668/posts/default/3904322784802366479'/><link rel='alternate' type='text/html' href='http://opensource-soa.blogspot.com/2008/07/open-source-registry-for-soa-governace.html' title='Open Source registry for SOA governance.'/><author><name>Krishantha</name><uri>http://www.blogger.com/profile/02749322474453605527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
