Index: [Article Count Order] [Thread]

Date:  Thu, 4 May 2006 10:53:52 +0200
From:  Jes Kasper Klittum <jes (at mark) enavn.com>
Subject:  [coba-e:05008] Re: BETA -- Tomcat v5 & Mod-JK & GUI Addon -- DO NOT INSTALL ON PRODUCTION SYSTEMS!!!!!!!
To:  coba-e (at mark) bluequartz.org
Message-Id:  <45226112-EBB1-41A1-ADBB-4197FF2C4B7A (at mark) enavn.com>
In-Reply-To:  <455BEB95-2A02-4B17-9DD6-4060E18A9648 (at mark) enavn.com>
References:  <015501c66c12$7ef58ab0$1e64a8c0 (at mark) nuonce.net> <A968D2D8-8FA1-4B28-A56C-93FC004BAA8F (at mark) enavn.com> <Pine.LNX.4.63.0605010958260.3458 (at mark) mail.nuonce.net> <08E37E26-EDB7-4B6C-B7FF-FC528B3C07F5 (at mark) enavn.com> <Pine.LNX.4.63.0605020931420.16676 (at mark) mail.nuonce.net> <455BEB95-2A02-4B17-9DD6-4060E18A9648 (at mark) enavn.com>
X-Mail-Count: 05008

Bumping this issue to the top again.

Jes

>
> When I did that, it extracted the magnoliaPublic.war, but I do not  
> know how to access it.
>
> These are the directories it produced from the .war file;  I  
> followed the readme on how I should access it, but it didn't work.
>
> I am at a loss.  Everything appears proper, and I am not getting  
> any errors during install JSP into my site.  The ONLY problem I  
> have ran into has been screens hanging.  Like when I enable JSP, or  
> create a new Virtual Site.  It may just be my server though, it  
> runs in a VM(ware).

Same problem here - I have no idea how to actually use it as I am not  
into JSP - I just have customers using it. It may not work even in a  
install that is correct. The maneuvre I was trying to perform here  
was just to extract a war file through the admin - this is all it  
should be able to do - afterwards it is up to the customer to get it  
to work. We already confirmed that JSP and servlets work for the  
site, so that is fine. Now we just need to get the war extraction right.

To get back to the initial problems - these are the important  
problems to solve:

1) Domain WEB-INF folder and subdirs is owned by admin instead of nobody
2) Getting extraction of the war file in the admin right - it should  
call:

/usr/bin/perl -I /usr/sausalito/perl /usr/sausalito/sbin/ 
java_load_war.pl -n admin -g $SITENUM -f /home/sites/$DOMAIN/web/ 
$PATHTOWAR -t $DESTDIR -c

instead of the current:

/usr/bin/perl -I /usr/sausalito/perl /usr/sausalito/sbin/ 
java_load_war.pl -n admin -g $SITENUM -f /home/tmp/

which is clearly not right.

3) http://SERVERIP:8080 seems to refer to the first given site for  
which tomcat is installed - not to the actual server-installation in  
which the manager and admin apps are available. If JSP is disabled  
for all sites on the server, then http://SERVERIP:8080 refers to the  
server installation.

4) When no sites use Tomcat, then port 8080 is wide open. There  
should be an .htaccess file in the folder to make sure no one can  
enter without password. Furthermore an entry must be entered in the  
file /etc/tomcat5/tomcat-users.xml like this - <user username="admin"  
password="PASS" roles="manager,admin,host-manager"/>

These are the very important issues.

Jes