• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Deploying WAR files in Weblogic Server

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ???
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
check this, edocs.bea.com
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !!!
 
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
If you send is by car it's a shipment, but if by ship it's cargo. This tiny ad told me:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic