RE: JDBC for Oracle?????
Hello, >1. If I want to use JAVA to access Oracle, can I have to install >JDBC for ORACLE? Using the JDBC driver from http://www.oracle.com/st/products/jdbc/html/jdbc_collateral.html didn't work well in my case, i could only feed up to 1900 bytes of BLOB (as LONG RAW) data. Bigger sizes only filled 3 bytes into the database. Switching to the standard Linux-Oracle 8.0.5 distribution thin JDBC driver works well now: Its in the directory oracle/jdbc/lib/classes111.zip Marcel -- Marcel Ruff [EMAIL PROTECTED] http://www.lake.de/home/lake/swand/
Re: KDE PLAF
Would even be interested, do you have some web page, or do you plan to include it in the jgt project? P@ Andreas Rueckert wrote: > > Hi! > > Somewhat OT(?): > Since I don't like the other PLAFs, I've started to create a KDE PLAF. Far from > completion, but some stuff already works (on JDK 1.1.7 + Swing 1.1B3 + > KDE 1.0). If you are interested in contributing or testing, please drop me a > p-mail. > > Ciao, > Andreas > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- - Save software competition, use Linux and Java! mailto:[EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: libstdc++-libc6.0-1.so.2... and the Linux mess (IMHO)
Nathan Meyers wrote: > The choice is to wait for a real release. The porting team has dealt > with a lot of distractions just getting to this point and having reached > it -- a beta release that works quite well -- is no small > accomplishment. But it is a beta, whose purpose in life is to shake out > the bugs; complaining that it isn't production-ready is not particularly > constructive and, anyway, it's just restating the obvious. I agree, but then there's a practical problem wrt beta testing: when the JDK reaches production quality, the porting team will be probably forced to support multiple environments (C libraries, kernels, X11 drivers, Linux distributions, you name it) but right now they're only having significant testing on compatible setups. I suppose we'll have a pr2 before release, when the needed workarounds for different configurations are implemented? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK 1.1.8 ??
> I was just wondering if the jdk team is planning to release a 1.1.8 > version of the JDK now that the reference release is out, or is the port > effort mainly going towards 1.2 now? Uh... what do you mean by "is out"? I've just checked Javasoft and the current releases for Win32 and Solaris still seem to be 1.2.0 and 1.1.7. > JDK 1.2 is just too bloated for us to use in any kind of production > environment. (I'm basing that decision off the Solaris version, not the > 1.2 pre 1 release for linux. Most applications I've test have taken 3x the > memory and the speed increase is not worth that.) We've been seeing a > few minor problems in jdk1.1.6 and 1.1.7 for linux x86 that can hopefully > be corrected in 1.1.8. I second that, I think 1.2 will eventually be optimized etc but it's good to have choice of the slimmer 1.1 when you don't need 1.2 stuff. BGut it's easy to demand other people to work; do Sun has plans to open the source code of 1.1.x too, so more people could contribute in porting? Now that 1.2 source is available, I don't think it makes a lot of sense to not put 1.1 in the community license too. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [RE: JDBC for Oracle?????]
Hello, I am working in a project where I need to access our intranet database (M$ SQL Server) which has no IP addres, from the internet. I installed rmijdbc server and it allow me to reach the odbc datasources form applets running on netscape navigator but not in Internet explorer. For some reason I could not set IE rmi layer working. Then I thought to use a type 3 JDBC driver, but I had not found a free one. Does anybody have an idea of what can I use for makig applets that query a middleware for its odbc's datasources? (minimizing costs:-) Thanks for all. Get free e-mail and a permanent address at http://www.netaddress.com/?N=1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK1.2 and CORBA
I must say that I found all the messages in response to my question quite interesting. Thanks a lot! After I sent my original mail I tried several things and none has yet quite worked (but I haven't finished my last set of experiments :-). One thing, though: so much for standards! In the book `Client/Server Programming with Java and CORBA' it is mentioned that both Visibroker and JDK1.2 generate `portable' stubs, meaning that they can be compiled with any other ORB implementation. Yeah, sure. When I used Visibroker (with the flag `-portable') it wouldn't compile without its classes (some conflicts 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). My next step was to download and install JacORB, which seems quite nice. But, again, the stubs generated by its idl2j wouldn't compile without the jacorb classes (they actually make explicit references to the jacorb package). No problem, if I stick to JacORB, I guess. I haven't had enough time to play with it yet, so my initial (failed) experiments don't prove much (I couldn't connect to the NameService, which is the one from the omniORB installation). I think it is just a matter of reading the manual and setting the configuration right, which I won't have time to do until the weekend. By the way, I personally find it comic (which is not the same as funny) that both Visibroker and JDK1.2 claim to be `pure Java' but they provide you with other tools that are in machine-dependent object format (idltojava, osagent, etc.)! People at JavaSoft should be dying of shame ... --- 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]
Library dependencies for jdk1.2?
I've been trying to get jdk1.2 or jre1.2 to work on my machine without much success. My system was libc5 based so I fetched glibc-2.0.6 from the gnu mit site (2.0.6 was the latest 2.0.X release there) and installed it. I then installed the glib version of XFree86 3.3.3.1 to get the libXp library. I installed that and all the X stuff seems to be working fine using the glib libraries. But if I try to run jre1.2/bin/java it gets a segmentation violation. I have attached the output from ldconfig -D. The output of running ldd is below and attached. Are there other requirements that I am overlooking? I don't get and messages about register_frame as described in the readme file, but I note that I have in the ldconfig -D output I've got libstdc++.so.27 => libstdc++.so.27.1.4 where the readme talks about libstdc++-libc6.0-1.so.2 is this likely to be related to my problem? Are there additional tests I can do to track this down? Or versions of software I should install? Thanks, Lindsay P.S. I didn't have any problems installing jdk1.1.X versions. "ldd /usr/local/jre1.2/bin/i386/native_threads/java" output: libpthread.so.0 => /usr/i486-linuxglibc2/lib/libpthread.so.0 (0x4000e000) libhpi.so => /usr/local/jre1.2/lib/i386/native_threads/libhpi.so (0x4001c000) libjvm.so => /usr/local/jre1.2/lib/i386/classic/libjvm.so (0x40025000) libdl.so.2 => /usr/i486-linuxglibc2/lib/libdl.so.2 (0x40091000) libc.so.6 => /usr/i486-linuxglibc2/lib/libc.so.6 (0x40095000) libBrokenLocale.so.1 => /usr/i486-linuxglibc2/lib/libBrokenLocale.so.1 (0x40133000) libawt.so => /usr/local/jre1.2/lib/i386/libawt.so (0x40136000) libmlib_image.so => /usr/local/jre1.2/lib/i386/libmlib_image.so (0x4024d000) libjava.so => /usr/local/jre1.2/lib/i386/libjava.so (0x40277000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x402a7000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x402ea000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402f5000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4038c000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40394000) libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x403a8000) libnsl.so.1 => /usr/i486-linuxglibc2/lib/libnsl.so.1 (0x403af000) libm.so.6 => /usr/i486-linuxglibc2/lib/libm.so.6 (0x403b6000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000) -- Lindsay Patten mailto:[EMAIL PROTECTED] http://www.kiva.net/~lindsay/ 1-812-331-2687 ldconfig: version 1.7.14 /usr/X11R6/lib: libXtst.so.6 => libXtst.so.6.1 libXt.so.6 => libXt.so.6.0 libXp.so.6 => libXp.so.6.2 libXmu.so.6 => libXmu.so.6.0 libXi.so.6 => libXi.so.6.0 libXext.so.6 => libXext.so.6.3 libXaw.so.6 => libXaw.so.6.1 libXIE.so.6 => libXIE.so.6.0 libX11.so.6 => libX11.so.6.1 libSM.so.6 => libSM.so.6.0 libPEX5.so.6 => libPEX5.so.6.0 libICE.so.6 => libICE.so.6.3 /usr/i486-linuxaout/lib: libvga.so.1 => libvga.so.1.2.7 libtk.so.3 => libtk.so.3.1.1 libtcl.so.3 => libtcl.so.3.1 libm.so.4 => libm.so.4.6.27 libdb.so.1 => libdb.so.1.85.1 libcurses.so.0 => libcurses.so.0.1.2 libc.so.4 => libc.so.4.7.2 libXt.so.6 => libXt.so.6.0 libXt.so.3 => libXt.so.3.1.0 libXpm.so.4 => libXpm.so.4.2 libXaw.so.6 => libXaw.so.6.0 libXaw.so.3 => libXaw.so.3.1.0 libXIE.so.6 => libXIE.so.6.0 libX11.so.6 => libX11.so.6.0 libX11.so.3 => libX11.so.3.1.0 /usr/openwin/lib: libxview.so.3 => libxview.so.3.2.2 libolgx.so.3 => libolgx.so.3.2.2 /usr/local/lib: libgck.so.1 => libgck.so.1.0.0 libgimpui.so.1 => libgimpui.so.1.0.2 libgimp.so.1 => libgimp.so.1.0.2 libgtk.so.1 => libgtk.so.1.0.6 libgdk.so.1 => libgdk.so.1.0.6 libglib.so.1 => libglib.so.1.0.6 /usr/i486-linuxglibc2/lib: libdl.so.2 => libdl.so.2 libpthread.so.0 => libpthread.so.0 libnss_nis.so.1 => libnss_nis.so.1 libnss_compat.so.1 => libnss_compat.so.1 libnsl.so.1 => libnsl.so.1 libnss_dns.so.1 => libnss_dns.so.1 libresolv.so.2 => libresolv.so.2 libnss_db.so.1 => libnss_db.so.1 libnss_files.so.1 => libnss_files.so.1 libcrypt.so.1 => libcrypt.so.1 libutil.so.1 => libutil.so.1 libm.so.6 => libm.so.6 libBrokenLocale.so.1 => libBrokenLocale.so.1 libdb.so.2 => libdb.so.2 libc.so.6 => libc.so.6 /usr/lib: libz.so.1 => libz.so.1.0.4 libtk4.2.so => libtk4.2.so libtk.so => libtk.so libtix4.1.so => libtix4.1.so libtix.so => libtix.so libtkx.so.42.0 => libtkx.so.42.0 libtkx.so => libtkx.so libtclx.so.76.0 => libtclx.so.76.0 libtclx.so => libtclx.so libtcl7.6.so => libtcl7.6.so libtcl.so => libtcl.so libvgagl.so.1 => libvg
Re: JDK 1.1.8 ??
On Thu, Mar 25, 1999 at 11:36:23AM +0100, Osvaldo Pinali Doederlein wrote: > Uh... what do you mean by "is out"? I've just checked Javasoft and the > current releases for Win32 and Solaris still seem to be 1.2.0 and 1.1.7. http://developer.javasoft.com/ in the early access section. > I second that, I think 1.2 will eventually be optimized etc but it's good to > have choice of the slimmer 1.1 when you don't need 1.2 stuff. BGut it's > easy to demand other people to work; do Sun has plans to open the source > code of 1.1.x too, so more people could contribute in porting? Now that 1.2 > source is available, I don't think it makes a lot of sense to not put 1.1 in > the community license too. I second that second :-) JDK 1.2 has some really nice features and it's great to finally be able to test on more than just windows and solaris :-) Thank you porters! I sent in the license agreement for JDK 1.1 source back in January, but they gave me 1.2 source. Is there some way to get 1.1 source and the current linux diffs for it? I'd be more than happy to help work on it if I can get the sources and diffs. -Kelly -- Kelly A. Campbell Applications Programmer/Analyst <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Kansas State University http://www.telecom.ksu.edu/~camk/ Department of Telecommunications 109 East Stadium, Manhattan KS 66506http://www.telecom.ksu.edu/ Voice: (785) 532-7067 Fax: (785) 532-7114 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: JDK 1.1.8 ??
On Thu, 25 Mar 1999 12:43:07 -0600, Kelly Campbell wrote: >I sent in the license agreement for JDK 1.1 source back in January, but >they gave me 1.2 source. Is there some way to get 1.1 source and the >current linux diffs for it? I'd be more than happy to help work on it if I >can get the sources and diffs. The diffs for the Linux port of 1.1.7 should be at the same place as the actual port tarball files are. We put those onto the blackdown mirrors at the same time. I don't know what is up with Sun. It may have been that they just got a bit confused at the time you sent it in since so many people were jumping on the JDK 1.2 sources the moment Sun did an actual release. 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]
Red Hat: no GUI due to Debian lib refs
I'm running JDK 1.2 pre 1 on Red Hat 5.2, and although I haven't had any problems whatsoever with the base JDK (great job guys!) I've so far been locked out of any GUI type stuff by the dependence on what I assume to be Debian-specific library references - libstdc++libc6.0-1.so.2 for example. I couldn't find a libc6.0 on any GNU sites, just libc2.7.2.whatever to match the compiler. Is there a way of getting the GUI stuff to work on Red Hat? TIA J -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
FTP-Lib for Java
In case you´re interested in FTP under Java, this may of be of interest for you. I know, there are many ftp-clients for java. This is yet another one of which I think the design is cool. If you have suggestions for improvement, mail me. I tested it with proftpd. http://www.richert.de/free/FTP.html Thanks, willi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Red Hat: no GUI due to Debian lib refs
Please the read the faq. This is all covered in that. You do have libc6.0, its glibc2.0.7 on redhat. Jason Proctor wrote: > I'm running JDK 1.2 pre 1 on Red Hat 5.2, and although I haven't had any > problems whatsoever with the base JDK (great job guys!) I've so far been > locked out of any GUI type stuff by the dependence on what I assume to be > Debian-specific library references - libstdc++libc6.0-1.so.2 for example. I > couldn't find a libc6.0 on any GNU sites, just libc2.7.2.whatever to match > the compiler. > > Is there a way of getting the GUI stuff to work on Red Hat? > > TIA > > J > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Grace and peace to you from God our Father and the Lord Jesus Christ, David Guthrie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
JDK1.2 and CORBA
Troy Wu wrote: > > I'm not having a problem, really. The situation is that the output of > idltojava compiler of CDK-A doesn't compile with CORBA classes of > CDK-B (Corba Development Kit, that is =). Only runtime object > instances are interoperable; not their source. > > *.java files generated by IDL compiled with JDK's IDL compiler won't > compile with the ORBacus CORBA classes; i.e., with the CLASSPATH set > with OB.jar in front of /app/jdk-1.2/lib/tools.jar. The opposite is > also true. *.class files _ARE_ sharable, provided that the CDK which > was used to compile the respective *.java files is in the CLASSPATH > first. 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. ie I had the hosts set up as localhost 127.0.0.1 slk-pc 152.95.76.52 The ORB then assumed (for some strange reason) that the name of this machine is localhost, and exported this when communicating with other orbs, obviuosly these cannot find my program, and thus fail. chaning the hosts file to slk-pc 152.95.76.52 localhost 127.0.0.1 Fixed that problem, it really shouldn't matter, as the hostname of the machine should be gotten from the hostname api, instead of trying to figure it from the /etc/hosts file.. I don't know where the problem lies, but I figure that you guys who did the port, might want to have a look see.. any way, great job, the jdk1.2 port for linux works fine, apart from that minor annoyance (took me a few days to figure out what was happening)... (You have my sincere thanks, as you save me from having to work with windows every day :->). regards mike. -- #include --- (Ingeniør) Michael Nielsen BE(Hons) work email: [EMAIL PROTECTED] telf: +45 9828 4611 x 26 Private email : [EMAIL PROTECTED] fax : +45 9828 4565 --- At arbejede er godt, så længe man husker at leve! (To work is good as long as we remember to live!) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: AWT Crash - Need Help!
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]
An (indirect) opportunity for Blackdown funding
As the Java-Linux porting team, you seemed the best first-place to ask: Would you be interested in writing a major book on Linux and Java? Can you recommend anyone who might be interested? I'm looking for someone who can devote several months to create a comprehensive reference book to survey and catalog all the tips, tricks and tools available for Linux-based Java developers. This should include libraries, debuggers, profiling tools, reviews of IDEs ... and also include as much subliminal guidance to encourage *good* java programming skills as possible ;) This project is for a major publisher, so the sales can easily be in the tens-of-thousands of units; my own hidden agenda is to leverage opportunies like this to help fund those who put their heart and soul into opensource projects while simultaneously producing some much needed quality reference material that can bring Linux to an even wider material, and to use the opportunity to also spread some higher values such as good OOP design and coding style. If you're interested, or if you know someone who may be interested, please let me know via email at [EMAIL PROTECTED] You don't have to be an Ernest Hemmingway, but if you know your stuff and can put what you know into print, I'd like to hear from you. Best of luck with 1.2 -- | _) Gary Lawrence Murphy <[EMAIL PROTECTED]> __| __| | \ TeleDynamics Communications Inc | (| \_/ http://www.teledyn.com/ ICQ#6023820 \__|\___|_| Don't oppose forces. Use them. (RBF) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
