Re: Apache + tomcat + openbsd
From: clvrmnky (clvrmnky-uunet_at_coldmail.com.invalid)
Date: 06/24/04
- Next message: jpd: "Re: Apache + tomcat + openbsd"
- Previous message: Uwe Dippel: "Re: question about mailserver"
- In reply to: Donald: "Apache + tomcat + openbsd"
- Next in thread: jpd: "Re: Apache + tomcat + openbsd"
- Reply: jpd: "Re: Apache + tomcat + openbsd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: jpd: "Re: Apache + tomcat + openbsd"
- Previous message: Uwe Dippel: "Re: question about mailserver"
- In reply to: Donald: "Apache + tomcat + openbsd"
- Next in thread: jpd: "Re: Apache + tomcat + openbsd"
- Reply: jpd: "Re: Apache + tomcat + openbsd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|