Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying WAR files in Weblogic Server

 
Rajesh Varma
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks!
Can you please assist me in creating a war file and deploying those in Weblogic Server 8.1 ???
 
gopinathang nathan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this, edocs.bea.com
 
Atul Shinkar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
http://<server_name>:<port_number>/console
(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:
http://<server_name>:<port_number>/Web_Application_Name


Hope it helps you Rajesh !!!
 
Jignesh Gohel
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic