running tomcat on freebsd
achill at matrix.gatewaynet.com
Mon May 9 03:49:08 PDT 2005
O kings fool έγραψε στις May 5, 2005 :
> I am really not trying to start a war here but would
> like to know the experiences of others running java &
> tomcat on freebsd vs linux.
> I have recently become a freebsd convert and am
> convined it is superior to linux in most respects.
> However in the past I was involved in running tomcat
> apps on linux and there were no linux-java issues.
> I am now considering developing and running tomcat
> apps on freebsd. But looking at the activity on this
> mailing list, it seems that it could be problematic
> and time consuming, given the issues with Sun. On
> linux i just had to unzip the jdk, set CLASS_PATH and
> JAVA_HOME and away I went.
Hmmm, the opposite occured to me on friday:
I am developing on 2 FreeBSDs and our production runs on many linuxes.
I had to build an app to handle NMEA0183 data coming directly
to a serial port from an JRC GPS receiver.
As usual the first thought was to stay with SUN's api's.
So i looked over at javax.comm package, but unfortunately
they explicitly said they dont have a linux port, and
gave some links that pointed to a site of the type: "here is a photo of
my cat, etc..., also here is some sw i wrote, etc..."
Starting to realize the pain, just from curiosity i gave FreeBSD a try:
Surprise: java-commapi-freebsd worked out of the box.
I was able to read GPS data within 30 seconds...
For linux i spent all day exploring
the virtues of rxtx (and its documentation).
After the well tried Linux method of "pick your favourite source ball and
good luck", i managed to have rxtx running on our linux, but ofcourse
with no native JAVA comm API.
As for tomcat, it is yet another java app, dont worry running it
on freebsd (i run jboss non stop for 3 years).
> I am just wondering if it is worth the time and
> trouble and if there are constant stability issues to
> contend with after you get the java and tomcat ports
> installed and runnig. And I am guessing that
> upgrading jvms in the future would be a nightmare.
No its not a nightmare, and its not something you do
3 times per day.
You do it 1-2 times a year normally.
> Does anyone have linux and freebsd java experience to
> advise with?
All people in this list :)
> Yahoo! Mail Mobile
> Take Yahoo! Mail with you! Check email on your mobile phone.
> freebsd-java at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
More information about the freebsd-java