Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Starting Multiple servers within one domain on WebLogic6.0

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks You all,
I get it.
 
I brought this back from the farm where they grow the tiny ads:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic