Tomcat 4.1 Installation Failure

Palle Girgensohn girgen at pingpong.net
Tue May 27 05:50:37 PDT 2003


Yeah, without looking at the source it looks like the port does a chmod 
-R `find ...`  where it really has to to a find ... -exec chmod {} ;\
the argument list for chmod becomes too long....

BTW, I seem to remember that the tomcat port installs *all* its files 
as the web server user. Is this really clever from a security 
perspective? All tomcat needs to write to is work, webapps and perhaps 
conf if you want autocreated configurations, right? But this was beside 
the point, I guess... Try modifying the Makefile as describved above, 
it should work.

/Palle

måndagen den 26 maj 2003 kl 15.00 skrev Mark Dixon:

> I'm trying to install Tomcat 4.1 on 5.1 beta, and I have the following 
> installation failure. Does anyone have any ideas as to the cause?
>
> TIA,
>
> Mark
>
>
> ===>  Patching for jakarta-tomcat-4.1.24
> Installation settings:
>    Destination directory:    /usr/local/jakarta-tomcat4.1
>    Control program location: /usr/local/bin/tomcat41ctl
>    Startup script location:  
> /usr/local/etc/rc.d/020.jakarta-tomcat41.sh
>    Location of JDK:          /usr/local/jdk1.4.1
>    Location of Java port:    java/jdk14
>    Running as (user/group):  www/www
>    HTTP port:                8180
>    Shutdown listener port:   8005
>    WARP port:                8008
>    AJP 1.3 connector port:   8009
>    Logfile stdout:           
> /usr/local/jakarta-tomcat4.1/logs/stdout.log
>    Logfile stderr:           
> /usr/local/jakarta-tomcat4.1/logs/stderr.log
>    Starting after install:   NO
>    Stop time-out:            5 sec.
> ===>  Applying FreeBSD patches for jakarta-tomcat-4.1.24
> >> Removing unneeded files... [ DONE ]
> >> Customizing daemonctl.c... [ DONE ]
> >> Customizing daemonctl.1... [ DONE ]
> >> Customizing startup.sh... [ DONE ]
> >> Customizing server.xml... [ DONE ]
> ===>   jakarta-tomcat-4.1.24 depends on file: 
> /usr/local/jdk1.4.1/bin/java - fou nd
> ===>  Configuring for jakarta-tomcat-4.1.24
> ===>  Installing for jakarta-tomcat-4.1.24
> ===>   jakarta-tomcat-4.1.24 depends on file: 
> /usr/local/jdk1.4.1/bin/java - fou nd
> >> Creating destination directory... [ DONE ]
> >> Copying files to destination directory... [ DONE ]
> >> Compiling and installing control program... [ DONE ]
> >> Installing startup script... [ DONE ]
> >> Installing man pages... [ DONE ]
> >> Creating log files... [ DONE ]
> >> Creating symlink to tools.jar... [ DONE ]
> >> Fixing ownership settings... [ DONE ]
> >> Fixing permissions.../bin/chmod: Argument list too long
> *** Error code 2
>
> Stop in /usr/ports/www/jakarta-tomcat41.
>
>
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to 
> "freebsd-ports-unsubscribe at freebsd.org"



More information about the freebsd-ports mailing list