Re: Cocoon on Headless Linux with JDK1.4

2002-10-09 Thread Vadim Gritsenko

Ilya A. Kriveshko wrote:

> This seems to be the magic key -- a JVM 1.4 option to enable headless AWT:
>
>  -Djava.awt.headless=true


FYI: http://xml.apache.org/cocoon/installing/index.html has:

*UNIX with X server
...
*/Sun JDK 1.4 does not require graphics display anymore, but Java has to 
be started with the argument |-Djava.awt.headless=true|, and X libraries 
still must be installed./
*...*

Vadim


> Ilya A. Kriveshko wrote:
>
>> 
>>   Headless support is now enabled by new graphics
>>   environment methods that indicate whether a display, keyboard, and
>>   mouse can be supported in a graphics environment.
>> 
>>
>> I wonder what they are talking about? Are you sure it doesn't work as 
>> is with JDK 1.4?
>> Read more at:
>> http://java.sun.com/j2se/1.4/docs/guide/awt/AWTChanges.html#headless
>>
>> Hope this helps
>> -- 
>> Ilya
>>
>>
>> Jeff Turner wrote:
>>
>>> On Wed, Oct 02, 2002 at 01:04:29PM +0200, Bert Van Kets wrote:
>>>  
>>>
 Doesn't Xvfb need the X libraries too?
   
>>>
>>>
>>>
>>> I don't think so; at least Debian doesn't list any X packages as a
>>> dependencies, and says Xvfb can be used as "an aid to porting the X
>>> server to a new platform".
>>>
>>> --Jeff
>>>
>>>  
>>>
 Bert
>>>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Cocoon on Headless Linux with JDK1.4

2002-10-03 Thread Ted T. Garrett II

Running tomcat's startup.sh with -Djava.awt.headless=true included in 
the JAVA_OPTS or CATALINA_OPTS variables works fine for me, but I don't 
have a machine currently installed that doesn't have the x-windows 
libraries loaded.

Running ldd on /usr/lib/java/bin/java indicates no dependencies on x 
libraries, so I'd be willing to bet you can run it this way just fine.

Bert Van Kets wrote:

> My ISP can provide me with a headless web server running Suse 7.3, 
> Resin 2.4 (I think) and JDK 1.4.  He does not want to install the X 
> libraries due to security reasons :-(
> Is there an alternative?  AFAIK pja does not run on JDK 1.4




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Cocoon on Headless Linux with JDK1.4

2002-10-02 Thread Bert Van Kets

Now you got me confused.
Has anybody tested Cocoon with Batik on a headless system with JDK 1.4 and 
no X whatsoever?  No libraries, no Xvfb???

I guess to be sure I'll have to test it myself.  If it really works without 
the X libs or Xvfb, then we must adjust the install docs.  They suggest 
that Xvfb is still necessary.

Bert


At 09:10 2/10/2002 -0400, you wrote:
>This seems to be the magic key -- a JVM 1.4 option to enable headless AWT:
>
>  -Djava.awt.headless=true
>
>
>
>Ilya A. Kriveshko wrote:
>
>>
>>   Headless support is now enabled by new graphics
>>   environment methods that indicate whether a display, keyboard, and
>>   mouse can be supported in a graphics environment.
>>
>>
>>I wonder what they are talking about? Are you sure it doesn't work as is 
>>with JDK 1.4?
>>Read more at:
>>http://java.sun.com/j2se/1.4/docs/guide/awt/AWTChanges.html#headless
>>
>>Hope this helps
>>--
>>Ilya
>>
>>
>>Jeff Turner wrote:
>>
>>>On Wed, Oct 02, 2002 at 01:04:29PM +0200, Bert Van Kets wrote:
>>>
>>>
Doesn't Xvfb need the X libraries too?

>>>
>>>
>>>I don't think so; at least Debian doesn't list any X packages as a
>>>dependencies, and says Xvfb can be used as "an aid to porting the X
>>>server to a new platform".
>>>
>>>--Jeff
>>>
>>>
>>>
Bert

>>>
>>>
>>>-
>>>Please check that your question  has not already been answered in the
>>>FAQ before posting. 
>>>
>>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>>
>>>
>>>
>>
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. 
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Cocoon on Headless Linux with JDK1.4

2002-10-02 Thread Yury Mikhienko

On Wed, 02 Oct 2002 13:04:29 +0200
Bert Van Kets <[EMAIL PROTECTED]> wrote:

> Doesn't Xvfb need the X libraries too?
> 
Yes
> Bert
> At 19:31 2/10/2002 +1000, you wrote:
> >On Wed, Oct 02, 2002 at 09:05:16AM +0200, Bert Van Kets wrote:
> > > My ISP can provide me with a headless web server running Suse 7.3, Resin
> > > 2.4 (I think) and JDK 1.4.  He does not want to install the X libraries 
> > due
> > > to security reasons :-(
> > > Is there an alternative?  AFAIK pja does not run on JDK 1.4
> >
> >Xvfb (X virtual framebuffer) works nicely.
> >
> >--Jeff
> >
> > > Thanks,
> > > Bert
> > >
> > > This mail is written in 100% recycled electrons.
> > >
> > >
> > > -
> > > Please check that your question  has not already been answered in the
> > > FAQ before posting. 
> > >
> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> > >
> >
> >-
> >Please check that your question  has not already been answered in the
> >FAQ before posting. 
> >
> >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>


-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Cocoon on Headless Linux with JDK1.4

2002-10-02 Thread Yury Mikhienko

On Wed, 02 Oct 2002 13:04:29 +0200
Bert Van Kets <[EMAIL PROTECTED]> wrote:

> Doesn't Xvfb need the X libraries too?
> 
> Bert
Yes

-- 
 
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Cocoon on Headless Linux with JDK1.4

2002-10-02 Thread Ilya A. Kriveshko

This seems to be the magic key -- a JVM 1.4 option to enable headless AWT:

  -Djava.awt.headless=true



Ilya A. Kriveshko wrote:

> 
>   Headless support is now enabled by new graphics
>   environment methods that indicate whether a display, keyboard, and
>   mouse can be supported in a graphics environment.
> 
>
> I wonder what they are talking about? Are you sure it doesn't work as 
> is with JDK 1.4?
> Read more at:
> http://java.sun.com/j2se/1.4/docs/guide/awt/AWTChanges.html#headless
>
> Hope this helps
> -- 
> Ilya
>
>
> Jeff Turner wrote:
>
>> On Wed, Oct 02, 2002 at 01:04:29PM +0200, Bert Van Kets wrote:
>>  
>>
>>> Doesn't Xvfb need the X libraries too?
>>>   
>>
>>
>> I don't think so; at least Debian doesn't list any X packages as a
>> dependencies, and says Xvfb can be used as "an aid to porting the X
>> server to a new platform".
>>
>> --Jeff
>>
>>  
>>
>>> Bert
>>>   
>>
>>
>> -
>> Please check that your question  has not already been answered in the
>> FAQ before posting. 
>>
>> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>>
>>  
>>
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Cocoon on Headless Linux with JDK1.4

2002-10-02 Thread Ilya A. Kriveshko


   Headless support is now enabled by new graphics
   environment methods that indicate whether a display, keyboard, and
   mouse can be supported in a graphics environment.


I wonder what they are talking about? Are you sure it doesn't work as is 
with JDK 1.4?
Read more at:
http://java.sun.com/j2se/1.4/docs/guide/awt/AWTChanges.html#headless

Hope this helps
--
Ilya


Jeff Turner wrote:

>On Wed, Oct 02, 2002 at 01:04:29PM +0200, Bert Van Kets wrote:
>  
>
>>Doesn't Xvfb need the X libraries too?
>>
>>
>
>I don't think so; at least Debian doesn't list any X packages as a
>dependencies, and says Xvfb can be used as "an aid to porting the X
>server to a new platform".
>
>--Jeff
>
>  
>
>>Bert
>>
>>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
>  
>



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Cocoon on Headless Linux with JDK1.4

2002-10-02 Thread Jeff Turner

On Wed, Oct 02, 2002 at 01:04:29PM +0200, Bert Van Kets wrote:
> Doesn't Xvfb need the X libraries too?

I don't think so; at least Debian doesn't list any X packages as a
dependencies, and says Xvfb can be used as "an aid to porting the X
server to a new platform".

--Jeff

> Bert

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Cocoon on Headless Linux with JDK1.4

2002-10-02 Thread Bert Van Kets

Doesn't Xvfb need the X libraries too?

Bert
At 19:31 2/10/2002 +1000, you wrote:
>On Wed, Oct 02, 2002 at 09:05:16AM +0200, Bert Van Kets wrote:
> > My ISP can provide me with a headless web server running Suse 7.3, Resin
> > 2.4 (I think) and JDK 1.4.  He does not want to install the X libraries 
> due
> > to security reasons :-(
> > Is there an alternative?  AFAIK pja does not run on JDK 1.4
>
>Xvfb (X virtual framebuffer) works nicely.
>
>--Jeff
>
> > Thanks,
> > Bert
> >
> > This mail is written in 100% recycled electrons.
> >
> >
> > -
> > Please check that your question  has not already been answered in the
> > FAQ before posting. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Cocoon on Headless Linux with JDK1.4

2002-10-02 Thread Bert Van Kets

I'll take it up with my ISP, but I doubt I'll be able to persuade him to 
install Xvfb.
I guess changing to another ISP would be the best option.
Bert

At 19:31 2/10/2002 +1000, you wrote:
>On Wed, Oct 02, 2002 at 09:05:16AM +0200, Bert Van Kets wrote:
> > My ISP can provide me with a headless web server running Suse 7.3, Resin
> > 2.4 (I think) and JDK 1.4.  He does not want to install the X libraries 
> due
> > to security reasons :-(
> > Is there an alternative?  AFAIK pja does not run on JDK 1.4
>
>Xvfb (X virtual framebuffer) works nicely.
>
>--Jeff
>
> > Thanks,
> > Bert
> >
> > This mail is written in 100% recycled electrons.
> >
> >
> > -
> > Please check that your question  has not already been answered in the
> > FAQ before posting. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Cocoon on Headless Linux with JDK1.4

2002-10-02 Thread Jeff Turner

On Wed, Oct 02, 2002 at 09:05:16AM +0200, Bert Van Kets wrote:
> My ISP can provide me with a headless web server running Suse 7.3, Resin 
> 2.4 (I think) and JDK 1.4.  He does not want to install the X libraries due 
> to security reasons :-(
> Is there an alternative?  AFAIK pja does not run on JDK 1.4

Xvfb (X virtual framebuffer) works nicely.

--Jeff

> Thanks,
> Bert
> 
> This mail is written in 100% recycled electrons.
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Cocoon on Headless Linux with JDK1.4

2002-10-01 Thread Bert Van Kets

My ISP can provide me with a headless web server running Suse 7.3, Resin 
2.4 (I think) and JDK 1.4.  He does not want to install the X libraries due 
to security reasons :-(
Is there an alternative?  AFAIK pja does not run on JDK 1.4
Thanks,
Bert

This mail is written in 100% recycled electrons.


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>