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
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
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
> "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
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?
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
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
>> >> 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
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
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
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
> "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
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
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
> 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
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
> 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
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
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
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
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
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
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
>
> What are the diference between:
>
> import java.servlet.XXX
> and
> import javax.serlet.XXX
There is no class javax.serlet.xxx ??
;-))
Jaosn T
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???
>
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.
> > >
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
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
>
> > > -Original Message-
> > > From: Alejandro Canales [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, July 29, 1998 5:07 AM
> > > To: Doug Welzel
> > > Subject: Re: Servlets on Linux
> > >
> > >
> > >
> >
; 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
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??
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
32 matches
Mail list logo