File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Deploying WAR files in Weblogic Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Deploying WAR files in Weblogic Server" Watch "Deploying WAR files in Weblogic Server" New topic

Deploying WAR files in Weblogic Server

Rajesh Varma

Joined: Aug 07, 2006
Posts: 7
Hi Folks!
Can you please assist me in creating a war file and deploying those in Weblogic Server 8.1 ???
gopinathang nathan
Ranch Hand

Joined: Oct 28, 2006
Posts: 41
check this,
Atul Shinkar

Joined: Aug 22, 2006
Posts: 14
Hi Rajesh !

Firstly, you can create a war file by using the java utility as follows:
C:\App>jar cvf Example.war *.*
In the above example, the folder 'App' contains the files which you want to include in the war file.

Secondly, follow the steps below to deploy the WAR file in WebLogic 8.1:

(1) Open the Administration Console of WebLogic.
(2) Go to the following:
mydomain->Deployments->Web Application Modules
(3) After that select Configuration tab.
(4) In that click on Deploy a new Web Application Module.
(5) After that click on upload your file(s) to upload your web application archive (WAR) on the Server.
(6) Select the respective WAR file by selecting Browse.
(7) Click on Upload button to upload the file. Your WAR file will be uploaded on Server on the following location:
For WebLogic 8.1 SP1 and SP2: C:\bea\user_projects\domains\mydomain\myserver\upload
[where myserver: is user defined directory]
(8) Browse the uploaded WAR file from the upload directory mentioned in the locations given.
(9) Select your WAR file from the list.
(10) After that click on Target Module button.
(11) [Optional] You may change the Web application´┐Żs name.
(12) Click on Deploy button.
(13) Now your deployed web application appears under the Web Application Module.
(14) Access the application using the following URL:

Hope it helps you Rajesh !!!

-- <br />Regards,<br />Atul Shinkar<br /> <br />[Believe in YOURSELF & you will be unstoppable!]
Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276

Can anybody please let me know that the procedure mentioned above for deploying the war file is same for deployment in Weblogic 8.1 SP5 server or some steps are to be changed ??.If anything is to be chnaged then please let me know the same..

And where to set the classpath in Weblogic 8.1 SP5 as my application is using external jar files.

Also please let me know what will be the absolute file path structure on the machine where Weblogic Server is installed, after the application gets deployed succesfully.



The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
I agree. Here's the link:
subject: Deploying WAR files in Weblogic Server
It's not a secret anymore!