I have already discussed the steps to deploy Apache Axis2 on IBM WebSphere, JBoss and Resin application servers. In this post, I'm going to explain the procedure to deploy Axis2 on BEA Weblogic 10 server.
Download and install BEA Weblogic 10.
Create a new weblogic domain by running config.sh located at WebLogic_HOME/wlserver_10.0/common/bin directory.
Lets assume the new domain is axis2.
Access your weblogic domain direcrtory and start weblogic (Go to WebLogic_HOME/user_projects/domains/axis2/bin and run startWebLogic.sh)
Download Axis2.war from here
Create a directory in your file system (i.e:- /opt/axis2) and copy axis2.war to that directory. Extract axis2.war file (unzip axis2.war)
Access WebLogic administration console (In a browser, access http://localhost:7001/console)
Log in to administration console (You should have configured username and password for admin console when creating your WebLogic domain)
In the left navigation menu of the WebLogic administrative console, select Lock and Edit and click on Deployments.
Click on Install and Select the path of axis2 directory where we have extracted axis2.war file.
Click on Next.
Select the default option, Install this deployment as an application and click Next.
Accept the default settings in Optional Settings page and click on Next.
Click on Finish in the last page of the wizard.
Click Activate Changes in the left menu.
Select Lock and Edit again and click on Deployments in weblogic admin console. You will see axis2 listed in the Deployments table.
Select axis2 and click on Start-->Servicing all requests.
In Start Deployments page, click on Yes.
Thats all for deploying Axis2 on Weblogic. Lets access axis2 admin console and validate the installation
Now open a browser and go to http://localhost:7001/axis2
Axis2 welcome page will be displayed.
Verify the status of installation. Click on 'Validate' link. You should see the following 'Axis2 Happiness' page.
Now you can log in to Axis2 administration page and start deploying services.
If you encounter any class loading issues with some of your services, configure the <prefer-web-inf-classes> element in WEB-INF/weblogic.xml as specified in Axis2 Application Server Specific Configuration Guide.