Difference between revisions of "Configure Tomcat server in Eclipse"
From OpenKM Documentation
Line 18: | Line 18: | ||
Add '''sigar''' library path and '''utf-8''' file enconding at arguments tab | Add '''sigar''' library path and '''utf-8''' file enconding at arguments tab | ||
-Djava.library.path="/your tomcat path/lib/sigar" -Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.awt.headless=true -Dfile.encoding=utf-8 | -Djava.library.path="/your tomcat path/lib/sigar" -Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.awt.headless=true -Dfile.encoding=utf-8 | ||
+ | |||
+ | [[File:Okm_dev_guide_038.png|800px]] | ||
[[Category: Developer Guide]] | [[Category: Developer Guide]] |
Revision as of 12:56, 24 October 2012
Go to servers tab Using contextual menus select Add / server. Select Tomcat 7 server:
Configure a new Run time server environment:
- Checkbox Use Tomcat installation ( takes control of tomcat installation ).
- Increment startup and stop timeouts.
Edit launch configuration:
Add sigar library path and utf-8 file enconding at arguments tab
-Djava.library.path="/your tomcat path/lib/sigar" -Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.awt.headless=true -Dfile.encoding=utf-8