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?).
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.
Roger Chung-Wee
Ranch Hand
Joined: Sep 29, 2002
Posts: 1683
posted
0
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.
SCJP 1.4, SCWCD 1.3, SCBCD 1.3
K Riaz
Ranch Hand
Joined: Jan 08, 2005
Posts: 375
posted
0
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
Ranch Hand
Joined: Oct 10, 2000
Posts: 1348
posted
0
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.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.