How to change the defualt work directory

Hello
I am using tomcat 6
I have to use the work directory as D:/projects/jsp1.
Currently it is /webapps/

hi,
Currently used defualt <tomcat home>/webapps folder for deploying archives to Installed Tomcat container
i.e getFileHandler().append(getContainer().getConfiguration().getHome(), "webapps").
This folder is specified in <home>/conf/server.xml under host tag there is attribute appBase and cargo should be able to get the directory from this configuration file.
      <Host name="localhost" debug="0" appBase="webapps"
       unpackWARs="true" autoDeploy="true">Change to ur Folder and try, Be Carefull while Modifying Configurations...

Similar Messages

  • How to know the present working directory

    Hi ...
    I would like to know how we can print the present working directory path in our program.
    Any ideas?
    TIA,
    Krish

    File f=new File(".");
    String workingdir=     f.getAbsolutePath();
    System.out.println("workingdir "+workingdir);

  • How to change the saplog.ini directory?

    Dear all,
    The default directory of SAPGUI logon configuration file is %windir%, now I want to change this configuration file directory, how to change it?
    Please help me.
    Passion

    Wu -
    We keep ours under C:\Program Files\SAP.  To do this we modified the system variable SAP_LOGON_INI_FILE to reflect the path we wanted it to be.  We did this by inserting the registry entry under HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Enviroment when it is installed.
    Hope this helps.
    Regards,
    Zecher

  • How to change the main work center and  work center of each operation when generating work order by maintenance plan

    Dear experts,
    I face a problem that system get main work center from equipment master data as a default main work center in maintenance plan when creating maintenance plan. however, if main work center in equipment is changed later, the change will not synchronize to related maintenance plan. if work order is generated from maintenance plan, main work order in order is defaulted from maintenance plan instead of updated work center in equipment.
    another problem is that, for those orders generated by maintenance plan, the work centers in  operations is defaulted from task list in maintenance plan. in most case, work center in task list is dummy. Actually the work is done by work center in equipment master data.
    My expectation is how to auto replace the main work center and work center of operations in work order with the one in equipment master data if order is generated by maintenance plan? is there any standard configuration or enhancement/BADi that can help with this requirement?
    thanks!
    Wesley

    Wesley,
    Sorry - development is the only way.
    Another option is to create a batch program that runs before your IP30 run(s) and updates any maintenance items and task lists with the correct work centres.
    PeteA

  • How to change the "defualt language" on Voice Over?

    I am a bit behind on the hardware (iPad 1) but only recently discovered the accessability options such as VoiceOver. When I gave the language rotors a go, after going around once it said "default language; Australian English." I do not see any point in this, because:
    1. This iPad was not bought in Australia nor New Zealand
    2. I live in New Zealand (although I can grudgingly understand NZ English doesn't have its own option)
    3. Everything is set around UK English.
    I've been searching Google and Apple support threads about this, but it seems only I am troubled with this. Does anyone know how to change that?
    If I spoke honestly, I just don't like the voice and would rather not have it!

    Here is a list of supported Voice Over languages: http://support.apple.com/kb/HT3562
    To change the language used for Voice Control, tap Settings > General > International > Voice Control.

  • Startup disk almost full--how to change the defualt free space amount?

    I know that not too long ago I was able to change the default value that OSX uses to determine if the startup disk is almost full (5 GB?). For the life of me, I can't remember how I did that. I do know that it was a simple process--no terminal, no Unix, just a simple dialog box somewhere.
    Can anyone remind me how to make this adjustment?

    There is no such parameter built-in to OS X. You must have been using some third-party disk monitoring utility.

  • How to change the iphone working id

    i given my iphone 4S to my sister, currently the phone is working in my apple ID. how to setup that iphone with new apple id. please give the guidance.

    IF in itunes rhen go to setting>itunes and apps store>apple id then sign out. Ask your sister to sign in using her own apple id
    do the same thing in icloud.
    remove your device in your account
    follow this link What to do before selling or giving away your iPhone, iPad, or iPod touch

  • How to list the top 10 largest files in the current working directory ?

    How can I list the top 10 largest files in the current working directory in Solaris ?

    execute below....to get the large files in order.. change the <FS>
    find /<FS> -type f -size +1024 -ls | awk '{print $11, $7}' | sort -rn +1 | awk '{print $1, $2/1024/1024 "MB"}' | /bin/more

  • I have recently had my hard drive replaced due to a fault whilst in Germany working. Happy with the replacement, however when i go to log on as a user that screen is in German? Any idea how to change the language?

    i have recently had my hard drive replaced due to a fault whilst in Germany working. Happy with the replacement, however when i go to log on as a user that screen is in German? Any idea how to change the language?

    Greetings Lex,
    Kind of you to comment ... but you are also adding years to my signature!   I know I'm 76 but I don't want to think about it. 
    Regards  71.

  • No question, I just wanna say thanks to the person who discovered how to change the correct dns to use FaceTime. The 8.8.8.8. Really work. Genius. Thanks again.

    No question, I just wanna say thanks to the person who discovered how to change the correct dns to use FaceTime. The 8.8.8.8. Really work. Genius. Thanks again.

    solved

  • Hi, I'm working on a document in PAges 09. Any idea on how to change the document color? I want it black instead of white.

    Hi, I'm working on a document in PAges 09. Any idea on how to change the document color? I want it black instead of white.

    Nichelle,
    You must add your own background object, and then make it Black.
    Insert > Shape > Rectangle
    In the Wrap Inspector, set to Floating.
    In the Graphic Inspector, set Stroke to None and set Fill to Black.
    Grab the corners of the document and stretch the document to cover the entire page.
    Back in the Wrap Inspector select "In Background".
    Format > Advanced > Move Object to Section Master.
    Regards,
    Jerry

  • How do I change the default work and home addresses?

    I am using iCal 8.0 with Yosemite 10.10.1. I moved a month ago and cannot figure out how to change the default "home" address in the program. The same is true on my iPhone. I updated my address in Contacts to no avail. I am having the same problem on my iPhone. It also struggles with my work address: I work at number 80 on my street, in suite 7C, and iCal interprets the data as 7C (Street), showing me on the map several blocks below my actual office.
    Any help with these problems would be most appreciated.

    Try with this add-on: https://support.mozilla.org/it/questions/972227
    or this one: https://addons.mozilla.org/en-US/firefox/addon/cstbb/?src=search

  • How to change the output directory of .xml files

    Hi,
    There are lots of .xml files generated under
    $ORACLE_AS_HOME/j2ee/home/applications/xmlpserver/xmlpserver/xml.
    (ex:/usb/bipub3/oracle/oc4j_bi/j2ee/home/applications/xmlpserver/xmlpserver/xml).
    I found these files are generated in the following operation;
    1.Log in BI Publisher.
    2.Select the Schedules tab.
    I think they are kind of temp files so we will be able to delete them.
    But I'd like to know how to change the output directory.
    Can we change the above directory to other path?
    Regards.

    Why? As that may invalidate support since you configure/alter the deployment.
    The location is specified in oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver.war, so you could go into the war file and alter it.

  • How to change the text under RECORD WORKING TIME IN ESS.

    Hi,
    How to change the text under RECORD WORKING TIME in ESS.
    Is there any setting at page or iview level?
    Please help me.
    Regards,
    Thirun.

    Hi,
    If it is standard business package ,then check home page framework
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0e3a488-cdc2-2b10-209b-e01a0ed934b4
    Regards
    Koti Reddy

  • How to change the "short name (account name?)" and home directory name?

    Hi,
    I recently purchased a new iMac and migrated account info from my MacBook Pro.  I happened to use random account name during migration without knowing it will not be easy to change the short name (account name?) and home directory name.  As a result, I am now having extremely confusing short name and home directory name on my new iMac.
    I did online search to find out how to change the two names, but I could only found somethig like "enabiling root user and....."  I have no idea what it was talking about and I don't want to take risk altering such advance set up manually.
    Please advice how I can change the short name and home directory name safely without much PC knowledge.
    Thank you very much in advance.

    There are a few ways of doing this. The easiest method is logging into the first account and copying everything to an external drive (or flash drive or whatever), which changes the permissions so that others can see the files.
    Then, login with the new account and copy the files over. Once they are copied, the correct permissions will be applied again (so other people on your computer can't access them).
    If you can't do this method for one reason or other, you can do some terminal commands to change the ownership of the files. Login to the new account. If it is an admin account, open terminal and type the following command:
    sudo chown -R -v yourusername:admin /Users/originalaccountnamehere
    That should change the ownership of the files from your old account to the new one. At that point, you can simply drag the files into place.

Maybe you are looking for