Difference between revisions of "Configure Tomcat server in Eclipse"

From OpenKM Documentation
Jump to: navigation, search
Line 16: Line 16:
  
 
Edit '''launch configuration''':
 
Edit '''launch configuration''':
 +
Add '''sigar''' library path and '''utf-8''' file enconding at arguments tab
 +
-Djava.library.path="/home/jllort/software/apache-tomcat-7.0.27-openkm/lib/sigar" -Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m  -Djava.awt.headless=true -Dfile.encoding=utf-8
  
 
[[Category: Developer Guide]]
 
[[Category: Developer Guide]]

Revision as of 12:54, 24 October 2012

Go to servers tab Using contextual menus select Add / server. Select Tomcat 7 server:

Okm dev guide 035.png


Configure a new Run time server environment:

Okm dev guide 036.png


  • Checkbox Use Tomcat installation ( takes control of tomcat installation ).
  • Increment startup and stop timeouts.

Okm dev guide 037.png


Edit launch configuration: Add sigar library path and utf-8 file enconding at arguments tab

-Djava.library.path="/home/jllort/software/apache-tomcat-7.0.27-openkm/lib/sigar" -Xms128m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m  -Djava.awt.headless=true -Dfile.encoding=utf-8