Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 10:09:20 -0600
From:      John-David Childs <jdc@nterprise.net>
To:        ronald-20010816@klop.yi.org
Cc:        freebsd-questions@freebsd.org, freebsd-java@freebsd.org
Subject:   I *just* got Linux Opera 5.05 TP1 + Java to work!  Plus other java kudos!
Message-ID:  <200109131616.f8DGGKW11348@dns1.digitalglobe.com>

next in thread | raw e-mail | index | archive | help
Synopsis: remove opera ("pkg_remove -vf" if appopriate), remove any 
previous versions of jdk 1.3.X...reinstall the latest linux-jdk 1.3.1 
(after doing a cvsup update...things have changed in the last week or so), 
make sure that /usr/local/share/opera/ is completely gone (pkg_remove 
won't remove the plugins directory if you made non-default changes like I 
did...), then install /usr/ports/linux-opera/ (opera 5.05-tp1) again.  

I'm viewing the chat applet on your home page via Opera right now! I can 
also view the applets on the start page at java.sun.com.  However, the 
chat.yahoo.com pages still appear not to work.

Using the tip I learned from http://klop.yi.org/~ronald/opera/ about the 
OpenMotif RPM (duh...I tried using the .tgz file and extracting the files 
to /usr/compat/linux manually), I finally got operamotifwrapper to 
recognize libXm.so.2.  I had previously installed the OpenMotif source 
code port and the linux .tgz file which of course didn't work!

On a side note, one of my employers uses Java, XML/XSL, and Tomcat/JSP's 
quite heavily on their web pages.  The webserver (unfortunately) has to 
run on Linux because of the currently poor *BSD Java support.  However, 
great advances have been made in the past two weeks with the native *BSD 
JDK 1.3.1 port.  In fact, for the first time, I'm able to install and 
execute our JSP pages without any linux jdk emulation.  Performance still 
sucks compared to the linux webserver, but it is much better than the 
performance of any of the linux-based jdk's (IBM's or Sun's).  Kudos to 
all those working on the *BSD java port.

It appears that the primary performance difference is due to the fact that 
Tomcat under linux starts multiple (threaded?) JVM's (with NO changes to 
the tomcat startup scripts)...while the FreeBSD native 1.3.1 and the 
Sun/Linux-emulation JDK only start one.  The IBM/Linux JDK 1.3.1 starts 
multiple JVM's, but the tomcat process is not able to communicate with any 
of them (even with linprocfs).  The aforementioned Linux (native) server 
showed the exact same performance problems under JDK 1.2.2 (only a single 
JVM loaded) but dramatically improved under JDK 1.3.1 (no changes to 
tomcat or jsp pages...just the stock version upgrade/install).  A page 
that took 35 seconds to load under JDK 1.2.2 took 9 seconds with JDK 
1.3.1...but that same page takes 20 seconds to load on the *BSD native JDK 
1.3.1 (on a box with 40% better CPU horsepower than the Linux box).

I look forward to the day when I can finally replace that Linux box with 
Open/FreeBSD ;-)
-- 
John-David Childs (JC612)		Enterprise Internet Solutions
System Administration		9616 Pecos St Thornton CO 80260
 & Network Engineering
I used up all my sick days,		so I'm calling in dead!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109131616.f8DGGKW11348>