java-linux users, could you test this code on your system?

1999-01-16 Thread Moses DeJong
Hello fellow java-linux users. I have been working on an open source project that provides a way to combine Java and the Tcl scripting languages using the java reflection APIs. I was hoping I could get some help testing the code to make sure it works on a number of linux systems. To make a long s

Re: Chooser

1999-01-16 Thread Michael Sinz
On Thu, 18 Nov 1999 18:10:50 -0800 (PST), Dustin Lang wrote: > >Hi, > >I think I'm going to go ahead with trying to write a little C program to >check which library versions a system has and give the user some >suggestion about what JDK file she should download. In order to do this, >I need some

Re: Is the object code replicated?

1999-01-16 Thread Chris Abbey
The JVM spec is quite specific about this. There will only ever be one copy of any code block. The compiler has no say in this regard as it's required to produce files compliant with the .class format, wherein the object data and the code are distinctly seperated. The JVM Spec is available online

Chooser

1999-01-16 Thread Dustin Lang
Hi, I think I'm going to go ahead with trying to write a little C program to check which library versions a system has and give the user some suggestion about what JDK file she should download. In order to do this, I need some information about where systems keep their libraries and identifying

Java inlining

1999-01-16 Thread Patrick LAM
What you've mentioned is known as method inlining. The Soot framework does this optimization on Java classfiles. (Why classfiles? See the technical report at http://www.sable.mcgill.ca/publications/sable-tr-1999-3.ps "Optimizing Java Bytecode using the Soot Framework: Is it feasible?" for a r

Re: Is the object code replicated?

1999-01-16 Thread Nathan Meyers
Kontorotsui wrote: > > Hello, > suppose I declare a class with a huge amout of instance variables and > many, long, instance methods. > > If I create thousands of objects of this class, of course there will be required > thousands times the space of the variables, but what about the meth

Re: jsdk2.0 connection problem

1999-01-16 Thread Gordon Keith
Joseph Shraibman wrote: > > Gordon Keith wrote: > > > I certainly got this problem with jsdk1.0 and 2.0, but it happens much > > earlier and more often in 2.0. Correction: The problem occurs with 2.0 and more often with 2.1 (I got my versions confused). > What servlet engine are you using? A

Re: jsdk2.0 connection problem

1999-01-16 Thread Jan Agermose
The problem is not a Linux problem. It is also present in JSWDK1.0 and has been reported on other mailing lists and bug reporting sites. One response I got a while a go was this: snip "It is a bug in the way that the JSWDK web server deals with Netscape browsers. It should be fixed in the ne

Is the object code replicated?

1999-01-16 Thread Kontorotsui
Hello, suppose I declare a class with a huge amout of instance variables and many, long, instance methods. If I create thousands of objects of this class, of course there will be required thousands times the space of the variables, but what about the method code? I guess it's not repicate

Re: jsdk2.0 connection problem

1999-01-16 Thread Gordon Keith
"Anders Lindbäck" wrote: > > > I suspect some sort of bug in JSDK that relies on some sort of automatic > > > buffer flushing that doesn't occur on the linux JVM. > > Are you closing the PrintWriter so they send the data before > the servlet dies ?!? Certainly are. Regards Gordon --

Re: Do we need an installer-chooser?

1999-01-16 Thread Dustin Lang
Hi, > Why not use a javascript check on the web page, saying here is the > archive for your specific platform? ( In addition to links to the > others if you also grabbing the versions for other platforms. ) The big piece of information we need is (g)libc version. I'd be impressed if there was

Re: Linux Java & the Java2 ORB, and how to use shared memory from Java

1999-01-16 Thread mlorton
> 2. Is there a Java API for using shared memory? >There doesn't seem to be one in JDK 1.1, but >is this in Java2? I would be stunned if there were (ever) a Java API for using shared memory directly. There isn't one now. A mechanism whereby the allocators of several JVMs could draw fro

Re: Do we need an installer-chooser?

1999-01-16 Thread Justin Lee
Dustin Lang wrote: > > Hi, > > > perhaps if this could be embeded in a web page... an applet? that would > > be cool. > > and unless you plan to compile to all archs maybe a shell script > > would be better? > > Hmm... I was thinking a smallish, statically-linked C program. I hadn't > thought

Linux Java & the Java2 ORB, and how to use shared memory from Java

1999-01-16 Thread Richard Jones
I have a couple of questions, one Linux-specific, one not. 1. Has anyone written simple instructions on how to extract the Java2 ORB and retrofit it into JDK 1.1.7 on Linux? Or does anyone have any experience in this area they would like to share? Do I need to use idl2java from Vi

Re: Do we need an installer-chooser?

1999-01-16 Thread Dustin Lang
Hi, > perhaps if this could be embeded in a web page... an applet? that would > be cool. > and unless you plan to compile to all archs maybe a shell script > would be better? Hmm... I was thinking a smallish, statically-linked C program. I hadn't thought about multiple architectures (I'm a lit

Re: Do we need an installer-chooser?

1999-01-16 Thread Chris Abbey
perhaps if this could be embeded in a web page... an applet? that would be cool. equally interesting would be to do a ping of the mirrors and download from the closest first. and unless you plan to compile to all archs maybe a shell script would be better? if it based all of it's decisions on fi

Re: Thread in the Linux's JVM

1999-01-16 Thread Nathan Meyers
On Thu, Nov 18, 1999 at 11:59:04AM -0600, [EMAIL PROTECTED] wrote: > This sounds to me like Java and C/C++ native code can talk to each other > only if they (java and native code) are in the same thread. Is it right, or > in the same process? What do you mean "talk to each other"? The JVM is a

Re: [Partially OT] A Java parser - part 2

1999-01-16 Thread Ulli Kortenkamp
> "Andrea" == Kontorotsui <[EMAIL PROTECTED]> writes: Andrea> What I want to do is a tool that "flattens" the class Andrea> hierachy to improve performance. Try JAX (from http://www.alphaworks.ibm.com). It does exactly what you want. Unfortunately, the JAX project is no longer su

Re: SNMP Java source code

1999-01-16 Thread Christopher Hinds
Try JDM Kit from Sun. Here is a brief description excerpt from the specs: " Java Dynamic ManagementTM Kit: Product Specifications Product Components Java DMK includes: A Dynamic Management Architecture, whi

Re: jsdk2.0 connection problem

1999-01-16 Thread tpeter
I'm using jsdk2.1 from javasoft. I have used Jserv with apache but it was using the jsdk1.0 from javasoft without any problems. In case you missed it I did find a way around this problem. I'm useing "get" instead of "post" and it seems to be working fine. On Thu, 18 Nov 1999, Joseph Shra

Do we need an installer-chooser?

1999-01-16 Thread Dustin Lang
Hi, Despite the pretty decent web documentation, this list seems to be inundated with question of the form "I'm running and I'm getting ", or "I have . What file do I need to download?". I was thinking that it should be possible to write a little piece of C code that would check the person'

Re: [Partially OT] A Java parser - part 2

1999-01-16 Thread Michael Emmel
Kontorotsui wrote: > Hello, > first of all many thanks to all the people who kindly answered. > > I've collected many different advices on Java parsers, so maybe it is wiser to > explain my purpose. > I noticed that java performance decreases dramatically as more and more classes > and ob

Re: Thread in the Linux's JVM

1999-01-16 Thread Paul Mclachlan
At 11:59 11 Nov 1999 -0600, [EMAIL PROTECTED] wrote: > This sounds to me like Java and C/C++ native code can talk to each other > only if they (java and native code) are in the same thread. Is it right, or > in the same process? > > Suppose C/C++ native code creates another thread within the sh

Re: [Partially OT] A Java parser - part 2

1999-01-16 Thread Paul Mclachlan
At 18:43 11 Nov 1999 +0100, Kontorotsui wrote: > What I want to do is a tool that "flattens" the class hierachy to improve > performance. In this way I'll be able to write properly structured code but the > tool will cut away performance-wise useless classes and method before I compile. > I know

RE: Thread in the Linux's JVM

1999-01-16 Thread Lee_Xing
This sounds to me like Java and C/C++ native code can talk to each other only if they (java and native code) are in the same thread. Is it right, or in the same process? Suppose C/C++ native code creates another thread within the shared lib, can the newly-created thread interact with (call back

[Partially OT] A Java parser - part 2

1999-01-16 Thread Kontorotsui
Hello, first of all many thanks to all the people who kindly answered. I've collected many different advices on Java parsers, so maybe it is wiser to explain my purpose. I noticed that java performance decreases dramatically as more and more classes and object instances are created. F

JSWDK1.0.1 on linux problem

1999-01-16 Thread tpeter
I'm using the JSWDK1.0.1 with the provided html server. The program initialized ok, but when I try getting calling the server to get one of the pages, and or servlets, even those provide in the distribution I get the following output: HelloWorldExample: init HANDLER THREAD PROBLEM: java.io.Uns

Re: jsdk2.0 connection problem

1999-01-16 Thread Joseph Shraibman
Gordon Keith wrote: > [EMAIL PROTECTED] wrote: > > > > When I run the jsdk2.0 server and try to bring up a servlet it gives me > > the following error: > > > > "A network error occured while netscape was recieving data: (Network > > error: > > connection reset by peer.) > > > > try connecting aga

Re: Any EJB Server for Linux?

1999-01-16 Thread David Marshall
"GC-Braswell, Peter" wrote: Also you may want to look at an open source offering called EJBoss.  I haven't done anything but read about it and I'm curious.  If you happen to dabble with it, perhaps you can report you findings to the group.   EJBoss requires a 1.3 JVM, so until there's a 1.3 JVM f

RE: Any EJB Server for Linux?

1999-01-16 Thread GC-Braswell, Peter
WLS is an excellent product incidentally (no connection with BEA). Also you may want to look at an open source offering called EJBoss. I haven't done anything but read about it and I'm curious. If you happen to dabble with it, perhaps you can report you findings to the group. Cheers, peter

SEGVs under 1.2prev2

1999-01-16 Thread Michael Thome
I've got a number of situations which occasionally result in segvs of the VM. The cases all use green threads, sunwjit and *no* native code under RedHat 6.0. The dumps seem to coincide with other problems (e.g. exceptions which should have been caught), but it is difficult for to tell what is r

Newbie

1999-01-16 Thread Juan Antonio López Fernández
Hello all, I am new in Java, I hava SuSe 6.2, could you explain me the firsts steps ?? 'Con el conocimiento se acrecientan las dudas' Goethe. Juan Antonio López Fernández Dpto. Informática Sevilla Siglo XXI, S.A. --

jndi api support or help with ldap?

1999-01-16 Thread Brian Gilman
Hello, I was wondering if someone could help me out getting started with ldap and the jndi api...Is this api supported in the 1.2 pre v2 release? Also, are there and good resources out there to help me get started with LDAP in general? I am very new to this technology and would like t

how to get the client certificate with jserv

1999-01-16 Thread Aaron Stromas
greetings, does anyone know whether it is possible to get a client certificate within the jserv servlet. i tried the the req.getAttribute("javax.net.ssl.peer_certificates") but it returns null. the req.getAttribute("javax.net.ssl.cipher_suite") also returns null. if there is another way of obta

Native Threads

1999-01-16 Thread Christian Schrader
I heard of the problems with native threads and servlets. When can one anticipate a more stable version of native threads and will this be in the 1.1.7 engine or starting with the 1.2 versions ? Thanks, Christian -- To UNSUBSC

Re: Continuous Sound API

1999-01-16 Thread Matthias Pfisterer
Hi Peter, this is from the [EMAIL PROTECTED] mailing list: -- Hi Johan, one possibility is to use one SourceDataLine for all samples of the same track and to fill the gaps between the samples with an exactly calculated number of zero-value frames. Attached is a class that may help yo

Re: Continuous Sound API [CANCEL]

1999-01-16 Thread Peter Pilgrim
CANCEL Really Sorry, this post was meant for java-sound-interest mailing list! [EMAIL PROTECTED] wrote: > > The undocumented sun.audio.* package had ContinuosAudioStreamSequence class > which accepted a Vector of AudioStreamSequences. > It allowed you to play AudioData samples one after enough

Re: Any EJB Server for Linux?

1999-01-16 Thread eugenioab
[EMAIL PROTECTED] wrote: > Are there any EJB Server for Linux currently Available. > Weblogic from BEA at www.beasys.com. There is a (big) downloadable demo too begin:vcard n:Ascoli-Bartoli;Eugenio x-mozilla-html:FALSE url:www.assioma.it org:Assioma S.p.A.;Divisione R&D, Formazione e Sist

Continuous Sound API

1999-01-16 Thread Peter Pilgrim
The undocumented sun.audio.* package had ContinuosAudioStreamSequence class which accepted a Vector of AudioStreamSequences. It allowed you to play AudioData samples one after enough in sequence thru the AudioPlayer. You could put together a song with sampled riffs albeit only by (*.au) files. H

Re: A file system for organising java stuff ?

1999-01-16 Thread Nelson Minar
>Anyways, what occurred to me during the new years break is to arrange >my java stuff into a file system along the lines used in linux >systems (unix in general?). It might make sense for the Java Linux principles to work with some of the major distribution folks and the people behind the Linux f

Where did the Java Activator (plug-in) go?

1999-01-16 Thread Dan Dunay
Hi, I'd like to install the Java activator for Netscape but it has disappeared from your site with no explanation. There are dozens of current links to www.blackdown.org/activator ... from various sites (including java.sun). It would sure be a big help if you would put something at that link. It

PC-PLUS Magazine UK

1999-01-16 Thread peter . pilgrim
FYI PC PLUS Magazine UK will happily do us all of us who live in the UK a big favour and download the Java 2 Platform for LINUX and burn it on CD ROM ( when the porters release it). So look out for a copy of the mag. It's big timesaver for me. I still have dial up. In the February Issue which