Greg Wilkins | 22 Mar 2002 22:24
Gravatar

Re: setting server ports in Jetty 4.0.0


Edward,

If you change

         <Set name="Port"><SystemProperty name="jetty.port" default="8080"/></Set>

to just

         <Set name="Port">8080</Set>

then whatever the jett.bat file sets will be ignored.

cheers

Edward Ivanovic wrote:
> Thanks Greg, I'll probably take you up on that beer offer at JavaOne.
> 
> Just to make sure I understand, are you saying that I can't get Jetty to use
> the ports specified in the xml files unless I modify the jetty.bat file?
> 
> 
> -----Original Message-----
> From: Greg Wilkins [mailto:gregw <at> mortbay.com]
> Sent: Friday, March 22, 2002 4:38 AM
> To: jetty-support <at> yahoogroups.com; eivanovic <at> agent-ware.com
> Subject: Re: [jetty-support] setting server ports in Jetty 4.0.0
> 
> 
> 
(Continue reading)

Greg Wilkins | 22 Mar 2002 22:32
Gravatar

Re: Re: log file name


It looks like a problem trying to work out a relative path - which
it assumes from the lack of leading /.

The difference in case kind of indicates it was wrongly adding the
current working directory to the path you set.

What directory were you in when you ran it?

regards

willirl wrote:
> I added a leading "/" to the path name below (/USER1/...etc.) and it 
> works fine now.  Seems like something is wrong somewhere.  Doesn't 
> seem reasonable that you have to do this.
> 
> Richard
> 
> 
> --- In jetty-support <at> y..., "willirl" <willirl <at> y...> wrote:
> 
>>I'm running under OpenVMS and have the following value set for 
>>jetty_log that sets the jetty.home property when I run Java.
>>
>>   USER1/WWILLIAM/TEMP/JETTY-4_0_RC2/LOGS
>>
>>When I start Jetty with etc/admin and etc/demo, I get the following 
>>exception:
>>
>>11:15:40.143 WARN!! org.mortbay.util.MultiException
(Continue reading)

Greg Wilkins | 22 Mar 2002 22:40
Gravatar

Re: Jetty for OpenVMS

willirl wrote:
> I have a need for a lightweight jsp/webapp server that can run under 
> OpenVMS so I've been looking at Jetty to do this.  I assume that I 
> should make suggestions here (since these really aren't bugs per se).
> If this isn't appropriate, let me know.

This is an appropriate place - or Jetty-discuss if it less supporty
and more buggy or interesting :-)

> I've never tried to use Jetty on any other platform so I don't know a 
> lot about configuring.  So be warned that I essentially know nothing.

Are you fat, wearing a grey coat and speak with a german accent also?

> I have just about finished an OpenVMS command procedure (same as 
> shell file) based on Jetty.bat.
> 
> In the distribution, there is no "logs" directory.  This causes an 
> error during startup. Shouldn't this be either furnished with the 
> distribution or created automatically when needed.

Well there is a logs directory in the tgz file - but some unpackers
refuse to create it?   I guess I could put a dummy file into it, but
I hate that sort of thing!

> In all of the etc/...xml config files, a request log file is specfied 
> with the name "yyyy_mm_dd.request.log".  Can this be changed in the 
> distribution to be "yyyy_mm_dd_request.log"?  OpenVMS does not allow 
> more than one period in a file name and it changes it (behind your 
> back) to the underscore.
(Continue reading)

Greg Wilkins | 22 Mar 2002 22:43
Gravatar

Re: access restriction DOC???


Sorry, but we don't document the standard stuff very well (or if at all).
We kind of expect that it is documented elsewhere - but it does not appear
to be.

If you read the comments in web.dtd that helps.
Also checkout the servlet spec itself, but that is not very good.

You could also buy a good book on servlets - but I can't recommend any.

cheers

ssajous wrote:
> Where do I find the documentation on the XML syntaxt on how to 
> restrict access to directories of an app in web.xml
> 
> 
> 
> For the latest information about Jetty, please see http://jetty.mortbay.org
> 
>  
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 

--

-- 
Greg Wilkins<gregw <at> mortbay.com>          GB  Phone: +44-(0)7092063462
Mort Bay Consulting Australia and UK.    Mbl Phone: +61-(0)4 17786631
http://www.mortbay.com                   AU  Phone: +61-(0)2 98107029

(Continue reading)

Edward Ivanovic | 22 Mar 2002 22:49

RE: setting server ports in Jetty 4.0.0

gotcha - makes good sense.  thanks.

-----Original Message-----
From: Greg Wilkins [mailto:gregw <at> mortbay.com]
Sent: Friday, March 22, 2002 4:24 PM
To: jetty-support <at> yahoogroups.com; eivanovic <at> agent-ware.com
Subject: Re: [jetty-support] setting server ports in Jetty 4.0.0

Edward,

If you change

         <Set name="Port"><SystemProperty name="jetty.port"
default="8080"/></Set>

to just

         <Set name="Port">8080</Set>

then whatever the jett.bat file sets will be ignored.

cheers

Edward Ivanovic wrote:
> Thanks Greg, I'll probably take you up on that beer offer at JavaOne.
>
> Just to make sure I understand, are you saying that I can't get Jetty to
use
> the ports specified in the xml files unless I modify the jetty.bat file?
>
(Continue reading)

Edward Ivanovic | 23 Mar 2002 10:30

RE: setting server ports in Jetty 4.0.0

btw, there seems to be a typo in the jetty.sh file in the latest 4.0.0
release.  The line reads
*) PATH_SEPRATATOR=":";;

The "RA" are transposed, causing it not to get the correct classpath in unix
and failing with a NoClassDefFoundError.

-----Original Message-----
From: Greg Wilkins [mailto:gregw <at> mortbay.com]
Sent: Friday, March 22, 2002 4:24 PM
To: jetty-support <at> yahoogroups.com; eivanovic <at> agent-ware.com
Subject: Re: [jetty-support] setting server ports in Jetty 4.0.0

Edward,

If you change

         <Set name="Port"><SystemProperty name="jetty.port"
default="8080"/></Set>

to just

         <Set name="Port">8080</Set>

then whatever the jett.bat file sets will be ignored.

cheers

Edward Ivanovic wrote:
> Thanks Greg, I'll probably take you up on that beer offer at JavaOne.
(Continue reading)

Greg Wilkins | 23 Mar 2002 12:38
Gravatar

Re: setting server ports in Jetty 4.0.0


DOH! DOH! DOH!

That's what I get for slipping something in at the last minute.  But I tested
it - I diiiiiiiiiiiiiiid I DIIIIIIIIIIIIIIIIIIIIIIIIIIID!!!!!!!!!!

Oh well - I think I'll just twiddle the 400 release for this one - Bad developer - BAD!

thanks

Edward Ivanovic wrote:
> btw, there seems to be a typo in the jetty.sh file in the latest 4.0.0
> release.  The line reads
> *) PATH_SEPRATATOR=":";;
> 
> The "RA" are transposed, causing it not to get the correct classpath in unix
> and failing with a NoClassDefFoundError.
> 
> 
> -----Original Message-----
> From: Greg Wilkins [mailto:gregw <at> mortbay.com]
> Sent: Friday, March 22, 2002 4:24 PM
> To: jetty-support <at> yahoogroups.com; eivanovic <at> agent-ware.com
> Subject: Re: [jetty-support] setting server ports in Jetty 4.0.0
> 
> 
> 
> Edward,
> 
> If you change
(Continue reading)

ssajous | 24 Mar 2002 01:28
Picon
Favicon

Re: access restriction DOC???

Thanks for the help I found it through some of the comments that 
people have in here.

--- In jetty-support <at> y..., Greg Wilkins <gregw <at> m...> wrote:
> 
> Sorry, but we don't document the standard stuff very well (or if at 
all).
> We kind of expect that it is documented elsewhere - but it does not 
appear
> to be.
> 
> If you read the comments in web.dtd that helps.
> Also checkout the servlet spec itself, but that is not very good.
> 
> You could also buy a good book on servlets - but I can't recommend 
any.
> 
> cheers
> 
> 
> 
> ssajous wrote:
> > Where do I find the documentation on the XML syntaxt on how to 
> > restrict access to directories of an app in web.xml
> > 
> > 
> > 
> > For the latest information about Jetty, please see 
http://jetty.mortbay.org
> > 
(Continue reading)

obgen | 25 Mar 2002 07:34

Too much Servlet header info received on HandHeld client

I have a HandHeld client which is using Jetty as the ServletServer. 
When performing a doPost() I get a lot unneccesary header info sent 
to my Handheld's InputStream.

I notice in the ResourceHandler.java in the SendData() method, there 
is a boolean in the signature writeHeaders.

I'm wondering if by setting this to false, this superfluous header 
info will not be sent. If so where do I set it so that it isntr sent.

Paul.

Richard L Williams | 25 Mar 2002 13:35

Re: Re: log file name


I was in the Jetty_home directory.

Greg Wilkins <gregw <at> mortbay.com> on 03/22/2002 04:32:15 PM

Please respond to jetty-support <at> yahoogroups.com

To:   jetty-support <at> yahoogroups.com, willirl <at> yahoo.com
cc:
bcc:
Subject:  Re: [jetty-support] Re: log file name

It looks like a problem trying to work out a relative path - which
it assumes from the lack of leading /.

The difference in case kind of indicates it was wrongly adding the
current working directory to the path you set.

What directory were you in when you ran it?

regards

willirl wrote:
> I added a leading "/" to the path name below (/USER1/...etc.) and it
> works fine now.  Seems like something is wrong somewhere.  Doesn't
> seem reasonable that you have to do this.
>
> Richard
>
>
(Continue reading)


Gmane