Re: Apache + tomcat + openbsd

From: clvrmnky (clvrmnky-uunet_at_coldmail.com.invalid)
Date: 06/24/04


Date: Thu, 24 Jun 2004 13:00:37 -0400

On 24/06/2004 3:22 AM, Donald wrote:

> I have to install Tomcat software on OpenBSD server, does anyone have
> experience how to install it ?
This may be flame territory, but OpenBSD is not, in my opinion, a good
Java development platform.

If you just want to fool around with this stuff, go ahead. Do not
assume you can run any kind of production Java code on OBSD. You can't
-- it's not nearly production ready.

Again, this is my opinion, but it is a somewhat informed one. Use
FreeBSD or Linux instead.

> I tried add it from packages but it give error on jdk-linux-1.3.1_07
> We use OpenBSD 3.3
>
> Package `jakarta-tomcat-4.0.6' depends on `jdk-linux-1.3.1_07'
> Trying to fetch
> http://ftp.jyu.fi/ftp/pub/OpenBSD/3.3/packages/i386/jdk-linux-1.3.1_07.tgz.
>
>>>>ftp -o -
>
> http://ftp.jyu.fi/ftp/pub/OpenBSD/3.3/packages/i386/jdk-linux-1.3.1_07.tgz
> Extracting from FTP connection into /var/tmp/instmp.AgrtH13564
> ftp: Error retrieving file: 404 Not Found
>
> gzip: stdin: unexpected end of file
> tar: End of archive volume 1 reached
> tar: Sorry, unable to determine archive format.
> tar command returns 1 status
> Finished loading `jdk-linux-1.3.1_07' over FTP
> pkg: Handling dependencies for
> Memory fault (core dumped)
> pkg_add(jakarta-tomcat-4.0.6): add of dependency `jdk-linux-1.3.1_07'
> failed!
> pkg_add(jakarta-tomcat-4.0.6): 1 package addition(s) failed
>
Ouch. I've seen this error from tar when I pass it a gzipped archive by
accident. In this case, ftp could not retrieve the file, and stream
it's empty stdout to tar's stdin, which then promptly barfed an error
message. This unexpected turn of events left someone's memory in a bad
way, and the kernel had to step in and knock some heads, dump some core.

You may want to try building from the ports tree, which is what is
recommended on other BSD platforms when building the JDK. See if you
can install from ports, and be prepared to watch the build process run
for hours and hours.

BTW, I think the JDK 1.3 on OBSD runs in Linux compat mode, which may
not give you anywhere near the kind of performance you need.

-- cm



Relevant Pages

  • Re: Booting off raidz *mostly* work
    ... You could use jot to duplicate various gpart commands to multiple drives, ... Clear 2 drives with up to 3 partitions each: ... Instead of extracting dists from the install media, I chose to build tar files of a system image using procedures gleaned from the jail manpage, that way I can add loader support and plenty of customizations to my image, use an up to date build, even include the source and ports trees for convenience into my tar, and the tar tends to extract in just a couple minutes on the destination system. ...
    (freebsd-current)
  • Re: How to Move from 1 drive to another?
    ... >>Before I forget, install, configure and configure smartmontools. ... thought I would try ReiserFS for the ... >>This will be quicker than doing it with cp or tar. ... boot directories to archive. ...
    (Debian-User)
  • Re: [opensuse] CD/DVD labeling software OSL10.2
    ... install the very common compressed file type .tar and tar.bz2...I can ... there is no file compression performed (so they take up approximately ... The .bz2 extension means that the tar file has been compressed with the ... Often you will find that a tool distributed as a tarfile is just the C ...
    (SuSE)
  • Re: YAST: "Restore System" doesnt! (SUSE 9.0)
    ... Dunno about V9 but 8.1 has the two perl scripts backup_search.pl and ... > create a TAR archive on an NFS drive. ... > install settings, and the deltas from the DVD. ... and just stream each partition raw onto tape or a BZIP2 file. ...
    (alt.os.linux.suse)
  • SUMMARY: Packaging Perl Modules on Solaris...
    ... then untar your tar file and copy all *.pm files in one of this directories. ... This works great for pure perl modules, ... with 'make -n install' in the source directory. ... I then used the ".packlist" files for each module to create the package ...
    (SunManagers)