Skip to main content

Posts

Showing posts with the label Application Server

How to deploy WSO2 Carbon 3.2.2 based product on JBoss

This post will discuss how to deploy WSO2 Carbon 3.2.2 based product with JBoss Application Server. WSO2 Gadget Server 1.4.2 will be deployed with Jboss 5.1.0 as an example in Linux environment . Also it is important to note that the same set of steps can be extended to other WSO2 products as well. Download WSO2 GS 1.4.2 from here Install JBoss Application Server if you already don't have JBoss. I will refer this JBoss installed location as JBOSS_HOME in later steps Unzip the  downloaded pack( wso2gs-1.4.2.zip ). I will refer this unziped folder as GS_HOME in later steps. Copy GS_HOME/repository folder in to a new folder called gs-repo . Edit the WebContextRoot of carbon.xml   located inside gs-repo/repository/conf as bellow 1: < WebContextRoot > /gs </ WebContextRoot > Also make sure to change http and https ports defined in carbon.xml accordingly. After changing ports the ServletTransports section of gs-repo/repository/conf /car...

Creating a Simple Axis Service(.aar file) and Deploy it in WSO2 Application Server

In this post I am explaining how to Create a Simple Axis Service(.aar file) and Deploy it in WSO2 Application Server using a simple sample. And also at the end I am describing how to do the same thing with creation of a Jar Service. Lets assume "sample-home" as our parent directory and inside that we can create following folder structure. With this folder structure we can include our external libraries (jar files) inside lib folder and  the "services.xml" file inside "META-INF" folder. Following is the sample services.xml definition which I used with this sample creation. < service name = "HelloService" > < Description > This is a sample service to explain simple aar service </ Description > < messageReceivers > < messageReceiver mep = "http://www.w3.org/2006/01/wsdl/in-out" class = "org.apache.axis2.rpc.receivers.RPCMessageReceiver" /> </ messageReceivers > < parame...