JDK 1.2 and CORBA problem on hello example
I have installed jdk1.2 version pre-v1 for i386 on my Redhat 5.2 linux distribution. The simple hello world example of the java tutorial at the address: http://www.javasoft.com/docs/books/tutorial/idl/hello/index.html gives me an error when i execute the server and the client on two different machines. When i execute either server or client on the same machine everything is ok. My two hosts are host1 and host2; when i execute: on host1: host1# tnameserv & host1# java HelloServer and on host2: host2# java HelloClient -ORBInitialHost host1 on host2 i get the error: ERROR : org.omg.CORBA.COMM_FAILURE: minor code: 1 completed: No org.omg.CORBA.COMM_FAILURE: minor code: 1 completed: No at com.sun.CORBA.iiop.ConnectionTable.get(Compiled Code) at com.sun.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:78) at com.sun.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:62) at com.sun.CORBA.idl.GenericCORBAClientSC.createRequest (GenericCORBAClientSC.java:138) at com.sun.CORBA.idl.RequestImpl.doInvocation(Compiled Code) at com.sun.CORBA.idl.RequestImpl.invoke(RequestImpl.java:219) at org.omg.CosNaming._NamingContextStub.resolve (_NamingContextStub.java:160) at HelloClient.main(HelloClient.java:23) I get the same error if i use the stringified client/server version, using the IOR string corresponding to the object on the server, that is: host1# java HelloStringifiedServer after having copied the IOR identifier on host2, i execute: host2# java HelloStringifiedClient and i get the same error. I have tried with the server on a windows machine with jdk1.2 and the client on a linux machine and in this case everything is ok. I would like to know if i must use any options for java interpreter or compiler (i have read the README.linux file and i have tried the options suggested for the interpreter and the compiler), or if i must configure jdk1.2 in a different way. Thanks in advance, Daniele -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ODBC-Bridge
Where is the "sun.jdbc.odbc.JdbcOdbcDriver" for the Linux port of 1.1.7 v1a? Thanks very much. -- Ron Parker Software Creations http://www.scbbs.com TradeWinds Publishing http://www.intl-trade.com TradePoint Los Angeles http://www.tradepointla.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
AW: JDK 1.2 and CORBA problem on hello example
Sorry, I have the same problem! BTW: Can anyone recomend a CORBA product (mico, omniorb,..) to comunicate with my Java2 program (as server as well as client)? Should later run under NT :-( Thanks Peter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Fw: JDK 1.2 pre-v1 problem
- Original Message - From: Alexei A. Petrenko <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 23 ÍÁÒÔÁ 1999 Ç. 12:46 Subject: JDK 1.2 pre-v1 problem >Hi > >I have Slackware Linux 3.5 and tries to install jdk1.2 pre-v1. >First of all (when i've just unzip it) it says that it could not find some file. >I investigate that it wants some libs such as linc.so.6 and ld-linux.so.2 which there >is not on my system. >I've found them in glibc-2.0.6. When i've install them i got "Segmentation fault" >error. In README.linux you says that 2.0 is not very good and 2.1 is much better but >2.1 is deleted from gnu.org. So I've set LD_BIND_NOW environment variable (as >README.linux says) but no changes. I've tried both green and native threads. >Can you help with it? > >SY, Alexei >-- >St. Petersburg Java WorkShop team > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK 1.2 and CORBA problem on hello example
"Daniele Sacchetti Matr.1783" wrote: > > I have installed jdk1.2 version pre-v1 for i386 on my Redhat 5.2 linux > distribution. > > The simple hello world example of the java tutorial at the address: > http://www.javasoft.com/docs/books/tutorial/idl/hello/index.html > > gives me an error when i execute the server and the client on two > different machines. > When i execute either server or client on the same machine everything is > ok. > > My two hosts are host1 and host2; when i execute: > on host1: >host1# tnameserv & >host1# java HelloServer > and on host2: >host2# java HelloClient -ORBInitialHost host1 > > on host2 i get the error: > > ERROR : org.omg.CORBA.COMM_FAILURE: minor code: 1 completed: No > org.omg.CORBA.COMM_FAILURE: minor code: 1 completed: No > at com.sun.CORBA.iiop.ConnectionTable.get(Compiled Code) > at com.sun.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:78) > at com.sun.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:62) > at com.sun.CORBA.idl.GenericCORBAClientSC.createRequest > (GenericCORBAClientSC.java:138) > at com.sun.CORBA.idl.RequestImpl.doInvocation(Compiled Code) > at com.sun.CORBA.idl.RequestImpl.invoke(RequestImpl.java:219) > at org.omg.CosNaming._NamingContextStub.resolve > (_NamingContextStub.java:160) > at HelloClient.main(HelloClient.java:23) > > I get the same error if i use the stringified client/server version, using > the IOR string corresponding to the object on the server, that is: > > host1# java HelloStringifiedServer > > after having copied the IOR identifier on host2, i execute: > > host2# java HelloStringifiedClient > > and i get the same error. > > I have tried with the server on a windows machine with jdk1.2 and the > client on a linux machine and in this case everything is ok. > > I would like to know if i must use any options for java interpreter or > compiler (i have read the README.linux file and i have tried the options > suggested for the interpreter and the compiler), or if i must configure > jdk1.2 in a different way. I have exactly the same problem as you described above. Everything is OK with Windows 95 server and Linux client, but COMM_FAILURE with Linux server and Windows 95 client. -- Weiqi Gao [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK 1.2 and CORBA problem on hello example
=> I have installed jdk1.2 version pre-v1 for i386 on my Redhat 5.2 linux => distribution. => => The simple hello world example of the java tutorial at the address: => http://www.javasoft.com/docs/books/tutorial/idl/hello/index.html => => gives me an error when i execute the server and the client on two => different machines. => When i execute either server or client on the same machine everything is => ok. => => My two hosts are host1 and host2; when i execute: => on host1: =>host1# tnameserv & =>host1# java HelloServer => and on host2: =>host2# java HelloClient -ORBInitialHost host1 => => on host2 i get the error: => => ERROR : org.omg.CORBA.COMM_FAILURE: minor code: 1 completed: No => org.omg.CORBA.COMM_FAILURE: minor code: 1 completed: No => at com.sun.CORBA.iiop.ConnectionTable.get(Compiled Code) => at com.sun.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:78) => at com.sun.CORBA.iiop.GIOPImpl.createRequest(GIOPImpl.java:62) => at com.sun.CORBA.idl.GenericCORBAClientSC.createRequest => (GenericCORBAClientSC.java:138) => at com.sun.CORBA.idl.RequestImpl.doInvocation(Compiled Code) => at com.sun.CORBA.idl.RequestImpl.invoke(RequestImpl.java:219) => at org.omg.CosNaming._NamingContextStub.resolve => (_NamingContextStub.java:160) => at HelloClient.main(HelloClient.java:23) Acctually, i don't think this has something to do with java 2 in linux. I manage to take my old Hello* files and run them using java 2 + RH5.2 + lk 2.2.3. I used tnameserv at port 1050, and used the argument -ORBInitialPort 1050. // Paul -- ~~ (| Paul Waserbrot |[EMAIL PROTECTED] |) (| |Fax: +46 31 772 3202|) (| Sys. Admin. at FD,--- Tel: +46 31 772 3241|) (| Chalmers Univ. of Tech., Engineering Physics|) (| |) (| You can't kill time without injuring eternity. |) ~~ PGP signature
Re: AWT Crash - Need Help!
S Balamurugan,
I have had a similar problem. I installed 1.2 on my
RH5.2, ran the script to set up my system with the
proper library links, and added the necessary fonts. When
I run my applications that are gui intensive, either
in native threads or with green threads (with JIT off),
my not fully drawn gui appears, waits a few seconds, then
crashes with the full thread dump . I have been waiting to see
if someone else is having the problem, or for an updated
released that may solve the problem.
Also, I have 128M of memory. I would suspect that this
is enough.
We may need to be patient and see what happens?
respectfully
dt
_
David R.Thompson
Los Alamos National Laboratory
TSA 5
wk.ph:505.665.5572
email: [EMAIL PROTECTED]
_
On Thu, 25 Mar 1999, Carlos Alberto Roman Zamitiz wrote:
> I copied your program in my linux box pentium 75 MHz Red Hat 4.2 and VM
> 1.1.5 and worked very well.
>
> I supposed your computer has few memory because I wrote this code in a
> work station HP and it crashed and generated a core file. In other WS HP
> with more memory and the frame worked well.
>
> greetings
>
> On Wed, 24 Mar 1999, S Balamurugan wrote:
>
> > Hi,
> >
> > I have jdk1.1.7 installed on my Linux m/c. javac compiles fine, but
> > when I try to run applications with user interface it crashes with
> > a SEGV.
> >
> > The code is
> > --
> > import java.awt.*;
> > import java.awt.event.*;
> >
> > public class hwapp1
> > {
> > public static void main(String[] args)
> > {
> >Frame F = new Frame("Hello World");
> >F.add(new Label("Hello World!!"));
> >F.pack();
> >F.setVisible(true);
> > }
> > }
> > --
> >
> > SIGSEGV 11* segmentation violation
> > stackbase=BF9FFD5C, stackpointer=BF9FF82C
> >
> > Full thread dump:
> > "AWT-Motif" (TID:0x406624a8, sys_thread_t:0x820e8a8, state:CW,
> > thread_t: t@5125, sp:0x0 threadID:0x3377, stack_base:0xbf1ffd68,
> > stack_size:0x20) prio=10
> > java.lang.Thread.run(Thread.java)
> > "AWT-EventQueue-0" (TID:0x406624b8, sys_thread_t:0x81f21b8,
> > state:CW, thread_t: t@4100, sp:0x0 threadID:0x3376,
> > stack_base:0xbf3ffd68, stack_size:0x20prio=10
> > java.lang.Object.wait(Object.java)
> > java.awt.EventQueue.getNextEvent(EventQueue.java:158)
> > java.awt.EventDispatchThread.run(EventDispatchThread.java:75)
> > "SIGQUIT handler" (TID:0x4065e2a0, sys_thread_t:0x81a59d0, state:R,
> > thread_t: t@3075, sp:0x0 threadID:0x3375, stack_base:0xbf5ffd68,
> > stack_size:0x20) prio=10
> > "Finalizer thread" (TID:0x4065e088, sys_thread_t:0x81a5948,
> > state:CW, thread_t: t@2050, sp:0x0 threadID:0x3374,
> > stack_base:0xbf7ffd68, stack_size:0x20) prio=10
> > "main" (TID:0x4065e0b0, sys_thread_t:0x8186938, state:R, thread_t:
> > t@1025, sp:0x0 threadID:0x3373, stack_base:0xbf9ffd5c,
> > stack_size:0x20) prio=0 *current thread*
> > sun.awt.motif.MComponentPeer.(MComponentPeer.java:108)
> > sun.awt.motif.MCanvasPeer.(MCanvasPeer.java:39)
> > sun.awt.motif.MPanelPeer.(MPanelPeer.java:33)
> > sun.awt.motif.MFramePeer.(MFramePeer.java:71)
> > sun.awt.motif.MToolkit.createFrame(MToolkit.java:129)
> > java.awt.Frame.addNotify(Frame.java:204)
> > java.awt.Window.pack(Window.java:128)
> > hwapp1.main(hwapp1.java:22)
> > Monitor Cache Dump:
> > java.awt.EventQueue@1080435264/1080799856:
> > Waiting to be notified:
> > "AWT-Motif" (0x820e8a8)
> > java.lang.Object@1080434784/1080793848: owner "main" (0x8186938, 1
> > entry)
> > Registered Monitor Dump:
> > Thread queue lock:
> > Name and type hash table lock:
> > String intern lock:
> > JNI pinning lock:
> > JNI global reference lock:
> > BinClass lock:
> > Class loading lock:
> > Java stack lock:
> > Code rewrite lock:
> > Heap lock:
> > Has finalization queue lock:
> > Finalize me queue lock:
> > Waiting to be notified:
> > "Finalizer thread" (0x81a5948)
> > Monitor registry: owner "main" (0x8186938, 1 entry)
> > Abort
> >
> > Attached is the output of ldconfig -D
> > I am running Red Hat Linux 5 and JDK 1.1.7 glibc
> >
> > Any help would be greatly appreciated.
> > Thanks
>
> Carlos Alberto Roman Zamitiz
> Departamento de Ingenieria en Computacion, Facultad de Ingenieria, UNAM
> [EMAIL PROTECTED]
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
--
To UNSUBSCRIBE, email to [EMAIL PROTE
...
Currently, we are running the JCK only on green threads with the JIT turned off. Eventually, we will ensure that we can run and pass all of the JCK tests on both green and native threads, with and without the JIT. I read the above message that you have posted on the 1.2 status page, is 1.2 REALLY that hard to port? I don't remember how long 1.1.7 took, but if its not even close to being fully done, is Sun atleast helping you guys out? Just wondering, you all still kick ass in my book for even taking on the job of porting a language. Take care, -- [ Riyad Kalla ] [ [EMAIL PROTECTED] ] [ CS Major - U of A ] "I want to move to Theory. Everything works in theory."
CLASSPATH problem
Hello All! Where should I define CLASSPATH environment variable? I put following line both $HOME/.bash_profile and /etc/bashrc, but it doesn't work. export CLASSPATH=.:/usr/lcoal/jdk117_v1a/lib/classes.zip I just get an error message "Can't find class MyFrame." However, MyFrame.class is in the current directory, so I believe java doesn't search current directory even I put . in CLASSPATH. Please tell me how to fix the problem. I am using bash in RH5.2. Thanks in advance. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JDK 1.2 pre-v1 and new libraries
Hi, I'm running glibc 2.1, libstdc+++ 2.9.0 (and other _really_new_ libs) under linux 2.2.4. I'm not asking here for a working JKD1.2 preview with support for this libs. I'm asking for a statically-linked binary preview so I can check it out without having to install all the old libs. Is this possible? yours, - clifford PS: The JDK License says, that is is allowed to the Licensee to distribute an architecture specific diff-patch thru the internet. Is it possible to download the changes made for the linux port? Where? -------------------------- Clifford Wolf (CEO and CTO) The ROCK Projects Workgoup Tel: +43-699-10063494 http://www.rock-projects.com/ http://www.clifford.at/ e-mail: [EMAIL PROTECTED]email: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK 1.2 and CORBA problem on hello example
Please discard my previos message about the InitialPort and remote host. I happend to use the wrong window when testing... *blush* (solaris -> solaris...) I can only confirm that there is a problem with jdk1.2 pre-v1 and jdk1.2 solaris (final production release). Sorry for any inconvenience // Paul -- ~~ (| Paul Waserbrot |[EMAIL PROTECTED] |) (| |Fax: +46 31 772 3202|) (| Sys. Admin. at FD,--- Tel: +46 31 772 3241|) (| Chalmers Univ. of Tech., Engineering Physics|) (| |) (| You can't kill time without injuring eternity. |) ~~ PGP signature
Which kernel for jdk 1.1.7, glibc, jni?
I realize that a question about 1.1.7 may seem a bit antiquated at this point, but at present I need stability more than 1.2-ness. I'm about to switch kernels, primarily because the jni isn't working properly with my current configuration (I'm currently still using a libc5 kernel). Which kernel is most likely to work well with JDK 1.1.7, particularly with the jni? Also, might native threads help the jni? Thanks, Barnet Wagman
Re: JDK1.2 and CORBA
Michael Nielsen wrote: > There is a strange problem, which I don't know if it is a problem > with the Linux port of jdk1.2 or a problem in general with the > org.omg classes. > > The IOR's generated from the JDK1.2 default java implementation > seem to be deriving their localhost name from the first entry > in the hosts file. I tested this easily by running 'tnameserv'. I would agree with you that it's a linux implementation issue, because the IORs generated on Solaris (production release) have the FQDN regardless of what's in /etc/hosts. You might check the bug parade at developer.javasoft.com. I recall there were a few similar bugs reported there. (One is reported fixed in 1.2fcs; is that what Blackdown is building off of?) The other CORBA problems with GIOP errors are probably related. Wes -- W E S B I G G S Senior Software Engineer __ USWeb/CKS http://uswebcks.com/ 2850 Ocean Park Blvd., Suite 100 Santa Monica, CA 90405 ph: +1 310 664 5335 mailto:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDBC for Oracle?????n
On Wed, 24 Mar 1999, Chien-Lung Wu wrote: > Dear firends: > I am a newbie of the JAVA and Oracle. However I have to install the Oracle on > my Linux box. I read some information said that JAVA 1.X can support JDBC. Now > this is my question. > 1. If I want to use JAVA to access Oracle, can I have to install JDBC for >ORACLE? > > 2. Where can I get the JDBC, which can support ORACLE, if I need to? It's included, at least in the version I downloaded (8.0.5). -- Cheers John Summerfield http://os2.ami.com.au/os2/ for OS/2 support. Configuration, networking, combined IBM ftpsites index. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Swing Issues
I'm attempting to test the SwingSet demo under Redhat 5.2 and I've noticed I'm getting error messages regarding libc6.0. Is this because you've staticly linked only motif to the JDK or do I need a different libc library, and if so any suggestions on where I can get it.I'm using XWindows and fvwm for a window manager, and the JDK1.2 pre-release. Thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java and CORBA
This is really just an info message, as I saw a number of people talking about CORBA and Java. I've just started to play around with some CORBA stuff in Java/C++. I was looking around for a nice free ORB, and came across ORBacus (used to be OmniBroker). It's free for non-commerical use, which is great if you're trying to learn about it. It provides full C++ and Java support, and source code for both is available (although you can just download the .jar files if you want). There seems to be pretty good documentation as well. I downloaded the sources for both java and C++, and had no problems compiling and installing them (I'm running SuSE 6.0 with a 2.0.26 Kernel). If you're interested then check out the web site at http://www.orbacus.com/ob/ I think it's really nice to see a commercial company doing this sort of thing - hope to see more! Rich -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Which kernel for jdk 1.1.7, glibc, jni?
>I'm about to switch kernels, primarily because the jni isn't working >properly with my current configuration (I'm currently still using a >libc5 kernel). Which kernel is most likely to work well with JDK >1.1.7, particularly with the jni? > >Also, might native threads help the jni? I've just been through this. I've had success with Red Hat 5.2 (glibc), however, you may not need to swith kernels. I had to go to native threads and set the environment variable LD_PRELOAD=path_to_native_threads/libjava.so to get jni fully working with my stuff. Then everything just worked and I'm doing some truly evil things like initializing a JVM using C from Python. Hopes this helps and thanks to all who helped me with similar questions, Craig -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java and CORBA
>I've just started to play around with some CORBA stuff in Java/C++. I >was looking around for a nice free ORB, and came across ORBacus (used >to be OmniBroker). It's free for non-commerical use, which is great if >you're trying to learn about it. Would the ORB that the GNOME project developed also be useful. I don't know if what GNOME developed was only for internal usage of if it could be used in a wider environment. Anyone know? Craig -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: CLASSPATH problem
Ryuji, I was having the same problem using bash last night (I'm new to bash and Linux, having used tcsh on Solaris at work). I found that changes I made to the $HOME/.bash_profile and /etc/bashrc weren't being read automatically. I had to manually source them (e.g. . $HOME/.bash_profile), or run "bash --login" to get a new bash which reads the profiles. I don't remember having this problem with tcsh, so I'm not sure if it's a linux/bash thing, or if I'm missing something obvious. ... a few minutes later... I just had word with some bash users, and they said that bash only reads the $HOME/.bashrc file by default, so you could try renaming .bash_profile to .bashrc. I haven't had a chance to try this out yet, so I can't verify that it works, but try it out. Rich -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java and CORBA
Craig, >From what I know (and just read) about ORBit, it only supports C bindings at the moment - but I could be wrong. I read this at the official ORBit home page http://www.labs.redhat.com/orbit/ I'm sure that there's somebody out there working on other bindings, but I don't know what the current status is. Rich Craig E Rasmussen writes: > >I've just started to play around with some CORBA stuff in Java/C++. I > >was looking around for a nice free ORB, and came across ORBacus (used > >to be OmniBroker). It's free for non-commerical use, which is great if > >you're trying to learn about it. > > Would the ORB that the GNOME project developed also be useful. I > don't know if what GNOME developed was only for internal usage of > if it could be used in a wider environment. Anyone know? > > Craig > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Java and CORBA
> >I've just started to play around with some CORBA stuff in Java/C++. I > >was looking around for a nice free ORB, and came across ORBacus (used > >to be OmniBroker). It's free for non-commerical use, which is great if > >you're trying to learn about it. > Would the ORB that the GNOME project developed also be useful. I > don't know if what GNOME developed was only for internal usage of > if it could be used in a wider environment. Anyone know? AFAIK ORBit is an open source ORB that they adopt. But it only supports the CORBA C language mapping. Programming to that mapping, and doing distributed object software in C whatever the mapping, is insane, except in two situations: 1) You are insane :) 2) Your code is not really very distributed, nor very OO. You are using CORBA only to expose a tiny, so-so-OO interface to the external world. You are using CORBA as a "better RPC". Seems to be the case in GNOME. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: JDK1.2 and CORBA
Hi > ... > with the bind() methods, I think). Anyway, I decided not to use > Visibroker because (if I am not mistaken) you need to use their > OS agent > (a Win* exe file). The osagent runs very fine under Linux, if you use the 'wine' Windows emulator. http://www.winehq.com/download.html (just bunzip2 the binary) You need a Win98 or NT somewhere on another partition of your harddisk and install VisiBroker there as well. Then start the osagent e.g. like (w98-hda5 is my Windows98 partition): cd /w98-hda5/Visigenic/vbroker/bin setenv VBROKER_ADM /w98-hda5/Visigenic/vbroker/adm wine -mode enhanced 'osagent -v' -winver win95 -managed The gatekeeper / name service are pure java and runs very well on Linux. regards, Marcel -- Marcel Ruff [EMAIL PROTECTED] http://www.lake.de/home/lake/swand/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Java Media APIs on Linux
I recently saw a press release on the porting of the Java Media APIs to Linux...are these available yet for the x86 ported VM? James Richards Java Developer Hanuman, LLC 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]
JDK1.2
I'm using Red Hat 5.2 with kernel 2.0.36-1 Where can i find the kernel 2.0.37 (what is the problem if i use jdk1.2 with kernel 2.0.36). Excuse me english (i'm frensh). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
jdk 1.2 pre-v1 on RedHat
Hi, few days ago, I installed jdk 1.2 on a RedHat 5.2 (kernel 2.0.36). I followed the instructions in the readme file and in this mailing-list. The link to libstdc++ works fine, and I changed the font.properties entries to existing fonts. Command-line progs make no difficulties, but the appletviewer causes a seg violation soon after the start. In fact, I can't get any GUI prog or applet to run. Has anybody an idea ? Would be sad if I had to return to NT for development :-( Thanks !!! oeli -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK1.2 and CORBA
Actually, you do not need to be running the osagent for Visibroker to work - the osagent simply supports Visibroker's proprietry object location/binding mechanism. As long as you stick to the CORBA-standard (and interoperable) IOR/nameservice-based object binding, the osagent is not required. Incidently, you only have to have one instance of osagent running on your network - your linux machines will find an osagent running on a windoze machine just fine, and use it transparently. This said, Orbacus is (IMO) a better ORB anyway, provided you only require basic CORBA services and not the more advanced fault-tolerance and application-server-type facilities that Visibroker can provide. regards [ bryce ] Marcel Ruff wrote: > Hi > > > ... > > with the bind() methods, I think). Anyway, I decided not to use > > Visibroker because (if I am not mistaken) you need to use their > > OS agent > > (a Win* exe file). > > The osagent runs very fine under Linux, if you use the 'wine' Windows > emulator. > http://www.winehq.com/download.html (just bunzip2 the binary) > > You need a Win98 or NT somewhere on another partition of your harddisk > and install VisiBroker there as well. > > Then start the osagent e.g. like (w98-hda5 is my Windows98 partition): > > cd /w98-hda5/Visigenic/vbroker/bin > setenv VBROKER_ADM /w98-hda5/Visigenic/vbroker/adm > wine -mode enhanced 'osagent -v' -winver win95 -managed > > The gatekeeper / name service are pure java and runs very well on Linux. > > regards, Marcel > > -- > Marcel Ruff > [EMAIL PROTECTED] > http://www.lake.de/home/lake/swand/ > > -- > 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]
1.2 problems
Hi, I definitely can't get JDK 1.2 to run GUI apps here. Console runs fine, but anything with AWT dies at startup if I use the JIT. I then tried to use the interpreter, and this is the typical output: [root@r219 MoleculeViewer]# appletviewer -J-Djava.compiler= example1.html java.lang.IllegalArgumentException: Raster ShortInterleavedRaster: width = 300 height = 300 #numDataElements 1 is incompatible with ColorModel DirectColorModel: rmask=7c00 gmask=3e0 bmask=1f amask=0 at java.awt.image.BufferedImage.(BufferedImage.java:521) at sun.awt.image.OffScreenImage.(OffScreenImage.java:70) at sun.awt.motif.MComponentPeer.createImage(MComponentPeer.java:286) at java.awt.Component.createImage(Component.java:2079) at XYZApp.newBackBuffer(XYZApp.java:283) at XYZApp.init(XYZApp.java:300) at sun.applet.AppletPanel.run(AppletPanel.java:357) at java.lang.Thread.run(Thread.java:479) It seems the AWT is having trouble with TrueColor X11... I am using: - RH52 - ln -fs libstdc++.so.2.8.0 libstdc++-libc6.0-1.so.2 - XFree86 3.3.3.1-1 - Diamond Viper330 (NVidia), 4Mb, SGVA server - glibc-2.1.0.990222 - GNOME 1.0.3 and Enlightenment, all from very latest GNOME RPMs - egcs-1.1.2-11 (rpm) - kernel 2.2.4, built against the stuff above :) - anything other detail, just ask me A+ Osvaldo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK1.2 and CORBA
Hey, I am learning a lot thank to you guys! Michel Ruff suggested I run the Visigenic OSAgent through Wine; that sounds interesting, but I think I don't like having to depend on such a hack because a vendor didn't want to provide something that is not Win* specific. That said, Bryce McKinlay says that I don't need to run OSAgent if I stick to standard CORBA. I might try that (my first attempts were unsuccessful, probably because I didn't find out how to tell the Visigenic ORB how to find the NameService). I think I would rather not use Visibroker at all; I installed JacORB and got it to work, and will try installing OrbaCUS (which has had very good reviews, although is isn't covered by the GPL). The one thing I didn't like about JacORB is its reliance on the BOA rather than the POA. I guess OrbaCUS doesn't have that problem? On the other hand, after I read the manual and did a couple of experiments, I got it to connect to the omniORB2 NameService without a hitch. By the way, I found it interesting that, running the same example client (a trivial one, the count example from the BIG book by Orfeli et al) using Kaffe I got much worse times than with pure JDK (JDK with the TYA JIT compiler was about as fast as pure JDK for this example): the average ping time was 18 msec for Kaffe, versus 3 msec for JDK. I will keep testing with more nontrivial examples ... --- Francisco Figueirido, Ph.D. Phone: (212)317-7680 Quantitative AnalystFax: (212)317-7601 Imagine Software, Inc. e-mail: [EMAIL PROTECTED] 400 Madison Avenue, 21st Floor New York, NY 10017 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Garbage collection problem in JDK1.2
I am using the invocation API to start JDK1.2 inside an application , and everything works fine until System.gc() is called ( or I create few large arrays and gc() is trigered). The same code works without problems with JDK117. The program is using it's own threads, I just attach to the virtual machine when I need to do Java processing - when gc() is called all other threads are also hunged. Please help - I have no ideea where to start with this. Regards, Costin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
simulating rm -rf /*
Hello everybody, First of all, I'd like to thank A LOT to everyone from BlackDown. The port for Linux is extremely important for the Linux community. Again, thank you, you're really cool guys. And I'd also like to say that its a pleasure to change ideas to everybody in this list. I've been subscribed to this list (the digest only) for some time (~6 months), I'm a Java student, and would like to ask just a question. Is it possible to simulate an rm -rf /* using Java? Not executing the rm program, using Runtime.Exec (), but a real code in Java that made such job. Sample code is welcome. Thanks in advance, Breno Jacinto (aka Jac) [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDBC for Oracle?????n
Term confusion here? JDBC, an abstract database API, is part of Java and is included. JDBC requires drivers for vendor specific db access. In the case of Oracle, you need to look in the Oracle home jdbc/lib directory for a file called classes111.zip. Make sure this file is somewhere in your CLASSPATH and you're set! John Summerfield wrote: > > On Wed, 24 Mar 1999, Chien-Lung Wu wrote: > > > Dear firends: > > I am a newbie of the JAVA and Oracle. However I have to install the Oracle on > > my Linux box. I read some information said that JAVA 1.X can support JDBC. Now > > this is my question. > > 1. If I want to use JAVA to access Oracle, can I have to install JDBC for > >ORACLE? > > > > 2. Where can I get the JDBC, which can support ORACLE, if I need to? > > It's included, at least in the version I downloaded (8.0.5). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK1.2
http://www.fr.kernel.org/pub/linux/kernel/alan/2.0.37pre/2.0.37/ At 11:16 PM 3/26/99 +0100, you wrote: >I'm using Red Hat 5.2 with kernel 2.0.36-1 > >Where can i find the kernel 2.0.37 (what is the problem if i use jdk1.2 >with kernel 2.0.36). > >Excuse me english (i'm frensh). > > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > A Linux enthusiast :-) | 408.294.4750 http://www.concentric.net/~Wdacruz/Index.shtml | [EMAIL PROTECTED] ___|___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: AWT Crash - Need Help!
this is due to x server configuration problems. though it may be working fine with normal x apps you need to do some 'fine tuning' in it. Anil On Fri, 26 Mar 1999, David Thompson wrote: > > S Balamurugan, > > I have had a similar problem. I installed 1.2 on my > RH5.2, ran the script to set up my system with the > proper library links, and added the necessary fonts. When > I run my applications that are gui intensive, either > in native threads or with green threads (with JIT off), > my not fully drawn gui appears, waits a few seconds, then > crashes with the full thread dump . I have been waiting to see > if someone else is having the problem, or for an updated > released that may solve the problem. > > Also, I have 128M of memory. I would suspect that this > is enough. > > We may need to be patient and see what happens? > > respectfully > dt > > _ > David R.Thompson > Los Alamos National Laboratory > TSA 5 > wk.ph:505.665.5572 > email: [EMAIL PROTECTED] > _ > > Advanced Technology Group, River Valley Technologies URL http://www.river-valley.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
