How can I change CATALINA_BASE folder for Tomcat plugin.

Answered

When I start Tomcat from Idea it uses %USER_HOME%\..IntelliJIdea70\system\*** as CATALINA_BASE.
How can I change this behaviour ?

7 comments
Comment actions Permalink

There is no way to change this behaviour. Why do you want to change it?

When I start Tomcat from Idea it uses %USER_HOME%\..IntelliJIdea70\system\*** as CATALINA_BASE.
How can I change this behaviour ?

---
Original message URL: http://www.jetbrains.net/devnet/message/5232453#5232453



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

I don't want to fragmentize that drive. I have special drive for small files.
I can't believe that it's impossible:(

0
Comment actions Permalink

Can't you just set your CATALINA_BASE in the environment variables?
tomcat-idea-catalina-base.png

0
Comment actions Permalink

mypager wrote:

Can't you just set your CATALINA_BASE in the environment variables?
tomcat-idea-catalina-base.png

I tried it. But that is not the same behaviour.
I found 2 differences.
1) redeploy doesn't work
2) all Tomcat log files have append behaviour instead of rewrite (I mean that when I stop Tomcat and then start it again Tomcat logs to the end of the corresponding files, usual behaviour is to rewrite that files)

Maybe there are a lot of other differences. But that two are enough for me.

0
Comment actions Permalink

You can change idea.system.path property in idea.properties file to point to a directory on the drive you want. After that all IDEA temporary and
cache files including the CATALINA_BASE folder will be placed on that drive.

I don't want to fragmentize that drive. I have special drive for small files.
I can't believe that it's impossible:(

---
Original message URL: http://www.jetbrains.net/devnet/message/5232494#5232494



--
Nikolay Chashnikov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

ANONYMOUS What is the point of adding a custom application server, when intellij still uses it's own tomcat installation??

0
Comment actions Permalink

@Peyman Khodadust IDE does not provide any application server installation with itself. You have to download and add it into IDE installation. Then you use them in Run/debug Configurations for run, and deployment and debug.

0

Please sign in to leave a comment.