RE: FreeBSD Tomcat

2007-09-28 Thread Yance Kowara


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Ivan Rambius
Ivanov
Sent: Friday, 28 September 2007 1:50 PM
To: freebsd-questions@freebsd.org
Subject: Re: FreeBSD Tomcat

Hello,

On 9/28/07, Byung-Hee HWANG [EMAIL PROTECTED] wrote:
 In this case I think you are better to use Linux
than to use FreeBSD
 because still it's difficult to operate Java stuff
on FreeBSD. So I
 recommend that you should move to Linux.
Actually nowadays it is easy to use java and tomcat on
freebsd.

First one has to install a JDK. I myself prefer
diablo-jdk. Go to
/usr/ports/java/diablo-jdk15, type

make install

and follow the instructions. Due to java licenses you
have to manually
fetch some files from internet and put them in
/usr/ports/distfiles.

If you are required to use sun jdk, you can install it
from
java/jdk15. Note that it will need an existing jdk to
bootstrap. By
default it uses linux-sun-jdk and I had problems with
it in the past.
In this case I used diablo-jdk and sun jdk15 installed
correctly. From
my experinece, however, I can tell that tomcat runs
fine with
diablo-jdk.

Next go to /usr/ports/www/tomcat55/ and install it and
you have java and
tomcat.

 I/You/He/She/We love FreeBSD,
 though;;
Oh yes, we loves FreeBSD, don't we, my precious?

Regards
Rambius

-- 
Tangra Mega Rock: http://www.radiotangra.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


Thank you for the replies. I installed linux-sun-jdk,
tomcat and mod_jk
(tomcat apache connector) from ports. It seesm to
work, but I have not have
it tested in the production environment by the
developers.

Would you mind explaining the difference between
sun-jdk and diablo jdk?


Kind regards,

Yance



  

Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Tomcat

2007-09-28 Thread Ivan Rambius Ivanov
Hello,

On 9/28/07, John Nielsen [EMAIL PROTECTED] wrote:

 This is not correct. The Java packages available from the FreeBSD
 Foundation are based on the same codebase as any other 1.5 JDK or JRE
 from Sun.
Thank you for correcting me. I was not (fully) aware of this fact.

Regards
Rambius

-- 
Tangra Mega Rock: http://www.radiotangra.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Tomcat

2007-09-28 Thread Ivan Rambius Ivanov
Hello

On 9/28/07, Yance Kowara [EMAIL PROTECTED] wrote:

 Would you mind explaining the difference between
 sun-jdk and diablo jdk?

From the point of view of the end user or even the Java programmer
there is no differences - both jdk's offer the same public APIs,
compilers, runtime environments, etc. The differences are in the
internal implementaions.

Sun JDK is developed by Sun Microsystem. They officially offer binary
downloads for Windows, Solaris and Linux, as well the source code (for
their JDK). A FreeBSD port for Sun JDK does exists, but it is not made
by Sun. Take a look at that page: http://www.freebsd.org/java/

Diablo JDK (I think) is another implementation of JDK - see
http://freebsdfoundation.org/downloads/java.shtml.

Regards
Ivan

-- 
Tangra Mega Rock: http://www.radiotangra.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Tomcat

2007-09-28 Thread John Nielsen

Quoting Ivan \Rambius\ Ivanov [EMAIL PROTECTED]:

On 9/28/07, Yance Kowara [EMAIL PROTECTED] wrote:


Would you mind explaining the difference between
sun-jdk and diablo jdk?

From the point of view of the end user or even the Java programmer

there is no differences - both jdk's offer the same public APIs,
compilers, runtime environments, etc. The differences are in the
internal implementaions.

Sun JDK is developed by Sun Microsystem. They officially offer binary
downloads for Windows, Solaris and Linux, as well the source code (for
their JDK). A FreeBSD port for Sun JDK does exists, but it is not made
by Sun. Take a look at that page: http://www.freebsd.org/java/

Diablo JDK (I think) is another implementation of JDK - see
http://freebsdfoundation.org/downloads/java.shtml.


This is not correct. The Java packages available from the FreeBSD 
Foundation are based on the same codebase as any other 1.5 JDK or JRE 
from Sun. The difference is that they are available as certified binary 
packages. See the original announcement for all the details:


http://freebsdfoundation.org/press/20060405-PRrelease.shtml

then consider donating to the Foundation to support ongoing and future 
porting and certification work for Java on FreeBSD.


JN
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Tomcat

2007-09-28 Thread Jonathan Chen
On Fri, Sep 28, 2007 at 07:14:33AM -0700, Yance Kowara wrote:

[...]
 Thank you for the replies. I installed linux-sun-jdk,
 tomcat and mod_jk
 (tomcat apache connector) from ports. It seesm to
 work, but I have not have
 it tested in the production environment by the
 developers.

I suggest that you use the native jdk instead (which you can bootstrap
build with the linux-sun-jdk). The linux-sun-jdk has various issues
running correctly on FreeBSD; check the java-mailing archives. The
native jdk removes the requirement of yet another layer of software to
run (ie the linuxalator), and simplifies debugging.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
Irrationality is the square root of all evil
  - Douglas Hofstadter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Tomcat

2007-09-27 Thread Byung-Hee HWANG
On Wed, 2007-09-26 at 21:30 -0700, Yance Kowara wrote:
[...snip...]
 Many of the docs pointed out the need to switch onLinux emulation option in 
 the kernel (Docs using FreeBSD 4.10). Is it stillnecessary to do this or is 
 it now handled by KLDload?
 Attached is pkg_info output. I tried installingeverything from ports 
 collection. Any missing software?
In this case I think you are better to use Linux than to use FreeBSD
because still it's difficult to operate Java stuff on FreeBSD. So I
recommend that you should move to Linux. I/You/He/She/We love FreeBSD,
though;;

Byung-Hee

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Tomcat

2007-09-27 Thread Ivan Rambius Ivanov
Hello,

On 9/28/07, Byung-Hee HWANG [EMAIL PROTECTED] wrote:
 In this case I think you are better to use Linux than to use FreeBSD
 because still it's difficult to operate Java stuff on FreeBSD. So I
 recommend that you should move to Linux.
Actually nowadays it is easy to use java and tomcat on freebsd.

First one has to install a JDK. I myself prefer diablo-jdk. Go to
/usr/ports/java/diablo-jdk15, type

make install

and follow the instructions. Due to java licenses you have to manually
fetch some files from internet and put them in /usr/ports/distfiles.

If you are required to use sun jdk, you can install it from
java/jdk15. Note that it will need an existing jdk to bootstrap. By
default it uses linux-sun-jdk and I had problems with it in the past.
In this case I used diablo-jdk and sun jdk15 installed correctly. From
my experinece, however, I can tell that tomcat runs fine with
diablo-jdk.

Next go to /usr/ports/www/tomcat55/ and install it and you have java and tomcat.

 I/You/He/She/We love FreeBSD,
 though;;
Oh yes, we loves FreeBSD, don't we, my precious?

Regards
Rambius

-- 
Tangra Mega Rock: http://www.radiotangra.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Freebsd Tomcat

2007-09-25 Thread Bob Middaugh

 -- Original message --
From: Yance Kowara [EMAIL PROTECTED]
 
 Hi All,
 
  
 
 A web and database developer requested me to build atomcat server.
 
  
 
 Is there any good integrated doco on FreeBSD andTomcat?
 
  
 
 All I get when I googled it is old docs on JDK 1.3(e.g. 
 http://www.osnews.com/story.php/3558/Deploying-Apache-Tomcat-on-FreeBSD/)and
 
 http://www.pl.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/article.html
 
  
 
 Many of the docs pointed out the need to switch onLinux emulation option in 
 the 
 kernel (Docs using FreeBSD 4.10). Is it stillnecessary to do this or is it 
 now 
 handled by KLDload?
 
  
 
 Attached is pkg_info output. I tried installingeverything from ports 
 collection. 
 Any missing software?
 
  
 
 I am now reading on Apache Tomcat connector. Is itstill necessary to install 
 it?
 
  
 
 Kind regards,
 
  
 
  
 
 Yance
 
We use the diablo-jdk15 and tomcat 4.1 or 5.5 with postgres 8.1, all from 
ports.  I'm not a web developer or DB guy, but that seems to suffice for us.


---BeginMessage---
apache-2.2.6_1  Version 2.2 of Apache web server with prefork MPM.
apache-ant-1.7.0_1  Java- and XML-based build tool, conceptually similar to mak
autoconf-2.13.000227_6 Automatically configure source code on many Un*x 
platforms
autoconf-2.59_3 Automatically configure source code on many Un*x platforms
autoconf-2.61_2 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20070404 Wrapper script for GNU autoconf
automake-1.4.6_4GNU Standards-compliant Makefile generator (1.4)
automake-wrapper-20070404 Wrapper script for GNU automake
bash-3.1.10_1   The GNU Project's Bourne Again SHell
expat-2.0.0_1   XML 1.0 parser written in C
gettext-0.14.5_2GNU gettext package
gmake-3.80_2GNU version of 'make' utility
help2man-1.36.4_1   Automatically generating simple manual pages from program o
jakarta-tomcat-5.0.30_6 Open-source Java web server by Apache, 5.0.x branch
javavmwrapper-2.3   Wrapper script for various Java Virtual Machines
libiconv-1.9.2_2A character set conversion library
libtool-1.5.22_4Generic shared library support script
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
linux-sun-jdk-1.5.0.12,2 Sun Java Development Kit 1.5 for Linux
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux_base-fc-4_10  Base set of packages needed in Linux mode (for i386/amd64)
m4-1.4.9GNU m4
p5-gettext-1.05_1   Message handling functions
perl-5.8.8  Practical Extraction and Report Language
popt-1.7_4  A getopt(3) like library with a number of enhancements, fro
rpm-3.0.6_13The Red Hat Package Manager
wget-1.10.2 Retrieve files from the Net via HTTP and FTP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]---End Message---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Freebsd Tomcat

2007-09-25 Thread Bahman M.
On Tue, 25 Sep 2007 06:23:17 -0700 (PDT)
Yance Kowara [EMAIL PROTECTED] wrote:

 
 Hi All,
 
  
 
 A web and database developer requested me to build atomcat server.
 
  
 
 Is there any good integrated doco on FreeBSD andTomcat?
 
  
 
 All I get when I googled it is old docs on JDK 1.3(e.g.
 http://www.osnews.com/story.php/3558/Deploying-Apache-Tomcat-on-FreeBSD/)and
 
 http://www.pl.freebsd.org/doc/en_US.ISO8859-1/articles/java-tomcat/article.html
 
  
 
 Many of the docs pointed out the need to switch onLinux emulation
 option in the kernel (Docs using FreeBSD 4.10). Is it stillnecessary
 to do this or is it now handled by KLDload?
 
  
 
 Attached is pkg_info output. I tried installingeverything from ports
 collection. Any missing software?
 
  
 
 I am now reading on Apache Tomcat connector. Is itstill necessary to
 install it?

I use
  - Diablo JDK 1.5
  - JDK 1.6 
  - Tomcat 5.5 
  - PostgreSQL 8.2
  - PL/Java 1.3.1
for development and had no problems so far.

Bahman

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]