aspose file tools*
The moose likes BEA/Weblogic and the fly likes Starting Multiple servers within one domain on WebLogic6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Starting Multiple servers within one domain on WebLogic6.0" Watch "Starting Multiple servers within one domain on WebLogic6.0" New topic
Author

Starting Multiple servers within one domain on WebLogic6.0

Alex Grig
Ranch Hand

Joined: Oct 19, 2001
Posts: 38
Hello,
I'm trying to deploy web-application on the following way:
1/ create one domain;
2/ create 3 servers within this domain
- serwer "www";
- server "search";
- server "member";
3/ create 3 web-applications
- "www-app";
- "search-app";
- "member-app";
4/ and finally 3 virtual host;
- www.myapp.com;
- search.myapp.com;
- member.myapp.com;
So, now i want to run "www-app" on server "www" calling http://www.myapp.com, and so on ...
Can you give me a clue, how to get it works!
------------------
Alex J.Grig


Alex J.Grig
Oleg Shklyar
Greenhorn

Joined: May 28, 2001
Posts: 26
Hi Alex,
check the the BEA WebLogic Server Administration Guide, chapter 1 and 2.
There is a good introduction there about how to run additional, Managed servers, within one domain.
Oleg
Meera Chandrasekaran
Greenhorn

Joined: Jan 08, 2002
Posts: 10
Hi,
I have done exactly the same thing on weblogic 6.1.
Add the new servers from the console panel. you will notice <Server>...</Server> tags in the config.xml. you may choose different port numbers or different local ip for each of new servers. Also, in the ,<Server> tag, you can also mention the External DNS names for each of these server.
Other changes that you have to make includes setting up DefaultWebApp and log files for each of these servers.
Duplicate the script StartmanagedWeblogic.sh (and the stop script) by changing the java command to suit each of these servers and start them one-by-one. hope this helps.
-Meera
Vijay Shrivastava
Ranch Hand

Joined: Nov 15, 2001
Posts: 64
I have experienced that when one does what is suggested by Meera, you can share the domain level resources but they are not exclusively available to you(server). Like the JMS factories and JDBC pools which are created on domain level and added to individual server. You have to be careful that you accidently don't use some of these resources when they should not be(same tables can be modified by two different application same time).


Vijay shrivastava
Alex Grig
Ranch Hand

Joined: Oct 19, 2001
Posts: 38
Thanks You all,
I get it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Starting Multiple servers within one domain on WebLogic6.0