GetRealPath() -- where does the search start?!

Does anyone know what directory the search starts from?
Does it start from the root of your web app? (Is what I'm guessing)
Any information on this would be great.
Thanks in advance,
b2s

Also, is using this method very reliable?
The reason I am asking is i am currently having to store the file path in a property file. Which is ok, if my development, test, and production servers would all have the same name.......yea they don't and they never will. So I want to use this method so the machine won't matter.
Granted I've read that this method won't work for WAR deployments. Meaning the app is never extracted from the WAR file when deployed to the server. Which in my case we are currently extracting the WAR files.
Thanks,
b2s

Similar Messages

  • Where does the search service expect to build its index?

    I installed SP 2013 on a non-system drive.
    When I installed SP 2007 and 2010, I also had to specify that logs and search indexs were to be built on the non-system drive, but it was really simple - just a few mouse clicks - to do so.
    When I am installing the SP 2013 search service, I don't see any way to modify the topology so that I can specify that the index should be built on the non-system drive.
    When I try searching the web, I see various powershell scripts of 20-40 lines of code that claim to be needed to do this.
    Surely I am missing something obvious.
    It seems so obvious to me that if I install SP 2013 on a D: drive, then the D: drive should be where logs and indexing goes - and if I want it on a different non-system drive, there should be a simple way to accomplish that.
    I am hoping that my searches have once again led me astray, missing the simple answer.
    Can someone help me find the simple way to accomplish there?
    Thank you!

    Hello,
    The configuration of search has changed somewhat now that FAST search is integrated into the platform. One of the main changes is the Search Topology configuration:
    http://technet.microsoft.com/en-us/library/jj219705(v=office.15).aspx
    It gives you a lot more power and allows you to scale out your search environment.
    You can use PowerShell to reconfigure the search topology as you have discovered. One of the scripts I have used before is:
    http://gallery.technet.microsoft.com/office/Move-SharePoint-2013-242869e2
    which seems to do the job quite nicely. Definitely not as easy as it used to be in SharePoint 2010, but the reasons are to provide more scale and availability of a search infrastructure in SharePoint 2013.
    Regards,
    Gavin McKay

  • Where does one search for ALL the APPS that are available?

    Where does one search for All the apps that are available ?

    If you don't see any messages, not have anti-malware running or the Firewall on, try installing the Mac OS X 10.6.8 Update Combo
    It's ok to do this even though you are already running v10.6.8 (according to your profile).
    Restart your Mac after the combo in installed, try the App Store.
    Also... if you have an app called Little Snitch installed, that can prevent a connection to the App Store.

  • When there are several tabs open, why does the search always take place on the 2nd tab (the first tab seems never to change from the home page) despite my selecting a different tab in which to do a google search?

    I have Mozilla Firefox 10.0. When I open it, it correctly opens on the homepage in the first tab. Once I have another, or several, tabs open, no matter which tab is active, any google search I do immediately takes place in tab No 2. It doesn't seem to matter how many times I go to e.g. tab 4 to do a search (because I wish to compare with the webpage open in tab 2), yet it always now does the search in tab 2. This is very irritating. There must be some setting that has gone pear-shaped, but where/which? Any suggestions? Thanks.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Where does the ipad back up stored

    where does the ipad back up stored

    iTunes places the backup files in these locations:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Note: To quickly access the Application Data folder, click Start > Run. Type %appdata% and click OK.
    Windows Vista Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    Note: To quickly access the AppData folder, click Start, type %appdata% in the search bar, and press the Return key.
    Windows 8: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    Note: To quickly access the AppData folder, move the cursor to the upper-right corner, click the magnifying class, type %appdata%, and press the Return key.

  • I'm trying to use Dictation.  Where does the text go, and how can I retrieve it?  Thank you.

    I'm trying to use Dictation.  Where does the text go, and how can I retrieve it?  Thank you.

    You dictate after you open a blank page in any text editor. The text goes on the page.
    You can use Text Edit for example (in your applications folder).
    With the blank page open, go to the Edit menu and select Start Dictation. When you are finished, you save the file as you would any other document. You can retrieve it, edit it or anything else you want, because it is a file like any other you create with that text editor.

  • Where does the converted document get saved to?

    After the PDF doc is converted to word and I hit save, where does the saved/converted document end up?

    Wherever your browser is configured to save files to by default or the location you select.
    I would suggest searching for the file name (without extension) through Windows Search or Spotlight.
    If you're having difficulty saving the files at all, I'd suggest trying the troubleshooting steps outlined here: http://forums.adobe.com/docs/DOC-1831
    Let us know how it goes!
    -David

  • Where does the BPEL project goes when deployed to a Linux server?

    Hi,
    Where does the BPEL project goes (I need the path) when deployed from JDeveloper into a Linux server?
    Also I would like to know the file name. We have been searching for a *.jar file but we cannot find it.
    Please help.
    Amorsolo

    And also, one zip file with size 0KB get created under$ORACLE_HOME$ \integration\esb\oraesb\deploy.
    This will be named *'bpelservice_+<yourdomainname>+_<processname>'*
    Edited by: Arjun_M on Sep 10, 2009 6:13 AM
    Edited by: Arjun_M on Sep 10, 2009 6:13 AM
    Edited by: Arjun_M on Sep 10, 2009 6:13 AM

  • Where does the iPhoto library reside?

    Where does the iPhoto library reside on your hd?  when I go to the search bar above, it shows 2 libraries!  I am about out of hd space so I am hoping that it has been duplicated somehow.  It's about 36GB. =)
    Thanks for your help!
    MK

    By default it's in your Pictures Folder.
    If space is an issue you can move the Library to an external disk:
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Where does the logging in RDBMSRealm go  --and-- are some JavaDocs missing?

    I see that a LogOutputStream is created in the example
    class RDBMSRealm, but where do all of the log
    statements go. The LogOutputStream is created as:
    log = new LogOutputStream("RDBMSRealm");
    but I do not see and file called RDBMSRealm and/or
    I do not see the log statements on stdout.
    BTW, I do have logging set to the most detailed
    level (Info) from the console if this matters.
    Also, are there some JavaDocs missing from
    Weblogic's Reference website at
    http://edocs.bea.com/wls/docs60/javadocs/index.html
    LogOutputStream is an example. I do not see the
    class when I select the package
    weblogic.logging.
    Where is it?
    Much Thanks
    Bill Ralenkotter.

    Thanks Terry,
    Sorry, I should have mentioned that I am using WL6.0.
    Does anyone know what I need to do to get the RDBMS Realm log to start on
    WL6.0.
    About the missing JavaDocs: Also, if I am doing development using these
    classes I still do not
    understand why they are not on the 6.0 refernce site!
    About the missing JavaDocs,
    I see java docs for a lot of classes, but what document do I use that
    helps me to understand the entire framework? The Programming
    Weblogic Security does give this information.
    Example question: how do I get a reference to the realm to create
    users? Should I even be doing this?
    Thanks for your help.
    Bill.
    "THorner" <[email protected]> wrote in message
    news:B4D7B3CBF165D311844100C04F4E3E1B031246@DANCERACE01...
    If you are using WLS5.1 you much set the property
    weblogic.security.realm.debug=true
    then this information will be sent to stdout. This is set to false by
    default, as there is a lot of information, and it is a big performance
    hit.
    I think weblogic likes to avoid some of its APIs being public, which is
    annoying at times, but probably reasonable
    terry
    -----Original Message-----
    From: Bill Ralenkotter [mailto:[email protected]]
    Posted At: Thu 03 May 2001 16:00
    Posted To: weblogic.developer.interest.security
    Conversation: Where does the logging in RDBMSRealm go and are some
    JavaDocs missing?
    Subject: Where does the logging in RDBMSRealm go and are some
    JavaDocs missing?
    I see that a LogOutputStream is created in the example
    class RDBMSRealm, but where do all of the log
    statements go. The LogOutputStream is created as:
    log = new LogOutputStream("RDBMSRealm");
    but I do not see and file called RDBMSRealm and/or
    I do not see the log statements on stdout.
    BTW, I do have logging set to the most detailed
    level (Info) from the console if this matters.
    Also, are there some JavaDocs missing from
    Weblogic's Reference website at
    http://edocs.bea.com/wls/docs60/javadocs/index.html
    LogOutputStream is an example. I do not see the
    class when I select the package
    weblogic.logging.
    Where is it?
    Much Thanks
    Bill Ralenkotter.

  • Where does  the control moves at first at END-OF PAGE  or  END-OF-SELECTION

    Is END-OF PAGE triggered  like TOP-OF-PAGE from the AT-SELECTON-SCREEN  automatically with a write statement & where does  the control moves at first
    at END-OF PAGE  or  END-OF-SELECTION?

    Hi,
    1. End-of-selection:
    This event is triggered after the start-of-selection. to display the contents on the report.
    2.Top-of-page: Every time a new page is triggered. Mainly this is used for header of the report.
    3. End-of-page : every time the list data reaches the footer region of the page.
    This way first data is disaplyed then it reaches the footer..
    first End-of-selection then End-of-page
    These example may help u in detail...
    Leaving Event Blocks Using STOP
    If you use the STOP statement within an event block, the system stops processing the block immediately. The ABAP runtime environment triggers the next event according to the following diagram:
    Before and during selection screen processing, the next event in the prescribed sequence is always called. From the AT SELECTION-SCREEN event onwards, the system always jumps from a STOP statement directly to the END-OF-SELECTION statement. Once the corresponding event block has been processed, the system displays the list.
    The following program is connected to the logical database F1S.
    REPORT EVENT_TEST.
    NODES: SPFLI, SFLIGHT, SBOOK.
    START-OF-SELECTION.
    WRITE 'Test program for STOP'.
    GET SBOOK.
    WRITE: 'Bookid', SBOOK-BOOKID.
    STOP.
    END-OF-SELECTION.
    WRITE: / 'End of Selection'.
    This produces the following output:
    Test Program for STOP
    Bookid 00010001
    End of Selection
    As soon as the first line of SBOOK has been read, the system calls the END-OF-SELECTION event block.
    Exiting Event Blocks Using EXIT
    If you use the EXIT statement within an event block but not in a loop, the system stops processing the block immediately. The ABAP runtime environment triggers the next event according to the following diagram:
    Before and during selection screen processing, the next event in the prescribed sequence is always called. From the START-OF-SELECTION event onwards, the system starts the list processor directly when the EXITstatement occurs, and displays the list.
    If the EXIT statement occurs inside a DO, WHILE, or LOOP loop, it is the loop that terminates, not the processing block.
    The following executable program is connected to the logical database F1S.
    REPORT demo_program_exit_1.
    NODES: spfli, sflight, sbook.
    START-OF-SELECTION.
    WRITE 'Test Program for EXIT'.
    GET sbook.
    WRITE: 'Bookid', sbook-bookid.
    EXIT.
    END-OF-SELECTION.
    WRITE: / 'End of selection'.
    This produces the following output:
    Test Program for EXIT
    Bookid 00010001
    After the first line of SBOOK has been read, the list is displayed immediately.
    The following executable program is connected to the logical database F1S.
    REPORT demo_program_exit_2.
    NODES: spfli, sflight, sbook.
    DATA flag(1) TYPE c.
    AT SELECTION-SCREEN.
    IF carrid-low IS INITIAL.
    flag = 'X'.
    EXIT.
    ENDIF.
    START-OF-SELECTION.
    IF flag = 'X'.
    WRITE / 'No input for CARRID'.
    EXIT.
    ENDIF.
    GET spfli.
    GET sflight.
    GET sbook.
    END-OF-SELECTION.
    WRITE / 'End of Selection'.
    If the user does not enter a value for CARRID-LOW, the output appears as follows:
    No selection made for CARRID
    After the first EXIT statement, the next START-OF-SELECTION event is triggered. After the second EXITstatement, the output list is displayed.
    Regards.

  • HT1430 where does the backup get saved on the windows computer?

    whenever m tryin to backup my phone it starts and after consuming the space on the hard drive of computer it stops after the msg saying bakup could nt b saved on the computer.. so my question is where does the backup get saved on d computer  n how to access it n hw to clear the old backup history n free the space on the computer? help plz...

    WHERE ARE BACKUPS LOCATED
    ITunes stores one active backup and each time a backup is created the old backup is overwritten.  Icloud saves the last three backups.  You cannot view the backups unless you have special software to read it.  If you want to know where the backups are located on your computer then read this article
    http://support.apple.com/kb/HT4946

  • Where does the fullscreen mode option is saved?

    I have developing program, what uses WINAPI to make mozilla firefox start on IME mode. I have seen that when you press the F11 (FULLSCREEN MODE) it still is on fullscreen mode after reboot of the mozilla. So where does the option / information about fullscreen mode is saved?

    In the '''localstore,rdf''' file, in the Profile folder.

  • Z77a-g45 where does the little speaker go and why does my computer pause on c5

    so my computer boots does evrything plays games etc but when it starts these numbers in the bottom right corner go off then it stops at c5 for a second then goes to bios screen then boots to windows. is this bad?
    also where does the little speaker plug into.

    it will be fine its just a hang not an error or failure! its just struggling for a short time to get the hard drive opperating thats all and is nothing to loose any sleep over!
    Hang = nothing to worry about really
    failure = thats the oposite of a hang its where it never starts and is to actually worry about!
    unless your computer never gets past that code and refused to load because its failed its not a issue to really bother about! like Xmad said you could try a BIO's update to the most recent one and do a firmware update if you have an SSD! its just a detection hang and an update of both could fix it!
    if you are thinking about doing a bios update use this >>Use the MSI HQ Forum USB flasher<<
    do not use live update to do the bio's flash as it has a 50/50 chance of bricking the board and the tool above has never had a failure of a flash!

  • Apple maps has received a poor performance rating just after introduction of the iPhone 5. I am running google maps app on the phone. Siri cannot seem to get me to a specific address. Where does the problem lie? Thanks.

    Apple maps has received a poor performance rating just after introduction of the iPhone 5. I am running Google Maps app on the phone. SIRI cannot seem to get me to a specific address. Where does the problem lie? Also can anyone tell me the hierarchy of use between the Apple Maps, SIRI, and Google maps when the app is on the phone? How do you choose one over the other as the default map usage? Or better still how do you suppress SIRI from using the Apple maps app when requesting a "go to"?
    I have placed an address location into the CONTACTS list and when I ask SIRI to "take me there" it found a TOTALLY different location in the metro area with the same street name. I have included the address, the quadrant, (NE) and the ZIP code into the CONTACTS list. As it turns out, no amount of canceling the trip or relocating the address in the CONTACTS list line would prevent SIRI from taking me to this bogus location. FINALLY I typed in Northeast for NE in the CONTACTS list (NE being the accepted method of defining the USPS location quadrant) , canceled the current map route and it finally found the correct address. This problem would normally not demand such a response from me to have it fixed but the address is one of a hospital in the center of town and this hospital HAS a branch location in a similar part of town (NOT the original address SIRI was trying to take me to). This screw up could be dangerous if not catastrophic to someone who was looking for a hospital location fast and did not know of these two similar locations. After all the whole POINT of directions is not just whimsical pasttime or convenience. In a pinch people need to rely on this function. OR, are my expectations set too high? 
    How does the iPhone select between one app or the other (Apple Maps or Gppgle Maps) as it relates to SIRI finding and showing a map route?  
    Why does SIRI return an address that is NOT the correct address nor is the returned location in the requested ZIP code?
    Is there a known bug in the CONTACTS list that demands the USPS quadrant ID be spelled out, as opposed to abreviated, to permit SIRI to do its routing?
    Thanks for any clarification on these matters.

    siri will only use apple maps, this cannot be changed. you could try google voice in the google app.

Maybe you are looking for

  • External display... just doesn't work

    Hi all, I have been scouring forums for this problem, but it seems to be relatively uncommon, so I wonder if I am just missing some very basic steps or something. I have an HP LP2065 monitor that works fine with my PCs. I just got this new macbook, a

  • Mail avatar no longer displays how many new messages

    Mail used to show the number of unread messages in its avatar --a number would appear in a little red circle--but that no longer happens.  Is that a new Mavericks thing?  Notifications are fine if you're working in Mail but I want to see how many unr

  • Videos not recognised after updating software

    My iPod won't sync my videos. This is for all video files (.mov, .mpv, the lot). They played fine on my video iPod before and they still play in iTunes, but when I try to update, I just get a "file not recognised by your iPod" message. This only happ

  • Exclude a Resource from scope of control of a Admin role??????

    Hi, I need to exclude a resource from the scope of ADMINROLE for a particular form. This i m able to achive by Admin role form. but i need to do this in backed .(not through that form). I am able to create Admin Role in a workflow .I m even able to a

  • My serial number isnt working? Help

    my serial number is working for photoshop