{"id":441,"date":"2012-07-19T16:38:38","date_gmt":"2012-07-19T16:38:38","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=441"},"modified":"2022-06-03T03:52:27","modified_gmt":"2022-06-03T08:52:27","slug":"how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/","title":{"rendered":"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/07\/jboss-logo.png\"><img decoding=\"async\" class=\"alignleft size-full wp-image-4612\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/07\/jboss-logo.png\" alt=\"jboss-logo\" width=\"200\" height=\"117\" \/><\/a>Today we are going to show you how to setup JAVA, JBoss AS and an Apache server acting as a reverse proxy using one of our <a title=\"Debian Virtual Servers\" href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian Virtual Servers<\/a>. We assume you have a working Apache server in place.<\/p>\n<p><strong>So, what is JBoss ?<\/strong><br \/>\nJBoss is an open-source application server developed by RedHat based on the J2EE platform for developing and deploying enterprise Java applications, Web applications, Services, Portals and more. The J2EE allows applications to be standardized and modular allowing JAVA to handle many programming aspects when developing an application.<\/p>\n<p><!--more--><\/p>\n<p><strong>Before we start with the setup, make sure you have a fully up-to-date Debian system, so execute:<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\"># apt-get update &amp;&amp; apt-get upgrade --show-upgraded -y<\/pre>\n<p>Once your Debian system is fully updated, we are going to install JAVA. In this setup we are using the &#8216;sun-java&#8217; package which resides in Debian&#8217;s &#8216;non-free&#8217; repository. In order to install it we need to enable the sources first, so do the following:<\/p>\n<pre class=\"brush: shell; gutter: false\"># echo \"deb http:\/\/ftp.us.debian.org\/debian squeeze main contrib non-free\" &gt;&gt; \/etc\/apt\/sources.list<\/pre>\n<p><strong>Once you&#8217;ve placed the sources the next step is to install JAVA on your Debian System. To do that execute:<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\"># apt-get update &amp;&amp; apt-get install sun-java6-jdk -y<\/pre>\n<p><em>you should now have JAVA installed on your server. To verify this please execute:<\/em><\/p>\n<pre class=\"brush: shell; gutter: false\"># java -version<\/pre>\n<p><em>and you should see something like this:<\/em><\/p>\n<pre>java version \"1.6.0_26\"\r\nJava(TM) SE Runtime Environment (build 1.6.0_26-b03)\r\nJava HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)<\/pre>\n<p>Ok, the next step is to install and configure the JBoss Application Server. We are using the latest final (at the time of writing this article) version of JBoss which is &#8216;ver.7.1.1&#8217;. <strong>So go to http:\/\/www.jboss.org\/jbossas\/downloads\/ and download the JBoss version you want installed on your <a title=\"Debian Virtual Private Servers\" href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian Virtual Server<\/a>.<\/strong><br \/>\n<strong> The steps are as follows:<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\"># cd \/opt\r\n# wget -P \/var\/tmp http:\/\/download.jboss.org\/jbossas\/7.1\/jboss-as-7.1.1.Final\/jboss-as-7.1.1.Final.tar.gz\r\n# tar -zxf \/var\/tmp\/jboss-as-7.1.1.Final.tar.gz -C \/opt\/<\/pre>\n<p>Next, we need to configure the JBoss AS so it will run without &#8216;root&#8217; privileges because running it as &#8216;root&#8217; is a big security risk. The best way to run JBoss is by using a dedicated system user which will run the JBoss server using the &#8216;sudo&#8217; powers, so:<\/p>\n<p><strong>Create a group, add the jboss user to the group, set jboss user&#8217;s password and make it be the owner of the JBoss AS<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\"># addgroup jbossgroup\r\n# useradd -g jbossgroup jboss\r\n# passwd jboss\r\n# chown jboss:jbossgroup \/opt\/jboss-as-7.1.1.Final\/ -R<\/pre>\n<p><em>NOTE: if you already have sudo setup it is ok, but if you haven&#8217;t you need to install it. If you&#8217;re unsure about this execute the following:<\/em><\/p>\n<pre class=\"brush: shell; gutter: false\"># [[ ! $(which sudo) ]] &amp;&amp; apt-get install sudo -y<\/pre>\n<p><strong><br \/>\nNext, add the jboss user to the sudo group:<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\"># gpasswd -a jboss sudo<\/pre>\n<p>Ok, with all that in place we are somewhat ready to start the JBoss server. The last thing we need to do is the following:<br \/>\n<strong><br \/>\nOpen the JBoss&#8217; standalone.xml configuration file using your favorite editor and make the following changes:<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\"># vim \/opt\/jboss-as-7.1.1.Final\/standalone\/configuration\/standalone.xml\r\n\r\n&lt;interface name=\"management\"&gt;\r\n    &lt;!--&lt;inet-address value=\"${jboss.bind.address.management:127.0.0.1}\"\/&gt;--&gt;\r\n    &lt;any-ipv4-address\/&gt;\r\n&lt;\/interface&gt;\r\n&lt;interface name=\"public\"&gt;\r\n    &lt;!--&lt;inet-address value=\"${jboss.bind.address:127.0.0.1}\"\/&gt;--&gt;\r\n    &lt;any-ipv4-address\/&gt;\r\n&lt;\/interface<\/pre>\n<p>This will make JBoss&#8217; public and management frontend available from anywhere (using authentication of course) so you can manage it via a browser.<\/p>\n<p>With all that in place the JBoss server is setup and ready but how are we supposed to start it? Unfortunately, JBoss is not shipping with an init script for Debian so it can be run as a service. To achieve this, we need to create this init script so create it by adding the following lines in <em>( \/etc\/init.d\/jboss )<\/em>:<\/p>\n<pre class=\"brush: shell; gutter: false\">#!\/bin\/sh\r\n### BEGIN INIT INFO\r\n# Provides:          jboss\r\n# Required-Start:    $local_fs $remote_fs $network $syslog\r\n# Required-Stop:     $local_fs $remote_fs $network $syslog\r\n# Default-Start:     2 3 4 5\r\n# Default-Stop:      0 1 6\r\n# Short-Description: Start\/Stop\/Restart JBoss AS v7.0.0\r\n### END INIT INFO\r\n\r\nset -e\r\n\r\n### declare the directory where is jboss\/java installed\r\nJAVA_HOME=\/usr\/lib\/jvm\/java-6-sun\r\nJBOSS_HOME=\/opt\/jboss-as-7.1.1.Final\r\nexport PATH=${JAVA_HOME}\/bin:${JBOSS_HOME}\/bin:${PATH}\r\n\r\ncase $1 in\r\n        start )\r\n                echo -e \"\\aStarting JBoss ...\"\r\n                start-stop-daemon --start --quiet --background --chuid jboss --exec ${JBOSS_HOME}\/bin\/standalone.sh\r\n        ;;\r\n        stop )\r\n                echo -e \"\\aStopping JBoss ...\"\r\n                start-stop-daemon --start --quiet --background --chuid jboss --exec ${JBOSS_HOME}\/bin\/jboss-cli.sh -- --connect command=:shutdown\r\n        ;;\r\n        restart )\r\n                echo -e \"\\aRestarting the JBoss server ...\"\r\n                start-stop-daemon --start --quiet --background --chuid jboss --exec ${JBOSS_HOME}\/bin\/jboss-cli.sh -- --connect command=:shutdown &amp;&amp; \\\r\n                start-stop-daemon --start --quiet --background --chuid jboss --exec ${JBOSS_HOME}\/bin\/standalone.sh\r\n        ;;\r\n        * )\r\n                echo -e \"\\aUsage: \/etc\/init.d\/jboss {start|stop|restart}\"\r\n                exit 1\r\n        ;;\r\nesac\r\nexit 0<\/pre>\n<p>Save the file and assign an executable bit to it by:<\/p>\n<pre class=\"brush: shell; gutter: false\">chmod +x \/etc\/init.d\/jboss<\/pre>\n<p>then add it to all runlevels and fire it up. Do this by executing:<\/p>\n<pre class=\"brush: shell; gutter: false\"># update-rc.d -f jboss defaults\r\n# service jboss start<\/pre>\n<p>JBoss should be up and listening on port 8080 now. So, access the frontend by opening <strong>http:\/\/&lt;yourdomain.tld&gt;:8080<\/strong> in your web browser. Once you&#8217;re there, follow the instructions on how to create a new user for your JBoss and once the user is created go deploy and enable your application.<\/p>\n<p>After you&#8217;ve deployed and enabled your application you can access it at <strong>http:\/\/&lt;yourdomain.tld&gt;:8080\/appname\/<\/strong><\/p>\n<p>Next step is to configure Apache as a reverse proxy so it can handle and pass the requests to your JBoss and hide the port number in the URL. <strong>So, edit apache&#8217;s configuration file <em>(\/etc\/apache2\/apache2.conf)<\/em> and add the following snippet <em>(virtual host)<\/em> at the bottom of the file:<\/strong><\/p>\n<pre class=\"brush: shell; gutter: false\">&lt;VirtualHost *:80&gt;\r\nServerName www.yourdomain.tld\r\nServerAlias yourdomain.tld\r\n\r\n    ProxyRequests Off\r\n\r\n    &lt;Proxy *&gt;\r\n        Order deny,allow\r\n        Allow from all\r\n    &lt;\/Proxy&gt;\r\n\r\n    ProxyPass \/ http:\/\/yourdomain.tld:8080\/helloworld\/\r\n    ProxyPassReverse \/ http:\/\/yourdomain.tld:8080\/helloworld\/\r\n\r\n    &lt;Location \/&gt;\r\n        Order allow,deny\r\n        Allow from all\r\n    &lt;\/Location&gt;\r\n&lt;\/VirtualHost&gt;<\/pre>\n<p>save the file and before reloading apache for the changes to take effect make sure the mod_proxy module is enabled or else it will fail to start.<\/p>\n<pre class=\"brush: shell; gutter: false\"># a2enmod proxy_http &amp;&amp; service apache2 restart<\/pre>\n<p><strong><em>now your JBoss application can be accessed by opening &#8216;http:\/\/yourdomain.tld\/&#8217;<\/em><\/strong><\/p>\n<hr \/>\n<p>As an addition to this setup, <strong>what if you want to include some &#8216;PHP&#8217; scripts under your JBoss application?<\/strong> Let&#8217;s say for example, you want to have &#8216;http:\/\/yourdomain.tld\/service.php&#8217; so how can we tell Apache to not pass those requests to JBoss but instead serve them by itself? It&#8217;s quite trivial to achieve this, so let&#8217;s go back and edit our &#8216;Virtual Host&#8217; so it will look like the one below:<\/p>\n<pre class=\"brush: shell; gutter: false\">&lt;VirtualHost *:80&gt;\r\nServerName www.yourdomain.tld\r\nServerAlias yourdomain.tld\r\n\r\nDocumentRoot \/var\/www\/demoWeb\r\nProxyPassMatch ^\/(.*)+\\.php !\r\n\r\n    ProxyRequests Off\r\n\r\n    &lt;Proxy *&gt;\r\n        Order deny,allow\r\n        Allow from all\r\n    &lt;\/Proxy&gt;\r\n\r\n    ProxyPass \/ http:\/\/yourdomain.tld:8080\/helloworld\/\r\n    ProxyPassReverse \/ http:\/\/yourdomain.tld:8080\/helloworld\/\r\n\r\n    &lt;Location \/&gt;\r\n        Order allow,deny\r\n        Allow from all\r\n    &lt;\/Location&gt;\r\n&lt;\/VirtualHost&gt;<\/pre>\n<p>every php script inside the &#8216;\/var\/www\/demoWeb&#8217; directory will not be passed to JBoss and will be accessible at http:\/\/yourdomain.com\/&lt;script&gt;.php .<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we are going to show you how to setup JAVA, JBoss AS and an Apache server acting as a &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/#more-441\" aria-label=\"Read more about How to install and configure JBoss AS with Java and Apache2 as a reverse proxy\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":4613,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,13],"tags":[37,48,77,131,76,130,80,78,1152],"class_list":["post-441","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-tutorials","tag-apache","tag-debian","tag-java","tag-java-platform-enterprise-edition","tag-jboss","tag-jboss-application-server","tag-jboss-as","tag-reverse-proxy","tag-rosehosting","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install and configure JBoss AS with Java and Apache2 as a reverse proxy | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy\" \/>\n<meta property=\"og:description\" content=\"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2012-07-19T16:38:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:52:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/07\/jboss-logo1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"200\" \/>\n\t<meta property=\"og:image:height\" content=\"117\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy\",\"datePublished\":\"2012-07-19T16:38:38+00:00\",\"dateModified\":\"2022-06-03T08:52:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/\"},\"wordCount\":830,\"commentCount\":7,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/07\\\/jboss-logo1.png\",\"keywords\":[\"apache\",\"debian\",\"java\",\"Java Platform Enterprise Edition\",\"jboss\",\"JBoss Application Server\",\"jboss as\",\"reverse proxy\",\"rosehosting\"],\"articleSection\":[\"Debian\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/\",\"name\":\"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/07\\\/jboss-logo1.png\",\"datePublished\":\"2012-07-19T16:38:38+00:00\",\"dateModified\":\"2022-06-03T08:52:27+00:00\",\"description\":\"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/07\\\/jboss-logo1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/07\\\/jboss-logo1.png\",\"width\":200,\"height\":117,\"caption\":\"jboss-logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy | RoseHosting","description":"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy | RoseHosting","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:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/","og_locale":"en_US","og_type":"article","og_title":"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy","og_description":"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2012-07-19T16:38:38+00:00","article_modified_time":"2022-06-03T08:52:27+00:00","og_image":[{"width":200,"height":117,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/07\/jboss-logo1.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy","datePublished":"2012-07-19T16:38:38+00:00","dateModified":"2022-06-03T08:52:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/"},"wordCount":830,"commentCount":7,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/07\/jboss-logo1.png","keywords":["apache","debian","java","Java Platform Enterprise Edition","jboss","JBoss Application Server","jboss as","reverse proxy","rosehosting"],"articleSection":["Debian","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/","name":"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/07\/jboss-logo1.png","datePublished":"2012-07-19T16:38:38+00:00","dateModified":"2022-06-03T08:52:27+00:00","description":"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/07\/jboss-logo1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2012\/07\/jboss-logo1.png","width":200,"height":117,"caption":"jboss-logo"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-configure-jboss-as-with-java-and-apache2-as-a-reverse-proxy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install and configure JBoss AS with Java and Apache2 as a reverse proxy"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=441"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/441\/revisions"}],"predecessor-version":[{"id":42314,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/441\/revisions\/42314"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/4613"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}