This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes How to deploy WAR file in weblogic 5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How to deploy WAR file in weblogic 5.1" Watch "How to deploy WAR file in weblogic 5.1" New topic
Author

How to deploy WAR file in weblogic 5.1

Cynthia Yao
Ranch Hand

Joined: Nov 06, 2000
Posts: 92
Does anyone know and actually done that -- create a war file and deploy and configure in weblogic 5.1 and test it?
If someone would kindly give me some insight and I would appreciate it.
Asuthosh Borikar
Ranch Hand

Joined: Sep 29, 2000
Posts: 75
We've done that in our previous project. The .war file included all the JSPs, Servlets, and Utility classes(such as Java Beans), along with HTML pages, and image files. The tests went thru fine and our application now runs using this .war file.
If you are looking for general info. on this topic, please visit http://www.weblogic.com/docs51/classdocs/webappguide.html.
That's what we did, when we started off with the idea to deploy applications as .war files.
Prakash Chudasama
Greenhorn

Joined: Sep 25, 2001
Posts: 1
Hi Asuthosh Borikar
I am trying to deploy war file in weblogic 5.1.
Well i have prepared war file on my local drive here are the steps:
1.Create directory MyApp and subdirectories META-INF & WEB-INF
2.Create subdirectory classes in WEB-INF
3.Put all Jsp,HTML in MyApp directory and Java Bean,Servlets in
MyApp/WEB-INF/classes.
4.Create web.xml and weblogic.xml and put it in MyApp/WEB-INF directory.
5.Generate war file using jar -cvf MyApp.war MyApp
6.Put war file in weblogic/myserver directory
7.Update weblogic.properties with following path
weblogic.httpd.webApp.MyApp=e:/weblogic/myserver/MyApp.war
When i start the weblogic server it giving me the following error
web.xml not found in weblogic/WEB-INF directory.
can you please help me out.

Originally posted by Asuthosh Borikar:
We've done that in our previous project. The .war file included all the JSPs, Servlets, and Utility classes(such as Java Beans), along with HTML pages, and image files. The tests went thru fine and our application now runs using this .war file.
If you are looking for general info. on this topic, please visit http://www.weblogic.com/docs51/classdocs/webappguide.html.
That's what we did, when we started off with the idea to deploy applications as .war files.

Asakura Yoh
Greenhorn

Joined: Sep 01, 2003
Posts: 1
Hi guyz... The link provided was broken can anyone teach me how to deploy WAR file in weblogic 5.1 ? It is very important to me now.. Thank guyz...
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1836
This link works
http://www.weblogic.com/docs51/classdocs/webappguide.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to deploy WAR file in weblogic 5.1
 
Similar Threads
failure in WAR deployment on weblogic 5.1
Problem with WAR file deployment in Weblogic 5.1
Hot deploy for WebLogic 5.1
weblogic server
Creating & deploying .ear files in WebLogic 5.1