Re: Too manyopen files in system

1999-04-20 Thread Jaco de Groot

> > Hi,
> >
> > I'm using jdk1.2 pre-v1 on RedHat 5.2 for my servlets using
> > Apache JServ. Every once in a while I get the following error:
> >
> >   Too many open files in system
> 
> Make sure you're closing the files when you're done with them.

I've checked my code for this. But even without closing them
myself, shouldn't they be closed at garbage collecting time?

What tool under Linux do I use to check how many files are
currently open in my system?

> --
> 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: Too many open files in system

1999-04-20 Thread ChangYoon

Jaco de Groot wrote:
> 
> Manage a socket number? I don't understand.
>  

It means if your server program(in JAVA) creates socket from client, 
your program must close socket.
Of course, Garbage Collection will close socket.
But the time may be over socket numbers(file-descripter numbers) 
that your program can use.

Sorry for my poor English.

-- 

# ChangYoon Cho 
# The War for 90-90 Rule


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



JNI / JKD2 / AWT / Linux 2.2.5 -> little C++/Java ´HelloWorldAwt´ gives a segmentation violation

1999-04-20 Thread Marcel Ruff

Hello,

i made a little HelloWorld C++ executable to popup a Java HelloWolrd
GUI, but it gives a core dump.


My environment:

- Pentium Linux  2.0.36 with glibc
- Motif 2.0.1 (shared library)
- jdk1.2pre-v1.tar from Blackdown


The output:  (after invoking the C++ executable HelloWorldAwt)


[Loaded sun.awt.NativeLibLoader from
/usr/local/jdk1.2Pre1/jre/lib/rt.jar]
[Dynamic-linking native method sun/awt/PlatformFont.initIDs ... JNI]
[Loaded sun.awt.PlatformFont$1 from
/usr/local/jdk1.2Pre1/jre/lib/rt.jar]


[Dynamic-linking native method sun/awt/FontDescriptor.initIDs ... JNI]
[Loaded sun.awt.motif.CharToByteX11Dingbats from
/usr/local/jdk1.2Pre1/jre/lib/rt.jar]
[Loaded sun.awt.CharToByteSymbol from
/usr/local/jdk1.2Pre1/jre/lib/rt.jar]
SIGSEGV   11*  segmentation violation
stackpointer=0xbfffeba0

Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v1, native
threads):
"AWT-Motif" (TID:0x412c11a8, sys_thread_t:0x81be900, state:MW,
native ID:0x1806) prio=5
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
"SunToolkit.PostEventQueue-0" (TID:0x412c1010,
sys_thread_t:0x81a2c30, state:CW, native ID:0x1405) prio=5
at java.lang.Object.wait(Native Method)



How to reproduce:
-
There are 3  little  files attached:
HelloWorldAwt.C The C++ executable
HelloWorldAwt.java The AWT Gui Popup window
Makefile How i compile the stuff.



Question:
---
Did anybody try this before?
Which Motif version do I need?



Thanks for any hints,

Marcel

PS: The code seems to be more or less correct, since i just run it on
Windows NT successfully


/*
HelloWorldAwt.C
*/
#include 
#include 
using namespace std;

bool done = false;

int main()
{
const int nOpts = 4;
JavaVMOption options[nOpts];
int ii=0;
options[ii++].optionString = "-Djava.compiler=NONE";   /* disable JIT 
*/
options[ii++].optionString = "-Djava.class.path=.";/* user classes 
*/
options[ii++].optionString = "-Djava.library.path=.";  /* set native 
library path */
options[ii++].optionString = "-verbose:jni,class,gc";  /* print 
JNI-related messages */

JavaVMInitArgs vm_args;
vm_args.version = JNI_VERSION_1_2;
vm_args.options = options;
vm_args.nOptions = nOpts;
vm_args.ignoreUnrecognized = JNI_TRUE;

JavaVM *jvm;
JNIEnv *env;
jint res = JNI_CreateJavaVM(&jvm, (void **)&env, &vm_args);
if (res < 0) { cerr << "Can't create Java VM" << endl; exit(1); }

cout << "JNI_CreateJavaVM() is OK" << endl;

jclass cls = env->FindClass("HelloWorldAwt");
if (cls == 0) { cerr << "Can't find HelloWorldAwt class" << endl; exit(1); }

jmethodID cons = env->GetMethodID(cls, "", "()V"); // Constructor
if (cons == 0) {  cerr << "Constructor ERROR" << endl; exit(1); }

jobject obj = env->NewObject(cls, cons);
if (obj == 0) { cerr << "NewObject ERROR" << endl; exit(1); }

cout << "HelloWorldAwt.C: Entering forever loop ..." << endl;

while (!done) { }

cout << "HelloWorldAwt.C: Good bye ..." << endl;
jvm->DestroyJavaVM();

return 0;
}




#JDK_HOME=/usr/local/jdk
MY_JAVAC= javac
MY_INCLUDE  = -I$(JDK_HOME)/include -I$(JDK_HOME)/include/linux
MY_JAVA_LIBS= -L$(JDK_HOME)/jre/lib/i386 -ljava -lawt -L 
$(JDK_HOME)/jre/lib/i386/native_threads -lhpi  -L$(JDK_HOME)/jre/lib/i386/classic -ljvm
MY_X_LIBS   = -L/usr/X11R6/lib -lXm -lXpm -lXt -lSM -lICE -lXext -lX11

HelloWorldAwt.class : HelloWorldAwt.java
$(MY_JAVAC) HelloWorldAwt.java
@echo "-> HelloWorldAwt.class done"
@echo ""

HelloWorldAwt.h : HelloWorldAwt.java 
javah -jni HelloWorldAwt
@echo "-> HelloWorldAwt.h done"
@echo ""

HelloWorldAwt : HelloWorldAwt.class HelloWorldAwt.h HelloWorldAwt.C
g++ -D_REENTRANT $(MY_INCLUDE) $(MY_JAVA_LIBS) $(MY_X_LIBS) HelloWorldAwt.C -o 
HelloWorldAwt
@echo "-> HelloWorldAwt (C++ executable) done"
@echo ""


all: usage HelloWorldAwt
@echo "# Starting C++ application with Awt GUI ... "
HelloWorldAwt
@echo ""


clean:
rm -f *.class *.so
rm -f HelloWorldAwt
rm -f HelloWorldAwt.h

usage:
@echo "-"
@echo "CAUTION: Set this environment before using the Makefile! "
@echo "export 
LD_LIBRARY_PATH=.:$(JDK_HOME)/jre/lib/i386:$(JDK_HOME)/jre/lib/i386/native_threads:$(JDK_HOME)/jre/lib/i386/classic"
@echo "export LD_BIND_NOW=true"
@echo "export RTLD_NOW=true"
@echo "export LD_PRELOAD=libpthread.so"
@echo "-"



/*
  HelloWorldAwt.java
*/
import java.awt.*;

how to install jserv.

1999-04-20 Thread Xiaoxuan Yang

I tried to install jserv-0.9.12 on my debian linux 2.0, my apache server is 1.3.3. You 
know, all pakages of debian has it's own name and
installation method. So I download apache 1.3.3 from apache.org, and re-compile it 
according to the README file of Jserv-0.9.12, but I got following
error message:

Syntax error on line 104 of /etc/apache/httpd.conf:
Cannot load /usr/lib/apache/1.3/mod_jserv.so into server: /usr/lib/apache/1.3/mo
d_jserv.so: undefined symbol: stat

Who can help me to resolve this problem? Thanks a lot.



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



Re: JNI / JKD2 / AWT / Linux 2.2.5 -> little C++/Java ´HelloWorldAwt´ gives a segmentation violation

1999-04-20 Thread Juergen Kreileder

> Marcel Ruff writes:

Marcel> [1  ]
Marcel> Hello,

Marcel> i made a little HelloWorld C++ executable to popup a Java
Marcel> HelloWolrd GUI, but it gives a core dump.

The combination AWT and Invocation API doesn't work currently.
It should work with the next release.


Juergen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802


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



Re: JNI / JKD2 / AWT / Linux 2.2.5 -> little C++/Java ´HelloWorldAwt´ gives a segmentation violation

1999-04-20 Thread Marcel Ruff

Juergen Kreileder wrote:

> > Marcel Ruff writes:
>
> Marcel> [1  ]
> Marcel> Hello,
>
> Marcel> i made a little HelloWorld C++ executable to popup a Java
> Marcel> HelloWolrd GUI, but it gives a core dump.
>
> The combination AWT and Invocation API doesn't work currently.
> It should work with the next release.
>
> Juergen
>
> --
> Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
> Baroper Strasse 301, D-44221 Dortmund, Germany
> Phone: ++49 231/755-5806, Fax: ++49 231/755-5802
> 

Thanks for the quick respond!

1. When do you expect the next release?

2. Which Motif version should i use (Ill order now already)
 (is lesstiff working as well??)

Thanks, Marcel


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



Re: Too manyopen files in system

1999-04-20 Thread pridemor

You can't depend on garbage collection, since it may not be
invoked until after you run out of file descriptors.  To see how
many you are using, take a look at "lsof".  It's on the RedHat
5.2 CD, or get it from ftp://vic.cc.purdue.edu/pub/tools/unix/.





[EMAIL PROTECTED] on 04/20/99 04:02:36 AM

To:   [EMAIL PROTECTED]
cc:(bcc: Russell Pridemore/Lex/Lexmark)
Subject:  Re: Too manyopen files in system




> > Hi,
> >
> > I'm using jdk1.2 pre-v1 on RedHat 5.2 for my servlets using
> > Apache JServ. Every once in a while I get the following error:
> >
> >   Too many open files in system
>
> Make sure you're closing the files when you're done with them.

I've checked my code for this. But even without closing them
myself, shouldn't they be closed at garbage collecting time?

What tool under Linux do I use to check how many files are
currently open in my system?

> --
> 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]






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



RE: Fonts messages again. Thanks, it worked.

1999-04-20 Thread Kapoor, Nishikant X

Hi John

The fix at

Kazuki's post

http://www.mail-archive.com/[email protected]/msg05371.html

worked for me. Just follow it step by step and you should be OK.

A couple of things, though. A  few lines containing 'zapf' in the attached
fonts.properties files are wrapped (I finally got it !) and need to be
unwrapped. Here are those wrapped lines

sansserif.bolditalic.1=-urw-zapf 
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific

monospaced.bolditalic.1=-urw-zapf 
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific

dialoginput.italic.1=-urw-zapf 
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific

dialoginput.bolditalic.1=-urw-zapf 
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific

I also installed the ghostscript-fonts-std from the .rpm package. Infact, I
installed it sometime back along with ghostscript-fonts-other package but
looking at Kazuki's post, these fonts should be there in the std. package.
Since the rpm installs these fonts in /usr/share/ghostscript/fonts (RH5.1, I
think the path is correct otherwise try 'rpm -ql ghostscript-fonts' and it
should list all the files in the package), copy the attached fonts.dir file
in /usr/share/ghostscript/fonts and set
JAVA_FONTS=/usr/share/ghostscript/fonts:$JAVA_HOME/jre/lib/fonts.
This should get your fonts fixed. Let me know if you need more help.
Nishi
--People who live in windowed environments shouldn't cast pointers--
mailto:[EMAIL PROTECTED]   http://www.c3ipros.com/nkapoor
---~~~--

> -Original Message-
> From: John N. Alegre [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 19, 1999 8:22 PM
> To:   Kapoor, Nishikant X
> Cc:   [EMAIL PROTECTED]
> Subject:  RE: Fonts messages again
> 
> I too can not get this fix originally posted by Kazuki to work on a RH 5.2
> system.  Kapoor if you get any fixes that are not posted to the list,
> please
> send them to me.  The only thing I did different that the Kazuki
> instructions
> was to install the ghostscript-5.10 fonts from an rpm rather than a tar
> ball. 
> The fix did not work for me.
> 
> Also 1.1.7 is not totally broke because of the glib situation.  I am very
> very
> disappointed at the progress of Java on Linux.  I love Linux and hate NT
> but
> when it comes to serious java work it is hard to take Linux very
> seriously.
> 
> john
> 
> On 19-Apr-99 Kapoor, Nishikant X wrote:
> > Hi all
> > 
> > Excuse my ignorance but can someone please post the EXACT fix for this
> > problem. I've seen some responses about unwrapping a few lines
> containing
> > zapf in $JAVA_HOME/jre/lib/fonts.properties (I think the path is right
> !)
> > but I guess, the EXACT 'diff' would be highly appreciated.
> > 
> > Thanks
> > Nishi
> > --People who live in windowed environments shouldn't cast pointers--
> > mailto:[EMAIL PROTECTED]   http://www.c3ipros.com/nkapoor
> > ---~~~--
> > 
> >> -Original Message-
> >> From:IMPRO S.L. [SMTP:[EMAIL PROTECTED]]
> >> Sent:Saturday, April 17, 1999 7:51 AM
> >> To:  Jesus Correas Fernandez; [EMAIL PROTECTED]
> >> Subject: RE: Fonts messages again
> >> 
> >> tU QUE tienes nombre español, haber si me explicas por que recibo tanto
> >> correo extranjero
> >> gracias.
> >> [EMAIL PROTECTED]
> >> 
> >> -Mensaje original-
> >> De: Jesus Correas Fernandez <[EMAIL PROTECTED]>
> >> Para: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> >> Fecha: viernes, 16 de abril de 1999 0:11
> >> Asunto: Fonts messages again
> >> 
> >> 
> >> >
> >> >Last 03/15/1999 Kazuki Yasumatsu wrote how to fix the 'font
> specification
> >> >not found' messages. i've tried this solution step by step, but when i
> >> run
> >> >the Stylepad demo appears:
> >> >
> >> > [75]> java Stylepad
> >> > Font specified in font.properties not found [-urw-zapf ]
> >> > Font specified in font.properties not found [-urw-zapf ]
> >> > Font specified in font.properties not found [-urw-zapf ]
> >> > Font specified in font.properties not found [-urw-zapf ]
> >> >
> >> >What's wrong?
> >> >
> >> >Thanks in advance.
> >> >
> >> >Jesus.
> >> >
> >> >
> >> >--
> >> >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]
> 
> --
> E-Mail: John N. Alegre <[EMAIL PROTECTED]>
> Date: 19-Apr-99
> Time: 20:18:14
> 
> This message 

JDK1.2pre-v1, Slackware4.0 and libstdc++

1999-04-20 Thread Alessio Dragoni

Hi,

On my Linux (slackware 4.0 w/kernel 2.2.5 and glibc6) I've intalled
the jdk1.2pre-v1 but, when I try to compile or to run any java class

I receive always the error like this:

-->  could't find librarys libstdc++-libc6.0-1.so.2

I've try to resolve this problem by making a link like:

ln -s /usr/lib/libstdc++.so.2.8 \
/jdk1.2/jre/lib/i386/libstdc++-lib6.0-1.so.2

or

ln -s /usr/lib/libstdc++.so.2.9 \
/jdk1.2/jre/lib/i386/libstdc++-lib6.0-1.so.2

but in this way the error is an incompatible function inside my
library, because I receive an error like:

-->undefined symbol 

Can I resolve this problem ?
Which type and version of library i need to use correctly the jdk1.2

There's anyone that have succesfully run java classes in slack4.0
w/jdk1.2pr-v1?

Thans in advance for your collaboration !

Alessio Dragoni
([EMAIL PROTECTED])






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



Blocking non-modal Dialog

1999-04-20 Thread Cãtãlin CLIMOV

Hi,
I'm not sure if this is a bug or this is the way it should work, but
when I display a non-modal dialog, Dialog.setVisible() blocks the calling
thread until the dialog is closed.
On windoze it blocks only on modal dialogs, but on Linux it blocks on both
modal & non-modal. Why ?

TIA.
Cãtãlin CLIMOV


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



Java Plug-in

1999-04-20 Thread eadsd

I've noticed the Java plug-in (aka Activator) has been removed from your website
(presumably because it cored). Is a port/revision in progress?  Can I see the
source code? When can I expect a plug-in for Linux to be available (with the JDK
1.2 port?)

Regards,

David Eads
Lexmark International, Inc.
[EMAIL PROTECTED]



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



can't find class ijvmasm

1999-04-20 Thread TC Lin


Hello, Could anyone figure out what the problem is ?

Thanks.

-Todd





1. 
problem

in ~hyu/mic1 directory I type in
$java ijvmasm echo.jas echo.ijvm

I got the following ERROR message :

Can't find class ijvmasm

2. 
files in the misc1 directory

COPYING.TXT  echo.jas mal.html mic1sim.txt
README.TXT   faq.html mic1.tar relnotes.html
add.ijvm ijvm.confmic1asm.txt  source/
add.jas  ijvmasm.txt  mic1ijvm.mal user_guide.html
classes.zip  ijvmtest.jas mic1ijvm.mic1
echo.ijvmjas.html mic1sim.gif

3. 
CLASSPATH

hyu:~/mic1$ echo $CLASSPATH
/home/hyu/mic1/classes.zip

4. 
PATH

hyu:~/mic1$ echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/X11/bin:/usr/andrew/bin:/usr/openwin/bin:/usr/games:.:/usr/lib/teTeX/b
in:/usr/X11/bin:/usr/sbin:/usr/openwin/bin:/usr/local/bin:/usr/local/java/bin:.:/usr/lib/teTeX/bin:/usr/
X11/bin:/usr/andrew/bin:/usr/openwin/bin:/usr/games:.:/usr/lib/teTeX/bin:/usr/X11/bin:/usr/sbin:/usr/ope
nwin/bin:/usr/local/bin:/usr/local/java/bin:.:/usr/lib/teTeX/bin

5. 
java version (1.0.2)
hyu:~/mic1$ java -version
java version "chapman:10/12/12-23:12"

6. 
Linux distribution is Slack 3.3

7. 
libc version

hyu:~/mic1$ /sbin/ldconfig -D | grep libc | tail -l
libcurses.so.1 => libcurses.so.1.0.0
libc.so.5 => libc.so.5.4.33
libcom_err.so.2 => libcom_err.so.2.0
libc.so.4 => libc.so.4.7.6
libcurses.so.0 => libcurses.so.0.1.2

8.
loader version

hyu:~/mic1$ /sbin/ldconfig -D | grep ld | tail -l
/sbin/ldconfig: version 1.9.5
ld-linux.so.1 => ld-linux.so.1.9.5

9.

hyu:~/mic1$ xdpyinfo | grep 'release number'
vendor release number:3300

10.
hyu:~/mic1$ uname -r
2.0.30



___
Get Free Email and Do More On The Web. Visit http://www.msn.com


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



Re: Too many open files in system

1999-04-20 Thread Nate Sammons


UNIX (Linux included) allows you to set a max number of file descriptors
that a given process can have open.  The command controlling this
depends on the shell you're using.  For instance, under Linux tcsh, it
is "limit" and under bash (/bin/sh) it is "ulimit"

I think the default is 256 -- you can check the current setting by
typing "limit descriptors" in tcsh or "ulimit -n" in bash.  So, to set
it to something hight under tcsh, type "limit descriptors XXX" where XXX
is the number you want.  Under bash, type "ulimit -n XXX".  Read the man
page for bash or tcsh (limit and ulimit are builtin commands) for more
information.  When I run servers, I usually set it to 1024.

Also, you really, really should not rely on garbage collection to close
files and sockets for you.  While technically it's true that they will
be closed and the resources will be freed when GC finally catches them,
it's no way to write good software.

-nate


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



Re: can't find class ijvmasm

1999-04-20 Thread Christopher Bodenstein

Hi,

I think you should add . to you CLASSPATH

Regards,

Chris

TC Lin wrote:

> Hello, Could anyone figure out what the problem is ?
>
> Thanks.
>
> -Todd
>
> 1.
> problem
>
> in ~hyu/mic1 directory I type in
> $java ijvmasm echo.jas echo.ijvm
>
> I got the following ERROR message :
>
> Can't find class ijvmasm
>
> 2.
> files in the misc1 directory
>
> COPYING.TXT  echo.jas mal.html mic1sim.txt
> README.TXT   faq.html mic1.tar relnotes.html
> add.ijvm ijvm.confmic1asm.txt  source/
> add.jas  ijvmasm.txt  mic1ijvm.mal user_guide.html
> classes.zip  ijvmtest.jas mic1ijvm.mic1
> echo.ijvmjas.html mic1sim.gif
>
> 3.
> CLASSPATH
>
> hyu:~/mic1$ echo $CLASSPATH
> /home/hyu/mic1/classes.zip
>
> 4.
> PATH
>
> hyu:~/mic1$ echo $PATH
> 
>/usr/local/bin:/bin:/usr/bin:/usr/X11/bin:/usr/andrew/bin:/usr/openwin/bin:/usr/games:.:/usr/lib/teTeX/b
> 
>in:/usr/X11/bin:/usr/sbin:/usr/openwin/bin:/usr/local/bin:/usr/local/java/bin:.:/usr/lib/teTeX/bin:/usr/
> 
>X11/bin:/usr/andrew/bin:/usr/openwin/bin:/usr/games:.:/usr/lib/teTeX/bin:/usr/X11/bin:/usr/sbin:/usr/ope
> nwin/bin:/usr/local/bin:/usr/local/java/bin:.:/usr/lib/teTeX/bin
>
> 5.
> java version (1.0.2)
> hyu:~/mic1$ java -version
> java version "chapman:10/12/12-23:12"
>
> 6.
> Linux distribution is Slack 3.3
>
> 7.
> libc version
>
> hyu:~/mic1$ /sbin/ldconfig -D | grep libc | tail -l
> libcurses.so.1 => libcurses.so.1.0.0
> libc.so.5 => libc.so.5.4.33
> libcom_err.so.2 => libcom_err.so.2.0
> libc.so.4 => libc.so.4.7.6
> libcurses.so.0 => libcurses.so.0.1.2
>
> 8.
> loader version
>
> hyu:~/mic1$ /sbin/ldconfig -D | grep ld | tail -l
> /sbin/ldconfig: version 1.9.5
> ld-linux.so.1 => ld-linux.so.1.9.5
>
> 9.
>
> hyu:~/mic1$ xdpyinfo | grep 'release number'
> vendor release number:3300
>
> 10.
> hyu:~/mic1$ uname -r
> 2.0.30
>
> ___
> Get Free Email and Do More On The Web. Visit http://www.msn.com
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

--
Christopher Bodenstein - IT Developer - mailto:[EMAIL PROTECTED]
IconAllmansland ® - realize your net value - http://www.iconallmansland.com
Gossetlaan 32B-1702 Brussels - Belgium
tel * +32 2 467 95 30 - fax *  +32 2 467 95 49




begin:vcard 
n:Bodenstein;Christopher
tel;fax:+32 2 467 95 49
tel;work:+32 2 467 95 30
x-mozilla-html:TRUE
org:IconAllmansland;R&D
adr:;;Gossetlaan 32;Groot-Bijgarden;;1702;BELGIUM
version:2.1
email;internet:[EMAIL PROTECTED]
title:IT Developer
x-mozilla-cpt:;11584
fn:Christopher Bodenstein
end:vcard



JDK1.2, newobject() and methodtables

1999-04-20 Thread Georg Acher

Hi,
as a small part of my PhD, I'm currently implementing a special
JIT-compiler
based (for a start) on JDK1.2 for x86 and Alpha (should really easily
portable to other CPUs). Now I'm having the problem that the
newobject()-call
from the JDK (and also ObjAlloc) doesn't initialize the object's
method/virtual function tables. But it seems that it does this in JDK1.1
(tried with the tya-JIT). 

Is this a bug, a feature, or have I missed something?

Since I want to concentrate on the JIT system itself (and BTW: I'm only
making a SW model of it, it should later run as real logic in an FPGA) I
would really like to avoid the assembling of the tables myself ;-)

PS: Some preliminary benchmarks showed that the JIT gives faster code
than libsunwjit.so on x86...
-- 
Bye
 Georg Acher, [EMAIL PROTECTED] 
 http://www.in.tum.de/~acher/
  "Oh no, not again !" The bowl of petunias


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



Re: can't find class ijvmasm

1999-04-20 Thread Dan Stone

I believe the problem is specific to the software package (mic1) you are
trying to run.  With some of the earlier releases of the package,
ijvmasm.class was missing from the classes.zip file.  Try downloading
the current development release from www.ontko.com/mic1 and reinstall. 
Or, you can compile source/ijvmasm.java and add that directory to your
CLASSPATH.

Dan

TC Lin wrote:
> 
> Hello, Could anyone figure out what the problem is ?
> 
> Thanks.
> 
> -Todd
> 
> 1.
> problem
> 
> in ~hyu/mic1 directory I type in
> $java ijvmasm echo.jas echo.ijvm
> 
> I got the following ERROR message :
> 
> Can't find class ijvmasm
> 
> 2.
> files in the misc1 directory
> 
> COPYING.TXT  echo.jas mal.html mic1sim.txt
> README.TXT   faq.html mic1.tar relnotes.html
> add.ijvm ijvm.confmic1asm.txt  source/
> add.jas  ijvmasm.txt  mic1ijvm.mal user_guide.html
> classes.zip  ijvmtest.jas mic1ijvm.mic1
> echo.ijvmjas.html mic1sim.gif
> 
> 3.
> CLASSPATH
> 
> hyu:~/mic1$ echo $CLASSPATH
> /home/hyu/mic1/classes.zip
>


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



Re: can't find class ijvmasm

1999-04-20 Thread Gerrit Cap

At 07:47 AM 4/20/99 PDT, TC Lin wrote:
>
>Hello, Could anyone figure out what the problem is ?
>
>Thanks.
>
>-Todd
>
>
>
>
>
>1. 
>problem
>
>in ~hyu/mic1 directory I type in
>$java ijvmasm echo.jas echo.ijvm
>
>I got the following ERROR message :
>
>Can't find class ijvmasm


Maybe ijvmasm.java doesn't contain the class ijvmasm but ijVMasm. Class
names and filenames are case sensitive and must match.

Gerrit.
 Marble Consulting --
Gerrit Cap  http://www.ping.be/marble
OO Solutions Engineer   mailto:[EMAIL PROTECTED]
Marble Consulting
Blauwe Gaanweg, 53  tel : +32 75 72.94.36
B-9150 Kruibeke-Bazel   fax : +32 3 744.19.17
Belgium


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



Re: Fonts messages again

1999-04-20 Thread Jesus Correas Fernandez


Hi, John and Kapoor.

> I too can not get this fix originally posted by Kazuki to work on a RH 5.2
> system.  Kapoor if you get any fixes that are not posted to the list, please

I'm working on RH 5.2 too, and the wrap fixings to Kazuki's one  worked
well. The diff command output is: 

   [47]> diff font.properties.old font.properties
   53,54c53
   < sansserif.bolditalic.1=-urw-zapf 
   < dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific
   ---
   > sansserif.bolditalic.1=-urw-zapf 
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific
   72,73c71
   < monospaced.bolditalic.1=-urw-zapf 
   < dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific
   ---
   > monospaced.bolditalic.1=-urw-zapf 
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific
   101,102c99
   < dialoginput.italic.1=-urw-zapf 
   < dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific
   ---
   > dialoginput.italic.1=-urw-zapf 
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific
   110,111c107
   < dialoginput.bolditalic.1=-urw-zapf 
   < dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific
   ---
   > dialoginput.bolditalic.1=-urw-zapf 
dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific


Jesus.


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



font question

1999-04-20 Thread dominix


dear all

Thank you for a so great job
I have just a simple question, I'm missing the -zapf
dingbat-medium-r-adobe font and a lot of java apps are using it.
Do you plan to include this font in a final release or do I have to
find it by myself ? (in that case would you tell me where cause I've
found it ?)

wish you a good continuation.

regards


-- 

Dominix

[EMAIL PROTECTED]


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



...

1999-04-20 Thread Riyad Kalla


My intent here is not to stirr up emotions or cause an argument. But after
12 unanswered emails I feel I have a right to comment. And I don't
have patients for flames over this, so please don't send them. If you were
in my shoes you'd be as frustrated.
Is anyone else a bit disappointed and/or concerned about Blackdown's
progress with JDK1.2? I find no other means of seeing where the current
project stands because the only information posted on the website is more
than a month old and all my inquiries about it over the last few weeks
have all gone unheeded. I find their efforts worth noting, but when I've
asked this question in the past I get the response of "do it yourself if
your so anxious" which I find amazingly stupid and a waste of time.
What goes into porting Java to Linux? I admit I am not farmiliar with
the process, however I would still like an up to date record of their current
progress.
Does anyone know if there is a work on Sun's behalf to do the port themselves
in the future or atleast carry Blackdown along a little faster?
I've seen this question asked before on this mailing list, but do not
remember a reply ever being issued.
-- 
 Riyad Kalla
  [EMAIL PROTECTED]
   CS Major
University of Arizona
 


Re: ...

1999-04-20 Thread Paolo Ciccone

I'm personally disappointed by Sun's reaction. In November they
announced support for Linux, for the following months we got nothing
from them and nothing when the pre v1 has been released. Linux is not
even in the list of officially supported platforms, despite what they
announced, and there's no way of downloading the current version of
the JDK. This is not what I call supporting a platform. The great
peopla at Blackdown.org did an excellent job but, I agree, the lack of
news for such a long perios is frightening. It doesn't encourage to
invest time and energy in doing Java development on Linux.

--Paolo

> "RK" == Riyad Kalla <[EMAIL PROTECTED]> writes:

RK> [1 ] My intent here is not to
RK> stirr up emotions or cause an argument.  But after 12
RK> unanswered emails I feel I have a right to comment.  And I
RK> don't have patients for flames over this, so please don't send
RK> them. If you were in my shoes you'd be as frustrated.

RK> Is anyone else a bit disappointed and/or concerned about
RK> Blackdown's progress with JDK1.2? I find no other means of
RK> seeing where the current project stands because the only
RK> information posted on the website is more than a month old and
RK> all my inquiries about it over the last few weeks have all
RK> gone unheeded. I find their efforts worth noting, but when
RK> I've asked this question in the past I get the response of "do
RK> it yourself if your so anxious" which I find amazingly stupid
RK> and a waste of time. What goes into porting Java to Linux? I
RK> admit I am not farmiliar with the process, however I would
RK> still like an up to date record of their current progress.

RK> Does anyone know if there is a work on Sun's behalf to do the
RK> port themselves in the future or atleast carry Blackdown along
RK> a little faster?

RK> I've seen this question asked before on this mailing list, but
RK> do not remember a reply ever being issued.

RK> -- Riyad Kalla [EMAIL PROTECTED] CS Major University of
RK> Arizona


RK> [2 ]



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



Re: ...

1999-04-20 Thread Michael Sinz

Riyad Kalla wrote:
>My intent here is not to stirr up emotions or cause an argument. But after
>12 unanswered emails I feel I have a right to comment. And I don't have
>patients for flames over this, so please don't send them. If you were in my
>shoes you'd be as frustrated.

As you may know, the porting effort is being done by many people, all of
which have full-time jobs (and families) that also demand some time.
In fact, it is why I have done relatively little in the JDK 1.2 port -
a number of big work related projects have been killing my time.

>Is anyone else a bit disappointed and/or concerned about Blackdown's
>progress with JDK1.2? I find no other means of seeing where the current
>project stands because the only information posted on the website is more
>than a month old and all my inquiries about it over the last few weeks have
>all gone unheeded. I find their efforts worth noting, but when I've asked
>this question in the past I get the response of "do it yourself if your so
>anxious" which I find amazingly stupid and a waste of time. What goes into
>porting Java to Linux? I admit I am not farmiliar with the process,
>however I would still like an up to date record of their current progress.

There is a lot of work making a quality port.  It was a reasonably complex
process just getting it running in the first place.  (The bootstrap process
is rather tricky...)

Some of the problems are, what some would call, esoteric.  They have to
do with race conditions in the threads and performance issues and the
like.  (Threading on Linux is very different than Solaris and there are
some issues with the way some signals are handled and...)  For most of us,
these types of issues are critical for release.  (Having the JDK not be
reliable is not a good thing)


Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] - http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz



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



glibc2.1

1999-04-20 Thread Peter Godman


Has anyone successfully used glibc2.1 with blackdown java 117?  Green
threads?  Native?  AWT?  

Pete


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



IBM JVM Port

1999-04-20 Thread Shafiek Savahl

Hello All

IBM have just released their version of a JVM for Win32 which they claim
is 30% faster than Hotspot from Sun and also Micrsoft's VM.  They also
plan to be giving it away.  From what I have heard Sun plans to be
charging for their Hotspot product.  What would be the chance on getting
IBM's code ported to Linux or is this the wrong forum to be bringing
this up in.

Shafiek


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



Re: IBM JVM Port

1999-04-20 Thread Chris Abbey

Look back about a week in this list for the answer

At 12:32 PM 4/21/99 +1000, Shafiek Savahl wrote:
>Hello All
>
>IBM have just released their version of a JVM for Win32 which they claim
>is 30% faster than Hotspot from Sun and also Micrsoft's VM.  They also
>plan to be giving it away.  From what I have heard Sun plans to be
>charging for their Hotspot product.  What would be the chance on getting
>IBM's code ported to Linux or is this the wrong forum to be bringing
>this up in.
>
>Shafiek
>
>
>--
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

!NEW!-=> <*> cabbey at home dot net  http://members.home.net/cabbey/ <*>
"What can Microsoft do? They certainly can't program around us." - Linus

-BEGIN GEEK CODE BLOCK-   Version:3.12   http://www.geekcode.com
GCS$/IT/PA$ d(-) s++:+ a-- C+++$ UL UA++$ P++ L++ E- W++ N+ o? K? !P
w---(+)$ O- M-- V-- Y+ PGP+ t--- 5++ X+ R tv b+ DI+++ D G e++ h(+) r@ y?
--END GEEK CODE BLOCK--


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



Re: ...

1999-04-20 Thread Chris Abbey

At 03:01 PM 4/20/99 -0700, Riyad Kalla wrote:
>My intent here is not to stirr up emotions or cause an argument.

Good. I don't think any of us want to see that mess start up again.

> But after 12 unanswered emails I feel I have a right to comment.

Feel free to comment. Unanswered emails shouldn't make a difference.

>And I don't have patients for flames over this, so please don't send them.

ok. I wont.

>If you were in my shoes you'd be as frustrated. 

How so? You're multi-billion dollar international corporation is staking
it's bottom line on java2 for Linux? You were asssigned a project and sold
your prof on the idea of doing it on Linux and in Java, but absolutely
_have_ to have the latest and greatest whiz-bang features of Java2?
Sorry, no sympathy here for either case 

We're all in the same shoes here: we see others playing with Java2 on
crappy OSs like NT, or expensive boxes like Sparcs, and we want our
beloved Tux to be able to play with them . . . but we'll just have to
wait; java development isn't like other linuxian projects. It isn't
OSS, it isn't GPL, it isn't something anyone can go out and grab the
sources to and hack. It can't be.

>Is anyone else a bit disappointed and/or concerned about Blackdown's
>progress with JDK1.2?

umm... no, not really. I don't think I represent a small segment of the
Java world when I say "give me stability over new features". Or worded
differently (from a bug traq on the JDC) "stop dreaming up new APIs and
finish fixing the ones you dreamt up last release". Things as important
as the JDK and the JVM need to be thought of like the Linux kernel...
a stable version and a development version - always. Right now Java2 is
the development version, the stable version is 1.1.

>I find no other means of seeing where the current project stands
>because the only information posted on the website is more than
>a month old

and your point is  I have in my bookmarks a webpage for the updated
status on a project I work on, the last modified date on this web page is
now 2 1/2 months old, but the information is current, as of this second.
What connection is there between the two... none. When there is a change
in the status Steve, or someone, will put it on the web page - odds are
they'll also announce it right here on this list.

>and all my inquiries about it over the last few weeks
>have all gone unheeded.

Did you read the third paragraph of the status page? Have you read the
FAQ? Have you looked in the archives? People are sick of answering this
question when the answer is in all three locations - to the point of
ignoring the question and/or filtering the address from their inbox.

>I find their efforts worth noting,

I am _SO_ sure that what you _meant_ to say and how I read that are
two completely different things that I'm not even going into it further.

>   but
>when I've asked this question in the past I get the response of
>"do it yourself if your so anxious" which I find amazingly stupid
>and a waste of time. What goes into porting Java to Linux?

A hell of a lot goes into porting anything as massive as the JVM from
any platform to any other dis-similar platform. If you want a minimal
example... go get the sources to something like the socket library (note,
I only said the socket library, not the entire net library) from your
favorite (non-linux) Unix (i.e. Solaris, AIX, VMS) and port it to Linux.
You'll find your self digging into not only the Linux kernel and the rest
of the standard libraries, but also the libraries and kernel of the source
platform (of which you probably don't have source)... now imagine that
those other portions of the standard library (like the rest of net) that
you had to go look at inorder to bring socket over were _also_ on your
plate to port over, so you _can't_ go look into them to see how they
use your piece or how the pieces of them you use work. And that would
only be one pseudo-piece of the JVM.

>I admit I am not farmiliar with the process, however I would still like
>an up to date record of their current progress.

http://www.cc.gatech.edu/linux/java-linux/java-linux/jck-status.html

that's the mirror I use (though it's not listed in the mirror list
anymore??) Any thing more detailed than that would (I suspect) be
in violation of The Agreement. I can admit that a test-by-test status
would be nice for those understanding the JCK, and maybe informative
for those who don't ... but therein lies the rub. For example; the
project I work on has one automated test bucket that has over 10,000
variations in it, and we have a set of tools that generate nice neat
html pages sumarizing the results ... but we don't make that available
outside the project becuase people don't need to know that we have a
big/corp/proj/foo.bar(I)B; method, and that we test if it can handle
-99 as input. (very arbitrary example, but I think the point is clear)

>Doe

When jdk1.2 will be final?

1999-04-20 Thread Piero Campanelli

Hello,

probably this question was formulated many times..but
i'm new in this ML. So when will jdk1.2 for linux be 
in final version? Does exist a schedule?

Thanks a lot


Piero
---
Piero Campanelli <[EMAIL PROTECTED]>



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