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

How to map domain names to weblogic server?

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all
I want to know how to map single/multiple domain names to weblogic server. We do the same in IIS by creating a new website and mapping it to the virtual directory.
Plz help me in this regard.Thanks in advance
anbudan
Jeyaveerapandian K
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At WL_Home\config\some_domain u can use the
config.xml likw an example to do this.
an example from petStore application in WebLogic:
- <!-- If your domain is active, please do not edit the config.xml file. Any changes made to that file while the domain is active will not have any effect on the domain's configuration and are likely to be lost. If your domain is inactive, you may edit this file with an XML editor. If you do so, please refer to the configuration DTD. In general, we recommend that changes to your configuration file be made through the Administration Console.
-->
- <Domain Name="petstore">
<JDBCDataSource JNDIName="jdbc.EstoreDB" Name="EstoreDB" PoolName="petstorePool" Targets="petstoreServer" />
<JDBCDataSource JNDIName="jdbc.InventoryDB" Name="InventoryDB" PoolName="petstorePool" Targets="petstoreServer" />
- <Application Name="tour" Path="C:\bea\wlserver6.0/config/petstore/applications/tour.war">
<WebAppComponent Name="tour" Targets="petstoreServer" URI="tour.war" />
</Application>
- <Application Name="console" Path="C:\bea\wlserver6.0/config/examples/applications">
<WebAppComponent Name="console" URI="console.war" Targets="petstoreServer" />
</Application>
- <Server JavaCompiler="C:\bea\jdk130/bin/javac" ListenPort="7001" Name="petstoreServer" NativeIOEnabled="false" RootDirectory="C:\bea\wlserver6.0" ThreadPoolSize="15" TransactionLogFilePrefix="config/petstore/logs/" IIOPEnabled="false">
<WebServer DefaultWebApp="tour" LogFileName="./config/petstore/logs/access.log" LoggingEnabled="true" Name="petstoreServer" />
<SSL CertificateCacheSize="3" Enabled="true" ListenPort="7002" ServerCertificateChainFileName="./config/petstore/ca.pem" ServerCertificateFileName="./config/petstore/democert.pem" ServerKeyFileName="./config/petstore/demokey.pem" TrustedCAFileName="./config/petstore/ca.pem" />
<Log FileName="./config/petstore/logs/weblogic.log" />
</Server>
<Log FileName="./config/petstore/logs/wl-domain.log" />
<JDBCConnectionPool CapacityIncrement="1" DriverName="COM.cloudscape.core.JDBCDriver" InitialCapacity="1" MaxCapacity="1" Name="petstorePool" Properties="user=none;password=none;server=none" Targets="petstoreServer" URL="jdbc:cloudscape etStore" />
<FileRealm Name="myFileRealm" />
<Security Realm="myRealm" />
<Realm FileRealm="myFileRealm" Name="myRealm" />
<StartupClass Arguments="port=7001" ClassName="com.bea.estore.startup.StartBrowser" FailureIsFatal="false" Name="StartBrowser" Targets="petstoreServer" Notes="On Windows, this class automatically starts a browser after the server has finished booting." />
</Domain>
Marcos Maia.
 
jeyaveera pandian
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Marcos
Thanks for your response. But I couldnot find any xml file in weblogic 5.1. Would i have to specify it any other file like weblogic.properties in the version 5.1?
Plz help. Thanks in advance
Anbudan
Jeyaveerapandian K
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic