public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: Renat Lumpau <rl03@gentoo.org>
To: gentoo-web-user@lists.gentoo.org, gentoo-java@lists.gentoo.org
Subject: [gentoo-java] webapp-config & Java
Date: Wed, 25 Jan 2006 20:50:26 +0000	[thread overview]
Message-ID: <20060125205026.GF4249@toucan.gentoo.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1777 bytes --]

Hello,

I am looking into making webapp-config Java-aware. While there are quite a few
things that would need to happen from both the w-c and Java ends, it definitely
seems plausible.

The first step is to develop a directory structure for Java webapps that
supports virtual hosts and plays nice with GLEP 11. All four J2EE/servlet
engines currently in Portage (tomcat, jetty, resin, and jboss) implement this in
their own way:

- tomcat stores webapps in /var/lib/tomcat-5/{vhost}/webapps. There is
  one "default" vhost.
- jetty stores webapps in /opt/jetty/webapps. There is currently no
  vhost hierarchy, although I believe it should be easy to create one under
  /opt/jetty/webapps/{vhost}
- resin stores webapps in /opt/resin/webapps. There is currently no
  vhost hierarchy, although I believe it should be easy to create one under
  /opt/resin/webapps/{vhost}
- jboss is less straightforward. It appears that webapps go into
  /var/lib/jboss/{all,default,minimal}, but I'm not sure what the difference
  between those three directories is or how vhosts are handled.

I propose to add a Java-specific directory under /var/www/{vhost}, such as
/var/www/localhost/java (perhaps there is a better name than java?). This
directory could be symlinked from the tomcat/jetty/resin/jboss locations, much
like what tomcat already does. This would have the benefit of keeping everything
related to one vhost (statis HTML, servlets, CGI scripts, etc) in one location.

Comments and suggestions (esp. from Java folks) are welcome. I would
particularly like to figure out what to do with jboss.

-- 
Renat Lumpau
all things web-apps
GPG key id #C6A838DA on http://pgp.mit.edu
Key fingerprint = 04AF B5EE 17CB 1000 DDA5  D3FC 1338 ADC2 C6A8 38DA

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2006-01-25 20:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-25 20:50 Renat Lumpau [this message]
2006-01-26  9:30 ` [gentoo-java] webapp-config & Java Jose Gonzalez Gomez
2006-01-26 20:54   ` Renat Lumpau
2006-01-26 21:56     ` Joshua Nichols
2006-01-27  1:19       ` Andrew Cowie
     [not found]         ` <306bf010601270354i6be394cct@mail.gmail.com>
2006-01-27 11:55           ` Fwd: " Jose Gonzalez Gomez
2006-01-28  7:04             ` Andrew Cowie
2006-01-28  7:29               ` Peter B. West
2006-01-29  1:45             ` Joshua Nichols
2006-01-30 19:22               ` Greg Tassone
2006-01-26 22:48   ` William L. Thomson Jr.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060125205026.GF4249@toucan.gentoo.org \
    --to=rl03@gentoo.org \
    --cc=gentoo-java@lists.gentoo.org \
    --cc=gentoo-web-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox