Configuring default web apps for virtual hosts

Hi,
This posting is meant save time for anyone trying to specify a default web app
for each of their virtual hosts (as opposed to specifying a default web app for
each of their wl servers). This applies to weblogic 6.1, on NT. (I haven't tried
this on other platforms).
If you are trying to use the admin console to do this, give up. It's not possible.
The "Virtual Host/Configuration" window lets you specify everything about that
vhost configuration EXCEPT a default web app. (The "Default Web Application" drop
down menu will always have only one option to choose from: "none").
Instead, shutdown your server, and edit your domain's config.xml file manually.
Attached is an example config file that specifies that the web app "kz" should
be the default web app for the vhost "wl.kz.com", and that the web app "kahuna"
should be the default web app for the vhost "www.kahuna.com".
Hope this helps,
Brian O'Donnell
Lead Developer, Learning Network
[config.xml]

Hi,
Is it possible to configure default web appls for virtual hosts
with Weblogic 6.0 on NT platform? I tried to configure the configure.xml as Brian
did, it doesnot work. I am just wondering if there's any other possible way to
do this.
Thanks.
Mei
"Brian O'Donnell" <[email protected]> wrote:
>
>
>
Hi,
This posting is meant save time for anyone trying to specify a default
web app
for each of their virtual hosts (as opposed to specifying a default web
app for
each of their wl servers). This applies to weblogic 6.1, on NT. (I haven't
tried
this on other platforms).
If you are trying to use the admin console to do this, give up. It's
not possible.
The "Virtual Host/Configuration" window lets you specify everything about
that
vhost configuration EXCEPT a default web app. (The "Default Web Application"
drop
down menu will always have only one option to choose from: "none").
Instead, shutdown your server, and edit your domain's config.xml file
manually.
Attached is an example config file that specifies that the web app "kz"
should
be the default web app for the vhost "wl.kz.com", and that the web app
"kahuna"
should be the default web app for the vhost "www.kahuna.com".
Hope this helps,
Brian O'Donnell
Lead Developer, Learning Network

Similar Messages

  • Is weblogic 8.1.1 capapble of having a default web app on virtual hosts?

    I have a number of virtual host being served on the same weblogic 8.1.1
    server. For example, say www.abc.com , www.def.com and www.ghi.com and they
    each have their own directory underneath the applications directory ABC,
    DEF, GHI. When the user types out http://www.abc.com or def.com or even
    www.ghi.com, I would like weblogic to automatically goto the appropriate web
    app I want to associated with each virtual host.
    Is this possible? So far, I've seen it can't.
    I put in the <context-root>/</context-root> in the weblogic.xml file, but
    the server only lets you have one context root. So the first web app to
    load gets the context root, so www.def.com can get the DEF application, but
    the rest of them have to have some context, in other words www.abc.com/ABC
    or even www.abc/GHI will work, but I don't want that! This was easily
    configurable in 7.0SP1+2. Where and how do I do this in 8.1.1?
    If you've tried this and got it to work, please post any files you might
    have that are useful? I'm not sure where to goto next. Thanks.

    I think I found out what my problem is. There appears to be no restrictions
    in the server for the virtual host name being the same name as the
    application name. When there is, WLS seems to lose control of where to goto
    in the config.xml file. I just prefixed my virtual host names with 'vh' and
    all is good!
    "Flip" <!no_spam![email protected]> wrote in message
    news:[email protected]..
    I have a number of virtual host being served on the same weblogic 8.1.1
    server. For example, say www.abc.com , www.def.com and www.ghi.com andthey
    each have their own directory underneath the applications directory ABC,
    DEF, GHI. When the user types out http://www.abc.com or def.com or even
    www.ghi.com, I would like weblogic to automatically goto the appropriateweb
    app I want to associated with each virtual host.
    Is this possible? So far, I've seen it can't.
    I put in the <context-root>/</context-root> in the weblogic.xml file, but
    the server only lets you have one context root. So the first web app to
    load gets the context root, so www.def.com can get the DEF application,but
    the rest of them have to have some context, in other words www.abc.com/ABC
    or even www.abc/GHI will work, but I don't want that! This was easily
    configurable in 7.0SP1+2. Where and how do I do this in 8.1.1?
    If you've tried this and got it to work, please post any files you might
    have that are useful? I'm not sure where to goto next. Thanks.

  • Associating Default Web Application with Virtual Host

    Hi
    We are trying to run several virtual hosts on the same managed server. However, each of those virtual hosts (e.g. bob.mydomain.com, john.mydomain.com) will need to have a different default web application (the rest of the deployed web applications will be the same between hosts). We tried to create default web applications with <context-root> in weblogic.xml set to / (also tried "") - however when attempting to deploy 2nd default web app an error message comes up:
    Context path '/""' is already in use
    So, it appears that we can't associate a default web application with a virtual host. Any ideas on how to solve it?
    Our Environment:
    Weblogic version: 10.3 TP, Windows
    Many thanks
    Jason

    Is your webapp targetted to the correct virtual-host during deployment?It could be possible that your webapp is targetted to the default web-server instead of the virtual-host causing this error. Can you validate this from your config file?
    You can also configure default webapps for virtual hosts by setting the default-web-app-context-root element of virtual-host element in your config file

  • Web App and Virtual Host and Clustering

              Hi,
              How are you doing?
              What is the best way to deploy a web application using a virtual host on a clustered
              environment?
              Here is what we are doing:
              o Deploy the web application on the virtual host
              o Deploy the virtual host on the cluster
              o Make the web appliation, the default application on the virtual host
              This seems to work, but I have additional questions?
              In the above deployment, looking at the deploy tab for the web application shows
              that the application is deployed to both the cluster as well as the virtual host.
              Even though we didn't explicitly deploy to the cluster! What happens if we deploy
              explicity (i.e., target) the web application to the cluster?
              What other approaches / configurations are you guys using?
              Thank you so much,
              -Bart Simpson
              

    Never mind, I think I have a solution. Even though e-docs say that DefaultWebApp attribute at virtual host level was deprecated as of WL 8.1 (inline with Servlet 2.3 specification) one can directly edit config.xml file and add the attribute.
    For instance, here is an example to set webapp APP1 as a default webapp for virtual host vhAPP1:
    <VirtualHost
    Name="vhAPP1"
    DefaultWebApp="APP1"
    ... />

  • Office Web Apps for Hosted Environments

    Hi there,
    I have a some servers that host two different SharePoint Farms and currently one is connected to an OWA server -
    http://blogs.technet.com/b/justin_gao/archive/2013/06/30/configuring-office-web-apps-server-communication-using-https.aspx
    I want my second farm to use OWA too and was wondering if it is possible to use the same OWA server for this?  So, can I create two Office Web App Farms on the same server?

    Yes you can use OWA for multiple environments. You can refer to below links:
    http://social.technet.microsoft.com/Forums/en-US/78f678cb-69fc-48e6-9f4d-6985154f2d0c/office-web-apps-with-multiple-sp-farms?forum=sharepointadmin
    http://blogs.technet.com/b/office_resource_kit/archive/2012/09/11/introducing-office-web-apps-server.aspx
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • How to access non-default web app?

    Hello All,
    I have installed the trial version of WL 6.1 and am having a bit of trouble accessing
    any servlet that is not listed in config.xml as the WebServer's default web app.
    Here is our WebServer node from config.xml. What does this node even do? Do
    I need to configure a web server separately?
    <WebServer DefaultWebApp="ourApp"
    LogFileName="./config/TestServer/logs/access.log"
    LoggingEnabled="true" Name="TestServer"/>
    Besides configuring the applications in the admin console, what else do I need
    to do to be able to access my servlets? We had them running in a production version
    of tomcat and are trying to get them running inside of WL to no effect.
    TIA for any tips, answers, etc.
    Alex

    Hi.
    Try using the webapp name in your uri if it is not the default webapp. for example:
    http://host:port/myWebApp/myServlet
    Michael
    alex reuter wrote:
    Hello All,
    I have installed the trial version of WL 6.1 and am having a bit of trouble accessing
    any servlet that is not listed in config.xml as the WebServer's default web app.
    Here is our WebServer node from config.xml. What does this node even do? Do
    I need to configure a web server separately?
    <WebServer DefaultWebApp="ourApp"
    LogFileName="./config/TestServer/logs/access.log"
    LoggingEnabled="true" Name="TestServer"/>
    Besides configuring the applications in the admin console, what else do I need
    to do to be able to access my servlets? We had them running in a production version
    of tomcat and are trying to get them running inside of WL to no effect.
    TIA for any tips, answers, etc.
    Alex--
    Developer Relations Engineer
    BEA Support

  • Deploy jsp page on default web app

    Hi,
    I have migrated from oracle application server 10g to oracle weblogic server 11g. howerver, I have a jsp page to be displayed as a welcome page to our application. In version 10g we used to deploy this jsp on $ORACLE_HOME/j2ee/home/default-web-app folder. but now after migration I'm unable to display this JSP page although this directory exists in version 11g. does anyone know what's the web context root for this folder?also in version 10g there was a folder called $ORACLE_HOME/j2ee/home/applib. I cannot find this folder anymore.
    thanks

    You can follow the below link to make your Application as a Default-Web-App in WebLogic 11g ...
    http://jaysensharma.wordpress.com/2010/04/06/configuring-a-default-application-in-weblogic/
    Please specify <welcome-file> Tag in *"web.xml"* as well...
    <welcome-file-list>
    <welcome-file>YourWelcomePage.jsp</welcome-file>
    </welcome-file-list>

  • How to set the default web site for WGM users

    Hi,
    In Tiger server there was a place to input the URL of the default web page for all browsers when users logged into network home folders. This was really helpful and saved a bunch of bandwidth and class time. Is there any way to do this in Leopard server? If so, please point me in the right direction.
    Thanks,
    ..Tom

    Antonio, Thanks! That seems to have worked for Safari. However, we like Firefox too, and I tried to set that up the same way, but was told "can't find a manifest for that app". I wonder if I can copy the Safari list then alter and rename it?
    ...Tom

  • Using default web interface for users

    I wish to use the default web interface for my users, I do not have the time to develop a custom app. I wish to get rid of the group and and mount point folders.
    Please Help,
    Jeff

    CM SDK 9.0.4 (released very shortly) includes the "Web Starter Application". This is a J2EE Web Application with full MVC architecture and completely open source!
    You may be able to obtain this application sooner from Oracle Consulting - it will work on the current CM SDK 9.0.3.
    JSP and Tag Libraries make up the UI. The controller framework is similar to Jakarta Struts. It offers localization support, ADA compliance etc.
    You can easily develop the application from JDeveloper and deploy to 9iAS.
    Matt.

  • Does Firefox allow use of full Outlook Web App for e-mail. If yes how do I switch from light to full?

    My e-mail is available throuhg Outlook Web App for microsoft Exchange and since I chose Firefox as my default browser I can only get the light version. Does Firefox not support the full version of Outlook Web App for windows 7

    Firefox simply tells the operating system to use the default mail client, so whatever the default is, that will be used.

  • How can I create a magazine web app for all devices?

    How can I create a magazine web app for all devices?

    magazine web app is not supported in DPS as of now. You can share the contents to preview it on web content viewer.

  • I am using OSX 10.9.5 and Outlook Web App for emails. When I download an attachment it replaces the space in the file name with   - how can I change this?

    I am using OSX 10.9.5 and Outlook Web App for emails. When I download an attachment it replaces the space in the file name with %20  - how can I change this?

    Click on the below link :
    https://get.adobe.com/flashplayer/otherversions/
    Step 1: select Mac OS  X 10.6-`0.`0
    Step 2 : Safari and FIrefox
    Then click on " Download Now"  button.

  • How do I make Photoshop the default Edit App for .jpg in Windows 7?

    How do I make Photoshop the default Edit App for .jpg in Windows 7?    I want to be able to right click on a .jpg file, select the EDIT option in the Context Menu, then have Photoshop edit the file instead of Paint.
    In Windows XP it was very easy to use the File Manger to associate the file type .jpg and action edit with Photoshop.    No so easy in Windows 7.  It is easy to change the default OPEN application, but I would like to leave Windows Viewer as the default OPEN application and have Photoshop as the EDIT applicaiton.

    Before I posted the original question here, I had probably spent a couple of hours trying to research it.   I hate to find no answer for something I know can be done.   So I spent some more time and found the following in the bowels of a Tech Forum that is generally way over my head.  I have modified it to be Photoshop specific.
    These instructions will update the default EDIT action for image types - jpg,png,gif and the variations.     If you are unfamiliar with editing the program registry you probably will want to back up your registry or take a system backup.
    1. Open up the registry editor (Regedit.exe).
    You will need to be signed on as a Windows user that is an administrator
    2. Find HKEY_CLASSES_ROOT -> SystemFileAssociations -> image ->  shell -> edit -> command
    This seems like it would be easy but it is not, because there are many key names that are very close (like System.FilesAssociations).   Keep looking because you will find it eventually. 
    3. Double click on "Default" (on right window pane) and update the program location.
    You should see that MSPAINT.EXE is the current program.
    Erase the existing value and enter you photoshop location in quotes followed by %1 in quotes.  For me this is "C:\Program Files  (x86)\Adobe\Adobe Photoshop CS4\Photoshop.exe" "%1"  
    Hit return.
    4.  Exit Regit and test.

  • No vector images in web-app for iPhone !?

    Hello
    I am developping a web-app for the iPhone
    as the bandwith is low (in edge mode) I want to use vector images instead of bitmaps (gif, png ...)
    - but flash (.swf) is not supported
    - SVG is not supported, only Canvas is supported
    - but no "Canvas editor" is available (I don’t want to draw icones using hundreds of javascript lines ! )
    - and no "SVG,SWF -> Canvas" convertor is available
    Am I wrong ?
    Is there any solution ?
    Is 1.1.3 now solving the problem (SVG now supported ?)
    thank you for your help
    Michel

    additional remark:
    I made some tests, a vectorized icon could be 30 times smaller (and therefore faster to load) than its ".png" version !
    15ko in edge mode = about 1 second to wait ...

  • Exception caught by adapter framework: No configuration / default adapter specified for EDISeparator

    Hello Experts,
    I am configuring the scenario ( AS2 to EDISeparator and EDISeparator to IDOC ).
    Can you please help me with the error below which is from the either the EDISeparator Receiver channel or the EDISeparator Sender channle.
    09.06.2014 17:52:18.709
    Information
    Message is encrypted with 1.3.14.3.2.7 algorithm
    09.06.2014 17:52:18.778
    Information
    AS2 Message is signed with SHA1 (1.3.14.3.2.26) algorithm
    09.06.2014 17:52:18.779
    Information
    AS2 Message message signature is validated, signer ID is X509CertSelector: [ Serial Number: 1624063516 Issuer: CN=Mendelson AS2 TEST,OU=Integration,O=Mendelson,L=Berlin,ST=Unknown,C=GE matchAllSubjectAltNames flag: true ]
    09.06.2014 17:52:18.784
    Information
    AS2 document size is 350 Bytes
    09.06.2014 17:52:18.784
    Information
    Payload charset converted from ISO-8859-15 to ISO-8859-15
    09.06.2014 17:52:18.785
    Information
    B2B EdifactConverterModule : EDI format detected as EANCOM
    09.06.2014 17:52:18.785
    Information
    B2B EdifactConverterModule: Message will be read as ISO-8859-1.
    09.06.2014 17:52:18.785
    Information
    MP: processing local module localejbs/EdifactConverterModule
    09.06.2014 17:52:18.785
    Information
    0}: The module-paramteter "eancom.subversion.prefix" is not set. Using default value "false"
    09.06.2014 17:52:18.786
    Information
    0}: The module-paramteter "eancom..audit" is not set. Using default value "false"
    09.06.2014 17:52:18.791
    Information
    MP: processing local module localejbs/CallSapAdapter
    09.06.2014 17:52:18.791
    Information
    Application attempting to send an XI message asynchronously using connection AS2_http://sap.com/xi/XI/AS2
    09.06.2014 17:52:18.792
    Information
    Trying to put the message into the send queue
    09.06.2014 17:52:18.831
    Information
    Message successfully put into the queue
    09.06.2014 17:52:18.831
    Information
    The application sent the message asynchronously using connection AS2_http://sap.com/xi/XI/AS2. Returning to application
    09.06.2014 17:52:18.836
    Information
    MIC (DeJYUIusqQj6aaYRASdHhAo+4J0=) is calculated using SHA1 algorithm.
    09.06.2014 17:52:18.838
    Information
    The message was successfully retrieved from the send queue
    09.06.2014 17:52:18.843
    Information
    Message status set to DLNG
    09.06.2014 17:52:18.845
    Information
    MDN is succcessfully signed with SHA1 (1.3.14.3.2.26) algorithm
    09.06.2014 17:52:18.859
    Information
    Trying to put the message into the send queue
    09.06.2014 17:52:18.912
    Information
    Message successfully put into the queue
    09.06.2014 17:52:18.913
    Information
    The message was successfully retrieved from the send queue
    09.06.2014 17:52:18.918
    Information
    Message status set to DLNG
    09.06.2014 17:52:18.961
    Information
    Trying to put the message into the send queue
    09.06.2014 17:52:19.001
    Information
    Message successfully put into the queue
    09.06.2014 17:52:19.001
    Information
    The message was successfully retrieved from the send queue
    09.06.2014 17:52:19.006
    Error
    MP: exception caught with message No configuration / default adapter specified for EDISeparator
    09.06.2014 17:52:19.006
    Information
    Delivering to channel: B2BSE00002_O2C_ORDERS_VANS_PO_WRITE_EDISeparator
    09.06.2014 17:52:19.006
    Information
    Message status set to DLNG
    09.06.2014 17:52:19.009
    Error
    Exception caught by adapter framework: No configuration / default adapter specified for EDISeparator
    09.06.2014 17:52:19.010
    Error
    Transmitting the message to endpoint <local> using connection AS2_http://sap.com/xi/XI/AS2 failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: No configuration / default adapter specified for EDISeparator
    09.06.2014 17:52:19.015
    Information
    The asynchronous message was successfully scheduled to be delivered at Mon Jun 09 17:57:19 CEST 2014
    09.06.2014 17:52:19.015
    Information
    Message status set to WAIT

    Hello Ruchir Sinha and Dimitri Sannen,
    I think I have progressed a bit. Just unsure of the usage of the Module configuration .I now get a new error (see below) and the updated config details are :
    Sender Interface :
    Receiver Interface :
    Sender AS2 config :
    Receiver EDISeparator config :
    Sender EDISeparator config :
    Receiver IDOC config :
    IDoc details configured but not added in this document
    16.06.2014 11:52:35.414
    Information
    The message was successfully retrieved from the send queue
    16.06.2014 11:52:35.420
    Information
    Delivering to channel: B2BSE00002_O2C_ORDERS_VANS_PO_WRITE_EDISeparator
    16.06.2014 11:52:35.420
    Information
    MP: processing local module localejbs/ModuleProcessorExitBean
    16.06.2014 11:52:35.420
    Information
    Message entered AF MP exit bean and will now be passed to the JCA adapter
    16.06.2014 11:52:35.420
    Information
    Message status set to DLNG
    16.06.2014 11:52:35.433
    Information
    UNA segment UNA found
    16.06.2014 11:52:35.444
    Information
    Parsed UNB segment 333333333/014 to 111111111/014
    16.06.2014 11:52:35.445
    Information
    Parsed UNH segment ORDERS D96A
    16.06.2014 11:52:35.514
    Information
    Searching sender channel for Eancom message part message with Message type ORDERS, Message version number D, Message release number 96A, Interchange sender identification 333333333, Interchange sender identification code qualifier 014, Interchange recipient identification 111111111, Interchange recipient identification code qualifier 014, Message Subversion EAN008, Message Agency UN
    16.06.2014 11:52:35.579
    Information
    Sender channel (Channel) keys: ObjectId=7abf551ddbb638268f91af80ec1c04c8 values: ToPartySchema= Attributes=(Attributes:Channel:EDISeparator:INBOUND) values: edisep.advanced=false snd.interchangeSenderId=.* snd.tradacommessagetype=.* snd.xpath= snd.xpath.value= snd.filterCondition=equal snd.edifactMessageReleaseNumTxt= snd.tradacomMessageTypeUsingFreeText=false snd.eancomMessageReleaseUsingFreeText=false snd.eancomMessageVersionFreeText= snd.odetteMessageType=.* snd.edifactMessageVersion=.* snd.xml.splitPath=null snd.eancomMessageVersion=.* snd.odetteMessageVersion=.* snd.edifactMessageRelNumUsingFreeText=false snd.otherVersionReleaseIndustryIdentifierCodeEnabled=false adapterStatus=active snd.vdaMessageType=.* snd.eancomCONTRLMessageRelease=3 snd.odetteMessageTypeTxt= snd.tradacommessageversion=.* snd.edifactMessageVerNumUsingFreeText=false snd.edifactMessageTypeUsingFreeText=false snd.xpathUsingFreeText=false snd.interchangeSenderIdCode=.* snd.otherVersionReleaseIndustryIdentifierCode=.* snd.odetteMessageTypeUsingFreeText=false snd.tradacomreccode=.* snd.edifactMessageVersionFreeText= snd.edifactInterchangeRecipientIdentification=.* eoio.sequenceId= snd.edifactMessageTypeTxt= snd.odetteMessageVerNumUsingFreeText=false snd.eancomMessageVerNumUsingFreeText=false snd.interchangeReceiverId=.* snd.eancomMessageRelease=.* snd.tradacomsendername=.* snd.tradacomMessageTypeTxt= snd.vdaLieferantenNummer=.* snd.interchangeReceiverIdCode=.* snd.edifactInterchangeSenderIdentificationCode=.* snd.odetteMessageVersionFreeText= snd.versionReleaseIndustryIdentifierCode=.* snd.edifactInterchangeSenderIdentification=.* snd.edifactMessageType=.* snd.eancomMessageType=.* snd.xpathTxt= snd.vdaMessageTypeTxt= deliverySemantics=eo snd.eancomMessageReleaseTxt= snd.plainmessagetype=.* snd.xml.split=false snd.edifactMessageRelease=.* snd.vdaMessageTypeUsingFreeText=false snd.tradacomrecname=.* edisep.addParameterParams=TableData: edisep.addParameterParams {} snd.encoding=iso885915 snd.vdaKundenNummer=.* snd.tradacomsendercode=.* snd.edifactCONTRLMessageRelease=3 snd.edifactInterchangeRecipientIdentificationCodeQualifier=.* snd.transactionSetIdentifierCode=.* Service=ASJAVA_DX5 Channel=B2BSE00002_O2C_ORDERS_PO_ECC_READ_EDISeparator EngineType=CA Party= TransProt=XI TransProtVers=1.0.0 FromPartySchema= FromPartyAgency= Direction=I MsgProt=EANCOM MsgProtVers=1.0.0 EngineName= AdapterType=EDISeparator AdapterSWCV=06c536e6fafe11e0bb1cea8f0a4290b1 ToPartyAgency= AdapterNamespace=http://sap.com/xi/XI/EDISeparator found. New message ID is f18894a8-f53b-11e3-a748-00001e96c7e2
    16.06.2014 11:52:35.586
    Error
    MP: exception caught with cause javax.resource.ResourceException: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: Error during processing local class: localejbs/GenericConverterModule
    16.06.2014 11:52:35.586
    Error
    Message could not be forwarded to the JCA adapter. Reason: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: Error during processing local class: localejbs/GenericConverterModule
    16.06.2014 11:52:35.590
    Error
    Exception caught by adapter framework: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: Error during processing local class: localejbs/GenericConverterModule
    16.06.2014 11:52:35.591
    Error
    Transmitting the message to endpoint <local> using connection AS2_http://sap.com/xi/XI/AS2 failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: com.sap.aii.adapter.ediseparator.ra.integration.DispatchException: Message cannot be dispatched: Message cannot be dispatched: Error during processing local class: localejbs/GenericConverterModule

Maybe you are looking for