Re: Java2D Servlets on Linux

1999-07-16 Thread dan
Robbie Baldock wrote: > Nathan Meyers wrote: > > > No, this won't work. > > I didn't think it would! > > > Environment variables are associated with Unix processes and passed to > > child processes. You can't really set one "just for the servlet", you need > > to set it for the Unix process und

Re: Java2D Servlets on Linux (Apache/JServ)

1999-07-16 Thread Robbie Baldock
Jacek Laskowski wrote: >> I'm uncertain if this helps, but give that a try: > >> wrapper.env=DISPLAY=:1 >Robbie> Tried it - it can't connect. Actually, I tell a lie - it is now connecting (on DISPLAY=:1)! (I wasn't waiting long enough for Apache and JServ to restart.) However, the servlet is

Re: Java2D Servlets on Linux (Apache/JServ)

1999-07-16 Thread Robbie Baldock
Ulli Kortenkamp wrote: > > > "Robbie" == Robbie Baldock <[EMAIL PROTECTED]> writes: > > Robbie> Jacek Laskowski wrote: > >> I'm uncertain if this helps, but give that a try: > > >> wrapper.env=DISPLAY=:1 > > Robbie> Tried it - it can't connect. > > Could it be that the virt

Re: Java2D Servlets on Linux (Apache/JServ)

1999-07-16 Thread Ulli Kortenkamp
> "Robbie" == Robbie Baldock <[EMAIL PROTECTED]> writes: Robbie> Jacek Laskowski wrote: >> I'm uncertain if this helps, but give that a try: > >> wrapper.env=DISPLAY=:1 Robbie> Tried it - it can't connect. Could it be that the virtual framebuffer denies the permission to the

Re: Java2D Servlets on Linux (Apache/JServ)

1999-07-16 Thread Robbie Baldock
Jacek Laskowski wrote: > I'm uncertain if this helps, but give that a try: > wrapper.env=DISPLAY=:1 Tried it - it can't connect. Robbie -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble?

Re: Java2D Servlets on Linux (Apache/JServ)

1999-07-16 Thread Jacek Laskowski
Robbie Baldock wrote: > [...] > by putting something like this: > > wrapper.env=DISPLAY=localhost:1.1 > > in the jserv.properties file. > > However... I'm now getting this error message: > > java.lang.InternalError: Can't connect to X11 window server using > 'localhost:1.1' as the value of th

Re: Java2D Servlets on Linux (Apache/JServ)

1999-07-16 Thread Robbie Baldock
After the various helpful suggestions on how to proceeed with my GIF generating servlet, I've discovered that I can prevent the worrying error message I was getting: java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment at java.lang.Class.forName0(Native Method) by putting something lik

Re: Java2D Servlets on Linux

1999-07-15 Thread Chris Abbey
>> >> java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment >> >> at java.lang.Class.forName0(Native Method) >> > You're right, that's not the message you'd see with an unset DISPLAY >> > variable. That class should be in rt.jar... I wonder why you're not >> > finding it. >> >> Mmm indee

Re: Java2D Servlets on Linux

1999-07-15 Thread Nathan Meyers
Robbie Baldock wrote: > > Nathan Meyers wrote: > > > No, this won't work. > > I didn't think it would! > > > Environment variables are associated with Unix processes and passed to > > child processes. You can't really set one "just for the servlet", you need > > to set it for the Unix process

Re: Java2D Servlets on Linux

1999-07-15 Thread Robbie Baldock
Nathan Meyers wrote: > No, this won't work. I didn't think it would! > Environment variables are associated with Unix processes and passed to > child processes. You can't really set one "just for the servlet", you need > to set it for the Unix process under which the servlet is running - > mea

Re: Java2D Servlets on Linux

1999-07-15 Thread Nathan Meyers
Robbie Baldock wrote: > > I'm still trying to get Java2D to work on Linux. My latest strategy is > to run my GIF generation program as a servlet. > > What I'm doing is firing up Xvfb to simulate an X environment but then > of course I need to set the DISPLAY environment variable for the servlet

Java2D Servlets on Linux

1999-07-15 Thread Gregory Steuck
> "Robbie" == Robbie Baldock <[EMAIL PROTECTED]> writes: Robbie> At the moment I'm calling this in my servlet's init(): Robbie> Runtime.getRuntime().exec("DISPLAY=localhost:1.1"); Robbie> Runtime.getRuntime().exec("export DISPLAY"); Robbie> Which I suspect is the wrong way t

Java2D Servlets on Linux

1999-07-15 Thread Robbie Baldock
I'm still trying to get Java2D to work on Linux. My latest strategy is to run my GIF generation program as a servlet. What I'm doing is firing up Xvfb to simulate an X environment but then of course I need to set the DISPLAY environment variable for the servlet and I'm unclear as to how I shou

Re:RE: Newbie question.... Servlets on Linux

1999-06-05 Thread Steve Nguyen
Original message Date: Sat, 05 Jun 1999 13:41:51 +0200 From: Marcel Ruff <[EMAIL PROTECTED]> To: "Philip L. Butler" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: RE: Newbie question Servlets on Linux -- > I'd also l

RE: Newbie question.... Servlets on Linux

1999-06-05 Thread Marcel Ruff
> I'd also like to see comments from those who have installed/run all > of the servlet stuff or have atempted it. > > Many thanks in advance !! > > Phil Butler > [EMAIL PROTECTED] Servlets are running without any problems on Linux. The combination apache/jserv is very good, using of apache/jrun

Re: jdk servlets on Linux

1999-04-16 Thread Kowshik Podder
Camilo Wilson wrote: > > Using Apache Jserv for servlets does work, but it requires a good dose > of masochism. Much, much easier is to use the Java Web Server from Sun > (free evaluation, under $300), Solaris version. About 1/10 the > configuration time, in my experience. You will need the JSDK

Re: jdk servlets on Linux

1999-04-14 Thread Oliver Fels
> I don't think I'm a masochist, but I found no difficulty in installing > Jserv for Apache. I've never used Sun's server so I can't comment on > relative speed or simplicity, but I guess I saved myself $300 at least... Same here, based on my experience. In most cases, there are requirements whic

Re: jdk servlets on Linux

1999-04-14 Thread Michael Lorton
On Wed, 14 Apr 1999, Matt Duckham wrote: > Camilo Wilson wrote: > > > > Using Apache Jserv for servlets does work, but it requires a good dose > > of masochism. Much, much easier is to use the Java Web Server from Sun > I don't think I'm a masochist, but I found no difficulty in installing > Js

Re: jdk servlets on Linux

1999-04-14 Thread Matt Duckham
Camilo Wilson wrote: > > Using Apache Jserv for servlets does work, but it requires a good dose > of masochism. Much, much easier is to use the Java Web Server from Sun > (free evaluation, under $300), Solaris version. About 1/10 the > configuration time, in my experience. You will need the JSDK

Re: jdk servlets on Linux

1999-04-14 Thread Camilo Wilson
Using Apache Jserv for servlets does work, but it requires a good dose of masochism. Much, much easier is to use the Java Web Server from Sun (free evaluation, under $300), Solaris version. About 1/10 the configuration time, in my experience. You will need the JSDK classes from Sun too. We have a

Re: jdk servlets on Linux

1999-04-13 Thread Kowshik Podder
Steven Rock wrote: > Just made the leap from wintel to Lunix. I would like to use java > servlets instead of dusting off my Perl-CGI books. Has it been ported to > Linux yet? Use the Apache Jserv - a module you can compile for use as a servlet engine with Apache. Check out java.apache.org Other

Servlets on linux

1998-08-04 Thread Alejandro Canales
Hi! I am developing servlets on linux. They work perfectly if I don't use JDBC. With JDBC I lost the output when any function of JDBC is called. I use PrintStream, PrintWriter for handle the output. Any Hint??? Someone has experimented something

RE: Servlets on Linux

1998-07-30 Thread Alejandro Canales
Hi! On Wed, 29 Jul 1998, Brian Pedersen wrote: > > > > import java.servlet.*; > > > > import java.servlet.http.*; > > Shouldn't this read javax.servlet.* ? Servlets are NOT a part of core in > ^ > 1.1. If you set your classpath to point to jsdk then this will m

Re: Servlets on Linux

1998-07-30 Thread Jason Tan
> > What are the diference between: > > import java.servlet.XXX > and > import javax.serlet.XXX There is no class javax.serlet.xxx ?? ;-)) Jaosn T

Re: Servlets on Linux

1998-07-30 Thread Alejandro Canales
Thanks a lot It compile! I am very happy ! What are the diference between: import java.servlet.XXX and import javax.serlet.XXX Thanks A Canales PD Now I try to work with this simple Servlet... any hint??? >

RE: Servlets on Linux

1998-07-29 Thread Brian Pedersen
ilto:[EMAIL PROTECTED]] > > > Sent: Wednesday, July 29, 1998 5:07 AM > > > To: Doug Welzel > > > Subject: Re: Servlets on Linux > > > > > > > > > > > > I follow your instructions as you (and many more guys) send me. > > >

Re: Servlets on Linux

1998-07-29 Thread David Wilkinson
At 11:51 29/07/98 -0500, you wrote: > > I just do it and in my case not work :-( Try changing: import java.servlet.*; import java.servlet.http.*; to: import javax.servlet.*; import javax.servlet.http.*; Dave W. -- David Wilkinson

Re: Servlets on Linux

1998-07-29 Thread Alejandro Canales
I just do it and in my case not work :-( Thanks AC On Wed, 29 Jul 1998, Robert Ritchy wrote: > Try adding the following to your classpath > > /usr/local/java/lib/jsdk.jar > > instead of just: > > /usr/local/java/lib

Re: Servlets on Linux

1998-07-29 Thread Robert Ritchy
> > > > -Original Message- > > > From: Alejandro Canales [mailto:[EMAIL PROTECTED]] > > > Sent: Wednesday, July 29, 1998 5:07 AM > > > To: Doug Welzel > > > Subject: Re: Servlets on Linux > > > > > > > > > > >

RE: Servlets on Linux

1998-07-29 Thread Alejandro Canales
; To: Doug Welzel > > Subject: Re: Servlets on Linux > > > > > > > > I follow your instructions as you (and many more guys) send me. > > I got this problem: When I can't compile this simple program: > > > > import java.io.*; > > import ja

Re: Servlets on Linux

1998-07-24 Thread Robert Ritchy
ftware.com/products/jrun/introduction.html which may be helpful. Good luck! Alejandro Canales wrote: > Hi! > > I am intereste on using Servlets. Can anyone send me their comments > about this tecnlology??? > What can I should do for work with servlets on linux??

Servlets on Linux

1998-07-24 Thread Alejandro Canales
Hi! I am intereste on using Servlets. Can anyone send me their comments about this tecnlology??? What can I should do for work with servlets on linux?? I mean, what version of JDK I need or maybe another program??? I am confused because in javasoft only the Win and Solaris