JBOSS With Apache On CentOS
Oct 24, 2008I want to install following S/W on CentOS --->
a. Apache 2.2.9 with SSL
b. JBoss 4.2.3
c. JDK 5.0 update 16
d. Postgres 8.2.10
Are they work properly on the CentOS server?
I want to install following S/W on CentOS --->
a. Apache 2.2.9 with SSL
b. JBoss 4.2.3
c. JDK 5.0 update 16
d. Postgres 8.2.10
Are they work properly on the CentOS server?
I have following components configured.
LoadBalancer, Apache and SSL enabled JBoss.
Lodbalancer URL ....
Apache URL ...
Jboss URL (SSL) ...
When the request comes to Loadbalancer, it is forwarding the request fine to apache.
But from apache I am not able to forward the request to Jboss(SSL)
I am using below settings on httpd.conf file of apache but url is getting changed to [URL] .... from [URL] ...
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://servername:8443/EPC [R,L]
I still want the generic name (emsprod.com) to be displayed on url instead of server name.
How I can successfully forward the request to Jboss when I access LB url.
I am using Apache 2.4 and Jboss 7.1 on Windows server 2012 server. requirement is to have SSL offload in place for communication between Apache to Jboss. Apache will be secured to handle client requests from Apache onwards all servers in trusted zone hence there is offload requirement.
View 6 Replies View RelatedEnvironment(home server/learning):
-1 Public IP
-Host Windows Server 2008 R2 AD/DNS/Hyper-V (server0)
+ VM Windows Server 2008 R2 Exchange 2010/IIS (server1)
+ VM Ubuntu server 13.11 Apache 2.4.6 with virtual hosts (server2)
+ VM Windows Server 2008 R2 Blackberry Enterprise Server running on a Jboss webserver (server3)
-All port 80,443 requests points Ubuntu server 13.11 (server2)
Within Apache 2.4.6 I have virtualhost where the setup are as followed
SomeWebsite:80
SomeOtherWebsite:80
Mail.server1.com:443 (internet <---> server2 reverse proxy:443 +CERT <---> 443+CERT server1)
Bes.dnsname.com:443 (internet <---> server2 reverse proxy:443 +CERT <---> 443+CERT server3)
The problem:
For learning purpose I am configuring a blackberry enterprise server(bes) on server3. It's a clean installation with only the needed applications to run a bes. Because I only have 1 public ip I am trying to reverse proxy this webservice two like server1. The bes webservice is configured to accept connections on port 443. So my first web.conf setup was similar to the setup I used for server1 but I noticed that the webpage was displayed but I couldn't interact with the page because it was a java application. So digging deeper into this i found that the webpage that bes provided me to use isn't the real application but more like a iframe setup.
Example:
BES Console address: https://server3.com/webconsole/login
Real address: https://server3.com/websconsole/app
Unfortunately after finding this and editing my web.conf to proxypass reverse to this real address I encountered a other problem. The bes webconsole works with session is and parameters
Example:
https://bes.server3.com/webconsole/app;jsessionid=2C10DDA521DB8408479AAD8F34255C7F? component=login.goToChangeLanguagePageLink&consoleSId=&page=Login&service=direct&session=T
Current httpd.conf for server3:
<VirtualHost *:80>
DocumentRoot /var/www/bes.server3.com
ServerName bes.server3.com
<Directory "/var/www/bes.server3.com">
allow from all
Options +Indexes
</Directory>
[code]....
I am tried to integrate Apache HTTP server and JBoss app server 7 with mod_jk module plugin in Apache.I have two instances of Jboss running and Apache server sends requests to them.I have added following code in "httpd.conf" of Apache:
Code:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
JkWorkersFile "D:/Program Files/Apache Group/Apache2/conf/workers.properties"
JkShmFile "D:/Program Files/Apache Group/Apache2/logs/mod_jk.shm"
JkLogFile "D:/Program Files/Apache Group/Apache2/logs/mod_jk.log"
[Code] ....
But, though I have configured this way, when my worker1 goes down,Apache is not sending requests to worker2 and I get "Service Temporarily Unavailable" message.
This is the first time I am using Windows 2008. I am used to Win xp but IIS in Windows 2008 looks like the default server and it always grabs the 80 port and if I remove it, Web Publishing and http services won't be available
Any body familar with Jboss on Windows 2008?
I've been searching around with google regarding how to downgrade the Apache 2.2 which comes with CentOS 5 to Apache 1.3.39.
View 2 Replies View Relatedi installed httpd from yum and all ok.When i check my site via acunetix vulnerability scanner says Apache version older than 2.2.8.So it is vulnerable.
I must upgrade httpd to newer version but i cant.
Yum update says that httpd 2.2.3 is latest but ITS NOT.
I'm using centos 5.2. To my surprise this only comes with php 5.1.6 and apache 2.0
I want the latest versions, php 5.2.7, apache 2.2.10, mysql 5.1 -- Are there any repositories for this available? (Or however I can upgrade with yum)
Anytime I've gotten these before, they were stored in:
/var/log/messages
Today (according to logwatch), I got a protection fault in "top".
But when I view /var/log/messages... nothing is there relating to a fault.
The only kernel message that appears is a martian source.
I also hadn't logged into ssh today, isn't "top" an ssh command.
Sometimes my apache gets hanged due to memory leak or persistence connection, then needs to be restarted manually, how can I make this process automatic, that is it get restarted whenever it got hanged or shutdown?
View 9 Replies View RelatedI have centos -7 and apache 2.4.6. I have made one small php scripts and measuring the performance of server.
Average time is around 15 ms for per request. But when adding concurrent requests the average time increase too much high for the request see the below output
ab -n 10000 http://127.0.0.1/1.php
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 14 17 2.6 15 35
Waiting: 0 1 0.2 1 10
Total: 14 17 2.6 15 35
With Concurrent connections
ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms.
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216
ab -n 1000 -c 100 http://127.0.0.1/1.php See the processing the mean request time its around 150 ms when total request is 1000 only.
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.1 0 5
Processing: 25 150 24.7 153 213
Waiting: 2 134 25.2 138 194
Total: 29 150 24.1 153 216
How to configure the Apache so the request time decreas to low ms ???
In Centos -7 Default configuration of MPM Directory also not found ??? checked in httpd.conf and other file also.
I moved the home directory for apache from /usr/local/apache2/htdocs to /home/username/www
When I go to browse the site, I receive a 403 error, You do not have access to / on the server.
It gave the OK default page for apache before moving so I am assuming it is a permission issue.
What do I need to do? apache is running as the default "daemon" user and group.
I have one bare server and installed everything myself. however, I found apache, mysqld can not automatically start after reboot, may I know how to enable them to automatically start after reboot?
View 5 Replies View RelatedI've been seeing lots of the following error in my error_log recently, I've enabled core dumps and have managed to analyse one using gdb:
[Fri Nov 29 20:44:41.318847 2013] [core:notice] [pid 2307] AH00051: child pid 7504 exit signal Segmentation fault (11), possible coredump in /tmp/core-dump[Fri Nov 29 20:44:41.318937 2013] [core:notice] [pid 2307] AH00051: child pid 7623 exit signal Segmentation fault (11), possible coredump in /tmp/core-dump[Fri Nov 29 20:44:43.324859 2013] [core:notice] [pid 2307] AH00051: child pid 7724 exit signal Segmentation fault (11), possible coredump in /tmp/core-dump
OS CentOS 6.5
Panel version 11.5.30 Update #50
Tried migrating a site from a much older server. The migration never completed, so it was aborted and all the migration files deleted. Now, I'm getting the following error on the Plesk Home page:
=================
New configuration files for the Apache web server were not created due to the errors in configuration templates: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Syntax error on line 319 of /etc/httpd/conf/plesk.conf.d/roundcube.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/webmails/roundcube/xxxxxxxxxxx.com_webmail.conf: No such file or directory . The error message containing the detailed error descriptions was sent to you by e-mail. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
=================
Clicking either of the 2 available options (links) does not resolve the issue. How to clear this error?
i read access_log and see a lot of
Code:
::1 - - [08/Apr/2009:02:19:11 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:15 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:18 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:19 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:20 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:21 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:22 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [08/Apr/2009:02:19:33 -0700] "GET / HTTP/1.0" 200 - "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
Then my vps use so much memory now and my site load slowly.
What is the difference between CentOs 5.0 and Centos 4.5? (Both contains Plesk)
Would CentOS 5 contain more updates and fixes? CentOS 4.5 be more stable?
Does it worth to upgrade cent os to latest version on server where is installed whm/cpanel?Could i request upgrade from cpanel support ?
View 3 Replies View Relatedwhich one do i have to choose?? and why?
my server is P4 3.6GHz HTT with 2GB RAM
I've made a how to, based on my personal knowledge about upgrading a CentOS 3, RedHat 9, or 8?, Fedora Core, and maybe others, to the new CentOS 4.5 OS. (or CentOS 4.x)
[url]
Please post, comments, questions, etc. here.
I've myself upgraded many servers this way, (even, tonight, I upgraded another, so I finally decided to do this with all my notes)
linux and after several days testing different distributions and a bunch of different ways (e.g. freenx,vnc XFCE ...) I've decided to setup a vnc-server on CentOS-5-i386-minimal and use KDE as a desktop environment.
After reloading my vps with centos-5-i386-minimal, I logged in as root and executed:
Code:
yum update
yum -y groupinstall "KDE (K Desktop Environment)"
yum -y install vnc vnc-server firefox X11 xorg
I then added a user "abt" and set the password. Then I logged in as abt and execute : vncserver, it asked for the password and created the appropriate .vnc directory and files.
I then edited xstartup file and replaced "twm &" with "startkde &" and executed vncserver once again, this created desktop number 2 for me.
The problem is that after running TightVNC(on vista) and entering IPNUMBER:2, It successfully connects to vnc-server but what i get is a black screen with X cursor!
i have a colo server, lately im having problem, every 2-3 oclock in the morning my server crash, i asked the server management to have a look at it but no luck, they install rpm, reduce the http max, etc, etc ( i dont want to mention the name since my server management have helped me alot and its not fair for them if i speak a bad thing about them ) anyway,
I bought the server from siliconmechanics iServ R254
CPU: 2 x Intel Xeon E5410 Quad-Core 2.33GHz, 12MB Cache, 1333MHz FSB, 45nmHi-k
RAM: 12GB (6 x 2GB) DDR2-667 Registered ECC - Interleaved
NIC: Intel 82573V & 82573L Gigabit Ethernet Controllers - Integrated
Hot-Swap Drive - 1: 150GB Western Digital Raptor (1.5Gb/s,10Krpm,16MB Cache,NCQ) SATA
Hot-Swap Drive - 2: 500GB Seagate Barracuda ES.2 (3Gb/s, 7.2Krpm, 32MB Cache, NCQ) SATA
Optical Drive: Low-Profile DVD-ROM Drive
Power Supply: 520W Power Supply with PFC - 87% Maximum Efficiency
Rail Kit: 2-Piece Ball-Bearing Rail Kit
OS: CentOS 5 - 64-bit - Preload, No Media
Warranty: Standard 3 Year - Return to Depot - Advanced Component Exchange
Configured Power: 255 W, 262 VA, 871 BTU/h, 2.4 Amps (110V), 1.3 Amps (208V)
Im using CENTOS 5.2 x86_64
i check on the message log, this is the error before crash
hdc: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdc: no DRQ after issuing MULTWRITE_EXT
ide1: reset: success
hdc: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdc: no DRQ after issuing MULTWRITE_EXT
ide1: reset: success
hdc: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdc: no DRQ after issuing MULTWRITE_EXT
ide1: reset: success
Motherboard manual
[url]
i read on centos forum its a problem with the drive - the 500 gigs( the server read my hd as ATA instead of ATA )
i tried to go to BIOS and change to AHCI but server doest recognize the drive
[url]
Is there really no package in yum for APC (Alternative PHP Cache)? Everything I'm seeing suggests I build it from source.
Is this the way to go? I can, it just seems unlikely to me that there's no build of it.
is there any GUI ( pre installed ) in centOS 4 ..
if yes, how can we access it,
if no, how can we install GUI and access it...
Will be reloading server OS and wondering with which one of those should I go?
Now using 4.6
I have dedicated works on Centos 4. Now I have to reinstall OS. Administrators recommend me to put again Centos 4 and I would like to install Centos 5. Would like to hear opinion of professionals what it is better to put?
View 12 Replies View Relatedhow to find OS crash logs or apache crash logs. My server keeps dying every night and I need to know where and how to find out why it is doing this.
View 1 Replies View RelatedI've just leased my first dedicated server from managemybox, which has come loaded with centos 4.5.
I need to install all the ffmpeg/transcoding junk - something I've done before...
...but now, I'm having huge issues. Yum and up2date don't seem to have *any* idea of where anything, from ffmpeg to flvtool2 is.
I'm crap at quite a bit (read most) of the command line stuff. Whadddoo I need to do? Why is yum telling me there are no matches for the damn stuff?
How can I get from A to B properly without the hassle?
I did have a VPS before, with memset.com - and all this stuff installed fine on Fedora 4 (it was a VMWare based VPS so everything worked, unlike the Xen based ones I've experienced).
How to install yum in CentOS 5?
View 5 Replies View RelatedI have core2quad box with 4GB RAM, when i try install CentOS 5.0 on it then it show 3GB RAM only, and CPU just show:
Quote:
Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz Processor #1 speed: 1596.000 MHz Processor #1 cache size: 4096 KB