How to configure multiple virtual hosts for the same context root /

Hi,
I am using Glassfish V1 U1 - b14 on Solaris.
I am trying to configure two applications to be mapped to the / root context, each one in its own virtual host.
Two things I have noticed:
1. I have to manually add virtual-hosts="hostId" in domain.xml/application-ref ... looks like just simply deploying the app does not do that although the application is set as default for its particular virtual host. Is this a bug?
2. Although I have set for each virtual host the default web-app correctly, and they both respond fine, I cannot map both of them to the / context. The second application (chronologically deployed) does not respond when called with the / context ....
Any ideas? Is this a bug again?
Regards,
Rares
Message was edited by:
raresp

Wow, that's a shame. All mighty Application Server and two different apps on two different virtual hosts are considered ambiguous to have the same context root definition.... Fair play to Tomcat and 90% of the rest of servlet containers!
In my case I have the same EAR we are planning to deploy to many (up to 30) virtual hosts. Faking different context roots for each deployment will bring unnecessary overheads...
Should I file a bug or feature request?
Thanks again for your answer, although you're basically saying it is not possible I will wait and look a while for a possible solution before bringing this topic to a conclusion.

Similar Messages

  • How to handle Multiple date formats for the same date field in SQL*Loader

    Dear All,
    I got a requirement where I need to get data from a text file and insert the same into oracle table.
    I am using SQL*Loader to populate the data from the text file into my table.
    The file has one field where I am expecting date date data in multiple formats, like dd/mon/yyyy, yyyy/dd/mon, yyyy/mon/dd, ,mm/dd/yyyy, mon/dd/yyyy.
    While using SQL*Loader, I can see Loading is failing for records where we have formats like yyyy/dd/mon, yyyy/mon/dd, mon/dd/yyyy.
    Is there any way in SQL*Loader where we can mention all these date formats so that this date data should go smoothly into the underlying date column in the table.
    Appreciate your response on this.
    Thanks,
    Madhu K.

    The point being made was, are you sure that you can uniquely identify a date format from the value you receieve? Are you sure that the data stored is only of a particular limited set of formats?
    e.g. if you had a value of '07/08/03' how do you know what format that is?
    It could be...
    7th August 2003 (thus assuming it's DD/MM/RR format)
    or
    8th July 2003 (thus assuming it's MM/DD/RR format)
    or
    3rd August 2007 (thus assuming it's RR/MM/DD format)
    or
    8th March 2007 (thus assuming it's RR/DD/MM format)
    or even more obscurely...
    3rd July 2008 (MM/RR/DD)
    or
    7th March 2008 (DD/RR/MM)
    Do you have any information to tell you what formats are valid that would allow you to be specific and know what date format is meant?
    This is a classic example of why dates should be stored on the database using DATE datatype and not VARCHAR2. It can lead to corruption of data, especially if the date can be entered in any format a user wishes.

  • How to configure Apache Virtual Hosts?

    Hi, I was wondering, how does configure Apache virtual hosts for Mac OS X Client 10.4.5? At this time, I have added
    NameVirtualHost *:80
    <VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /Library/WebServer/Documents/janus
    ServerName janus.php.test
    ErrorLog /private/var/log/httpd/janus.php.com-error_log
    CustomLog /private/var/log/httpd/janus.php.com-access_log common
    </VirtualHost>
    Finally, when I try to use the name in the browser, I get the following error message:
    Safari can’t find the server.
    Safari can’t open the page “http://janus.php.test/” because it can’t find the server “janus.php.test”.
    Well, I must go and thanks in advance.
    Peace,
    -Conrad

    If you want to use the fqdn you defined and can/do not want to register it as a Internet Domain you can add it to the hosts file in /etc/hosts if you are comfortable using terminal and the shell
    open a terminal
    and use the following commands
    cd /etc
    sudo vim hosts
    (you will be prompted for your password here, enter it and hit return)
    in vim scroll to the last line which will look like
    ::1 localhost
    type
    i
    (you are now in insert mode)
    type the following line
    192.168.0.15 janus.php.test
    (replace the ip address with the ip address of the host in question)
    hit Control-C
    type
    :w (vim will confirm in the last line)
    type
    :q
    you are back at the terminal
    test your new hosts file by typing
    ping janus.php.test
    Hope this helps
    Mike

  • How to configura multiple ldap server to the sun access manager

    Hi,
    please help how to configure multiple ldap server to the sun access manager, for example access manager does't find the user in ldap1 then it should search in ldap2.
    Thanks
    Mouli

    There�s no need for deleting the default amSDK based datastore because it�s needed for some default accounts.
    You may try to create the datastore using the commandline (amadmin)
    Have a look /etc/opt/SUNWam/config/xml/idRepoService.xml
    You may also try to create amadmin account in the external ldap directory.
    (Un)fortunately i�ve never tried to remove the default datastore.
    -Bernhard

  • How to create multi garnishment order for the same garnishment document

    Hi,
    Can anyone tell me how to create multi garnishment order for the same garnishment document. I tried to copy the entry in IT0195 but the sequence field is grayed out so it will just delete the old record. What configuration should I do to make this possible?
    Thanks a lot in advance.

    hi,
    As far as I got it.
    You cannot have multiple Garnishment order but if a need arises you have to maintain it in IT216.
    For that follow this path goto PA30->pernr->194->change->Garnishment->adjustment.
    Since like order you cannot maintain adjustment also directly.
    Regards,
    Amit
    Reward all helpful replies.

  • How to set up 2 agreements for the same From,To,DocType,Version in B2B11g

    Hi
    I am having an issue in configuring more than one agreement for the same DocType, Version, From and To partner in Oracle B2B11g.
    When I click "Valid" button on the second agreement it errors out saying duplicate agreement is found for the same DocType, Version, From and TO partners.
    Is there any mechanism to over ride this?
    We need to have multiple agreements created for the same To Partner, From Partner, Doc Type and Version. Otherwise we will end up creating multiple partners which is a real pain.
    Multiple agreements are required because we have to set up different Interchange and Group IDs for each transaction.
    -Sriharish.
    Edited by: 840696 on Mar 1, 2011 7:30 AM

    You can not have two agreements for same From TP,To TP,DocType & DocType revision combination in B2B 11g.
    Multiple agreements are required because we have to set up different Interchange and Group IDs for each transactionIs this requirement for outbound or inbound? You may send Internal Properties from back-end to override envelope parameters in Oracle B2B in case of outbound -
    B2B 11G Outbound EDI Envelope Override
    http://www.b2bgurus.com/2008/09/internal-properties-in-oracle-b2b.html (this blog is for 10g, so read concept only, not settings)
    In case of Inbound, TP identification can be done on the basis of exchange, interchage, group. So if any of this can be same then you may have single agreement. Make sure to enable property "Functional Ack Internal Properties" on B2B console (Administration --> Configuration)-
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10229/bb_config.htm#CEGEADFJ
    Regards,
    Anuj

  • Multiple shipping addresses for the same supplier (depending on the symbol)

    Hello ,can we set up multiple shipping addresses for the same supplier (depending on the symbol)?
    .& How..
    Thanks

    a delivery adedress has nothing to do with a certain supplier, except you are talking about subcontracting (do you?)
    a delivery address specifies an address where you want the supplier to send the goods to.
    if it is a third party PO, then the delivery address is derived from ship-to partner of the sales order.
    in case of a standard order to stock, the delivery address is coming from the storage location address (if maintained). if no storage location address is maintained, then SAP takes the address from your plant.
    You can manually add a delivery address in MEAN transaction and then manually assign in POs delivery address tab.
    here you can as well take the address from any address already in your system (e.g. any customer or vendor).

  • Oracle XE on multiple virtual machines on the same physical machine?

    hi,
    does oracle's licensing for 11g express edition prohibit running XE databases on multiple virtual machines on the same physical machine? if not, does the machine have to be "hard partitioned" per oracle specifications (link below) to make it legal?
    http://www.oracle.com/us/corporate/pricing/partitioning-070609.pdf
    i found a similar question regarding 10g express edition in the forum (link below), but it doesn't seem like the question was ever definitively answered.
    Oracle XE on multiple virtual machines on the same physical machine?
    thanks

    I thought until I just checked that this was a clear cut no in that it specifies 'a single server'. Now I'm not sure as 'server' is an amibuous term. I at least know that as soon as you start giving developers access to theor own XE instance for dev/testing that there are many VM environments where you can't really know what physical macine your VM is running on to actually be able to tell if you had multiple XE instances running on a single 'Physical' server. I'm not sure the question has been answered by Oracle though.

  • Can I have multiple iTunes accounts for the same Ipod?

    Can I have multiple iTunes accounts for the same Ipod? What I mean is can I use multiple iTunes accounts through the same iPod for buying stuff?

    I believe you're limited to syncing DRM'd items from 5 different accounts.
    tt2

  • Same material can exist on multiple line items for the same order.

    Hi
    Is there any specific customising setting or web shop setting through which we can restrict user to add same material on multiple line items for the same order ?
    Regards

    No.
    But if this is a must requirement, you can do an elaborate check during order save in ORDER_SAVE BAdI and return error. So, it will be only during order save.
    Eawar Ram
    http://www.parxlns.com

  • Ability to open multiple SQL Worksheets for the same connection

    Hi,
    Please allow the ability to open multiple SQL Worksheets for the same connection, now only one can be opened.
    Thanks

    Logged Bug 9000801 - ea1: otnforum: worksheet launcher does not remember the last/default connection
    -Raghu

  • UWL - System doesnt support multiple tasks assignment for the same assignee

    Hi all,
    we have some tasks coming from our back- end system. When a certain task needs to be substituted to a colleague, no problem ... for one task. When we wish to assign him a second task, we get following message :
    <i>System does not support multiple tasks assignment for the same assignee</i>
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/0b/1fc20097b74c41b38621ec2a9454bb/frameset.htm">help.sap.com - substitution</a> :
    <i> System does not support multiple tasks assignment for the same assignee 
    For example: User can only assign one task to an assignee at a time in workflow.
    Collaboration Task does not support other tasks at all.</i>
    Is substitution only limited to one task per person? What would be a workaround? It's possible to create for each combination of tasks a definition in the back- end which is available from the substition drop down list, but this is not what our customer would like to see.
    Many thanks,
    Kevin

    Hi Boris,
    we're using the WebflowConnector.
    Thanks,
    Kevin

  • E4200 v2 - Uses multiple MAC addresses for the same device

    This unit seems pretty good at first but on looking at the Web interface I noticed that it was using multiple mac addresses for the same device and showing devices on the lan on the Wireless side and other odd things.
    After a week of running it the home server network started to get erratic, it would seem to all point to dns and dhcp issues in the router.
    Seems the V1 had the same issues that they did not fix on this.
    The Cisco connect software shows 5 devices the Web based utility shows 3??.
    Its pretty bad that they charge nearly $200 and cannot be bothered to finish the unit or address the issues that were in V1.

    I am afraid I didn't get the clear picture of the issue mentioned in the post. Could you please elaborate a little bit? If you connect a device/computer wired and then later you connect it wirelessly. It is obvious that you would get to see two different MAC addresses for the same device, one for the LAN adaptor and other one for WLAN adaptor. If that is what you are referring to?
    Secondly, may I  know, what issues did you face with DNS and DHCP in the router? Is it not able to resolve the DNS or something else or DHCP is not sending IP address to the clients?

  • Hi experts, how i can make confirmed quantity for the same day ???

    Hi experts, how i can make confirmed quantity for the same day ???
    regards,
    uday

    Hi Joao/ Phani,
    I have created a sales order in my IDES system with VA01 today and the delivery dates is confirmed for tomorrow ie 21st.
    My Question is how can i change the confirmed delivery date for the same day ???

  • How to create  an alternative bom for the same product

    Hi expert,
       I want to know how to create an alternative bom for the same product. Can i use the different bom usage to create or use the same bom usage? In addition, how can i use the production version to link the alternative bom for the same product?
    Please help me solve the problem.
    Thanks in advance for any assistance.
    George shi

    HI
    you can go with t-code CS01
    if you have the BOM already and you want to create the alternative BOM then just goto create BOM
    and enter the material and plant and uasge system will auto matically prapose the next numner ie, if you have Alt BOM1
    then next system will prappose 2.
    then you can enter the components as per you requirement
    if you go to different BOM usage then sytem will not go for alternative BOM it gives again alt bom 1.
    prodcution version you need to craet from mateial master
    each version you can go woith alternative BOMS
    Version 1 will have alt BOM1
    Version 2 can haev ALT BOM2
    -ashok

Maybe you are looking for

  • IPhoto crashes every time i try to import!!!

    I just finished uninstalling and reinstalling iPhoto and then updating all the software updates because the application was crashing every time I opened it.  Well, now it'll open but crashes when I try to import something.

  • Input ready Query - Issue

    Hi gurus, We are on Stack 14 Bi 7.0 and when I create a query on Query designer  and try to switch to Plan mode , it appear by defult in dis[play mode. Even on a key figure to enable it plannble all options appear in display mode . i cannot select Da

  • Delete of collection results in "not managed by this PersistenceManager"

    Hello there, I have a object A with a collection of B objects. What I do is: 1. I create an A with serveral Bs (and comitt) 2. With a query, I select one B and delete it (and commit) 3. When I now re-query for A and it's Bs I get a javax.jdo.JDOUserE

  • Isight in imovie

    hi! probably a dumb question but i really am no techie and i tried to look for it in the tutorials but i couldn't find it. i'd like to record a simple video blog on imovie hd using my built in isight. how do i go about doing this? i have no idea wher

  • Prevent Finder from being killed

    Hi all - Is there a way to prevent Finder from being killed when I 'accidentally' Cmd-Q it?  It is really frustrating to have to relaunch it all the time.