database connectivity

1999-08-03 Thread R MUTHUSWAMY
hi guys, i have postgresSql in my linux box i want to connect to it. I don't know the way. i think i should have the driver installed in the client side. And the postmaster is running in the server machine. Any thing else is needed for the connectivity. Ask me if you don't get the ques

Re: File or class transfer over tcpip

1999-08-03 Thread Alexander Davydenko
Robert Covell wrote: > > System.out.println("Getting file: " + loc); > try > { > DataInputStream di = new DataInputStream(new > FileInputStream(new File(loc))); > int avail = di.available(); i think it must return 0,

RE: ejb application server

1999-08-03 Thread Aravind Selvaraje
Open Source http://www.ejboss.org http://www.openmaster.com/ejb The original, now taken over by Iona http://www.ejbhome.com Weblogic, commercial but works well on Linux http://weblogic.beasys.com -- Aravind > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

Re: Calling Same Native method more than once.

1999-08-03 Thread Nagaraj S.B
Jacob Nikom wrote: > > I don't think there is any limitations on the number of calls of C routine. > I call my C routine from Java thousand times without any problem. Look > for something else - memory problem of threads. Do you call your routine > from the main tread or you created separate one?

ejb application server

1999-08-03 Thread Walter Chang
I am looking into ejb and wondering is there any ejb application server that will run on linux? One with Open Source is prefered, but a commercial one that has free demo version available is ok too. Thanks for the help! Walter --

Re: How can I help?

1999-08-03 Thread Danny Trieu
Me too, I would like to contribute to the Linux community, and how can I help? Mike Christiansen wrote: > I have wanted to contribute to Linux for a while now. I would most like > to help make my favorite programming language successful on my favorite > OS. What can I do? > > Mike > > --

Re: File or class transfer over tcpip

1999-08-03 Thread Dustin Lang
Hi, > needed. It works like a charm but, the typical but word my classes when > used by the JVM either through security exceptions or are unreadable. To > transfer the class file we are using the following: [snip] > DataInputStream di = new DataInputStream(new > FileInputStream

File or class transfer over tcpip

1999-08-03 Thread Robert Covell
I am in the mist of developing an RMI Update utility for clients. Like most updaters they would download a small 30k(+-) java application that would talk to an RMI server and decide what files (.class) the client needed. It works like a charm but, the typical but word my classes when used by the

Re: Calling Same Native method more than once.

1999-08-03 Thread Jacob Nikom
I don't think there is any limitations on the number of calls of C routine. I call my C routine from Java thousand times without any problem. Look for something else - memory problem of threads. Do you call your routine from the main tread or you created separate one? Jacob "Nagaraj S.B" wrote:

Re: Calling Same Native method more than once.

1999-08-03 Thread Robert Perry
I have call the same native method from several threads under several different JDK's and have not had any such problems. I am not sure that Blackdown's 1.2 with native threads is in the list of JDK's I have used. Not, that I think the JDK is the problem I just do not want to imply that I ha

Re: serial communication

1999-08-03 Thread Pere Serra
You have to download the CommAPI from sun: java.sun.com/products/javacomm (get the Sparc x-86 version, bunzip it and copy the file comm.jar to /jre/lib/ext ) You also need the serial driver rxtx from http://www.frii.com/~jarvi/rxtx/ -

Re: RMI on Linux

1999-08-03 Thread Nelson Minar
>I am trying RMI and i keep getting this exception. I couldn't understand >the problem. Are you using JDK 1.2? You have to set up a policy file to make it work right. This is an RMI FAQ, hunt around Sun's web site. [EMAIL PROTECTED] . .

Calling Same Native method more than once.

1999-08-03 Thread Nagaraj S.B
Hi all, Thanks for helping me in interfacing C with Java.I am facing a problem in executing my program(java) which calls a 'C' function. I am calling 'C' native method for every 10 secs in my 'java' program , but after first loop, my program(java) exits by giving SIGSEV 11* Segmentation violation

Re: RMI on Linux

1999-08-03 Thread praks
Hi, I am trying RMI and i keep getting this exception. I couldn't understand the problem. Can somebody give some clue!! ComputeEngine exception: access denied (java.net.SocketPermission 192.168.0.206:1099 connect,resolve) java.security.AccessControlException: access denied (java.net.SocketPe

Re: serial communication

1999-08-03 Thread Magnus Niemann
On Tue, 3 Aug 1999, R MUTHUSWAMY wrote: > i want to program serial port, what is the api should i get. You should use the Java COMM API together with the rxtx package (for native access to your serial ports). The COMM API will be found on java.sun.com, the rxtx package is on http://www.mit.edu/

Re: JWS on Linux

1999-08-03 Thread Matt Zagni
John, Many thanks for replying to my original enquiry, I have since managed to get the server working, however I am still having problems connecting and adding an oracle servlet (using oracle 8.0.5) and adding/registering it to the javaserver. I think mysql databases work fine however I am attem