continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vlado Peshov <vlat...@gmail.com>
Subject Apache mod_jk/mod_proxy not working with Continuum
Date Wed, 20 May 2009 16:53:15 GMT
Hello,

I am using Continuum 1.2.3, version that I have downloaded from Continuum
website. I have successfully installed and configured both versions:
standalone webapp and bin version. For standalone version I was using
apache-tomcat-6.0.16 and apache-tomcat-6.0.18. Continuum is working just
fine when it is reached from internal network/zone, but also I want to put
continuum visible from outside network. So I tried to connect the servlet
container via public Apache HTTP mod_jk or mod_proxy. The application is
visible from outside but when I enter user/password informations nothing
happens. It should redirect to another page with logged informations. Here
are basic information for the systems:

Continuum PC:

# uname -r
2.6.18-6-amd64

# java -version
java version "1.6.0_05-ea"
Java(TM) SE Runtime Environment (build 1.6.0_05-ea-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-ea-b05, mixed mode)

# hostname
debianMaven

# netstat -tap | grep java
tcp6       0      0 *:8082                  *:*
LISTEN     12487/java

# cat continuum.xml
<?xml version="1.0" encoding="UTF-8"?>
<continuum-configuration>
  <baseUrl>http://publicdomain.com/continuum</baseUrl>

<buildOutputDirectory>/opt/continuum/data/build-output-directory</buildOutputDirectory>

<deploymentRepositoryDirectory>/opt/continuum/data/deployment-directory</deploymentRepositoryDirectory>
  <workingDirectory>/opt/continuum/data/working-directory</workingDirectory>

<releaseOutputDirectory>/opt/continuum/data/release-output-directory</releaseOutputDirectory>
</continuum-configuration>

Apache HTTP PC:

# uname -r
2.6.18-6-amd64

# apt-cache show apache2
Package: apache2
Priority: optional
Section: net
Installed-Size: 88
Maintainer: Debian Apache Maintainers <debian-apache@lists.debian.org>
Architecture: all
Version: 2.2.3-4+etch6
Depends: apache2-mpm-worker (>= 2.2.3-4+etch6) | apache2-mpm-prefork (>=
2.2.3-4+etch6) | apache2-mpm-event (>= 2.2.3-4+etch6)
Filename: pool/main/a/apache2/apache2_2.2.3-4+etch6_all.deb
Size: 41306
MD5sum: 9c0c4e8267e2666528467593f4dd3426
SHA1: 4291a903b401c0dcf84011b20127383f46f97893
SHA256: d29589233e069e8240354ddc64694cf8e7efd420530f3ad88fe5b732b0926da5
Description: Next generation, scalable, extendable web server
 Apache v2 is the next generation of the omnipresent Apache web server. This
 version - a total rewrite - introduces many new improvements, such as
 threading, a new API, IPv6 support, request/response filtering, and more.
Tag: filetransfer::http, implemented-in::c, interface::daemon,
network::server, network::service, protocol::http, protocol::ipv6,
role::program, suite::apache, web::server, works-with::text,
works-with-format::html

# cat /etc/apache2/httpd.conf
ProxyPass /continuum http://debianMaven:8082/continuum
ProxyPassReverse /continuum http://debianMaven:8082/continuum

# cat /etc/apache2/mods-enabled/proxy.conf
<IfModule mod_proxy.c>
        #turning ProxyRequests on and allowing proxying from all may allow
        #spammers to use your proxy to send email.

        ProxyRequests Off

        <Proxy *>
                AddDefaultCharset off
                Order deny,allow
#                Deny from none
                Allow from all

        # Define the character set for proxied FTP directory listings
        ProxyFtpDirCharset UTF-8
        </Proxy>

        # Enable/disable the handling of HTTP/1.1 "Via:" headers.
        # ("Full" adds the server version; "Block" removes all outgoing Via:
headers)
        # Set to one of: Off | On | Full | Block

        ProxyVia On
</IfModule>

I cannot say for sure that is continuum error/bug, but it is interesting
because on the same machine I have other webapps(Nexus, Sonar) and they are
working perfectly. Also interesting fact is that I was able to work with
continuum from outside before year or two but with then the version of
continuum was 1.0 or 1.1 I think(I can't remember for sure, because I tested
the application and I have deleted all the data).

Same thing is happening when I try to access/login continuum through Apache
HTTP PC internal IP/hostname.

If it is necessary I can send/attach continuum.log and catalina.out but I
don't see any exceptions related to the problem.

I do have firewall running but I forward port 80 from outside to the Apache
HTTP PC, both servers has same gateway(firewall internal interface) and I
don't have any proxy filter or similar.

Regards, Vlado

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message