{"id":42467,"date":"2024-05-29T11:19:23","date_gmt":"2024-05-29T11:19:23","guid":{"rendered":"https:\/\/accuweb.cloud\/resource\/?post_type=faq&#038;p=42467"},"modified":"2026-02-19T04:43:06","modified_gmt":"2026-02-19T04:43:06","slug":"java-server-config","status":"publish","type":"faq","link":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config","title":{"rendered":"Java Application Server Setup"},"content":{"rendered":"<h2 class=\"ack-h2\">Java Application Server Setup<\/h2>\n<p>To set up your application server, press the <a class=\"ack-link-color\" target=\"_blank\" rel=\"noopener\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/configuration-of-file-manager\/\">Config<\/a> button next to it. If you have multiple servers, you can set them up together or one by one. Here\u2019s how:<\/p>\n<p><strong>Step 1:<\/strong> Open the drop-down menu at the top of the configuration tab to see a list of all your app servers.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Multiple-nodes-server.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42468 size-full\" title=\"Multiple nodes\/server\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Multiple-nodes-server.png\" alt=\"Multiple nodes\/server\" width=\"919\" height=\"464\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Multiple-nodes-server.png 919w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Multiple-nodes-server-300x151.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Multiple-nodes-server-768x388.png 768w\" sizes=\"(max-width: 919px) 100vw, 919px\" \/><\/a><\/p>\n<p><strong>Step 2:<\/strong> Pick the server you want and adjust the settings.<\/p>\n<p><strong>Step 3:<\/strong> To save the changes:<\/p>\n<p>For just the selected server, click <strong>Save only for the current instance<\/strong> from the drop-down menu.<\/p>\n<p>For all servers, click <strong>Save for all instances<\/strong>.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Save-all-instances.png\"><img decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42469 size-full\" title=\"Save all instances\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Save-all-instances.png\" alt=\"Save all instances\" width=\"923\" height=\"463\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Save-all-instances.png 923w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Save-all-instances-300x150.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Save-all-instances-768x385.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/a><\/p>\n<div class=\"ack-formula\">\n<strong>Note:<\/strong> If you create or rename a file or folder in the Configuration Manager, it will only affect the chosen server. To make the same change on other servers, you must do it manually.<\/div>\n<div class=\"article-space\"><\/div>\n<p>Here is a list of configuration files you can edit for Java application servers:<\/p>\n<ul class=\"ack-ul\">\n<li><a class=\"ack-link-color\" href=\"#tomcat\">Tomcat<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#tomee\">TomEE<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#glassfish\">GlassFish<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#jetty\">Jetty<\/a><\/li>\n<\/ul>\n<p>For details on which settings can be changed in the config folders, refer to these descriptions:<\/p>\n<ul class=\"ack-ul\">\n<li><a class=\"ack-link-color\" href=\"#server\">server<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#home\">home<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#webapps\">webapps\/work<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#javahome\">JAVA_HOME<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#lib\">lib<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#cron\">cron<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#keys\">keys<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#contexts\">contexts<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#server-lib\">server_lib<\/a><\/li>\n<li><a class=\"ack-link-color\" href=\"#apps\">apps<\/a><\/li>\n<\/ul>\n<h2 class=\"ack-h2\" id=\"server\">SERVER<\/h2>\n<p>You can configure the main Java servlet container settings in the server folder.<\/p>\n<p>Here are some actions you can perform with these files:<\/p>\n<ul class=\"ack-ul\">\n<li>context.xml: Set up session replication with Memcached.<\/li>\n<li>web.xml: Set up <a class=\"ack-link-color\" target=\"_blank\" rel=\"noopener\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/remote-file-access-via-webdav\/\">remote access with WebDav<\/a>.<\/li>\n<li>server.xml: Enable <a class=\"ack-link-color\" target=\"_blank\" rel=\"noopener\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/how-to-set-up-multiple-domains-on-accuweb-cloud\/\">multiple domains<\/a>.<\/li>\n<li>variables.conf:\n<ul class=\"ack-ul\">\n<li>Set memory settings for your Java containers with custom GC, -Xmx, and -Xms parameters. Use each parameter on a new line<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre><code class=\"language-javascript\">\r\nXmx&lt;size&gt;m\r\nXms&lt;size&gt;m<\/code><\/pre>\n<ul class=\"ack-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"ack-ul\">\n<li>Set custom system properties for Tomcat, TomEE, Jetty, or GlassFish:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre><code class=\"language-javascript\">\r\nDvar1=value1 -Dvar2=value2\r\nDmy.var3=\/my\/value<\/code><\/pre>\n<ul class=\"ack-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"ack-ul\">\n<li>Configure JavaAgent interceptor<\/li>\n<li>Enable remote debugging<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre><code class=\"language-javascript\">\r\nXdebug\r\nXrunjdwp:transport=dt_socket,server=y,suspend=n,address={port_number}<\/code><\/pre>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/variables.conf_-1.png\"><img decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42470 size-full\" title=\"variables.conf\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/variables.conf_-1.png\" alt=\"variables.conf\" width=\"921\" height=\"613\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/variables.conf_-1.png 921w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/variables.conf_-1-300x200.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/variables.conf_-1-768x511.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/a><\/p>\n<div class=\"ack-formula\">\n<strong>Note:<\/strong> This file is only available for Tomcat and TomEE. To configure a GlassFish server, use the Admin Panel.<\/div>\n<div class=\"article-space\"><\/div>\n<h2 id=\"home\" class=\"ack-h2\">HOME<\/h2>\n<p>If you need custom files or folders to configure your application, you can download or create them in the home directory of your Java server.<\/p>\n<p>Then, you can point to these files in the <strong>variables.conf<\/strong> file located in the server folder.<\/p>\n<div class=\"ack-formula\">\n<strong>Note:<\/strong> The directory might be named &#8220;<strong>temp<\/strong>&#8221; on some servers, but the platform never automatically cleans it.<\/div>\n<div class=\"article-space\"><\/div>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Temp.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42471 size-full\" title=\"Temp\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Temp.png\" alt=\"Temp\" width=\"923\" height=\"529\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Temp.png 923w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Temp-300x172.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Temp-768x440.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/a><\/p>\n<h2 id=\"webapps\" class=\"ack-h2\">WEBAPPS \/ WORK<\/h2>\n<p>The webapps folder (for Tomcat\/TomEE) and the work folder (for Jetty) store unpacked applications deployed to the environment.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/webapps.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42472 size-full\" title=\"webapps\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/webapps.png\" alt=\"webapps\" width=\"921\" height=\"496\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/webapps.png 921w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/webapps-300x162.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/webapps-768x414.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/a><\/p>\n<h2 id=\"javahome\" class=\"ack-h2\">JAVA_HOME<\/h2>\n<p>The JAVA_HOME folder holds Java config files and libraries. You can edit Java settings and upload extra Java libraries here.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/JAVA_HOME.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42473 size-full\" title=\"JAVA_HOME\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/JAVA_HOME.png\" alt=\"JAVA_HOME\" width=\"923\" height=\"495\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/JAVA_HOME.png 923w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/JAVA_HOME-300x161.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/JAVA_HOME-768x412.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/a><\/p>\n<h2 id=\"lib\" class=\"ack-h2\">LIB<\/h2>\n<p>The lib folder is for storing default and custom jar libraries.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/LIB-folder.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42474 size-full\" title=\"LIB folder\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/LIB-folder.png\" alt=\"LIB folder\" width=\"923\" height=\"611\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/LIB-folder.png 923w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/LIB-folder-300x199.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/LIB-folder-768x508.png 768w\" sizes=\"(max-width: 923px) 100vw, 923px\" \/><\/a><\/p>\n<h2 id=\"cron\" class=\"ack-h2\">CRON<\/h2>\n<p>App servers have a cron folder with a config file for setting up cron jobs. For more details, see the Setting Up a Cronjob document.<\/p>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/CRON-file.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42475 size-full\" title=\"CRON file\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/CRON-file.png\" alt=\"CRON file\" width=\"921\" height=\"593\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/CRON-file.png 921w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/CRON-file-300x193.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/CRON-file-768x494.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/a><\/p>\n<h2 id=\"keys\" class=\"ack-h2\">KEYS<\/h2>\n<p>The keys folder is where you upload private keys needed for your application. Generate the key, save it as a file, and upload it to this folder. You can use it by specifying the path to your key:<\/p>\n<pre><code class=\"language-javascript\">\r\n# \/var\/lib\/jelastic\/keys\/{key_file_name}<\/code><\/pre>\n<p><a href=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Keys-folder.png\"><img loading=\"lazy\" decoding=\"async\" class=\"ack-article-image aligncenter wp-image-42476 size-full\" title=\"Keys folder\" src=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Keys-folder.png\" alt=\"Keys folder\" width=\"921\" height=\"573\" srcset=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Keys-folder.png 921w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Keys-folder-300x187.png 300w, https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/05\/Keys-folder-768x478.png 768w\" sizes=\"(max-width: 921px) 100vw, 921px\" \/><\/a><\/p>\n<h2 id=\"contexts\" class=\"ack-h2\">CONTEXTS<\/h2>\n<p>The contexts folder contains XML config files for each deployed context, and you can edit all these files.<\/p>\n<h2 id=\"server-lib\" class=\"ack-h2\">SERVER_LIB<\/h2>\n<p>The server_lib folder is the GlassFish config directory with all the server libraries.<\/p>\n<h2 id=\"apps\" class=\"ack-h2\">APPS<\/h2>\n<p>The apps folder in TomEE stores unpacked EE applications deployed to the environment.<\/p>\n<div class=\"article-space\"><\/div>\n\t\t<div data-elementor-type=\"section\" data-elementor-id=\"38668\" class=\"elementor elementor-38668\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"elementor_library\">\n\t\t\t        <section class=\"elementor-section elementor-top-section elementor-element elementor-element-882321f elementor-section-boxed elementor-section-height-default elementor-section-height-default ct-header-fixed-none ct-row-max-none\" data-id=\"882321f\" data-element_type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n            \n                        <div class=\"elementor-container elementor-column-gap-default \">\n                    <div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7cc79cc\" data-id=\"7cc79cc\" data-element_type=\"column\">\n        <div class=\"elementor-widget-wrap elementor-element-populated\">\n                    \n        \t\t<div class=\"elementor-element elementor-element-e31b40f elementor-widget elementor-widget-shortcode\" data-id=\"e31b40f\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t            <\/div>\n        <\/div>\n                    <\/div>\n        <\/section>\n        \t\t<\/div>\n\t\t\n<div class=\"article-space\"><\/div>\n<h2 id=\"tomcat\" class=\"ack-h2\">Tomcat<\/h2>\n<div class=\"table-responsive\">\n<table class=\"table table-bordered\">\n<thead>\n<tr class=\"tabletoprow\">\n<th>Folder<\/th>\n<th>File<\/th>\n<th>Path<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>conf<\/td>\n<td>catalina.policy<br \/>\ncatalina.properties<br \/>\ncontext.xml<br \/>\njaspic-providers.xml<br \/>\njaspic-providers.xsd<br \/>\njelastic-ha.xml<br \/>\njelastic-ssl.xml<br \/>\nlogging.properties<br \/>\nserver.xml<br \/>\ntomcat-env.sh<br \/>\ntomcat-users.xml<br \/>\ntomcat-users.xsd<br \/>\nvariables.conf<br \/>\nweb.xml<\/td>\n<td>\/opt\/tomcat\/conf<\/td>\n<\/tr>\n<tr>\n<td>temp<\/td>\n<td><\/td>\n<td>\/opt\/tomcat\/temp<\/td>\n<\/tr>\n<tr>\n<td><a class=\"ack-link-color\" href=\"#webapps\">webapps<\/a><\/td>\n<td><\/td>\n<td>\/opt\/tomcat\/webapps<\/td>\n<\/tr>\n<tr>\n<td>latest<\/td>\n<td><\/td>\n<td>\/usr\/java\/latest<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#lib\" class=\"ack-link-color\">lib<\/a><\/td>\n<td><\/td>\n<td>\/opt\/tomcat\/lib<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#cron\" class=\"ack-link-color\">cron<\/a><\/td>\n<td>tomcat<\/td>\n<td>\/var\/spool\/cron<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#keys\" class=\"ack-link-color\">keys<\/a><\/td>\n<td><\/td>\n<td>\/var\/lib\/jelastic\/keys<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"article-space\"><\/div>\n<h2 id=\"tomee\" class=\"ack-h2\">TomEE<\/h2>\n<div class=\"table-responsive\">\n<table class=\"table table-bordered\">\n<thead>\n<tr class=\"tabletoprow\">\n<th>Folder<\/th>\n<th>File<\/th>\n<th>Path<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a class=\"ack-link-color\" href=\"#server\">server<\/a><\/td>\n<td>catalina.policy<br \/>\nserver.xml<br \/>\ncatalina.properties<br \/>\ntomcat-users.xml<br \/>\ncontext.xml<br \/>\nweb.xml<br \/>\nvariables.conf<br \/>\nlogging.properties<br \/>\ntomee.xml<br \/>\nsystem.properties<\/td>\n<td>\/opt\/tomcat\/conf\/<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#home\" class=\"ack-link-color\">home<\/a><\/td>\n<td><\/td>\n<td>\/opt\/tomcat\/temp<\/td>\n<\/tr>\n<tr>\n<td><a class=\"ack-link-color\" href=\"#webapps\">webapps<\/a><\/td>\n<td><\/td>\n<td>\/opt\/tomcat\/webapps<\/td>\n<\/tr>\n<tr>\n<td><a class=\"ack-link-color\" href=\"#apps\">apps<\/a><\/td>\n<td><\/td>\n<td>\/opt\/tomcat\/apps<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#javahome\" class=\"ack-link-color\">JAVA_HOME<\/a><\/td>\n<td><\/td>\n<td>\/usr\/java\/default<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#lib\" class=\"ack-link-color\">lib<\/a><\/td>\n<td><\/td>\n<td>\/opt\/tomcat\/lib<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#cron\" class=\"ack-link-color\">cron<\/a><\/td>\n<td>tomcat<\/td>\n<td>\/var\/spool\/cron<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#keys\" class=\"ack-link-color\">keys<\/a><\/td>\n<td><\/td>\n<td>\/var\/lib\/jelastic\/keys<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"article-space\"><\/div>\n<h2 id=\"glassfish\" class=\"ack-h2\">GlassFish<\/h2>\n<div class=\"table-responsive\">\n<table class=\"table table-bordered\">\n<thead>\n<tr class=\"tabletoprow\">\n<th>Folder<\/th>\n<th>File<\/th>\n<th>Path<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a href=\"#server\" class=\"ack-link-color\">server<\/a><\/td>\n<td>default-web.xml<br \/>\ndomain.xml<br \/>\ndomain.xml.bak<br \/>\ndomain.xml.orig<br \/>\nlocal-password<br \/>\nlogging.properties<br \/>\nlogging.properties.orig<br \/>\nlogin.conf<br \/>\nserver.policy<br \/>\nsun-acc.xml<br \/>\nwss-server-config-1.0.xml<br \/>\nwss-server-config-2.0.xml<\/td>\n<td>\/opt\/glassfish3\/glassfish\/domains\/<br \/>\ndomain1\/config<\/td>\n<\/tr>\n<tr>\n<td><strong>gfcluster-config<\/strong>\u00a0(in\u00a0<em>server<\/em>\u00a0folder)<\/td>\n<td>logging.properties<\/td>\n<td>\/opt\/glassfish3\/glassfish\/domains\/<br \/>\ndomain1\/config\/gfcluster-config<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#home\" class=\"ack-link-color\">home<\/a><\/td>\n<td><\/td>\n<td>\/opt\/glassfish3\/temp<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#javahome\" class=\"ack-link-color\">JAVA_HOME<\/a><\/td>\n<td><\/td>\n<td>\/usr\/java\/latest<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#server-lib\" class=\"ack-link-color\">server_lib<\/a><\/td>\n<td><\/td>\n<td>\/opt\/glassfish3\/glassfish\/lib\/<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#cron\" class=\"ack-link-color\">cron<\/a><\/td>\n<td>glassfish<\/td>\n<td>\/var\/spool\/cron<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#keys\" class=\"ack-link-color\">keys<\/a><\/td>\n<td><\/td>\n<td>\/var\/lib\/jelastic\/keys<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"article-space\"><\/div>\n<h2 id=\"jetty\" class=\"ack-h2\">Jetty<\/h1>\n<div class=\"table-responsive\">\n<table class=\"table table-bordered\">\n<thead>\n<tr class=\"tabletoprow\">\n<th>Folder<\/th>\n<th>File<\/th>\n<th>Path<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a href=\"#server\" class=\"ack-link-color\">server<\/a><\/td>\n<td>jdbcRealm.properties<br \/>\njetty-ajp.xml<br \/>\njetty-bio.xml<br \/>\njetty-jaas.xml<br \/>\njetty-jmx.xml<br \/>\njetty-logging.xml<br \/>\njetty-plus.xml<br \/>\njetty-rewrite.xml<br \/>\njetty-setuid.xml<br \/>\njetty-sslengine.xml<br \/>\njetty-ssl.xml<br \/>\njetty-stats.xml<br \/>\njetty.xml<br \/>\nlogin.conf<br \/>\nlogin.properties<br \/>\nrealm.properties<br \/>\nspnego.properties<br \/>\nvariables.conf<br \/>\nwebdefault.xml<\/td>\n<td>\/opt\/jetty\/etc<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#home\" class=\"ack-link-color\">home<\/a><\/td>\n<td><\/td>\n<td>\/opt\/jetty\/home<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#contexts\" class=\"ack-link-color\">contexts<\/a><\/td>\n<td><\/td>\n<td>\/opt\/jetty\/contexts\/<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#work\" class=\"ack-link-color\">work<\/a><\/td>\n<td><\/td>\n<td>\/opt\/jetty\/work<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#javahome\" class=\"ack-link-color\">JAVA_HOME<\/a><\/td>\n<td><\/td>\n<td>\/usr\/java\/latest<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#lib\" class=\"ack-link-color\">lib<\/a><\/td>\n<td><\/td>\n<td>\/opt\/jetty\/lib<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#cron\" class=\"ack-link-color\">cron<\/a><\/td>\n<td>jetty<\/td>\n<td>\/var\/spool\/cron<\/td>\n<\/tr>\n<tr>\n<td><a href=\"#keys\" class=\"ack-link-color\">keys<\/a><\/td>\n<td><\/td>\n<td>\/var\/lib\/jelastic\/keys<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"cta-btn-top-space\"><\/div>\n\t\t<div data-elementor-type=\"section\" data-elementor-id=\"38668\" class=\"elementor elementor-38668\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"elementor_library\">\n\t\t\t        <section class=\"elementor-section elementor-top-section elementor-element elementor-element-882321f elementor-section-boxed elementor-section-height-default elementor-section-height-default ct-header-fixed-none ct-row-max-none\" data-id=\"882321f\" data-element_type=\"section\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n            \n                        <div class=\"elementor-container elementor-column-gap-default \">\n                    <div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7cc79cc\" data-id=\"7cc79cc\" data-element_type=\"column\">\n        <div class=\"elementor-widget-wrap elementor-element-populated\">\n                    \n        \t\t<div class=\"elementor-element elementor-element-e31b40f elementor-widget elementor-widget-shortcode\" data-id=\"e31b40f\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t            <\/div>\n        <\/div>\n                    <\/div>\n        <\/section>\n        \t\t<\/div>\n\t\t\n<div class=\"cta-btn-mob-space\"><\/div>\n","protected":false},"author":1,"featured_media":52879,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","class_list":["post-42467","faq","type-faq","status-publish","has-post-thumbnail","hentry","faq_topics-java","faq_topics-java-app-server-configuration","faq_topics-kb","faq_topics-product-documentation"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.10 (Yoast SEO v24.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Java Application Server Configuration | AccuWeb.Cloud Guide<\/title>\n<meta name=\"description\" content=\"Learn how to configure Java application servers. Follow instructions for adjusting server settings and editing configuration files.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Java Application Server Setup\" \/>\n<meta property=\"og:description\" content=\"Learn how to configure Java application servers. Follow instructions for adjusting server settings and editing configuration files.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config\" \/>\n<meta property=\"og:site_name\" content=\"AccuWeb Cloud\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-19T04:43:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#article\",\"isPartOf\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config\"},\"author\":{\"name\":\"Jilesh Patadiya\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58\"},\"headline\":\"Java Application Server Setup\",\"datePublished\":\"2024-05-29T11:19:23+00:00\",\"dateModified\":\"2026-02-19T04:43:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config\"},\"wordCount\":790,\"publisher\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config\",\"url\":\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config\",\"name\":\"Java Application Server Configuration | AccuWeb.Cloud Guide\",\"isPartOf\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#primaryimage\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"datePublished\":\"2024-05-29T11:19:23+00:00\",\"dateModified\":\"2026-02-19T04:43:06+00:00\",\"description\":\"Learn how to configure Java application servers. Follow instructions for adjusting server settings and editing configuration files.\",\"breadcrumb\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#primaryimage\",\"url\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"contentUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/accuweb.cloud\/resource\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java Application Server Setup\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#website\",\"url\":\"https:\/\/accuweb.cloud\/resource\/\",\"name\":\"AccuWeb Cloud\",\"description\":\"Cutting Edge Cloud Computing\",\"publisher\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/accuweb.cloud\/resource\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#organization\",\"name\":\"AccuWeb.Cloud\",\"url\":\"https:\/\/accuweb.cloud\/resource\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg\",\"contentUrl\":\"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg\",\"width\":156,\"height\":87,\"caption\":\"AccuWeb.Cloud\"},\"image\":{\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58\",\"name\":\"Jilesh Patadiya\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g\",\"caption\":\"Jilesh Patadiya\"},\"description\":\"Jilesh Patadiya, the visionary Co-Founder and Chief Technology Officer (CTO) behind AccuWeb.Cloud. Founder &amp; CTO at AccuWebHosting.com. He shares his web hosting insights on the AccuWeb.Cloud blog. He mostly writes on the latest web hosting trends, WordPress, storage technologies, and Windows and Linux hosting platforms.\",\"sameAs\":[\"https:\/\/accuweb.cloud\/resource\",\"https:\/\/www.facebook.com\/accuwebhosting\",\"https:\/\/www.instagram.com\/accuwebhosting\/\",\"https:\/\/www.linkedin.com\/company\/accuwebhosting\/\",\"https:\/\/x.com\/accuwebhosting\",\"https:\/\/www.youtube.com\/c\/Accuwebhosting\"],\"url\":\"https:\/\/accuweb.cloud\/resource\/author\/accuwebadmin\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Java Application Server Configuration | AccuWeb.Cloud Guide","description":"Learn how to configure Java application servers. Follow instructions for adjusting server settings and editing configuration files.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config","og_locale":"en_US","og_type":"article","og_title":"Java Application Server Setup","og_description":"Learn how to configure Java application servers. Follow instructions for adjusting server settings and editing configuration files.","og_url":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config","og_site_name":"AccuWeb Cloud","article_modified_time":"2026-02-19T04:43:06+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#article","isPartOf":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config"},"author":{"name":"Jilesh Patadiya","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58"},"headline":"Java Application Server Setup","datePublished":"2024-05-29T11:19:23+00:00","dateModified":"2026-02-19T04:43:06+00:00","mainEntityOfPage":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config"},"wordCount":790,"publisher":{"@id":"https:\/\/accuweb.cloud\/resource\/#organization"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#primaryimage"},"thumbnailUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config","url":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config","name":"Java Application Server Configuration | AccuWeb.Cloud Guide","isPartOf":{"@id":"https:\/\/accuweb.cloud\/resource\/#website"},"primaryImageOfPage":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#primaryimage"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#primaryimage"},"thumbnailUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","datePublished":"2024-05-29T11:19:23+00:00","dateModified":"2026-02-19T04:43:06+00:00","description":"Learn how to configure Java application servers. Follow instructions for adjusting server settings and editing configuration files.","breadcrumb":{"@id":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/accuweb.cloud\/resource\/articles\/java-server-config"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#primaryimage","url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","contentUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/07\/NEW-OG-IMAGE-URL.jpg","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/accuweb.cloud\/resource\/articles\/java-server-config#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/accuweb.cloud\/resource\/"},{"@type":"ListItem","position":2,"name":"Java Application Server Setup"}]},{"@type":"WebSite","@id":"https:\/\/accuweb.cloud\/resource\/#website","url":"https:\/\/accuweb.cloud\/resource\/","name":"AccuWeb Cloud","description":"Cutting Edge Cloud Computing","publisher":{"@id":"https:\/\/accuweb.cloud\/resource\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/accuweb.cloud\/resource\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/accuweb.cloud\/resource\/#organization","name":"AccuWeb.Cloud","url":"https:\/\/accuweb.cloud\/resource\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/","url":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg","contentUrl":"https:\/\/accuweb.cloud\/resource\/wp-content\/uploads\/2024\/04\/accuwebcloud_logo_black_tagline.jpg","width":156,"height":87,"caption":"AccuWeb.Cloud"},"image":{"@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/a7a4cbe8405202b537509c757b588c58","name":"Jilesh Patadiya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accuweb.cloud\/resource\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2cea2bdb5bbabb771ee67e96acad7396f25cb1a0c360b9bc4a9ac40cea9cd8b2?s=96&d=mm&r=g","caption":"Jilesh Patadiya"},"description":"Jilesh Patadiya, the visionary Co-Founder and Chief Technology Officer (CTO) behind AccuWeb.Cloud. Founder &amp; CTO at AccuWebHosting.com. He shares his web hosting insights on the AccuWeb.Cloud blog. He mostly writes on the latest web hosting trends, WordPress, storage technologies, and Windows and Linux hosting platforms.","sameAs":["https:\/\/accuweb.cloud\/resource","https:\/\/www.facebook.com\/accuwebhosting","https:\/\/www.instagram.com\/accuwebhosting\/","https:\/\/www.linkedin.com\/company\/accuwebhosting\/","https:\/\/x.com\/accuwebhosting","https:\/\/www.youtube.com\/c\/Accuwebhosting"],"url":"https:\/\/accuweb.cloud\/resource\/author\/accuwebadmin"}]}},"_links":{"self":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/42467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/comments?post=42467"}],"version-history":[{"count":9,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/42467\/revisions"}],"predecessor-version":[{"id":53200,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/faq\/42467\/revisions\/53200"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/media\/52879"}],"wp:attachment":[{"href":"https:\/\/accuweb.cloud\/resource\/wp-json\/wp\/v2\/media?parent=42467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}