Re: RMI Problems

2000-03-16 Thread Chris Abbey
I think you're hitting one of the problems with RMI on multi-homed machines, the stubs hold a liveref object which contains an address and a port. On a machine with multiple addresses you sometimes endup shipping a stub that contains an address on the "wrong" interface. Take for example my setup w

Re: RMI Problems

2000-03-16 Thread ice
Date forwarded: Thu, 16 Mar 2000 18:16:20 -0700 (MST) Date sent: Thu, 16 Mar 2000 20:16:10 -0500 From: "Alexander V. Konstantinou" <[EMAIL PROTECTED]> To: David Marshall <[EMAIL PROTECTED]> Copies to: [EMAIL PROTECTED], [EMAIL

Re: RMI Problems

2000-03-16 Thread Alexander V. Konstantinou
Sounds like you're exporting an RMI URL with //localhost (127.0.0.1) from one machine. If you're constructing the RMI URL by invoking the InetAddress getLocalHost() method, that may be returning the loop-back interface address. I thought this problem was solved with the latest JDK, but you can w

Re: Java shell

2000-03-16 Thread Dimitrios Vyzovitis
Timothy Reaves wrote:     I saw - somewhere sometime - a java shell application, that would let you interactively execute java code.  I've lost the link.  Can someone provide some assistance? jpython is  definitely what you are looking for. Really simple and intuitive. You can even mix java and

Re: Java shell

2000-03-16 Thread Weiqi Gao
Mo DeJong wrote: > > Do you mean Jacl? It is a Tcl port written in Java. The homepage is at > http://www.scriptics.com/java > > With Jacl, you can allocate Java objects and call methods on them like > this. > > set str [java::new String "I am a Java string"] > set hc [$str hashCode] > > It is

Re: Java shell

2000-03-16 Thread vladimir
JPython allows this, I think. ---Vladimir Vladimir G. Ivanovichttp://www.leonora.org/~vladimir 2770 Cowper St. [EMAIL PROTECTED] Palo Alto, CA 94306-2447 +1 650 678 8014 "TR" == Timothy Reaves <[EMAIL PR

Re: exec() on Linux

2000-03-16 Thread David Marshall
[EMAIL PROTECTED] wrote: > Hi:I got a java application that uses exec("nativeApp.exe") to start a > native application. It works fine on NT. But on Linux exec("a.out") > gets an exception saying a.out could not be found. a.out is placed in > the same directory as java app does. What I missed?

Re: Java shell

2000-03-16 Thread Mo DeJong
Do you mean Jacl? It is a Tcl port written in Java. The homepage is at http://www.scriptics.com/java With Jacl, you can allocate Java objects and call methods on them like this. set str [java::new String "I am a Java string"] set hc [$str hashCode] It is very cool stuff. Mo Dejong Red Hat Inc.

Re: RMI Problems

2000-03-16 Thread David Marshall
[EMAIL PROTECTED] wrote: > I have been attempting to get an RMI Client and Server to run using > 2 Linux boxes running Red Had 6.1 (one dual boots 95). The Client > and Server are "textbook" examples. > > I have run them succesuffly on Win95, WinNT and Solaris > networks. When I run both on the

Re: Java shell

2000-03-16 Thread Seth M. Landsman
On Thu, Mar 16, 2000 at 01:28:01PM -0500, Timothy Reaves wrote: > I saw - somewhere sometime - a java shell application, that would > let you interactively execute java code. I've lost the link. Can > someone provide some assistance? http://www.beanshell.org/ -Seth -- "It is by will alone

RMI Problems

2000-03-16 Thread ice
I have been attempting to get an RMI Client and Server to run using 2 Linux boxes running Red Had 6.1 (one dual boots 95). The Client and Server are "textbook" examples. I have run them succesuffly on Win95, WinNT and Solaris networks. When I run both on the same linux machine, it works. In

Java shell

2000-03-16 Thread Timothy Reaves
I saw - somewhere sometime - a java shell application, that would let you interactively execute java code. I've lost the link. Can someone provide some assistance? Thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

Re: Java shell

2000-03-16 Thread Rob Saul
Timothy Reaves wrote: > > I saw - somewhere sometime - a java shell application, that would > let you interactively execute java code. I've lost the link. Can > someone provide some assistance? Perhaps you're thinking of http://www.beanshell.org ? -- Rob Saul | -

exec() on Linux

2000-03-16 Thread Lee_Xing
Hi:   I got a java application that uses exec("nativeApp.exe") to start a native application.  It works fine on NT.  But on Linux exec("a.out") gets an exception saying a.out could not be found.  a.out is placed in the same directory as java app does.  What I missed?   Thank you.     Lee  

Re: exec() on Linux

2000-03-16 Thread TrentJarvi
The current directory is usually not in your path. Try exec("./a.out") --- Trent Jarvi [EMAIL PROTECTED] On Thu, 16 Mar 2000 [EMAIL PROTECTED] wrote: > Hi: > > I got a java application that uses exec("nativeApp.exe") to start a native > application. It works fine on NT. But on Linux exec("

two questions about Sun's JDK 1.2.2

2000-03-16 Thread Tomoyuki Kosimizu
Hi, I have two questions about Sun's JDK 1.2.2 for Linux. 1. java.awt.TextArea does not wrap text. And it cannot show Japanese even if java.awt.List can. Why? 2. java.text.SimpleDateFormat is seemed odd. import java.text.*; import java.util.*; class test { public static void main(String