Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Starting Multiple servers within one domain on WebLogic6.0

 
Alex Grig
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Oleg Shklyar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Alex Grig
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks You all,
I get it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic