• 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
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

How do you deploy a simple ".war"?

 
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As expected, I am finding Weblogic to be difficult to use compared to servlet containers such as Tomcat to deploy a simple web application (.war file). Does anyone know how to do the following:

1) Where to drop the .war file within Weblogic?
2) How to start the server so I can view the web application? What is the default port (e.g. 8080?).

Thank you.

Kashif.
[ May 15, 2005: Message edited by: Kashif Riaz ]
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What version of weblogic are you asking about?

Lots of great documentation at http://e-docs.bea.com

Assuming you've downloaded a newer version, you need to run the configuration wizard to create a domain. If you create a basic weblogic server domain you get to choose "Express" or "Custom" creation. With custom you pick the port, with express it uses the default which is 7001 with the versions I've used. Not to worry, though, as the server prints out the port number when it starts up. ("listening on port 7001")

When you create the domain, if you look closely you'll see where it is going to create the domain. It'll be like "bea_home"/user_projects/domains/mydomain.

If on windows you can start from start - all programs, or find the start script in you domain directory.

Inside the domain directory there's an applications directory. That's where you can drop a web app, etc.
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can deploy via the console, but this is error-prone and not suitable for production anyway. Learn to use the WebLogic-supplied Ant scripts for building and deployment. I've been using the wldeploy Ant task for this.
 
K Riaz
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried to start the admin server but it did not start as I have no licence. I got the Weblogic 8.1 CD from http://bea.freetodevelop.com/index.html but cannot find a place to get a licence. How can I get one?
 
Carol Enderlin
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I followed that link to the cd page and it said,


WebLogic Platform 8.1 with SP3
Download or order a free CD with BEA WebLogic Platform 8.1 - including your free WebLogic Workshop 8.1 developer license - here today.


Sounds like it should have a license. It's a 1 year developer license when you download.

Check your install directory for license.bea.
 
This tiny ad is suggesting that maybe she should go play in traffic.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic