Java web server

2000-01-19 Thread Roger Smith

Does anyone know of a Java web server for Linux??
Is there only the apache module. or is there actually a java web server
from sun that has been ported to linux.
Thanks

___

"Go to your bosom: Knock there, and ask your heart what it doth know." --
William Shakespeare



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Java web server

2000-01-19 Thread Roger Smith

Hey all I am trying to install a JAva web server on a Redhat linux box,
wher edo I start??

_

When I have a kid, I want to buy one of those strollers for twins. Then
put the kid in and run around, looking frantic. When he gets older, I'd
tell him he used to have a brother, but he didn't obey.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java-Linux I18N

2000-01-19 Thread Renzo Pecoraro

Actually, I have noticed one problem that so far is a mystery to me.
Somehow under Linux (with JDK 1.2.2) something seems to get lost when
trying to write to an OutputStreamWriter with a specified encoding, if
the string is not iso-8859-1, but my machine is. Sun has some sample
code on their I18N (actually, the very last example) that I cannot get
to work on Linux. No idea why, and I spent many many hours trying to
figure it out.

The code is supposed to write some Japanese String (in \unnn notation)
to an OutputStreamWriter, like:

OutputStreamWriter out = new OutputStreamWriter (new
FileOutPutStream("test.txt"), "UTF8");
out.write("\u672c\u8a9e");

Then the code is supposed to read from that test.txt file by doing the
reverse, with an InputStreamWriter that specifies the encoding. There's
no way I could get this to work; my pretty Japanese string gets
completely garbled, no matter what encoding I specify, including if I
don't specify one at all (in which case it would use 8859_1.

So far, I've only succeeded in writing a shift-jis file, for example, by
doing something like
byte[] testArray = testString.getBytes("SJIS") and then writing that
array directly to a FileOutputStream (again starting with a testString
in \u notation).

So maybe someone here knows what could be going on under the covers??

Renzo


[EMAIL PROTECTED] wrote:
> 
> Renzo:
> 
> Thank you very much for your help and information.  It's very helpful.
> 
> I'll send time to digest all of the information and give it a try.
> 
> Regards,
> 
> PS.  This msg may not be able to be posted in the mail list.  I don't know
> why.
> 
> Lee
> 
> -Original Message-
> From: Renzo Pecoraro [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 14, 2000 2:15 PM
> To: [EMAIL PROTECTED]
> Subject: Java-Linux I18N
> 
> Couple of hints on this.
> 
> So far, I haven't seen anything in Java I18N that's specific to Linux,
> except:
> 
> 1. Yes, you need Asian fonts. Some come with the distros, I got
> additional ones from
> http://www.userfriendly.net/linux/RPM/rhcn/noarch/X11_fonts.html
> (Japanese, Simplified Chinese, Traditional Chinese, Korean) - these are
> all RPMs
> 
> 2. You do need to change you font.properties file in order to display
> Asian in a Java program. But once you have that, you can display it,
> even if your machine uses the Western European codepage (i.e.is set up
> to behave as a Western European/US machine) - EXCEPT, as of pre-Swing,
> TextField and TextArea will NOT display Asian, because these components
> use native code (or for whatever reason). From what I understand Swing
> components do not have that limitation. Now, there's a great site for
> Japanese Linux at
> http://hikari.tlug.gr.jp/~craigoda/writings/linux-nihongo/linux-nihongo.html
> ,
> including references to Java, and most importantly a font.properties
> file for Linux. I simply downloaded that file, dropped it into my
> ../jre/lib directory of Java installation and into
> /usr/lib/netscape/java/classes for my netscape browser. BUT, if you
> backup your existing font.properties file (as you would want to) to
> java.properties.en (as it would logically be named), your JVM (of the
> JRE or Netscape's) seems to still look up the fonts described in that
> backed up file, if your machine's default Locale is English. So I backed
> mine up to font.properties.ENGLISH (which the JVM apparently cannot map
> to my machines Locale), and then it works beautifully - EXCEPT that some
> Western European fonts are now not quite so pretty. Of course, you can
> and probably should edit that font.properties file, but the one
> downloaded from
> http://hikari.tlug.gr.jp/~craigoda/writings/linux-nihongo/linux-nihongo.html
> is a great starting point.
> 
> 3. I am fairly certain that there is a way to switch the locale and
> charset/codepage of your machine (hence the /etc/charset directory, I'd
> think), but I haven't figured it out yet (although I will have to for a
> project sometime soon).
> 
> 4. From what I can tell, the rest is Java I18N as usual. See the I18N
> Tutorial at http://java.sun.com/docs/books/tutorial/i18n/TOC.html. There
> was also a three-part tutorial at http://www.javaworld.com at somepoint.
> Take the first first example of that tutorial and add Japanese to the
> choices ("ja", "JP") to allow you to test whether you have correctly
> installed the font.properties file. If you did, you'll see Japanese
> characters when you select Japanese in this applet (in appletviewer or
> in the browser).
> 
> Hope this helps.
> Renzo
> 
> > > [Lee]
> > > I'm new in this area too (and new in Java-Linux as well).  The issue of
> > I18N
> > > I have is very basic at this time.  That is what we need and need to do
> to
> > > display Japanese and Chinese characters on a JButton on Linux.
> > >
> > > Q1: Do we need a Japanese/Chinese font packages?
> > > Q2: If so, where to find the right font package for Linux?
> > > Q3: After find the font package, how to use it to show a
> Japan

Re: Jserv up-to-date howto

2000-01-19 Thread wyrd


> Do you know a recent tutorial that I can use to clear this job?

The book "Professional Java Server Programming" also has a good
section of JServ config.

In addation, if you're running a RedHat ( or RedHat derived ) distro
there's an rpm available that make JServ install a snap.


~Rob

-- 
wYRd.:|:[EMAIL PROTECTED]:|:.prohibitions void where offered
  de recta non tolerandum sunt


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Mixing heavy (Java3d) and light (Swing) components

2000-01-19 Thread Jacob Nikom

Hi,

I am trying to work with Java3D and Swing on Linux. I was able to
run some 3D programs but stuck when I tried to place JPanel and 
Canvas3D on the same Frame.

I could see my Canvas3D objects very well, but my JPanel object
always lies behind the background color in the main Frame. I could
see some small part of it, if I resize the Frame, I could see
(sometimes) larger part of it, but I could not place it on front.
My heavy and light objects don't overlap, nevertheless I could
not see all of them.

I read Amy Fowler's article about mixing heavy and light components
but the example only tells about JPopupMenu.

JPopupMenu.setDefaultLightWeightPopupEnabled(false);

What I can do about JPanel?

Currently I add JPanel to Frame - I could not make it otherwise.
Do you have any ideas?

Here is a piece of code:

.
HelloUniverse helloUniverse = new  HelloUniverse(); // heavy
component 3D

DisplayImagePanel displayImagePanel = new DisplayImagePanel(); //
JPanel

displayImagePanel.setBounds(0, 100, 128, 128);
displayImagePanel.CreateImage();

Frame frame = new MainFrame(helloUniverse, 400, 400);
frame.add(displayImagePanel);
frame.setVisible(true);
frame.validate();
.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



msql jdbc drivers

2000-01-19 Thread Joseph Shraibman

Someone on this list once emailed me the url of a mature mysql jdbc 2.0
driver, but I seem to have lost the email.  Does anybody know of one?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Remove

2000-01-19 Thread Joanie Ciszek

Remove my name from this list.
__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



JNI and Dead Thread on Linux

2000-01-19 Thread Lee_Xing

Hi:

I got a few questions on JNI on Linux.  It would be appreciated if someone
could help.

Suppose a shared library file has a function that is used to do hardware
I/O, say hard drives R/W.  A Java application uses JNI and calls this native
function in .so file twice to R/W two separate hard drives at the same time.
In this way, we should have two new threads (light weight processes) t1 and
t2 created (am I right?).

Q1: Since Java application and two newly-created threads (t1 and t2) share
the same memory space, if t1 messes up memory space and hangs, then Java
application and t2 will hang too, right?

Q2: If the answer to Q1 is "right", is it possible to protect Java
application and t2 and prevent them from hanging after t1 is hung if we use
JNI?

Q3: If the answer to Q2 is "no", then do you think out-proc solutions (i.e.
leave native functions in different memory spaces) like CORBA, TCP/IP and
DCOM (not sure it's available now or not on Linux) are better than in-proc
solution like JNI, so we can separate native functions in different memory
spaces and prevent one from messing others?  Is there any potential problem?


Thank you in advance.



Lee


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



glibc

2000-01-19 Thread Jason Blair

Pedro Guimaraes wrote:
>
> Ok... I found out from this list that jdk1.2.2 needs glibc-2.1.*
>

I also did a build (glibc-2.1.2) but I can't change the
/lib/ld-linux.so.2 link because of others using it.  Anyone
know how to get java to use the new library without
changing that link?

Thanks.

jason


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



www.blackdown.org

2000-01-19 Thread Roger Smith

Does anyone know when www.blackdown.org is coming back up, or what is
wrong?
Thanks

___

"Go to your bosom: Knock there, and ask your heart what it doth know." --
William Shakespeare



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java web server

2000-01-19 Thread Pedro Guimaraes

> Does anyone know of a Java web server for Linux??
> Is there only the apache module. or is there actually a java web server
> from sun that has been ported to linux.
> Thanks

No... I know of a Java web server for java. There are many! If you want a
pure java web server and free, try jo! (http://www.tagtraum.com). Other
include Orion (www.orionserver.com), Resin (http://www.caucho.com) and of
course Sun's Java Web server.

Yes, there is a java web server from Sun -- however it has not been ported
to linux because it's java!

-Pedro


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



java3d

2000-01-19 Thread yang yuexiang

I am a student. My supervisor ask me to implement several
heuristics on 3D packing problem.
So, I try to find the mathematics model on 3d geometry.
However, I cannot find package: javax.media.j3d

Who can tell me where I can find them.

BTW, I can run 3D demos.
Linux system

Thanks


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: JNI and Dead Thread on Linux

2000-01-19 Thread Nathan Meyers

On Tue, Jan 18, 2000 at 11:28:17AM -0600, [EMAIL PROTECTED] wrote:
> Hi:
> 
> I got a few questions on JNI on Linux.  It would be appreciated if someone
> could help.
> 
> Suppose a shared library file has a function that is used to do hardware
> I/O, say hard drives R/W.  A Java application uses JNI and calls this native
> function in .so file twice to R/W two separate hard drives at the same time.
> In this way, we should have two new threads (light weight processes) t1 and
> t2 created (am I right?).

Calling into native code doesn't create new threads - it just moves the
flow of control from the Java interpreter into some other native code.
After the JNI method returns, you're back to executing native code in the
Java interpreter.

Nathan

> 
> Q1: Since Java application and two newly-created threads (t1 and t2) share
> the same memory space, if t1 messes up memory space and hangs, then Java
> application and t2 will hang too, right?
> 
> Q2: If the answer to Q1 is "right", is it possible to protect Java
> application and t2 and prevent them from hanging after t1 is hung if we use
> JNI?
> 
> Q3: If the answer to Q2 is "no", then do you think out-proc solutions (i.e.
> leave native functions in different memory spaces) like CORBA, TCP/IP and
> DCOM (not sure it's available now or not on Linux) are better than in-proc
> solution like JNI, so we can separate native functions in different memory
> spaces and prevent one from messing others?  Is there any potential problem?
> 
> 
> Thank you in advance.
> 
> 
> 
> Lee

-- 
[EMAIL PROTECTED]  Public Access User -- Not affiliated with Teleport
Public Access UNIX and Internet at (503) 220-1016 (2400-28800, N81)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: glibc

2000-01-19 Thread Pedro Guimaraes

> I also did a build (glibc-2.1.2) but I can't change the
> /lib/ld-linux.so.2 link because of others using it.  Anyone
> know how to get java to use the new library without
> changing that link?

The glibc2-HOWTO explains how you can have libc5 and glibc2 installed and
both working. Read it *carefully* and everything should work if you follow
the instructions!

-Pedro


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java Decompiler

2000-01-19 Thread Uncle George

Maybe the other regetable thing is that it is written in c++, and not
compiled on Dec Alpha machiines :-{
gat

MARUYAMA Fuyuhiko wrote:

> Hi Renzo and folks!
>
> From: Renzo Pecoraro <[EMAIL PROTECTED]>
> Subject: Java Decompiler
> Date: Mon, 17 Jan 2000 02:11:51 -0500
>
> > Help!
> > I just accidentally deleted a bunch of my Java source files. Anyone know
> > a good decompiler that works under Linux?
> >
> > Thanks!!
> >
> > Renzo
> >
>
> See http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
>
> I think "Jad" is fast and stable.  The only regrettable thing is no
> sources are available :-<
>
> --
> MARUYAMA Fuyuhiko <[EMAIL PROTECTED]>
> Matsuoka laboratory,
> Department of Mathematical and Computing Sciences,
> Tokyo Institute of Technology.
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java Decompiler

2000-01-19 Thread Jeff Galyan

Jad is written in C++ and therefore probably won't be able to decompile
itself.

--Jeff



Nicholas Wright wrote:
> 
> ;) Ever tried running a binary through a Java decompiler?
> 
> Best Regards
> 
> Nicholas
> 
> > Resent-Date: Mon, 17 Jan 2000 04:02:48 -0700 (MST)
> > From: "Oliver Fels" <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Date: Mon, 17 Jan 2000 11:54:20 CET
> > Mime-Version: 1.0
> > Content-Transfer-Encoding: 7BIT
> > Subject: Re: Java Decompiler
> > Resent-Message-Id: <[EMAIL PROTECTED]>
> > Resent-From: [EMAIL PROTECTED]
> > X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/2446
> > X-Loop: [EMAIL PROTECTED]
> > Resent-Sender: [EMAIL PROTECTED]
> >
> > On 17 Jan 00, at 17:48, MARUYAMA Fuyuhiko wrote:
> >
> >
> > > > I just accidentally deleted a bunch of my Java source files. Anyone
> know
> > > > a good decompiler that works under Linux?
> > > I think "Jad" is fast and stable.  The only regrettable thing is no
> > > sources are available :-<
> >
> > So where is the problem then if that is the purpose of this tool ? :-)
> > Ever tried running it through itself ?
> >
> > Oliver
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
> 
> ===
> Nicholas WrightImperial Software Technology   Technical Support
> ---
> Email : [EMAIL PROTECTED] or [EMAIL PROTECTED]
> Berkshire House120 Hawthorne Ave, #101
> 252 Kings Road Palo Alto
> Reading RG1 4HP United Kingdom California 94301 USA
> Tel: +44 118 958 7055  Tel: 650 688 0200
> FAX: +44 118 958 9005  FAX: 650 688 1054
> ===
> **  VISAJ AT http://www.ist.co.uk/visaj  **
> ===
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
==
Linus Torvalds on Microsoft and software development:
"... if it's a hobby for me and a job for you, why are you doing such a
shoddy job of it?"

The views expressed herein do not necessarily reflect those of my
employer.

Sun Microsystems, Inc., has no connection to my involvement with the
Mozilla Organization.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: msql jdbc drivers

2000-01-19 Thread Wright Robert B Civ 96 CG/SCWDE

check out the JDBC section of the mysql web site
(http://www.mysql.org/Contrib/).  i've successfully used the mm driver by
mark matthews.

Rob


> -Original Message-
> From: Joseph Shraibman [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 18, 2000 8:53 PM
> To: [EMAIL PROTECTED]
> Subject: msql jdbc drivers
> 
> 
> Someone on this list once emailed me the url of a mature 
> mysql jdbc 2.0
> driver, but I seem to have lost the email.  Does anybody know of one?
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: www.blackdown.org

2000-01-19 Thread Barnet Wagman


The web page appears to be up. (I received your posting dated
'Wed, 19 Jan 2000 02:52:18 -0700 (MST)'.)
Roger Smith wrote:
Does anyone know when www.blackdown.org is coming
back up, or what is
wrong?
Thanks
___
"Go to your bosom: Knock there, and ask your heart what it doth know."
--
William Shakespeare
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Barnet Wagman

email: [EMAIL PROTECTED]

 


Re: Java web server

2000-01-19 Thread Nathan Meyers

Pedro Guimaraes wrote:
> 
> > Does anyone know of a Java web server for Linux??

I recently discovered an impressive, free Web server in Jetty
(http://www.mortbay.com). It's small, very well designed, embeddable,
and covered by liberal open source terms.

Nathan


> > Is there only the apache module. or is there actually a java web server
> > from sun that has been ported to linux.
> > Thanks
> 
> No... I know of a Java web server for java. There are many! If you want a
> pure java web server and free, try jo! (http://www.tagtraum.com). Other
> include Orion (www.orionserver.com), Resin (http://www.caucho.com) and of
> course Sun's Java Web server.
> 
> Yes, there is a java web server from Sun -- however it has not been ported
> to linux because it's java!
> 
> -Pedro
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Unidentified subject!

2000-01-19 Thread Roger Smith

Hey all I installed Suns Java Web Server on my Redhat Linux box, but when
I start it, I get an error that says:
libserver.so: cannot open shared object file: No such file or directory
(libserver.so)
javawebserver: libjssl.so: cannot open shared object file: No such file or
directory (libjssl.so)

Does anyone know how to fix this?
Thanks
Rog

___

Today, like every other day,
we wake up empty and scared.
Don't open the door to the study
and begin reading.
Take down the dulcimer.
Let the beauty we love be what we do.
There are hundreds of ways 
to kneel 
and kiss the ground.
(Rumi, Sufi mystic)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: www.blackdown.org

2000-01-19 Thread taylow

It's ok for me



William E. Taylor
Sr. Analyst
PJM Interconnection L.L.C.
(610) 666-4676
[EMAIL PROTECTED]



> -Original Message-
> From: Barnet Wagman [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, January 19, 2000 10:28 AM
> To:   Roger Smith; [EMAIL PROTECTED]
> Subject:  Re: www.blackdown.org
> 
> The web page appears to be up. (I received your posting dated 
> 'Wed, 19 Jan 2000 02:52:18 -0700 (MST)'.) 
> 
> Roger Smith wrote: 
> 
>   Does anyone know when www.blackdown.org is coming back up, or what is 
>   wrong? 
>   Thanks 
> 
>   ___ 
> 
>   "Go to your bosom: Knock there, and ask your heart what it doth know."
> -- 
>   William Shakespeare 
> 
>   -- 
>   To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
>   with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> -- 
> Barnet Wagman
> 
> email: [EMAIL PROTECTED]
>  


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Tritonus 0.1.82 available

2000-01-19 Thread Matthias Pfisterer

Hi,

Tritonus, the open-source inplementation of JavaSound for Linux, has a
new release. Major reasons for this release are:

Easier Installation
---

There is now a 'configure' script that automatically determines most
parameters important for the build process. Installation is now mostly
now follows the configure - make - make install pattern.

Support for jdk1.1.x


Tritonus now builds and runs with jdk1.1.x. It has been tested with
Blackdown jdk1.1.7_v3 and jdk1.1.8_v1. In jdk1.1.7(a?) there are bugs in
javac that prevent compilation. Generally, you need the 1.1 collection
framework from http://web2.java.sun.com/beans/infobus/ (near the bottom
of the page).
Many thanks go to Peter Pilgrim who did the main work for this by
writing a script that converts the collection classes' package names.
Additionally, he detected and fixed many small bugs.

Other goodies
-

There are several improvements under development and/or waiting for
merge into the main source tree.
- Midi support: see file README.midi
- MP3 decoder: see file README.mp3
- Format converters/codecs (thanks to Florian Bömers)
- pure-java client-side library for esd (thanks to Atsuhiko Yamanaka)


The latest version is downloadable from (see "File Releases"):
http://sourceforge.net/project/?group_id=1390

There are now daily development snapshots og Tritonus at 
ftp://tritonus.sourceforge.net/pub/tritonus/.

If you found bugs, have suggestions, want to contribute or whatever, you
can contact me: mailto:[EMAIL PROTECTED]

If you're interested in taking part on the development, you may have a
look at the Tritonus dveloper page (sorry, not very up-to-date):
http://rupert.informatik.uni-stuttgart.de/~pfistere/tritonus/developer.html

Have fun!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Server/List Downtime..

2000-01-19 Thread Karl Asha


There was a mishap with the nameservice on monday that carried on through
until this morning, causing the mailing lists and webserver to be 
unreachable. Please be forwarned that service will be transferred later
this week and may result in additional downtime. 

Cheers, 
Karl


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: glibc

2000-01-19 Thread Jason Blair

Pedro Guimaraes wrote:

> The glibc2-HOWTO explains how you can have libc5 and glibc2 installed and
> both working. Read it *carefully* and everything should work if you follow
> the instructions!
>
> -Pedro

I did read the HOWTO before I wrote to the newsgroup.  I didn't find what
I needed in it, which is why I wrote to the newsgroup.  If I missed something
in it which would have helped me, I apologize.  The HOWTO says to
***
1.Create a link from the new ld.so to /lib/ld-linux.so.2:
ln -s /usr/i486-linuxglibc2/lib/ld-linux.so.2
/lib/ld-linux.so.2
***

I cannot do this because what /lib/ld-linux.so.2 is currently pointing to is
in use by others.  All of the binaries (java, javac, ...) have the complete
pathname /lib/ld-linux.so.2 hardwired in them.  I could edit the binaries,
replacing lib with another 3 letter directory which contains a link to my
new libc, but step 2 would hurt me:

***
2.Edit /etc/ld.so.conf. You need to add path to the lib directory the new
libraries reside in at the end of the file, which will be /lib, such
as
  /usr/i486-linuxglibc2/lib for the choice above. After you have
modified /etc/ld.so.conf, run

ldconfig -v
***

I cannot take this step, either, because wouldn't doing this change
the dependencies of other programs?  For example:
ldd /usr/bin/make
libc.so.6 => /lib/libc.so.6
/lib/ld-linux.so.2 => /lib/ld-linux.so.2

If I edited /etc/ld.so.conf, then libc.so.6 that make needs will no
longer point to /lib/libc.so.6, but will point to the libc.so.6 which
resides in the directory of whatever I specified in /etc/ld.so.conf.
I cannot do this, because I cannot make changes to other programs
(such as make) without changing a program someone else didn't
want changed.

If any of my statements above are incorrect, or if the HOWTO
states how to deal with this problem and I am just not
getting it, then I apologize; however, what I wrote above is
what I BELIEVE to be true, and therefore I am stuck, which
is why I wrote to the newsgroup in the first place.

jason


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Java web Servew libraries

2000-01-19 Thread Roger Smith

Hey all I installed Suns Java Web Server on my Redhat Linux box, but when
I start it, I get an error that says:
libserver.so: cannot open shared object file: No such file or directory
(libserver.so)
javawebserver: libjssl.so: cannot open shared object file: No such file or
directory (libjssl.so)

Does anyone know how to fix this?
Thanks
Rog


___

"Go to your bosom: Knock there, and ask your heart what it doth know." --
William Shakespeare




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Terrible native thread performance

2000-01-19 Thread Daniel Stux

Hi folks,

I've just installed two versions of the JDK1.2.2 for linux: Sun's RC2, and
Blackdown's RC3. I am experiencing the wierdest behavior I have ever seen
for a JDK.

Here is what I am *used* to seeing. We run Java all day long on Solaris
Sparc and x86 and Windows NT. With green threads, things are slow as hell,
and the processors are kept very busy, even when the program is idle. With
native threads, everything zips along nicely.

Here is what I see with Linux. I am running on a freshly installed RedHat
6.1 machine. With either JDK, running in native threads is absolutely
crippling. There seems to be a serparate JDK process ID for each running
thread, or otherwise something is casuing it to fork 15 times. Of these
threads four or five of them just hammer the CPU, leaving the whole
machine at a crawl. Actual performance of our Java GUI isn't too bad, but
it's no where near where it should be.

Switch to green threads. With Sun's JDK it's like lightning. Processor
utilization is practically nill, and the GUI is extremely responsive. With
Blackdown's JDK, processor utilization is also very low, but GUI
responsiveness is very low as well.

I have looked through all the FAQs I could find, tried the various
combinations of env variables.

Anyone else experienced this behavior? Really odd. Any fixes, work
arounds, or do I just hope something miraculous happens between the
release candidates and the release?

Thanks!

-Dan Stux


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java web server

2000-01-19 Thread kornel c

Do you guys know about jigsaw from the web consortium. It is also
a free Java web server.

-kornel

- Original Message -
From: "Nathan Meyers" <[EMAIL PROTECTED]>
To: "Pedro Guimaraes" <[EMAIL PROTECTED]>
Cc: "Roger Smith" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 19, 2000 7:59 AM
Subject: Re: Java web server


> Pedro Guimaraes wrote:
> >
> > > Does anyone know of a Java web server for Linux??
>
> I recently discovered an impressive, free Web server in Jetty
> (http://www.mortbay.com). It's small, very well designed, embeddable,
> and covered by liberal open source terms.
>
> Nathan
>
>
> > > Is there only the apache module. or is there actually a java web
server
> > > from sun that has been ported to linux.
> > > Thanks
> >
> > No... I know of a Java web server for java. There are many! If you want
a
> > pure java web server and free, try jo! (http://www.tagtraum.com). Other
> > include Orion (www.orionserver.com), Resin (http://www.caucho.com) and
of
> > course Sun's Java Web server.
> >
> > Yes, there is a java web server from Sun -- however it has not been
ported
> > to linux because it's java!
> >
> > -Pedro
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java web server

2000-01-19 Thread Nathan Meyers

On Wed, Jan 19, 2000 at 09:19:43AM -0800, kornel c wrote:
> Do you guys know about jigsaw from the web consortium. It is also
> a free Java web server.

I haven't had the best luck with software from W3 - at least with their
Amaya browser. Their stuff focuses on creating sample implementations
of standards they're developing, not on deployable products. I vaguely
recall once trying to get jigsaw to work and fleeing in horror.

Nathan


> 
> -kornel
> 
> - Original Message -
> From: "Nathan Meyers" <[EMAIL PROTECTED]>
> To: "Pedro Guimaraes" <[EMAIL PROTECTED]>
> Cc: "Roger Smith" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, January 19, 2000 7:59 AM
> Subject: Re: Java web server
> 
> 
> > Pedro Guimaraes wrote:
> > >
> > > > Does anyone know of a Java web server for Linux??
> >
> > I recently discovered an impressive, free Web server in Jetty
> > (http://www.mortbay.com). It's small, very well designed, embeddable,
> > and covered by liberal open source terms.
> >
> > Nathan
> >
> >
> > > > Is there only the apache module. or is there actually a java web
> server
> > > > from sun that has been ported to linux.
> > > > Thanks
> > >
> > > No... I know of a Java web server for java. There are many! If you want
> a
> > > pure java web server and free, try jo! (http://www.tagtraum.com). Other
> > > include Orion (www.orionserver.com), Resin (http://www.caucho.com) and
> of
> > > course Sun's Java Web server.
> > >
> > > Yes, there is a java web server from Sun -- however it has not been
> ported
> > > to linux because it's java!
> > >
> > > -Pedro
> > >
> > > --
> > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



IBM JDK1.1.8 first fix-level released

2000-01-19 Thread Alexander V. Konstantinou

http://www.ibm.com/developer/linux/

http://linuxtoday.com/stories/15272.html


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Terrible native thread performance

2000-01-19 Thread Jonathan Doughty

Daniel Stux wrote:

> Here is what I see with Linux. I am running on a freshly installed
> RedHat 6.1 machine. With either JDK, running in native threads is
> absolutely crippling. There seems to be a serparate JDK process ID
> for each running thread, or otherwise something is casuing it to
> fork 15 times. Of these threads four or five of them just hammer the
> CPU, leaving the whole machine at a crawl. Actual performance of our
> Java GUI isn't too bad, but it's no where near where it should be.

You are seeing an artifact of the Linux threading model: native Java
threads are mapped onto kernel threads and kernel threads look a lot
(to ps and friends) like separately forked processes.  As for your
four or five CPU hammers; that may be a Java problem, a Linux problem,
or a Java/Linux problem but it is hard to say without more details
from you.


For a *really* good analysis (IMHO) of Java / Linux threading issues,
kernel tweaks that can improve the situation, and what we might be
seeing in the 2.4 kernels unless the Linux kernel powers that be
address the situation, see the recently published paper:
 Java, threads, and scheduling in Linux
   Patching the kernel scheduler for better Java performance
at http://www-4.ibm.com/software/developer/library/java2/index.html
Recommended reading; the Java on Linux situation really needs this
kind of work. (Speaking only for myself.)

-- 
Jonathan Doughty  The MITRE Corporation  [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



font not found

2000-01-19 Thread Nash'at Ahmad



While runing jdk1.2 examples, I get the following message

Font specified in font.properties not found
[--dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]

What do I need to do to get rid of this.

Thanks





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Q] CORBA: Any idltojava for linux??

2000-01-19 Thread Eric / Chang-Cheng, Chao

Hi, I want to write some CORBA-compliant java programs and I need
"idltojava" in order to convert the IDL  files to Java files.  I checked
the Sun's website and I found versions for Sparc Solaris and Windows but
none for Linux. Can anyone tell me where I can get it if there is indeed
one available? Thanks.

Chang-Cheng (Eric) Chao


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Terrible native thread performance

2000-01-19 Thread Paolo Ciccone

On Wed, Jan 19, 2000 at 02:36:30PM -0500, Daniel Stux wrote:
> Here is what I see with Linux. I am running on a freshly installed RedHat
> 6.1 machine. With either JDK, running in native threads is absolutely
> crippling. There seems to be a serparate JDK process ID for each running
> thread, or otherwise something is casuing it to fork 15 times. Of these
> threads four or five of them just hammer the CPU, leaving the whole
> machine at a crawl. Actual performance of our Java GUI isn't too bad, but
> it's no where near where it should be.

The thred model of Linux is a little different than other OSs and each
thread is assigned a PID. The thread itself runs in the same address
space of the parent process but it's reported in the way you saw by
tools like ps.

> Switch to green threads. With Sun's JDK it's like lightning. Processor
> utilization is practically nill, and the GUI is extremely responsive.

The Sun/Inprise JDK is not cerified for native threads, the green
threads implementation has been tested for performance so the result
you obtain is the expected behavior.


-- 
Paolo Ciccone
JBuilder dev.team


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Terrible native thread performance

2000-01-19 Thread Nathan Meyers

On Wed, Jan 19, 2000 at 02:36:30PM -0500, Daniel Stux wrote:
> Here is what I see with Linux. I am running on a freshly installed RedHat
> 6.1 machine. With either JDK, running in native threads is absolutely
> crippling. There seems to be a serparate JDK process ID for each running
> thread, or otherwise something is casuing it to fork 15 times.

On Linux, threads have separate entries in the process table.

The Inprise JDK you're getting from Sun has a better JIT, which could
explain your green-threads performance differences. As for native
threading, the Sun/Inprise version is known not to support native
threads reliably. The Blackdown version does, and whatever it is
you're experiencing - hammering the CPU - is not the normal behavior
(at least, not that anyone's reporting). Have you been able, using
(for example) -Xrunhprof, to identify threads that are sucking CPU?

Nathan


> Hi folks,
> 
> I've just installed two versions of the JDK1.2.2 for linux: Sun's RC2, and
> Blackdown's RC3. I am experiencing the wierdest behavior I have ever seen
> for a JDK.
> 
> Here is what I am *used* to seeing. We run Java all day long on Solaris
> Sparc and x86 and Windows NT. With green threads, things are slow as hell,
> and the processors are kept very busy, even when the program is idle. With
> native threads, everything zips along nicely.
> 
> Here is what I see with Linux. I am running on a freshly installed RedHat
> 6.1 machine. With either JDK, running in native threads is absolutely
> crippling. There seems to be a serparate JDK process ID for each running
> thread, or otherwise something is casuing it to fork 15 times. Of these
> threads four or five of them just hammer the CPU, leaving the whole
> machine at a crawl. Actual performance of our Java GUI isn't too bad, but
> it's no where near where it should be.
> 
> Switch to green threads. With Sun's JDK it's like lightning. Processor
> utilization is practically nill, and the GUI is extremely responsive. With
> Blackdown's JDK, processor utilization is also very low, but GUI
> responsiveness is very low as well.
> 
> I have looked through all the FAQs I could find, tried the various
> combinations of env variables.
> 
> Anyone else experienced this behavior? Really odd. Any fixes, work
> arounds, or do I just hope something miraculous happens between the
> release candidates and the release?
> 
> Thanks!
> 
> -Dan Stux
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
[EMAIL PROTECTED]  Public Access User -- Not affiliated with Teleport
Public Access UNIX and Internet at (503) 220-1016 (2400-28800, N81)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Segmentation fault problem

2000-01-19 Thread Michael Maloney

I wrote the following little test when I was tracking a 
OutOfMemoryError exception in the earlier release of 
blackdown jdk.

I am trying it now using Jdk1.2.2 RC3. I'm running under
RedHat Linux 6.1 (glibc 2.1.2).

The test allocates and prints one million T2 objects. Each object
is released after the print() method. It has a finalizer that
bumps a static counter.

It runs fine until iteration #259656, then it crashes with a
Segmentation fault. This number stays constant even if I vary
the lengths of strings in the messages, etc.

Has anybody seen anything similar? Is this a known bug?

I'm writing a persistent service that uses a lot of fine-
grained objects, so this is important to me. Any help is
greatly appreciated.

--
public class T2
{
String s;
static Runtime rt = Runtime.getRuntime();
static int numFinalized = 0;

public T2(String s)
{
this.s = s;
}

public void print()
{
System.out.println(s 
+ ", final: " + numFinalized 
+ ", total: " + rt.totalMemory() + ", free: "
+ rt.freeMemory());
}

protected void finalize()
{
numFinalized++;
}

public static void main(String args[])
{
for(int i = 0; i < 100; )
{
for(int j=0; j<1000; j++)
{
T2 t2 = new T2("t" + i);
t2.print();
t2 = null;
i++;
}

try { Thread.sleep(100); }
catch (InterruptedException ie) {}
}
}
}
---

Michael Maloney
Ilex Engineering, Inc.

  Tel: 410.241.5248
Email: [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Terrible native thread performance

2000-01-19 Thread Jacob Nikom

Hi Jonathan,

You mentioned 2.4 kernel. Do you know when it is going to
come out?

Jacob Nikom

Jonathan Doughty wrote:
> 
> Daniel Stux wrote:
> 
> > Here is what I see with Linux. I am running on a freshly installed
> > RedHat 6.1 machine. With either JDK, running in native threads is
> > absolutely crippling. There seems to be a serparate JDK process ID
> > for each running thread, or otherwise something is casuing it to
> > fork 15 times. Of these threads four or five of them just hammer the
> > CPU, leaving the whole machine at a crawl. Actual performance of our
> > Java GUI isn't too bad, but it's no where near where it should be.
> 
> You are seeing an artifact of the Linux threading model: native Java
> threads are mapped onto kernel threads and kernel threads look a lot
> (to ps and friends) like separately forked processes.  As for your
> four or five CPU hammers; that may be a Java problem, a Linux problem,
> or a Java/Linux problem but it is hard to say without more details
> from you.
> 
> For a *really* good analysis (IMHO) of Java / Linux threading issues,
> kernel tweaks that can improve the situation, and what we might be
> seeing in the 2.4 kernels unless the Linux kernel powers that be
> address the situation, see the recently published paper:
>  Java, threads, and scheduling in Linux
>Patching the kernel scheduler for better Java performance
> at http://www-4.ibm.com/software/developer/library/java2/index.html
> Recommended reading; the Java on Linux situation really needs this
> kind of work. (Speaking only for myself.)
> 
> --
> Jonathan Doughty  The MITRE Corporation  [EMAIL PROTECTED]
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



java3d installation

2000-01-19 Thread Nash'at Ahmad



Mesa libraries are in /usr/local/lib
I have created the link libMesaGL.so.3 -> libGL.so
When I run java3d examples I get the error:
I am running RedHat Linux 6.1.

java.lang.UnsatisfiedLinkError: /usr/local/jdk1.2/jre/lib/i386/libJ3D.so:
libMesaGL.so.3: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java, Compiled
Code)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java, Compiled
Code)
at java.lang.Runtime.loadLibrary0(Runtime.java, Compiled Code)
at java.lang.System.loadLibrary(System.java, Compiled Code)
at javax.media.j3d.UniverseManager$1.run(UniverseManager.java,
Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.UniverseManager.(UniverseManager.java,
Compiled Code)
at javax.media.j3d.VirtualUniverse$2.run(VirtualUniverse.java,
Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at
javax.media.j3d.VirtualUniverse.(VirtualUniverse.java:464)
at javax.media.j3d.Screen3D.(Screen3D.java:39)
at javax.media.j3d.Canvas3D.(Canvas3D.java:31)
at FourByFour.init(FourByFour.java, Compiled Code)
at sun.applet.AppletPanel.run(AppletPanel.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: java3d installation

2000-01-19 Thread Jacob Nikom

Hi,

Add /usr/local/lib directory to your LD_LIBRARY_PATH path (C shell)
setenv LD_LIBRARY_PATH .:/local/lib:/usr/lib:/usr/lib/X11:/usr/local/lib
or incrementally
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/local/lib

Jacob Nikom

Nash'at Ahmad wrote:
> 
> Mesa libraries are in /usr/local/lib
> I have created the link libMesaGL.so.3 -> libGL.so
> When I run java3d examples I get the error:
> I am running RedHat Linux 6.1.
> 
> java.lang.UnsatisfiedLinkError: /usr/local/jdk1.2/jre/lib/i386/libJ3D.so:
> libMesaGL.so.3: cannot open shared object file: No such file or directory
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java, Compiled
> Code)
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java, Compiled
> Code)
> at java.lang.Runtime.loadLibrary0(Runtime.java, Compiled Code)
> at java.lang.System.loadLibrary(System.java, Compiled Code)
> at javax.media.j3d.UniverseManager$1.run(UniverseManager.java,
> Compiled Code)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.media.j3d.UniverseManager.(UniverseManager.java,
> Compiled Code)
> at javax.media.j3d.VirtualUniverse$2.run(VirtualUniverse.java,
> Compiled Code)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> javax.media.j3d.VirtualUniverse.(VirtualUniverse.java:464)
> at javax.media.j3d.Screen3D.(Screen3D.java:39)
> at javax.media.j3d.Canvas3D.(Canvas3D.java:31)
> at FourByFour.init(FourByFour.java, Compiled Code)
> at sun.applet.AppletPanel.run(AppletPanel.java, Compiled Code)
> at java.lang.Thread.run(Thread.java, Compiled Code)
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Q] CORBA: Any idltojava for linux??

2000-01-19 Thread Mark Shacklette

There are tons of them, commercial and free.  Go to:

http://adams.patriot.net/~tvalesky/freecorba.html

for the free ones as well as www.inprise.com for VisiBroker for Java.  Fill out
the survey, and at the download page, choose the Linux platform.

Java 1.2 also has CORBA support.  Go to: 
http://java.sun.com/products/jdk/idl/index.html for that.

Cheers,

Mark


***
J. Mark Shacklette   J. Mark Shacklette
Principal Partner The University of Chicago
Pierce, Leverett & McIntyre  Department of Computer Science
333 N. Michigan Ave., Suite 932Ryerson Hall
Chicago, IL 60601 1100 East 58th Street
[EMAIL PROTECTED]  Chicago, IL 60637
permanent email: [EMAIL PROTECTED]   [EMAIL PROTECTED]
***


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Q] CORBA: Any idltojava for linux??

2000-01-19 Thread Weiqi Gao

"Eric / Chang-Cheng, Chao" wrote:
> 
> Hi, I want to write some CORBA-compliant java programs and I need
> "idltojava" in order to convert the IDL  files to Java files.  I checked
> the Sun's website and I found versions for Sparc Solaris and Windows but
> none for Linux. Can anyone tell me where I can get it if there is indeed
> one available? Thanks.

No there is no idltojava compiler available for Linux.  (It's not a Java
application, and the source is not released, not even to the Blackdown
team(?).)  The currrent JDK1.3beta has a different ORB.  And the IDL
compiler for that ORB is called idlj and IS part of the JDK1.3beta.

The Win32 version of the old idltojava (for JDK1.2beta2, I think) does
run inside Wine.  So if you really really want to do your idltojava part
of the work on Linux, you can kludge it this way:
  1. Write your *.idl;
  2. Run 'gcc -E' over it (or find a cpp that runs under Wine);
  3. Copy the resulting file to where Wine thinks is the 'C:\' drive;
  4. Run idltojava on that file in Wine;
  5. Copy the result back;
  6. Of course Wine messes up all the file names (all lower case
letters), so you have to change them back to the proper case by hand.

I was crazy enough to do the above once, and it did work.  But I've
decided that it's easier to use a near by Windows 95 machine for the
task.

Maybe one could write a bash script to automate the above process.

-- 
Weiqi Gao
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



j2ee on linux ... any hope?

2000-01-19 Thread John N. Alegre

Has anyone got J2EE up and running on Linux?

john
--
E-Mail: John N. Alegre <[EMAIL PROTECTED]>
Date: 19-Jan-00
Time: 21:21:32

This message was sent by XFMail
--


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: j2ee on linux ... any hope?

2000-01-19 Thread Larry Sanderson

"John N. Alegre" wrote:

Yup.

First, download and install the J2EE port for Solaris.  It's almost all
Java - there is only ony native library, called libioser12.so  The
attached version has been compiled for Linux, x86.  If you would like to
compile it for another platform, downoad the source from
www.sun.com/communitysource

Place the new libioser12.so into the j2sdkee1.2/nativelib directory and
your off and running.

Good luck

> Has anyone got J2EE up and running on Linux?
>
> john
> --
> E-Mail: John N. Alegre <[EMAIL PROTECTED]>
> Date: 19-Jan-00
> Time: 21:21:32
>
> This message was sent by XFMail
> --
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

 libioser12.so


Re: Terrible native thread performance

2000-01-19 Thread Jeff Galyan

Dan,

A big part of the threads problem on Linux stems from the pthreads
implementation that's available in glibc. There has been much discussion
on this topic of late - check the archives for more detail.

I believe the word is that glibc 2.1.3 is supposed to have improvements
in the pthreads implementation that may help the Linux JVM perform
better.

--Jeff


Daniel Stux wrote:
> 
> Hi folks,
> 
> I've just installed two versions of the JDK1.2.2 for linux: Sun's RC2, and
> Blackdown's RC3. I am experiencing the wierdest behavior I have ever seen
> for a JDK.
> 
> Here is what I am *used* to seeing. We run Java all day long on Solaris
> Sparc and x86 and Windows NT. With green threads, things are slow as hell,
> and the processors are kept very busy, even when the program is idle. With
> native threads, everything zips along nicely.
> 
> Here is what I see with Linux. I am running on a freshly installed RedHat
> 6.1 machine. With either JDK, running in native threads is absolutely
> crippling. There seems to be a serparate JDK process ID for each running
> thread, or otherwise something is casuing it to fork 15 times. Of these
> threads four or five of them just hammer the CPU, leaving the whole
> machine at a crawl. Actual performance of our Java GUI isn't too bad, but
> it's no where near where it should be.
> 
> Switch to green threads. With Sun's JDK it's like lightning. Processor
> utilization is practically nill, and the GUI is extremely responsive. With
> Blackdown's JDK, processor utilization is also very low, but GUI
> responsiveness is very low as well.
> 
> I have looked through all the FAQs I could find, tried the various
> combinations of env variables.
> 
> Anyone else experienced this behavior? Really odd. Any fixes, work
> arounds, or do I just hope something miraculous happens between the
> release candidates and the release?
> 
> Thanks!
> 
> -Dan Stux
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Jeff Galyan
http://www.anamorphic.com
http://www.sun.com
jeffrey dot galyan at sun dot com
talisman at anamorphic dot com
Sun Certified Java(TM) Programmer
==
Linus Torvalds on Microsoft and software development:
"... if it's a hobby for me and a job for you, why are you doing such a
shoddy job of it?"

The views expressed herein do not necessarily reflect those of my
employer.

Sun Microsystems, Inc., has no connection to my involvement with the
Mozilla Organization.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: j2ee on linux ... any hope?

2000-01-19 Thread Larry Sanderson

Yup.

First, download and install the J2EE port for Solaris.  It's almost all
Java - there is only ony native library, called libioser12.so  The
attached version has been compiled for Linux, x86.  If you would like to
compile it for another platform, downoad the source from
www.sun.com/communitysource

Place the new libioser12.so into the j2sdkee1.2/nativelib directory and
your off and running.

Good luck

> Has anyone got J2EE up and running on Linux?
>
> john

 libioser12.so


Re: Unidentified subject!

2000-01-19 Thread kornel c

My guess is that LD_LIBRARY_PATH which is the path for sahred libraries
does not include the directory where your shared libraries (libserver.so,
etc)
are. Find out where these libraries are and add the directory.

-kornel

- Original Message -
From: "Roger Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 19, 2000 9:24 AM
Subject: Unidentified subject!


> Hey all I installed Suns Java Web Server on my Redhat Linux box, but when
> I start it, I get an error that says:
> libserver.so: cannot open shared object file: No such file or directory
> (libserver.so)
> javawebserver: libjssl.so: cannot open shared object file: No such file or
> directory (libjssl.so)
>
> Does anyone know how to fix this?
> Thanks
> Rog
>
> ___
>
> Today, like every other day,
> we wake up empty and scared.
> Don't open the door to the study
> and begin reading.
> Take down the dulcimer.
> Let the beauty we love be what we do.
> There are hundreds of ways
> to kneel
> and kiss the ground.
> (Rumi, Sufi mystic)
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java-Linux I18N

2000-01-19 Thread Renzo Pecoraro

JackWang -

The font.properties file typically only maps Java font properties
("MonoSpaced", "SansSerif", etc.) to the actual fonts available on the
client machine. Changing the font.properties file on the server makes no
sense, as the server in a client/server or applet/servlet or whatever
architecture would not be responsible for displaying fonts to the
client.
BUT - font.properties file should only be important if you want to
display fonts for character sets that are not the native encoding of the
operating system under which your JVM is running, for example, if you
want to enable users with an US English operating system to see Japanese
text in your applet (or, say enable Japanese users to be able to see
Simplified Chinese). I am fairly certain that, if your internet user is,
for example, running a Japanese OS with a Japanese version of Netscape
(or whatever client it is that provides the JRE), then everything should
work. The crucial point here should be whether the browser (in a
browser-based application) is localized, so it might not work if the
Japanese user has the English version of Netscape installed (although it
is also possible that the English Netscape installer checks what
operating system locale it is being installed on and then selects the
correct font.properties file to be used, I don't know the answer to
that). And then of course, if you are distributing a JRE yourself with
you app, you can and should take care of these things during
installation.
If you have access to a localized machine, try
http://www.renzop.com/localeviewer.htm - I just put together a quick
test applet for the main Asian languages and Russian - if you see the
strings when you select either one of Japanese, Simplified Chinese,
Traditional Chinese, Korean, or Russian, you should be all set for those
languages. I'll test it out myself from work tomorrow.

Let me know.
Renzo

wx88 wrote:
> 
> Renzo,
> 
> I have not seen the tutorial and reference of I18N yet,
> but I wish to ask a question first. I know the application
> and the applet in the local machine have no problem in
> dealing with I18n, so long as I change the "font.properties"
> file to add the I18N font.
> 
> My question is "font.properties" file is in the machine which
> has JDK/JRE installed, but applet is run with JDK/JRE
> which is in the users machine, not in  the server. If my applet
> needs I18N support, need I tell my Internet users to change
> their "font.properties" file in their machine, so as to show
> the I18N codes ? This is not practical.  So,  the only thing I
> should do is to change the "font.properties" file in the server,
> everything should be OK ?
> 
> JackWang
> 
> Renzo wrote:
> ... ...
> 4. From what I can tell, the rest is Java I18N as usual. See the I18N
> Tutorial at http://java.sun.com/docs/books/tutorial/i18n/TOC.html. There
> was also a three-part tutorial at http://www.javaworld.com at somepoint.
> Take the first first example of that tutorial and add Japanese to the
> choices ("ja", "JP") to allow you to test whether you have correctly
> installed the font.properties file. If you did, you'll see Japanese
> characters when you select Japanese in this applet (in appletviewer or
> in the browser).
> 
> Hope this helps.
> Renzo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java web server

2000-01-19 Thread kornel c

> I haven't had the best luck with software from W3 - at least with their
> Amaya browser. Their stuff focuses on creating sample implementations
> of standards they're developing, not on deployable products. I vaguely
> recall once trying to get jigsaw to work and fleeing in horror.
>
> Nathan

I tend to agree with that. Though httpd (C reference impl)
was good I think and all major webservers are still based on it. But
Their first Java server wasn't exactly a success. I think they rewrote
Jigsaw
because the first very early incarnation was really bad. Nathan
probably is right that it is not the best choice nowdays when
there are so many  others.

I have used Sun's Java Webserver the most, of Java servers.
It is not the best, but perhaps it is the cleanest I've seen. It only
has the most imortant features and that makes it easier not
to get lost in the directory structure and features.

With Java webservers I found their directory structures absolutely
awful. I'm currently writing code using JRun with Apache which
also suffers from an obsession of logs and property files.
For the basic server functionality there are about 10 logs and
dozens of property files. It is really bad in that regard. I hear there next
version's going to clean that messup a bit, though I'm not sure about that.

Otherwise it is usable though. It implements the servlet API nicely.
Not very fancy, but free.

-kornel


- Original Message -
From: "Nathan Meyers" <[EMAIL PROTECTED]>
To: "kornel c" <[EMAIL PROTECTED]>; "Nathan Meyers"
<[EMAIL PROTECTED]>; "Pedro Guimaraes" <[EMAIL PROTECTED]>
Cc: "Roger Smith" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 19, 2000 11:50 AM
Subject: Re: Java web server


> On Wed, Jan 19, 2000 at 09:19:43AM -0800, kornel c wrote:
> > Do you guys know about jigsaw from the web consortium. It is also
> > a free Java web server.
>
>
>
> >
> > -kornel
> >
> > - Original Message -
> > From: "Nathan Meyers" <[EMAIL PROTECTED]>
> > To: "Pedro Guimaraes" <[EMAIL PROTECTED]>
> > Cc: "Roger Smith" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
> > Sent: Wednesday, January 19, 2000 7:59 AM
> > Subject: Re: Java web server
> >
> >
> > > Pedro Guimaraes wrote:
> > > >
> > > > > Does anyone know of a Java web server for Linux??
> > >
> > > I recently discovered an impressive, free Web server in Jetty
> > > (http://www.mortbay.com). It's small, very well designed, embeddable,
> > > and covered by liberal open source terms.
> > >
> > > Nathan
> > >
> > >
> > > > > Is there only the apache module. or is there actually a java web
> > server
> > > > > from sun that has been ported to linux.
> > > > > Thanks
> > > >
> > > > No... I know of a Java web server for java. There are many! If you
want
> > a
> > > > pure java web server and free, try jo! (http://www.tagtraum.com).
Other
> > > > include Orion (www.orionserver.com), Resin (http://www.caucho.com)
and
> > of
> > > > course Sun's Java Web server.
> > > >
> > > > Yes, there is a java web server from Sun -- however it has not been
> > ported
> > > > to linux because it's java!
> > > >
> > > > -Pedro
> > > >
> > >
> --
> > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > >
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]