public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-java] webapp-config & Java
@ 2006-01-25 20:50 Renat Lumpau
  2006-01-26  9:30 ` Jose Gonzalez Gomez
  0 siblings, 1 reply; 11+ messages in thread
From: Renat Lumpau @ 2006-01-25 20:50 UTC (permalink / raw
  To: gentoo-web-user, gentoo-java

[-- 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 --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2006-01-30 19:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-25 20:50 [gentoo-java] webapp-config & Java Renat Lumpau
2006-01-26  9:30 ` 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.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox