Sunday, March 11, 2012

How to change default temporary folder in WSO2 carbon based products

In wso2 carbon based products default temporary folder is {product_home}/tmp.

 If you need to change that location to a different location here is the way to do it.

 You can change the location by changing the locations in start up scripts.

 1) In Linux (/bin/wso2server.sh) change following parameter's location.

 -Djava.io.tmpdir="$CARBON_HOME/tmp"

 2) In Windows (/bin/wso2server.bat) change the following parameter's location.
 -Djava.io.tmpdir="%CARBON_HOME%\tmp"

3 comments:

  1. This is a great article. It gave me a lot of useful information. thank you very much.
    Run 3 | Stick Run 2 |friv4school | girls go games

    ReplyDelete
  2. Your blog posts are more interesting and impressive. I think there are many people like and visit it regularly, including me.I actually appreciate your own position and I will be sure to come back here.
    hola launcher l run 2 l run 2 unblocked l run game l play run game

    ReplyDelete
  3. I found a lot of information here to create this actually best for all newbie here. Thank you for this information.
    run 2 game | super mechs | wingsio | run 2 | wingsio play | supermechs

    ReplyDelete