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 !!!
-- <br />Regards,<br />Atul Shinkar<br /> <br />[Believe in YOURSELF & you will be unstoppable!]
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 am going down to the lab. Do NOT let anyone in. Not even this tiny ad: