From girgen@partitur.se  Sun May 21 04:58:12 2000
Return-Path: <girgen@partitur.se>
Received: from bastuba.partitur.se (bastuba.partitur.se [193.219.246.194])
	by hub.freebsd.org (Postfix) with ESMTP id F0C2037B874
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 May 2000 04:58:10 -0700 (PDT)
	(envelope-from girgen@partitur.se)
Received: from partitur.se (c-193.150.250.87.chello.se [193.150.250.87] (may be forged))
	by bastuba.partitur.se (8.8.8/8.8.8) with ESMTP id NAA19989
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 May 2000 13:58:07 +0200 (CEST)
	(envelope-from girgen@partitur.se)
Received: (from girgen@localhost)
	by partitur.se (8.9.3/8.9.1) id NAA59771;
	Sun, 21 May 2000 13:58:07 +0200 (CEST)
	(envelope-from girgen@partitur.se)
Message-Id: <200005211158.NAA59771@partitur.se>
Date: Sun, 21 May 2000 13:58:07 +0200 (CEST)
From: Palle Girgensohn <girgen@partitur.se>
Reply-To: Palle Girgensohn <girgen@partitur.se>
To: FreeBSD-gnats-submit@freebsd.org
Subject: www/gnujsp fixes
X-Send-Pr-Version: 3.2

>Number:         18708
>Category:       ports
>Synopsis:       www/gnujsp config fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 21 05:00:01 PDT 2000
>Closed-Date:    Sun May 28 20:25:38 PDT 2000
>Last-Modified:  Sun May 28 20:26:45 PDT 2000
>Originator:     Palle Girgensohn
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Partitur
>Environment:
n/a
	

>Description:
This was sent to me by Tommy Chen :
...
I checked the INSTALL.apache document and found that there was
something wrong in the "servlet.gnujsp.initArgs" argument in the
gnujsp.properties file. In addition , I thought the pkg/MESSAGE file
needed to be updated so that we can use this port correctly.

It is good stuff, so please commit it.

>How-To-Repeat:


>Fix:
Index: files/gnujsp.properties.in
===================================================================
RCS file: /home/ncvs/ports/www/gnujsp/files/gnujsp.properties.in,v
retrieving revision 1.1
diff -u -r1.1 gnujsp.properties.in
--- files/gnujsp.properties.in	2000/01/07 02:04:15	1.1
+++ files/gnujsp.properties.in	2000/05/21 11:53:13
@@ -44,4 +44,4 @@
 # but I guess you may prefer the default locale :-) (alph)
 
 servlet.gnujsp.code=org.gjt.jsp.JspServlet
-servlet.gnujsp.initArgs=checkclass=true,pagebase=%%PREFIX%%/www/data,scratchdir=%%PREFIX%%/www/gnujsp,debug=true,compiler=builtin-javac -classpath %classpath%:%scratchdir%:%%PREFIX%%/gnujsp10.jar:%%PREFIX%%/servlet-2.0-plus.jar -d %scratchdir% -deprecation %source%
+servlet.gnujsp.initArgs=checkclass=true,pagebase=%%PREFIX%%/www/data,scratchdir=%%PREFIX%%/www/gnujsp,debug=true,compiler=builtin-javac -classpath %classpath%:%scratchdir%:%%PREFIX%%/share/java/classes/gnujsp10.jar:%%PREFIX%%/share/java/classes/servlet-2.0-plus.jar -d %scratchdir% -deprecation %source%
Index: pkg/MESSAGE
===================================================================
RCS file: /home/ncvs/ports/www/gnujsp/pkg/MESSAGE,v
retrieving revision 1.2
diff -u -r1.2 MESSAGE
--- pkg/MESSAGE	2000/01/05 01:41:27	1.2
+++ pkg/MESSAGE	2000/05/21 11:53:31
@@ -3,22 +3,24 @@
 GNUJSP has been installed in %%PREFIX%%/share/java/classes.
 
 To get started, first set up apache with jserv to function properly,
-then add the following to your apache.conf:
+then add the following to %%PREFIX%%/etc/apache/jserv/jserv.conf
+before the "</IfModule>" line:
 
   ApJServAction .jsp /gnujsp/gnujsp
   ApJServMount /gnujsp /gnujsp
 
-and add the zone gnujsp to your jserv configuration:
-  zones=gnujsp
-  gnujsp.properties=%%PREFIX%%/etc/apache/gnujsp.properties
-
 Then copy the gnujsp.properties to your apache config dir:
 cp %%PREFIX%%/share/doc/gnujsp/gnujsp.properties \
    %%PREFIX%%/etc/apache
 
+and add the zone gnujsp to %%PREFIX%%/etc/apache/jserv/jserv.properties:
+  zones=gnujsp
+  gnujsp.properties=%%PREFIX%%/etc/apache/gnujsp.properties
+
 Last, create a scratch directory for gnujsp, writable by your web
 server userid (usually 'nobody'). The default directory path is
-%%PREFIX%%/www/gnujsp
+%%PREFIX%%/www/gnujsp, which can be changed by modifying
+%%PREFIX%%/etc/apache/gnujsp.properties
 
 If you run into problems, read the INSTALL.apache document in
 %%PREFIX%%/share/doc/gnujsp for info more info.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun May 28 20:25:38 PDT 2000 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18708 
>Unformatted:
