Server crash
Hi! I wonder if anybody have had troble with RedHat5.1- Apache1.3.6 - and JServ1.0b so that you had to restart the computer. I'm remotly controlling a computer that runs the compination above. Yesterday it stop all services by simple timeouts. I can't log in via ssh since i got a timeout error, I can't get any pages from the webserver since i got a timeout. I'm quit confident that my servlets isn't causing this kind of error. The last time this happend I had to reinstall Apache and Jserv, i don't know if it was nesecery but I could not find any errors in the conf-files, and I removed all the log files. Has anyone had experiances like my and found out what would cause this problem. Roland Carlsson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Off-Topic(bzip2 on RH6.0).
Hi all, I have downloaded JDK1.2pre-v2.tar.bz2 from glibc2.1.But in my linux system which is RH6.0 donot have bzip2 tool for unzipping the JDK1.2 file but I have gzip.Pls tell me where I can get gzip version of JDK1.2 or else how can I load bzip2 on my RH6.0. Thanks in advence, Nagaraj S.B. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Off-Topic(bzip2 on RH6.0).
Hi, At 10:00 PM 02/07/99 , Nagaraj S.B wrote: >Hi all, >I have downloaded JDK1.2pre-v2.tar.bz2 from glibc2.1.But in my linux >system which is RH6.0 donot have bzip2 tool for unzipping the JDK1.2 >file but I have gzip.Pls tell me where I can get gzip version of JDK1.2 >or else how can I load bzip2 on my RH6.0. You can install bzip2 from your RH6.0 CD. I cannot recall in exactly which package, so you will have to search for it. Groete Deon -- Cellpoint SA (Pty) Ltd.| GSM datacommunication solutions http://www.cellpt.co.za| http://www.technorinc.com Voice: +27-(0)11-254-5100 | Fax: +27-(0)11-805-6053 mail: [EMAIL PROTECTED] | home: http://www.wasp.co.za/~deon Unite for Java! - http://www.javalobby.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Caps Lock problems
Hello, For some reason I cannot convince a JFrame to accept uppercase characters when CapsLock is on. ie, KeyEvent.getKeyChar() is returning 'a' when I press the A key regardless of whether CapsLock is on. I'm using Swing 1.1.1b2 with JDK1.1.7v3 on a virgin RH6 machine. I thought perhaps it was my keymap but I've tried a hundred different combinations with no success. Has anyone had similar problems? Any help would be greatly appreciated. As a side-note, the problem doesn't exist under Win32. As an alternative, does anyone know how to poll the keyboard to see if the CapsLock is on/off with Java? Thanks -Lance -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java and C programs Integration
Hello All, I am trying to integrate the java and C code. i am following the guidelines given in the documentation at the address http://java.sun.com/docs/books/tutorial/native1.1/stepbystep. I am trying to work with the sample program given by them. I am having RedHat6.0 with JDK1.2 (glibc2.1) which is working fine. I am able to prepare the object file of the given C code. but when I try to prepare *.so file it enconters following error: #g++ -dy -o libhello.so HelloWorldImp.o /usr/lib/crt1.o(text+0x18):undefined reference to 'main' collect2:ld returned exit status and it terminates. If any one of u have came across such error please help me. in /usr/lib crt1.o is present. Thanking You, Alpesh === KOTHARI ALPESH D. STUDENT M. TECH. CEDT INDIAN INSTITUTE OF SCIENCE BANGALORE-560 012 INDIA _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Updated Java books list
http://rocking.to/Java -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java3D vs. tya
On 1 Jul 1999, Steve Byrne wrote: > Johan <[EMAIL PROTECTED]> writes: > > > > > Having a problem using 'tya' (JIT-complier) with 'Java3D'. > > 'tya' works fine in all other applications, i.e non-Java3D-apps. > > > > This is the error message I get: > > > > Exception in thread "main" java.lang.UnsatisfiedLinkError: chooseOglVisual > > at > > javax.media.j3d.NativeConfigTemplate3D.getBestConfiguration(Compiled Code) > > at javax.media.j3d.Canvas3D.(Compiled Code) > > at Bboard.(Compiled Code) > > at Bboard.main(Compiled Code) > > Does it work in your environment w/o tya? > > Steve Works fine! /Johan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Keyboard shortcuts
Hi ! I'm using JDK 1.1.7v1a for Linux. Actually I have some problems with running number of applications under JDK 1.1.7v3 with JIT(TYA). One of these apps is HotJava v3.0. I'd like to ask you a question: How should I configure my X in order to make keyboard shortcuts work properly ? Thanks in advance. Ron Shpaser. email: [EMAIL PROTECTED] __ Get Your Private, Free Email at http://www.hotmail.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
UDP?
Hello to All, I'm currently experiencing troubles with the Linux Blackdown JDK (1.1.7 v1) and UDP Datagrams. What I see is that it is not possible to correctly determine the source of a received Datagram, it is always returned the local address. I saw also that such a bug was submitted to jitterbug more than one years ago, and has currently three followups. Does anyone know if there is any plan to fix this problem? Thanks -- Leonida Bucci dS Labs s.r.l. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Keyboard shortcuts
> Ron Shpaser writes: Ron> I'm using JDK 1.1.7v1a for Linux. Actually I have some Ron> problems with running number of applications under JDK Ron> 1.1.7v3 with JIT(TYA). One of these apps is HotJava v3.0. I'd Ron> like to ask you a question: How should I configure my X in Ron> order to make keyboard shortcuts work properly ? They should work out of the box with 1.1.7v3. With earlier version you'll have to make sure that the Alt-Key is bound to Alt only, Alt & Meta doesn't work. Juergen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java and C programs Integration
> ALPESH KOTHARI writes: ALPESH> I am trying to integrate the java and C code. i am ALPESH> following the guidelines given in the documentation at the ALPESH> address ALPESH> http://java.sun.com/docs/books/tutorial/native1.1/stepbystep. I ALPESH> am trying to work with the sample program given by them. I ALPESH> am having RedHat6.0 with JDK1.2 (glibc2.1) which is ALPESH> working fine. I am able to prepare the object file of the ALPESH> given C code. but when I try to prepare *.so file it ALPESH> enconters following error: ALPESH> #g++ -dy -o libhello.so HelloWorldImp.o ALPESH> /usr/lib/crt1.o(text+0x18):undefined reference to 'main' ALPESH> collect2:ld returned exit status ALPESH> and it terminates. If any one of u have came across such ALPESH> error please help me. in /usr/lib crt1.o is present. Try 'g++ -shared -o libhello.so HelloWorldImp.o'. Juergen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java3D vs. tya
On Thu, 1 Jul 1999, Albrecht Kleine wrote: > Hi, > > > Having a problem using 'tya' (JIT-complier) with 'Java3D'. > > 'tya' works fine in all other applications, i.e non-Java3D-apps. > > Does ``non-Java3D-apps'' include other big apps like java2Demo, Swingset, > some IDEs like NetBeans2 etc ?. If yes, we have a good basic. > > Unfortunately I have not yet played with 3D. Perhaps you > can give me some quick instruction HOWTO get, HOWTO install etc. > > Of course you can tell ``RTFM'', but at all it's a question of > sparse time, and _except_ of the TYA-problem I am not yet interested > in 3D graphics. But may be, we'll catch the problem... > > Cheers, > Albrecht (TYA author) I'm really new to Java3D myself, and the reason I need Java3D is that I want to use the Java3D-VRML browser, so some x-tra speed wouldn't hurt... Everything works fine if i don't use 'tya' but with 'tya' i get the error message: Exception in thread "main" java.lang.UnsatisfiedLinkError: chooseOglVisual at javax.media.j3d.NativeConfigTemplate3D.getBestConfiguration(Comiled Code) ... ... etc Have just tried it with the demos following jdk1.2, and it works fine for all of them. /Johan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Linux on Redhat 6.0
Did you try it with -green as an option? This is what works for me given this problem. -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Play:http://www.trongus.com - Forwarded by dIon Gillard/Multitask Consulting/AU on 02/07/99 05:50 PM - Linux on Redhat 6.0 I installed JDK 1.2 pre v1 on a Linux 6.0 box. It crashes with an abort. *** panic: GC: getStickSystemClass failed: java/lang/ref/Reference CLASSPATH may be incorrect - I verified that run the right java - I tried it with having just rt.jar in the classpath - I tried it with NO classpath (as that should work) - I reinstalled the files from the tar file I have quite a bit of experience with setting up java. The same setup works in 5.2 Is there a compatibility problem between the current JDK and 6.0? I could not find anything specific on the web. Kind regards, Peter Kriens -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
An idea for Java / KDE or GNOME integration
Hi, I had this idea, and would like to get comments - if it's cool, or dumb - whatever: I want to have my Java programs better integrated or "aware" of my KDE desktop. And vice-versa. I don't need the equivalent of the Python-KDE binding: This package does two things: it gives access to desktop-system features, as well as graphics widgets. I just want access to system features. I'm thinking of the services that the "KApplication" class gives KDE apps: Notification when the system is getting shut down, for instance. Or, the generation of temp file names. I first thought about making a binding like the Python-KDE package but then decided against it. I also don't want to access native code from Java. Too messy and system dependent. My idea is to use CORBA: Have a server that creates KApplication server objects. The Java programs then connect to a KApplication server instance and also register themselves for callbacks. There'd probably be a small applet-like framework that Java app writers would use that would hook their program into this setup. The system could also use something like Echnida to launch Java apps quickly. Now, once this basic idea is implemented, the CORBA/IDL solution offers extreme flexibility. For example, there's no reason that a GNOME server couldn't be written that creates the GNOME equiv of KApplication (whatever that may be...). It would serve the same IDL, and all the Java apps would work with it too. The same could even be done for MS Windows. AND, this can go the other way: Programming environments like Squeak Smalltalk can be adapter to fit into the client-side of the framework. So, what this system would really become is a "VM-driven language to desktop integrator". Comments? - Robb -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: An idea for Java / KDE or GNOME integration
Robb Shecter wrote: > > Hi, > > I had this idea, and would like to get comments - if it's cool, or dumb > - whatever: > > I want to have my Java programs better integrated or "aware" of my KDE > desktop. And vice-versa. I don't need the equivalent of the Python-KDE > binding: This package does two things: it gives access to desktop-system > features, as well as graphics widgets. > > I just want access to system features. I'm thinking of the services > that the "KApplication" class gives KDE apps: Notification when the > system is getting shut down, for instance. Or, the generation of temp > file names. > > I first thought about making a binding like the Python-KDE package but > then decided against it. I also don't want to access native code from > Java. Too messy and system dependent. My idea is to use CORBA: Have a > server that creates KApplication server objects. The Java programs then > connect to a KApplication server instance and also register themselves > for callbacks. > > There'd probably be a small applet-like framework that Java app writers > would use that would hook their program into this setup. > > The system could also use something like Echnida to launch Java apps > quickly. > > Now, once this basic idea is implemented, the CORBA/IDL solution offers > extreme flexibility. For example, there's no reason that a GNOME server > couldn't be written that creates the GNOME equiv of KApplication > (whatever that may be...). It would serve the same IDL, and all the > Java apps would work with it too. The same could even be done for MS > Windows. > > AND, this can go the other way: Programming environments like Squeak > Smalltalk can be adapter to fit into the client-side of the framework. > > So, what this system would really become is a "VM-driven language to > desktop integrator". > > Comments? My understand is that KDE is completely CORBA driven anyway. ( Even though their object model is called KOM ). CORBA integration should be fairly straightforward at that point. GNOME uses CORBA as its IPC ( though only C binding at this point ), so CORBA integration should be easy there too. The trouble is differing IDL defs and system architectures. The good news is that the high-level GNOME and KDE people are trying to unify their IDL defs and foster as much cross-integration as possible. IMO, apps tied to one desktop defeat the purpose of having the option of multiple window managers. I love the KDE object model, but their desktop looks like it was built by a bunch of left-brained scientists who have no lives. Techincally it's a nice system, but aesthetically leaves me wanting more. But that's another discussion altogether. -- Justin Lee | Does is really matter how far you go? JEDI | Can you get some sleep, now, standing on so many toes? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Off-Topic(bzip2 on RH6.0).
"Nagaraj S.B" wrote: > Hi all, > I have downloaded JDK1.2pre-v2.tar.bz2 from glibc2.1.But in my linux > system which is RH6.0 donot have bzip2 tool for unzipping the JDK1.2 > file but I have gzip.Pls tell me where I can get gzip version of JDK1.2 > or else how can I load bzip2 on my RH6.0. > Thanks in advence, > Nagaraj S.B. > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] Find in your CD distribution (or whatever you get) the file named bzip2.rpm then go to the directory where the file lives and do a rpm -i bzip2.rpm That's all. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: An idea for Java / KDE or GNOME integration
[EMAIL PROTECTED] wrote: >Now, once this basic idea is implemented, the CORBA/IDL solution offers >extreme flexibility. For example, there's no reason that a GNOME server >couldn't be written that creates the GNOME equiv of KApplication >(whatever that may be...). It would serve the same IDL, and all the >Java apps would work with it too. The same could even be done for MS >Windows. > Has anyone actually tried to talk from Java to ORBit/GNOME with the supplied .idl files in .../gnome/share/idl? Never looked at the bloody stuff, but I figure that a org.gnome package could be provided relatively easy on top of this. Maybe even transparent drag-and-drop integration? -- Cees de Groot http://www.cdegroot.com <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JDK1.2 under RH6.0
Well, just after a few trials and tribs I got the JDK1.2 to run with X under RH6.0. I had to do the following: 1) create symbolic link for libstdc++-libc6.0-1.so.2 from libstdc++-libc6.1-1.s0.2 2) LD_PRELOAD=libstdc++-libc6.0-1.so.2;export LD_PRELOAD 3) use "-green -Djava.compiler=" options on java invocations and "-green -J-Djava.compiler=" options Seems to work alright. Has anyone been able to get JDK1.2 running without using the green threads? Thanks Tom Whitcomb ___ 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]
[Fwd: Off-Topic(bzip2 on RH6.0).]
Javier, I also had problems getting bzip for linux. There is a site mentioned on the download page for FTPing bzip but the linux version seemed to be corrupt. What I did was download the Windows version of bzip, then unziped the JDK under windows and then copied it into my linux partition. Actually, I got the jdk across my windows and linux partitions via my ZIP drive. In any event, it worked. Tom Whitcomb ___ Get Free Email and Do More On The Web. Visit http://www.msn.com
Strange timings for pre-v2 under Linux.
We have some machines running Debian 2.1 here (libc 5.4.46), and we are
running the pre-v2 Linux port of Java.
There are strange timings for the following programs. In particular, the
static version runs at about half the speed of the nonstatic version,
which seems backwards; static takes 232s and nonstatic takes 123s.
Normally, the static call should be faster to execute, since there is less
work to do. Does anyone have any ideas about why this is the case?
pat
// virtual invokes.
class myprog {
public static void main(String[] args) {
int i,j,n;
System.out.println("Beginning");
long begTime = System.currentTimeMillis();
System.out.println(begTime);
Bidule bid = new Bidule();
for (n=1; n<5000; n++) {
bid.change(1);
bid.change(2);
bid.change(3);
bid.change(4);
bid.change(5);
bid.change(6);
}
System.out.println("End");
long endTime = System.currentTimeMillis();
System.out.println(endTime);
System.out.println(" lasting : " + (endTime-begTime) );
}
}
class Bidule{
int i;
public Bidule() {
i=0;
}
public void change(int new_i) {
//System.out.println("former i : "+i+"new i : "+new_i);
i=new_i;
}
}
// myprog_static
class myprog_static {
public static void main(String[] args) {
int i,j,n;
System.out.println("Beginning");
long begTime = System.currentTimeMillis();
System.out.println(begTime);
Bidule_static bid = new Bidule_static();
for (n=1; n<5000; n++) {
Bidule_static.change(bid, 1);
Bidule_static.change(bid, 2);
Bidule_static.change(bid, 3);
Bidule_static.change(bid, 4);
Bidule_static.change(bid, 5);
Bidule_static.change(bid, 6);
}
System.out.println("End");
long endTime = System.currentTimeMillis();
System.out.println(endTime + " lasting "+ (endTime-begTime));
}
}
class Bidule_static{
int i;
public Bidule_static() {
i=0;
}
public static void change( Bidule_static bidule, int new_i) {
bidule.i=new_i;
}
}
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Strange timings for pre-v2 under Linux.
I forgot to mention that the machines are running the x86 JIT. Our next step is to find a way to run the Solaris versions of JDK1.2 and see what those numbers look like. pat On Fri, 2 Jul 1999, Patrick LAM wrote: > We have some machines running Debian 2.1 here (libc 5.4.46), and we are > running the pre-v2 Linux port of Java. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Linux Desktop based on JDK 1.2
[EMAIL PROTECTED] writes: > I tried looking for an ncurses library once, the only thing I found was a > JNI implementation which I didn't find useful. Got a URL handy? If the Java API is okay, it'd allow for using it right away until somebody comes up with a pure Java port for the same API. b. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [Fwd: Off-Topic(bzip2 on RH6.0).]
The recommended site for bzip2 seems to be a suboptimal choice :-(. Despite the confusion, it's widely available... Red Hat ships RPMs on their installation media, and I suspect everyone else does similarly. Or you can find source distributions at your favorite repository. You definitely don't have to boot up Windows to solve this problem! Nathan Javier Bolaños Molina wrote: > > > > Subject: Re: Off-Topic(bzip2 on RH6.0). > Date: Fri, 02 Jul 1999 11:07:03 PDT > From: Tom Whitcomb <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > > Javier, > > I also had problems getting bzip for linux. There is a site mentioned on > the download page for FTPing bzip but the linux version seemed to be > corrupt. What I did was download the Windows version of bzip, then unziped > the JDK under windows and then copied it into my linux partition. Actually, > I got the jdk across my windows and linux partitions via my ZIP drive. > > In any event, it worked. > > Tom Whitcomb > > ___ > 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: JDK1.2 under RH6.0
Tom Whitcomb wrote: > > Well, just after a few trials and tribs I got the JDK1.2 to run with X under > RH6.0. I had to do the following: > > 1) create symbolic link for libstdc++-libc6.0-1.so.2 from > libstdc++-libc6.1-1.s0.2 > 2) LD_PRELOAD=libstdc++-libc6.0-1.so.2;export LD_PRELOAD You need to get the latest -- pre-v2 makes these steps unnecessary. > 3) use "-green -Djava.compiler=" options on java invocations and "-green > -J-Djava.compiler=" options > > Seems to work alright. > > Has anyone been able to get JDK1.2 running without using the green threads? Almost everybody, from what I've read. There are some stability problems with the native threads, which is why Blackdown is still in pre-release, but they're generally pretty usable. Nathan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Linux Desktop based on JDK 1.2
Here's a link - don't know if it's the one refered to below. Text AWT for Java http://www.geocities.com/SiliconValley/Grid/1239/ Kent At 01:44 PM 7/2/99 +0100, you wrote: >[EMAIL PROTECTED] writes: > > I tried looking for an ncurses library once, the only thing I found was a > > JNI implementation which I didn't find useful. > >Got a URL handy? If the Java API is okay, it'd allow for using >it right away until somebody comes up with a pure Java port for >the same API. > > >b. > > >-- >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]
RMI Activatable Object
Greetings, Was wondering if any other Linux/Java developers have run into problems when developing RMI Objects. I have a Runnable, Activatable Object, which has been subclassed from an Activatable RMI Server Object. When instantiated, the RMI Server Object starts a thread and suspends it until one of it's methods is called from a remote client, at which time the thread is resumed. Under Solaris 7, my code works fine. Under Linux, however, the RMI Server Object's method is never gotten into; It's as if the suspended thread blocks the object from all outside methods call. I've started both client and server using -green and turned off the JIT setting my JAVA_COMPILER=NONE environment variable. RedHat Linux 6.0 glib2.1 jck1.2 rel2 This appears to be a Java-on-linux bug. Thanks, James -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: An idea for Java / KDE or GNOME integration
There is a group of engineers (including me) working on binding Java to mozilla's XPCOM, which uses ORBit. If you made it to JavaOne, you may have seen an early demo at one of Sun's booths. --Jeff Cees de Groot wrote: > > [EMAIL PROTECTED] wrote: > >Now, once this basic idea is implemented, the CORBA/IDL solution offers > >extreme flexibility. For example, there's no reason that a GNOME server > >couldn't be written that creates the GNOME equiv of KApplication > >(whatever that may be...). It would serve the same IDL, and all the > >Java apps would work with it too. The same could even be done for MS > >Windows. > > > Has anyone actually tried to talk from Java to ORBit/GNOME with the > supplied .idl files in .../gnome/share/idl? Never looked at the > bloody stuff, but I figure that a org.gnome package could be provided > relatively easy on top of this. Maybe even transparent drag-and-drop > integration? > > -- > Cees de Groot http://www.cdegroot.com <[EMAIL PROTECTED]> > > -- > 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: RMI Activatable Object
I don't know what your code looks like, but you may need to carefully check your thread calls. As such fun calls as thread.suspend(), thread.stop(), etc are depricated in 1.2, and are almost guaranteed to break your app. Try looking at thread.wait() and thread.join() if you haven't already. -Jim > Was wondering if any other Linux/Java developers have run into problems > when developing RMI Objects. I have a Runnable, Activatable Object, > which has been subclassed from an Activatable RMI Server Object. When > instantiated, the RMI Server Object starts a thread and suspends it > until one of it's methods is called from a remote client, at which time > the thread is resumed. > > Under Solaris 7, my code works fine. Under Linux, however, the RMI > Server Object's method is never gotten into; It's as if the suspended > thread blocks the object from all outside methods call. > > I've started both client and server using -green and turned off the JIT > setting my JAVA_COMPILER=NONE environment variable. > > RedHat Linux 6.0 > glib2.1 jck1.2 rel2 > > This appears to be a Java-on-linux bug. > > Thanks, > > James > > -- > 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]
JNDI
I 'm here to clarify something. Is that JNDI only provide a higher interface as it is independent or any naming and directory sevices. That means we cannot use it to map network resources without the network been map already. I mean if we use JNDI to map to a network resources ,i.e another machine ; we have to set up the NFS and mount it first in order the JNDI to get the machine's resources. In conclusion , The JNDI only provide a uniform / generic way of access the naming and directory services. Is there any other opinion ? _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
This is the most important & powerful application that you'll ever use...
"Knowledge IS power, especially if you can manage it!" Do you wish you could keep all of your information about anything in one easy & organized place? No matter what level of computer user you are, you will use this software EVERYTIME you get on your PC! Store, organize, and quickly recall all of your code, ideas, scripts, thoughts, articles, etc., in one easy-to-manage place with Note-It-All software! * INCREDIBLY EASY-TO-USE Windows interface * Keeps information from unlimited sources in JUST ONE PLACE! * ORGANIZES your notes by custom Subjects, Titles, & Authors * SHARE your notes with others by EXPORTING & IMPORTING * Ideal for ORGANIZING & SEARCHING frequently used information * KEYWORD searching to instantly retrieve your information * Save hours by CUTTING & PASTING To/From other applications * ELIMINATES PRINTING of web pages, articles, emails, etc. Try it FREE for 15 days! Purchase it for only $25 this month. >>> NOTE: This software WILL NOT CHANGE ANY FILES ON YOUR SYSTEM and will COMPLETELY AND SAFELY UNINSTALL. Download: http://www.note-it-all.com Movie demonstration: http://www.note-it-all.com/nia20vid.exe Quick screen shot: http://www.note-it-all.com/main.gif 50 ways to use it: http://www.note-it-all.com/50ways.htm >>> Windows95, 98, 2000 and NT, 8M RAM, 9MB Disk Space <<< This is a one-time e-mail advertisement. Thank you for your time. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
How to Map the network resources
How do I use java to map the network resources without the need to mount i.e the NFS or installed Novell Netware ? I mean I can use java to access another machine's resources i.e file and the printer connect to it .I can also add ,delete ,rename the file. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Strange timings for pre-v2 under Linux.
My first guess would be that the jit is better at static calls than virtual.
Nick
Patrick LAM wrote:
> We have some machines running Debian 2.1 here (libc 5.4.46), and we are
> running the pre-v2 Linux port of Java.
>
> There are strange timings for the following programs. In particular, the
> static version runs at about half the speed of the nonstatic version,
> which seems backwards; static takes 232s and nonstatic takes 123s.
> Normally, the static call should be faster to execute, since there is less
> work to do. Does anyone have any ideas about why this is the case?
>
> pat
>
> // virtual invokes.
>
> class myprog {
>
>public static void main(String[] args) {
> int i,j,n;
>
> System.out.println("Beginning");
> long begTime = System.currentTimeMillis();
> System.out.println(begTime);
>
> Bidule bid = new Bidule();
>
>
> for (n=1; n<5000; n++) {
> bid.change(1);
> bid.change(2);
> bid.change(3);
> bid.change(4);
> bid.change(5);
> bid.change(6);
> }
>
> System.out.println("End");
> long endTime = System.currentTimeMillis();
> System.out.println(endTime);
> System.out.println(" lasting : " + (endTime-begTime) );
>}
> }
>
> class Bidule{
>int i;
>public Bidule() {
> i=0;
>}
>
>public void change(int new_i) {
> //System.out.println("former i : "+i+"new i : "+new_i);
> i=new_i;
>}
> }
>
> // myprog_static
> class myprog_static {
>
>public static void main(String[] args) {
> int i,j,n;
>
> System.out.println("Beginning");
> long begTime = System.currentTimeMillis();
> System.out.println(begTime);
>
> Bidule_static bid = new Bidule_static();
>
>
> for (n=1; n<5000; n++) {
>
> Bidule_static.change(bid, 1);
> Bidule_static.change(bid, 2);
> Bidule_static.change(bid, 3);
> Bidule_static.change(bid, 4);
> Bidule_static.change(bid, 5);
> Bidule_static.change(bid, 6);
>
> }
>
> System.out.println("End");
> long endTime = System.currentTimeMillis();
> System.out.println(endTime + " lasting "+ (endTime-begTime));
>}
> }
>
> class Bidule_static{
>int i;
>public Bidule_static() {
> i=0;
>}
>
>public static void change( Bidule_static bidule, int new_i) {
> bidule.i=new_i;
>}
> }
>
> --
> 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]
