Re: running servlets as different UID?!

2000-07-21 Thread Nicolás Lichtmaier
> the web server runs as UID "nobody", as well as jserv. i do not want to > change that; i only want one single servlet to have root privileges. It's not posible to do that. You might want to isolate the code needing those privileges and run it in a separate VM, accessed with RMI. Even so, the J

Re: RMI JNI and objective c issue.

2000-07-21 Thread Rajesh Patel
Juergen Kreileder wrote: > > "Rajesh" == Rajesh Patel <[EMAIL PROTECTED]> writes: > > Rajesh> Full thread dump Classic VM (1.2.2-L, native threads): > > That's not a good combination, the native threads VM in Sun's 1.2.2 > release is somewhat broken. Either try Blackdowns 1.2.2 or Sun's

Re: Debugging Java on Linux with JDK1.2.2

2000-07-21 Thread Vladimir G Ivanovic
An alternative to using println's is to use AspectJ. AspectJ enables the clean modularization of crosscutting concerns such as: error checking and handling, synchronization, context-sensitive behavior, performance optimizations, monitoring and logging, debugging support, and multiple obj

running servlets as different UID?!

2000-07-21 Thread karin
hi! i've come across a problem i cannot find anything about in the documentation. what i'd like to do is have a java servlet run under a different effective UID than "nobody", which is my default webserver user. i'm running apache jserv 1.2.2b (jdk 1.2.2) / apache 1.3.9 on a redhat linux 2.2

RE: idltojava

2000-07-21 Thread Wright Robert B Civ 96 CG/SCWDE
i may be wrong, but i think the idltojava compiler with JacORB if pure java, and you should be able to use it on linux. check it out at http://www.inf.fu-berlin.de/~brose/jacorb/ btw, the JacORB script to run the compiler is called idl rather than idltojava. Rob -Original Message- Fro

Re: RMI JNI and objective c issue.

2000-07-21 Thread Juergen Kreileder
> "Rajesh" == Rajesh Patel <[EMAIL PROTECTED]> writes: Rajesh> Full thread dump Classic VM (1.2.2-L, native threads): That's not a good combination, the native threads VM in Sun's 1.2.2 release is somewhat broken. Either try Blackdowns 1.2.2 or Sun's 1.3 beta. Juergen -- Jue

RMI JNI and objective c issue.

2000-07-21 Thread Rajesh Patel
Hi, I have problem which enough people may not be interested but if any one can give any hint, would be appreciated. I am running objective c application using JNI starting JVM from objective c code and calling java application which uses RMI to communicate with my applet for the browser.

Re: Debugging Java on Linux with JDK1.2.2

2000-07-21 Thread Man Chi Ly
On Wed, 19 Jul 2000, Nathan Meyers wrote: > On Wed, Jul 19, 2000 at 03:54:40PM +, Kris Heyrman wrote: > > Hi, > > > > I think I am getting stupid: I just spent a day trying to find out how best to > > debug a project that is getting fairly complicated, in Java. I did not find out > > how,

Java Advanced Imaging

2000-07-21 Thread Andreas Micklei
Hello, how is the status of Java advanced Imaging? The website states that it builds and runs, but has not been verified with the JCK yet. Is this still true? Is someone actively working on it? What does it take to get involved? -- Andreas Micklei IVISTAR Kommunikationssysteme AG Ehrenbergstr.

Re: idltojava

2000-07-21 Thread Nathan Meyers
Brett Smith wrote: > I tried to ask this question yesterday, but apparently was suffering > from some form of dyslexia (javatoidl). > > Here is my 2nd attempt: Is there a version of idltojava for Linux? I > am using 1.2.2, rc4. I've never seen one. It's a native program that, AFAIK, Sun never

Re: idltojava

2000-07-21 Thread Oliver Koell
At 07:23 21.07.00 -0400, you wrote: >I tried to ask this question yesterday, but apparently was suffering >from some form of dyslexia (javatoidl). > >Here is my 2nd attempt: Is there a version of idltojava for Linux? I >am using 1.2.2, rc4. If my memory serves me well: no. i've heard about pe

Re: idltojava

2000-07-21 Thread Brett W. McCoy
On Fri, 21 Jul 2000, Brett Smith wrote: > Here is my 2nd attempt: Is there a version of idltojava for Linux? I > am using 1.2.2, rc4. Not for Linux that I could find. There just seemed to be Solairs and Windows. I think the issue is that it is a native tool, rather than written in Java. How

Re: How to pass string between java and c?

2000-07-21 Thread Christopher Hinds
1. The exception you are getting has nothing to do with strings or char arrays being passed. What is really happening is the java runtime cannot find the native code module you just compiled BTW you did'n t say what OS you are using. UNIX, LINUX or NT. In any case the Library path has not been sp

Re: idltojava

2000-07-21 Thread Scott Murray
On Fri, 21 Jul 2000, Brett Smith wrote: > I tried to ask this question yesterday, but apparently was suffering > from some form of dyslexia (javatoidl). > > Here is my 2nd attempt: Is there a version of idltojava for Linux? I > am using 1.2.2, rc4. Unfortunately, Sun don't seem to have given

idltojava

2000-07-21 Thread Brett Smith
I tried to ask this question yesterday, but apparently was suffering from some form of dyslexia (javatoidl). Here is my 2nd attempt: Is there a version of idltojava for Linux? I am using 1.2.2, rc4. thanks, [EMAIL PROTECTED] --

Re: How to pass string between java and c?

2000-07-21 Thread Peter Pilgrim
1) Get yourself a copy of The Java native Interface Publisher: Addison Wesley Authors: Sheng Liang ISBN 0-201-32577-2 303 Pages 2) Why are you using char[] ? This is not portable or unicode compatible . All Java String are unicode characters by default. You need to pass just java.lang.String

Re: Java3D

2000-07-21 Thread Desiree Hilbring
Java3D 1.2 is not out yet for Linux, as far as I know. I added the Canvas3D the following way: I do have a JTabbedPan in which I am adding a Class "GIS3DView". gis3dView = new GIS3DView(); tab.add("GIS3DView",gis3dView); GIS3DView extends JPanel In "GIS3DView" I am creating the Canvas3D. For co

Java3D

2000-07-21 Thread yangyuexiang
Hi, I am designing packing programs. I used the Swing instead of AWT. However, I need to display packing results by java3d. My system is linux. I cannot find java3d 1.2 for linux. I installed java3d 1.1.3. I donot know how to add canvas3D to my JPanel. Do you have any suggestion? Thanks yangyu