jQuery in Action, 3rd edition
The moose likes BEA/Weblogic and the fly likes How to deploy web application in Weblogic 10 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How to deploy web application in Weblogic 10" Watch "How to deploy web application in Weblogic 10" New topic

How to deploy web application in Weblogic 10

Amity Shrivastava

Joined: Feb 19, 2008
Posts: 1
Can any one tell me how to deploy servlet/jsp in weblogic 10, i have used
weblogic 8.1. Weblogic 8.1 provides weblogic builder tools to deploy application, this tool generate web.xml also.

Thomas Heiss

Joined: Feb 20, 2008
Posts: 9
Dear Amit,

Would it be possible to use MyEclipse which has deployment options available for WLS 10?
Probably it would be advisable to build your own war file which contains an web.xml configuration and use MyEclipse, ANT/Maven to call "wldeploy" task or the weblogic admin console to deploy your web application.

If none helps you could simply copy the war or class files to the application directory. If WLS is running in development mode, it checks this directory for "auto re-deployment".

Sorry to say that I have not used WLS 10 gui builder tools to auto generate the web.xml configuration file from scratch.

Good luck!


Technical J2EE Solution Consultant<br /> - Specialist for Middleware and Messaging solutions --<br />Certified SCJP 5.0, SCBCD 1.3, SCEA I (SCJD, SCEA II/III running)
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
To Deploy:

Lock & Edit -> Deployments -> Install -> specify location of your WAR/EAR file -> Next -> Finish -> Activate Changes

To Test:

Deployments -> navigate to your application -> select checkbox next to your application -> Start -> Servicing all requests -> Yes -> again navigate to your application -> click on your application -> Testing....

Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
when i did what you said to deploy the war file. I get the following exception.

Error 403--Forbidden
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.4 403 Forbidden

The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

Any clues about this. like some problems with secruity realm or something ?
Also as i doing all this for ALUI, surprising thing is portal internally is able to find the url and display the resources

Rahul Juneja
ThoughtClicks - http://techlabs.thoughtclicks.com
Vinod Subramaniyam

Joined: Mar 19, 2007
Posts: 26
If you have installed Workshop then right click the project and Choose New Server. Enter your weblogic Details, publish your applications from Server you created Earlier. Then Open the Weblogic Admin Console, choose the workshop_auto_generated_ear_ application and start the application. The state of the application changes from Preparing to Active.
This is on Weblogic Server 10.
anadi kumar

Joined: Mar 19, 2010
Posts: 7
1. Log-in by visiting the following URI:

2. Provide your Weblogic UserId and Password.
3. On Home Page
Go to :
Domain Configurations >> Your Deployed Resources >> Deployments (Click here).
Deployments -> Install -> specify location of your WAR/EAR file -> Next -> Finish

Senior Software Engineer | HSBC Technology and Services - Global Technology
HSBC Software Development (India) Limited,GLT 4.0 - Panchshil Tech. Park, Block D, S.No. 19, Hissa 2A/11/2, Yerawada, Pune, 411006.

Email: anadikumar@hsbc.co.in
Email: anadikumar@gmail.com
anandraj tadkal
Ranch Hand

Joined: Feb 22, 2011
Posts: 98

Hi Amit,

To add on to the above said procedures, you can alternatively use the ANT script/ WLST script to deploy the application.

Refer the below article to do so.

Another easy way to deploy the application is to use the weblogic.Deployer utility.

Refer the below article for a comprehensive understanding of the same.

Follow us on facebook:
I agree. Here's the link: http://aspose.com/file-tools
subject: How to deploy web application in Weblogic 10
It's not a secret anymore!