Search the web
Sign In
New User? Sign Up
jetty-discuss · Jetty Discussion
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 8472 - 8501 of 8501   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#8501 From: Greg Wilkins <jetty-discuss@...>
Date: Fri Oct 27, 2006 1:32 pm
Subject: Re: Is 6.0.2 coming?
jetty-discuss@...
Send Email Send Email
 
Stefan,

The rough plan is to get 6.1 the stable release as soon as possible.
It was only branched as 6.1 contained some buffering changes for
the SslEngine that felt a little beta just as 6.0 was marked stable.

But it looks like they are good changes and I have had no reports
of issues on 6.1 and I use it for my own sites.

So a 6.0.2 is probably called for shortly... just need to sort out a few
more of the session issue back ports.  Hopefully a 6.1.0 stable
will be out soon as well.

Soon in this context means the next week or two.

cheers



Stefan Arentz wrote:
> Just a quick question. On the roadmap in JIRA i see that all issues
> for 6.0.2 have been fixed. Does that mean we'll be able to download an
> offcial release soon?
>
> I'm asking because the virtual hosting / jetty-web.xml fix was quite
> important for me and I would rather tell my customer to download 6.0.2
> than to get some svn version.
>
>  S.
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8500 From: "Stefan Arentz" <jetty-discuss@...>
Date: Fri Oct 27, 2006 10:11 am
Subject: Is 6.0.2 coming?
jetty-discuss@...
Send Email Send Email
 
Just a quick question. On the roadmap in JIRA i see that all issues
for 6.0.2 have been fixed. Does that mean we'll be able to download an
offcial release soon?

I'm asking because the virtual hosting / jetty-web.xml fix was quite
important for me and I would rather tell my customer to download 6.0.2
than to get some svn version.

  S.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8499 From: Stojce Dimski <jetty-discuss@...>
Date: Fri Oct 27, 2006 9:06 am
Subject: Session management ?
jetty-discuss@...
Send Email Send Email
 
I have a need to maintain a 'user-session' in my proxy server which
parallels a real session of proxied applications.

Is it possible to integrate with jetty session management so that jetty
creates and maintains session in my proxy but:

1) using the sessionId decoded and prepared by me (which I get from
proxied requests)
2) tell jetty to not decorate responses and use my sessionId

And in general if is possible to have some intro on concepts of jetty
inner workings regarding the session management (SessionManager,
SessionHandler...)...

Thanks


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8498 From: Stojce Dimski <jetty-discuss@...>
Date: Fri Oct 27, 2006 7:09 am
Subject: Re: ProxyHandler in jetty6
jetty-discuss@...
Send Email Send Email
 
Will this forthcoming ProxyHandler be able to expose contents of the
request and response in non destructive manner to successive handlers ?
To be more specific:
1) I can read parameters of request
2) I can read body of request/response as InputStream-like

Please consider it, as it will greatly improve it's usability...

Greg Wilkins wrote:
> We are working on a async HTTP client impl for Jetty and
> once that is complete we will have an async/continuation based
> ProxyHandler.   This is a high priority and should be available
> in a month or two.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8497 From: David Yu <jetty-discuss@...>
Date: Fri Oct 27, 2006 3:38 am
Subject: Re: Jetty Context Authentication Without Config Files
jetty-discuss@...
Send Email Send Email
 
Hi Elia,

Authentication on Embedded Jetty:
This example is setting up Basic Authentication on the context "/mywebapp"

*On your webapp's WEB-INF/web.xml:*

<web-app>
<security-constraint>
    <web-resource-collection>
      <web-resource-name>A Protected Page</web-resource-name>
      <url-pattern>/*</url-pattern>   <!-- u can include specific
files/urls individually.. eg. <url-pattern>/mywelcomepage.html</url-pattern>
    </web-resource-collection>

    <auth-constraint>
      <role-name>admin</role-name>
      <role-name>user</role-name>
      <role-name>moderator</role-name>
    </auth-constraint>
   </security-constraint>

   <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>MyRealm</realm-name>
   </login-config>
</web-app>

*Next on your webapp,*

WebAppContext webappcontext = new WebAppContext();
webappcontext.setContextPath("/mywebapp");
webappcontext.setWar("./path/to/my/war/orExplodedwar");

HandlerCollection handlers= new HandlerCollection();
handlers.setHandlers(new Handler[]{webappcontext, new DefaultHandler()});

server.setHandler(handlers);
HashUserRealm myrealm = new
HashUserRealm("MyRealm","C:/jetty-6.0.1/etc/realm.properties");  //
org.mortbay.jetty.security.HashUserRealm
server.setUserRealms(new UserRealm[]{myrealm});  //
org.mortbay.jetty.security.UserRealm

server.start();
server.join();

*On JETTY_HOME/etc/realm.properties:*

You will see the format:
<username>:<password>,role   ... notice the password has another ":" for
users "jetty", "admin" and "other". Its the hash of the actual password.

Since the roles we placed on <auth-constraint> are admin, user,
moderator,...
The user/pass with access are:
jetty/jetty
admin/admin

you can then append a new user/pass and role on realm.properties... for
example:
newUser: newPass,moderator

So when u test on http://localhost:4700/mywebapp
You will be prompted to supply the user/pass with a basic
authentication.  Simply admin/admin, jetty/jetty or newUser/newPass will
get you authenticated.

Hope this helps,
David


Elia Morling wrote:
> I'm using Jetty and want to apply authentication to a context I've
> defined in Java.
> How do I add authentication without using congfig files? Documentation
> is very poor on this topic.
> Thx
> Elia
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ------------------------------------------------------------------------
>
> _______________________________________________
> jetty-discuss mailing list
> jetty-discuss@...
> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>


   ----------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
   ----------

_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss


[Non-text portions of this message have been removed]

#8496 From: "Stephen McConnell" <jetty-discuss@...>
Date: Thu Oct 26, 2006 7:06 pm
Subject: Re: Jetty configuration woes
jetty-discuss@...
Send Email Send Email
 
> -----Original Message-----
> From: jetty-discuss-bounces@...
> [mailto:jetty-discuss-bounces@...] On
> Behalf Of Richard Heycock
> Sent: Wednesday, 25 October 2006 12:07 PM
> To: Discussion for Jetty development.
> Subject: [jetty-discuss] Jetty configuration woes
>
> Hi
>
> I've just spent the best part of the last two days trying to
> configure jetty to run our application. I have trawled
> through the forums, searched the web, read the javadoc of the
> various classes used, studied the jetty documentation and
> still it took about 12 hours to get a minimal working
> installation and even then I removed any references to
> javamail as I simply could not get it to work.

It took me about 2 hours to get Jetty up and running and that included
construction of a Ant build solution for the bits I needed (and I'm not a
rocket scientist).  When the Jetty crowd post the notification of a new
release I typically update my own build scrips and run through an update
process and that takes me about 20 minutes to get to a working and validated
solution.

> My question to the list is why is this so? Why does it take
> 12 hours or so to get a basic working installation? Is it
> elitism? Is is the fact that there is paid support? I am
> genuinely interested in knowing why.

I'm not getting or using paid support - I just like the codebase.

> I would love to use
> jetty, I like the fact that it's small & lean, I like that
> fact that it's supping local java engineers but I would like
> to test it, benchmark it etc before making any long term commitment.

Nothing stopping that.

> If it takes so long to get it working then most people will
> simply give up and use tomcat or one of the other containers.

Personally I find Jetty 6 simpler to build and setup than Tomcat.

> Just to give a comparison I can download tomcat and within an
> hour or so I can set a data source that will work with, for
> example, mysql. If I don't know to do it I can easily find
> doco that will tell me how to it. Now I know that tomcat has
> a bigger user base but I literally could not find an example
> showing me how to set up version 6 of jetty using mysql. I
> still have not been able to.

Recommendation:  post a specific question to the support list detailing the
issue you have.  If you don't get a response then (maybe) repost after a
week.  If no response then look at an alternative product or resolve the
question by digging into the codebase and posting the solution to the
broader community.

> I am now in the situation where I've got the application
> working but the performance is little under an order of
> magnitude (under tomcat I can get about 140 requests a second
> with my current configuration of jetty I get about 16
> requests a second). I think the problem is to do with
> database pooling (I only get a maximum of 8 connections to
> the database) but I have absolutely no way of working it out.
> I've set the configuration in accordance with the javadoc for
> StandardXADataSource but nothing has changed.

Post a testcase demonstrating the problem together with benchmark figures
from Tomcat.

> While this might sound like a rant It's intended as
> constructive criticism from someone who is trying to start
> using jetty but has had an incredibly frustrating time doing so.

It does sound like a rant.

My own experience has generally been very positive - but I don't use Jetty
standalone - I only use  Jetty as an embedded solution in my own application
environment - as such I'm not exposed to the overall Jetty configuration
area (as I configure Jetty using an independent context-IOC model).  If you
detail your issue maybe someone dealing with similar concerns can contribute
there own experience or suggestions.

Cheers, Steve.

--------------------------
Stephen McConnell
mailto:mcconnell@...
http://www.dpml.net


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8495 From: "Claudio Miranda" <jetty-discuss@...>
Date: Thu Oct 26, 2006 6:17 pm
Subject: Re: Release 6.1.0pre0
jetty-discuss@...
Send Email Send Email
 
6.1.0pre is being used for my personal website (not much traffic),
running blojsom (blog application) and JSPWiki. I say it is stable.
     6.1.0pre fixes a bug (#118) that affected jspwiki [1]

1 -
http://www.nabble.com/JSPWiki-2.4-stable-has-been-released%21-tf2247778.html#a69\
92482

On 10/26/06, Greg Wilkins <gregw@...> wrote:
>
> Forth attempt to post this!!!!!!
>
> A Prerelease of Jetty-6.1 is now available via http://jetty.mortbay.org


--
Claudio Miranda

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8494 From: "Claudio Miranda" <jetty-discuss@...>
Date: Thu Oct 26, 2006 6:13 pm
Subject: Re: Jetty configuration woes
jetty-discuss@...
Send Email Send Email
 
I have been using Jetty, since 4.x, for personal and off-shore
projects. And what I have to say about it ? very stable and easy to
configure.

     Even with the new I/O infrastructure of jetty 6.x, it was not
difficult to configure my applications and setup jetty to run.

     Jetty is being used on solaris (x86, sparc) and linux with varying
hardware configurations.

     Related to the jetty community support (as I don't pay for), I
must say it is very good. Greg and Jan were helpful when I asked
questions (sometimes, very quickly).

have peace

Claudio Miranda

On 10/26/06, Greg Wilkins <gregw@...> wrote:
> Elia,
>
> I am quiet upset by your response.
>
> I like to think of the jetty lists as friendly places and we certainly
> don't mean to be elitist.
>
> I'm sorry if our documentation and response times sometimes is below
> what you would like.   The last few months we have been very busy
> with new releases, new developments, new integrations.
> Plus the two main developers (myself included) have been on the
> conference circuit - I've not been home for over a month and
> wont be for a few more weeks.
>
> Somewhere in there we have to earn a living as well, so we do
> prioritize our paid clients - but what else would you have us do?
> I'm sure you are being paid to ask your questions!
>
> It is certainly not in an effort to push people towards paid support.
> In fact we are paying junior developers to help on the support list -
> but they will take time to come up to speed.  The main developers do
> spend time on the lists - just not all our time.
>
> We recognize that one of the weaknesses of Jetty is the potential
> complications of putting together to powerful building blocks - but we
> are working to fix that and have recently added the deployer and there
> has been a lot of work done on the wiki.
>
> So sorry if people have not jumped to and given you answers.
> But remember that in open source, we are giving you a gift
> of our time and skills and sometimes we have other priorities.
>
> At the very least - rather than just complaining that
> Jetty is difficult to configure - tell us what were the
> problems that you had and what were the fixes that you found.
> Others would benefit and we would understand better where
> the documentation needs to be improved.   As it is - all I know
> is that there are two users who had a hard time... I don't
> know your versions or what were the issues.... so as I
> sit here in the lobby of hotel #6 spending a small break
> in a hectic schedule on the jetty lists.... what do you
> want me to fix or explain to you??? Sorry but I'm not
> telepathic!
>
> regards
>
>
>
>
>
>
> Elia Morling wrote:
> >> My question to the list is why is this so? Why does it take 12 hours or
> >> so to get a basic working installation? Is it elitism? Is is the fact
> >> that there is paid support? I
> >
> > Good question actually. If you do ask a question on this list you are lucky
> > to get a reply if any at all. If you search the mailing list you will find
> > tons of unanswered questions and always terse replies. To be honest the
> > support for this product is shit and people not very helpful. I think those
> > that "know" how to use this product, think it's really easy. But it isn't. I
> > have solved all my problems after hours of trial-and-error, as the
> > documentation is lacking.
> >
> > Sorry guys, this is the truth. It's a good product, but you're not very
> > helpful and your attitude is techy elitistic.
> >
> > Elia
> >
> >
> > ----- Original Message -----
> > From: "Richard Heycock" <rgh@...>
> > To: "Discussion for Jetty development."
> > <jetty-discuss@...>
> > Sent: Wednesday, October 25, 2006 4:36 AM
> > Subject: [jetty-discuss] Jetty configuration woes
> >
> >
> >> Hi
> >>
> >> I've just spent the best part of the last two days trying to configure
> >> jetty to run our application. I have trawled through the forums,
> >> searched the web, read the javadoc of the various classes used, studied
> >> the jetty documentation and still it took about 12 hours to get a
> >> minimal working installation and even then I removed any references to
> >> javamail as I simply could not get it to work.
> >>
> >> My question to the list is why is this so? Why does it take 12 hours or
> >> so to get a basic working installation? Is it elitism? Is is the fact
> >> that there is paid support? I am genuinely interested in knowing why. I
> >> would love to use jetty, I like the fact that it's small & lean, I like
> >> that fact that it's supping local java engineers but I would like to
> >> test it, benchmark it etc before making any long term commitment.
> >>
> >> If it takes so long to get it working then most people will simply give
> >> up and use tomcat or one of the other containers. Just to give a
> >> comparison I can download tomcat and within an hour or so I can set a
> >> data source that will work with, for example, mysql. If I don't know to
> >> do it I can easily find doco that will tell me how to it. Now I know
> >> that tomcat has a bigger user base but I literally could not find an
> >> example showing me how to set up version 6 of jetty using mysql. I still
> >> have not been able to.
> >>
> >> I am now in the situation where I've got the application working but the
> >> performance is little under an order of magnitude (under tomcat I can
> >> get about 140 requests a second with my current configuration of jetty I
> >> get about 16 requests a second). I think the problem is to do with
> >> database pooling (I only get a maximum of 8 connections to the database)
> >> but I have absolutely no way of working it out. I've set the
> >> configuration in accordance with the javadoc for StandardXADataSource
> >> but nothing has changed.
> >>
> >> While this might sound like a rant It's intended as constructive
> >> criticism from someone who is trying to start using jetty but has had an
> >> incredibly frustrating time doing so.
> >>
> >> rgh
> >>
> >> -------------------------------------------------------------------------
> >> Using Tomcat but need to do more? Need to support web services, security?
> >> Get stuff done quickly with pre-integrated technology to make your job
> >> easier
> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> _______________________________________________
> >> jetty-discuss mailing list
> >> jetty-discuss@...
> >> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
> >>
> >>
> >
> >
> > -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job
easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> --
> Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
> http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> jetty-discuss mailing list
> jetty-discuss@...
> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>


--
Claudio Miranda

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8493 From: Jerome Louvel <jetty-discuss@...>
Date: Thu Oct 26, 2006 5:18 pm
Subject: Re: Unable to restart a connector
jetty-discuss@...
Send Email Send Email
 
Hi Greg,

I'm using Jetty 6.0.1, under WinXP SP2, Sun JVM 1.5.0_07. The test that
allows me to reproduce the issue even fails without receiving any
request, with a waiting time between the start, the stop, the restart (5
secs).

If you can't reproduce it easily, let me know and I'll try to provide a
test case only based on Jetty code.

Thanks,
Jerome


Greg Wilkins a écrit :
> Jerome,
>
> I have tried to reproduce this, but without success.
> On my system I can use jmx to stop/start connectors without a
> problem.
>
> Which is not to say this is not a real issue.  What version of
> jetty 6 are your using? what JVM, what OS and do you have
> requests/connections in progress.
>
> I'm travelling at the moment, but will try to find time to
> experiment some more in the next few days.
>
> cheers
>
>
> Jerome Louvel wrote:
>> Hello,
>>
>> We use an embedded Jetty 6 server/connector and wanted to know how we
>> should do to restart it after it has been stopped, without shutting down
>> the JVM.
>>
>> We have tried the normal stop() and start() method calls on the holding
>> server but they cause a BindException (Address already in use).
>>
>> I've noticed that there is a "setReuseAddress" method on
>> java.net.ServerSocket which doesn't appear to be used by Jetty and
>> wonder if that would solve our issue.
>>
>> Note that we are able to gracefully restart our Jetty 5 connector.
>>
>> Thanks,
>> Jerome
>>
>> PS: stack trace below
>>
>
>


--
Jerome Louvel
http://www.noelios.com


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8492 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:44 pm
Subject: Re: Jetty Context Authentication Without ConfigFiles
jetty-discuss@...
Send Email Send Email
 
Elia,

something like:

   Context context = ......;
   SecurityHandler securityHandler = new SecurityHandler();
   context.addHandler(securityHandler);

will work.  The method addHandler is a little badly named, as
it is really insert handler.

cheers




Elia Morling wrote:
> Greg,
>
> I'm probably an idiot, but....
>
> I have a Context and I can see there is a session now. However, I do not
> understand how to add a SecurityHandler to the context.
>
> There is a Context.getSecurityHandler(), but why is there no set method?
>
> The only way I can find to set a SecurityHandler is through the Context
> constructor...
>
> Elia
>
> ----- Original Message -----
> From: "Greg Wilkins" <gregw@...>
> To: "Discussion for Jetty development."
> <jetty-discuss@...>
> Sent: Tuesday, October 17, 2006 6:46 AM
> Subject: Re: [jetty-discuss] Jetty Context Authentication Without
> ConfigFiles
>
>
>> Elia,
>>
>> The approach is:
>>  add a SecurityHandler to the context
>>  add SecurityConstraints to the SecurityHandler
>>  add an Authenticator
>>
>> cheers
>>
>>
>>
>>
>> Elia Morling wrote:
>>> I'm using Jetty and want to apply authentication to a context I've
>>> defined in Java.
>>> How do I add authentication without using congfig files? Documentation
>>> is very poor on this topic.
>>> Thx
>>> Elia
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> -------------------------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> jetty-discuss mailing list
>>> jetty-discuss@...
>>> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>>
>> --
>> Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
>> http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> jetty-discuss mailing list
>> jetty-discuss@...
>> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>>
>>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8491 From: bpratt <jetty-discuss@...>
Date: Thu Oct 26, 2006 5:02 pm
Subject: If Incomplete URL Then Force Redirect
jetty-discuss@...
Send Email Send Email
 
Our users must type in the complete path below to get to our welcome page:
http://localhost:7007/DCConsole/gwt/www/mod/Login.html

What do I need to add to my code to force a redirect to the welcome page
(Login.html), if a user types in one of the following:

http://localhost:7007/DCConsole/
http://localhost:7007/DCConsole/gwt/
http://localhost:7007/
http://localhost:7007/DCConsole/gwt/www/

Here is my code:

     SocketListener listener = new SocketListener();
     listener.setPort(7007);
     HttpServer fHttpServer.addListener(listener);

     // create context
     HttpContext context = new HttpContext();
     context.setContextPath("/DCConsole/*");
     fHttpServer.addContext(context);

     // create a servlet container
     ServletHandler servletHandlers = new ServletHandler();
     servletHandlers.setAutoInitializeServlets(true);
     context.addHandler(servletHandlers);

     // map ajax servlet handler onto container
     servletHandlers.addServlet("AJAX", "/AJAX/*",
"com.mycompany.controller.AJAXServlet");

     // serve static content from the context
     String home = System.getProperty("jetty.home", ".");
     context.setResourceBase(home + "/consoles/dcconsole/webapps/");
     context.addWelcomeFile("Login.html");

     ...
     fHttpServer.start();
     ...

I am using Jetty 5.  Thanks in advance!!


--
View this message in context:
http://www.nabble.com/If-Incomplete-URL-Then-Force-Redirect-tf2515257.html#a7015\
331
Sent from the Jetty Discuss mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8490 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:47 pm
Subject: Re: Unable to restart a connector
jetty-discuss@...
Send Email Send Email
 
Jerome,

I have tried to reproduce this, but without success.
On my system I can use jmx to stop/start connectors without a
problem.

Which is not to say this is not a real issue.  What version of
jetty 6 are your using? what JVM, what OS and do you have
requests/connections in progress.

I'm travelling at the moment, but will try to find time to
experiment some more in the next few days.

cheers


Jerome Louvel wrote:
> Hello,
>
> We use an embedded Jetty 6 server/connector and wanted to know how we
> should do to restart it after it has been stopped, without shutting down
> the JVM.
>
> We have tried the normal stop() and start() method calls on the holding
> server but they cause a BindException (Address already in use).
>
> I've noticed that there is a "setReuseAddress" method on
> java.net.ServerSocket which doesn't appear to be used by Jetty and
> wonder if that would solve our issue.
>
> Note that we are able to gracefully restart our Jetty 5 connector.
>
> Thanks,
> Jerome
>
> PS: stack trace below
>


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8489 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 4:17 pm
Subject: Release 6.1.0pre0
jetty-discuss@...
Send Email Send Email
 
Forth attempt to post this!!!!!!

A Prerelease of Jetty-6.1 is now available via http://jetty.mortbay.org

This release contains a long list of features and fixes that are not
yet considered stable enough for a stable release.

     + add <Property> replacement in jetty xml config files
     + make .tag files work in packed wars
     + add hot deployment capability
     + ensure setContextPath() works when invoked from jetty-web.xml
     + ensure sessions nulled out on request recycle; ensure session null after
invalidate
     + ensure "" returned for ServletContext.getContextPath() for root context
     + Fixed tld parsing for maven plugin
     + Improved *-mbean.properties files and specialized some MBean
     + Added conversion Object -> ObjectName for the result of method calls made
on MBeans
     + JETTY-129 ServletContextListeners called after servlets are initialized
     + change examples/test-jndi-webapp so it can be regularly built
     + added isStopped() in LifeCycle and AbstractLifeCycle
     + fixed isUserInRole checking for JAASUserRealm
     + fixed ClassCastException in JAASUserRealm.setRoleClassNames(String[])
     + add a maven-jetty-jspc-plugin to do jspc precompilation
     + added examples/test-jaas-webapp
     + (re)make JAAS classes available to webapp classloader
     + CGI example in test webapp
     + Plugin shutdown context before stopping it.
     + Added concept of bufferred endpoint
     + Factored ErrorPageErrorHandler out of WebAppContext
     + Refactored ErrorHandler to avoid statics
     + Transforming classloader does not transform resources.
     + SocketConnector closes all connections in doStop
     + Improved charset handling in URLs
     + minor optimization of bytes to UTF8 strings
     + JETTY-112 ContextHandler checks if started
     + JETTY-113 support optional query char encoding on requests
     + JETTY-114 removed utf8 characters from code
     + JETTY-115 Fixed addHeader
     + added cometd chat demo
     + JETTY-119 cleanedup Security optimizatoin
     + Refactored session lifecycle and additional tests
     + JETTY-121 init not called on externally constructed servlets
     + JETTY-124 always initialize filter caches
     + JETTY-126 handle content > Integer.MAX_VALUE
     + JETTY-123 handle windows UNC paths
     + JETYY-120 SelectChannelConnector closes all connections on stop
     + Added ID constructor to AbstractSessionManager.Session
     + Allow session cookie to be refreshed
     + Added DataFilter configuration to cometd
     + Added extras/setuid to support start as root
     + Apply queryEncoding to getQueryString
     + JETTY-118 ignore extra content after close.
     + HttpGenerator can generate requests
     + Ported HtAccessHandler
     + Start of a client API
     + Session IDs can change worker ID
     + Default soLinger is -1 (disabled)
     + AJP Connector




--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8488 From: "Nicholas McClellan" <jetty-discuss@...>
Date: Thu Oct 26, 2006 4:18 pm
Subject: Re: Jetty configuration woes
jetty-discuss@...
Send Email Send Email
 
Greg,

I have been silently reading this list for a few months now and I have
nothing but admiration for the amount of time that you and others obviously
dedicate to answering questions that people ask. This is true for simple,
complex, first time and repeat questions.

In my experience the answers given are always timely and polite.

Keep up the good work and thank you all for a fantastic product.

Cheers

Nick

On 26/10/06, Greg Wilkins <gregw@...> wrote:
>
> Elia,
>
> I am quiet upset by your response.
>
> I like to think of the jetty lists as friendly places and we certainly
> don't mean to be elitist.
>
> I'm sorry if our documentation and response times sometimes is below
> what you would like.   The last few months we have been very busy
> with new releases, new developments, new integrations.
> Plus the two main developers (myself included) have been on the
> conference circuit - I've not been home for over a month and
> wont be for a few more weeks.
>
> Somewhere in there we have to earn a living as well, so we do
> prioritize our paid clients - but what else would you have us do?
> I'm sure you are being paid to ask your questions!
>
> It is certainly not in an effort to push people towards paid support.
> In fact we are paying junior developers to help on the support list -
> but they will take time to come up to speed.  The main developers do
> spend time on the lists - just not all our time.
>
> We recognize that one of the weaknesses of Jetty is the potential
> complications of putting together to powerful building blocks - but we
> are working to fix that and have recently added the deployer and there
> has been a lot of work done on the wiki.
>
> So sorry if people have not jumped to and given you answers.
> But remember that in open source, we are giving you a gift
> of our time and skills and sometimes we have other priorities.
>
> At the very least - rather than just complaining that
> Jetty is difficult to configure - tell us what were the
> problems that you had and what were the fixes that you found.
> Others would benefit and we would understand better where
> the documentation needs to be improved.   As it is - all I know
> is that there are two users who had a hard time... I don't
> know your versions or what were the issues.... so as I
> sit here in the lobby of hotel #6 spending a small break
> in a hectic schedule on the jetty lists.... what do you
> want me to fix or explain to you??? Sorry but I'm not
> telepathic!
>
> regards
>
>
>
>
>
>
> Elia Morling wrote:
> >> My question to the list is why is this so? Why does it take 12 hours or
> >> so to get a basic working installation? Is it elitism? Is is the fact
> >> that there is paid support? I
> >
> > Good question actually. If you do ask a question on this list you are
> lucky
> > to get a reply if any at all. If you search the mailing list you will
> find
> > tons of unanswered questions and always terse replies. To be honest the
> > support for this product is shit and people not very helpful. I think
> those
> > that "know" how to use this product, think it's really easy. But it
> isn't. I
> > have solved all my problems after hours of trial-and-error, as the
> > documentation is lacking.
> >
> > Sorry guys, this is the truth. It's a good product, but you're not very
> > helpful and your attitude is techy elitistic.
> >
> > Elia
> >
> >
> > ----- Original Message -----
> > From: "Richard Heycock" <rgh@...>
> > To: "Discussion for Jetty development."
> > <jetty-discuss@...>
> > Sent: Wednesday, October 25, 2006 4:36 AM
> > Subject: [jetty-discuss] Jetty configuration woes
> >
> >
> >> Hi
> >>
> >> I've just spent the best part of the last two days trying to configure
> >> jetty to run our application. I have trawled through the forums,
> >> searched the web, read the javadoc of the various classes used, studied
> >> the jetty documentation and still it took about 12 hours to get a
> >> minimal working installation and even then I removed any references to
> >> javamail as I simply could not get it to work.
> >>
> >> My question to the list is why is this so? Why does it take 12 hours or
> >> so to get a basic working installation? Is it elitism? Is is the fact
> >> that there is paid support? I am genuinely interested in knowing why. I
> >> would love to use jetty, I like the fact that it's small & lean, I like
> >> that fact that it's supping local java engineers but I would like to
> >> test it, benchmark it etc before making any long term commitment.
> >>
> >> If it takes so long to get it working then most people will simply give
> >> up and use tomcat or one of the other containers. Just to give a
> >> comparison I can download tomcat and within an hour or so I can set a
> >> data source that will work with, for example, mysql. If I don't know to
> >> do it I can easily find doco that will tell me how to it. Now I know
> >> that tomcat has a bigger user base but I literally could not find an
> >> example showing me how to set up version 6 of jetty using mysql. I
> still
> >> have not been able to.
> >>
> >> I am now in the situation where I've got the application working but
> the
> >> performance is little under an order of magnitude (under tomcat I can
> >> get about 140 requests a second with my current configuration of jetty
> I
> >> get about 16 requests a second). I think the problem is to do with
> >> database pooling (I only get a maximum of 8 connections to the
> database)
> >> but I have absolutely no way of working it out. I've set the
> >> configuration in accordance with the javadoc for StandardXADataSource
> >> but nothing has changed.
> >>
> >> While this might sound like a rant It's intended as constructive
> >> criticism from someone who is trying to start using jetty but has had
> an
> >> incredibly frustrating time doing so.
> >>
> >> rgh
> >>
> >>
> -------------------------------------------------------------------------
> >> Using Tomcat but need to do more? Need to support web services,
> security?
> >> Get stuff done quickly with pre-integrated technology to make your job
> >> easier
> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> >>
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> _______________________________________________
> >> jetty-discuss mailing list
> >> jetty-discuss@...
> >> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
> >>
> >>
> >
> >
> >
> -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services,
> security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> --
> Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
> http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> jetty-discuss mailing list
> jetty-discuss@...
> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>



--
"I would still invade Iraq even if Iraq never existed."

George W. Bush: Monday, August 21, 2006

   ----------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
   ----------

_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss


[Non-text portions of this message have been removed]

#8487 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:46 pm
Subject: Re: eclipse
jetty-discuss@...
Send Email Send Email
 
Lebing Xie wrote:
> Anyway, I compiled the jetty6.0.1 as wiki described and want to import
> it into Eclipse. I got a error "Invalid project description.
>   /home/pingp/Eclipseworkspace/jetty-6.0.1/modules/jetty overlaps the
> workspace location: /home/pingp/Eclipseworkspace". Help needed, thanx
> alot.
>

While I use mvn, I have never got the maven eclipse plugin to
work well for me.

Instead I either handcraft a project or use

   mvn eclipse:eclipse

to generate the .project and .classpath files (but this results
in numerous projects).

The error you are getting is a general eclipse issue - you can
import from within an existing workspace.  Try new project
instead and let it discover the project already exists.

I will try to write up the procedure in the wiki in the next
few days.

regards




--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8486 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:44 pm
Subject: Re: ProxyHandler in jetty6
jetty-discuss@...
Send Email Send Email
 
There is a ProxyServlet in jetty 6, but it is unable to
do the SSL connect thang.

We are working on a async HTTP client impl for Jetty and
once that is complete we will have an async/continuation based
ProxyHandler.   This is a high priority and should be available
in a month or two.

cheers


Ratna Gudlavalleti wrote:
> Jetty 5.1.4 supports the ProxyHandler is there support for the
> ProxyHandler in jetty6.
>
> This is good feature for using as a application tunnel
>
> -Ratna
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8485 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:45 pm
Subject: Release 6.1.0pre0
jetty-discuss@...
Send Email Send Email
 
A Prerelease of Jetty-6.1 is now available via http://jetty.mortbay.org

This release contains a long list of features and fixes that are not
yet considered stable enough for a stable release.

     + add <Property> replacement in jetty xml config files
     + make .tag files work in packed wars
     + add hot deployment capability
     + ensure setContextPath() works when invoked from jetty-web.xml
     + ensure sessions nulled out on request recycle; ensure session null after
invalidate
     + ensure "" returned for ServletContext.getContextPath() for root context
     + Fixed tld parsing for maven plugin
     + Improved *-mbean.properties files and specialized some MBean
     + Added conversion Object -> ObjectName for the result of method calls made
on MBeans
     + JETTY-129 ServletContextListeners called after servlets are initialized
     + change examples/test-jndi-webapp so it can be regularly built
     + added isStopped() in LifeCycle and AbstractLifeCycle
     + fixed isUserInRole checking for JAASUserRealm
     + fixed ClassCastException in JAASUserRealm.setRoleClassNames(String[])
     + add a maven-jetty-jspc-plugin to do jspc precompilation
     + added examples/test-jaas-webapp
     + (re)make JAAS classes available to webapp classloader
     + CGI example in test webapp
     + Plugin shutdown context before stopping it.
     + Added concept of bufferred endpoint
     + Factored ErrorPageErrorHandler out of WebAppContext
     + Refactored ErrorHandler to avoid statics
     + Transforming classloader does not transform resources.
     + SocketConnector closes all connections in doStop
     + Improved charset handling in URLs
     + minor optimization of bytes to UTF8 strings
     + JETTY-112 ContextHandler checks if started
     + JETTY-113 support optional query char encoding on requests
     + JETTY-114 removed utf8 characters from code
     + JETTY-115 Fixed addHeader
     + added cometd chat demo
     + JETTY-119 cleanedup Security optimizatoin
     + Refactored session lifecycle and additional tests
     + JETTY-121 init not called on externally constructed servlets
     + JETTY-124 always initialize filter caches
     + JETTY-126 handle content > Integer.MAX_VALUE
     + JETTY-123 handle windows UNC paths
     + JETYY-120 SelectChannelConnector closes all connections on stop
     + Added ID constructor to AbstractSessionManager.Session
     + Allow session cookie to be refreshed
     + Added DataFilter configuration to cometd
     + Added extras/setuid to support start as root
     + Apply queryEncoding to getQueryString
     + JETTY-118 ignore extra content after close.
     + HttpGenerator can generate requests
     + Ported HtAccessHandler
     + Start of a client API
     + Session IDs can change worker ID
     + Default soLinger is -1 (disabled)
     + AJP Connector




--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8484 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 4:21 pm
Subject: Test from gmail
jetty-discuss@...
Send Email Send Email
 
Exhaust the possibilities

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8483 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:47 pm
Subject: Re: Collect statistic by Jetty 5-1-10
jetty-discuss@...
Send Email Send Email
 
Have a look at the jmx mbeans for jetty.
They have many statistics available via those mbeans.

cheers


Lebing Xie wrote:
> or I have to implement a handler myself?
>
>
> On Mon, 2006-10-16 at 10:11 +0200, Lebing Xie wrote:
>> Hallo,
>>
>> How can I active and collect access statistic (better for every web
>> application) by Jetty 5-1-10?
>>
>> urs Lebing
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> jetty-discuss mailing list
>> jetty-discuss@...
>> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8482 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:46 pm
Subject: Re: Jetty configuration woes
jetty-discuss@...
Send Email Send Email
 
Elia,

I am quiet upset by your response.

I like to think of the jetty lists as friendly places and we certainly
don't mean to be elitist.

I'm sorry if our documentation and response times sometimes is below
what you would like.   The last few months we have been very busy
with new releases, new developments, new integrations.
Plus the two main developers (myself included) have been on the
conference circuit - I've not been home for over a month and
wont be for a few more weeks.

Somewhere in there we have to earn a living as well, so we do
prioritize our paid clients - but what else would you have us do?
I'm sure you are being paid to ask your questions!

It is certainly not in an effort to push people towards paid support.
In fact we are paying junior developers to help on the support list -
but they will take time to come up to speed.  The main developers do
spend time on the lists - just not all our time.

We recognize that one of the weaknesses of Jetty is the potential
complications of putting together to powerful building blocks - but we
are working to fix that and have recently added the deployer and there
has been a lot of work done on the wiki.

So sorry if people have not jumped to and given you answers.
But remember that in open source, we are giving you a gift
of our time and skills and sometimes we have other priorities.

At the very least - rather than just complaining that
Jetty is difficult to configure - tell us what were the
problems that you had and what were the fixes that you found.
Others would benefit and we would understand better where
the documentation needs to be improved.   As it is - all I know
is that there are two users who had a hard time... I don't
know your versions or what were the issues.... so as I
sit here in the lobby of hotel #6 spending a small break
in a hectic schedule on the jetty lists.... what do you
want me to fix or explain to you??? Sorry but I'm not
telepathic!

regards






Elia Morling wrote:
>> My question to the list is why is this so? Why does it take 12 hours or
>> so to get a basic working installation? Is it elitism? Is is the fact
>> that there is paid support? I
>
> Good question actually. If you do ask a question on this list you are lucky
> to get a reply if any at all. If you search the mailing list you will find
> tons of unanswered questions and always terse replies. To be honest the
> support for this product is shit and people not very helpful. I think those
> that "know" how to use this product, think it's really easy. But it isn't. I
> have solved all my problems after hours of trial-and-error, as the
> documentation is lacking.
>
> Sorry guys, this is the truth. It's a good product, but you're not very
> helpful and your attitude is techy elitistic.
>
> Elia
>
>
> ----- Original Message -----
> From: "Richard Heycock" <rgh@...>
> To: "Discussion for Jetty development."
> <jetty-discuss@...>
> Sent: Wednesday, October 25, 2006 4:36 AM
> Subject: [jetty-discuss] Jetty configuration woes
>
>
>> Hi
>>
>> I've just spent the best part of the last two days trying to configure
>> jetty to run our application. I have trawled through the forums,
>> searched the web, read the javadoc of the various classes used, studied
>> the jetty documentation and still it took about 12 hours to get a
>> minimal working installation and even then I removed any references to
>> javamail as I simply could not get it to work.
>>
>> My question to the list is why is this so? Why does it take 12 hours or
>> so to get a basic working installation? Is it elitism? Is is the fact
>> that there is paid support? I am genuinely interested in knowing why. I
>> would love to use jetty, I like the fact that it's small & lean, I like
>> that fact that it's supping local java engineers but I would like to
>> test it, benchmark it etc before making any long term commitment.
>>
>> If it takes so long to get it working then most people will simply give
>> up and use tomcat or one of the other containers. Just to give a
>> comparison I can download tomcat and within an hour or so I can set a
>> data source that will work with, for example, mysql. If I don't know to
>> do it I can easily find doco that will tell me how to it. Now I know
>> that tomcat has a bigger user base but I literally could not find an
>> example showing me how to set up version 6 of jetty using mysql. I still
>> have not been able to.
>>
>> I am now in the situation where I've got the application working but the
>> performance is little under an order of magnitude (under tomcat I can
>> get about 140 requests a second with my current configuration of jetty I
>> get about 16 requests a second). I think the problem is to do with
>> database pooling (I only get a maximum of 8 connections to the database)
>> but I have absolutely no way of working it out. I've set the
>> configuration in accordance with the javadoc for StandardXADataSource
>> but nothing has changed.
>>
>> While this might sound like a rant It's intended as constructive
>> criticism from someone who is trying to start using jetty but has had an
>> incredibly frustrating time doing so.
>>
>> rgh
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job
>> easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> jetty-discuss mailing list
>> jetty-discuss@...
>> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>>
>>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8481 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:51 pm
Subject: Problems with the mailing lists?
jetty-discuss@...
Send Email Send Email
 
Jan and I have discovered that many of our postings from the last
two weeks have not shown up.

I can't pin down the problem as it appears to be a little random?
It may have something to do with the mobile networks that we have
been using and the SMTP server intercepts that sometimes gets done?

Whatever... I have reposted the ones I can identify that are missing
and some of those have started turning up on the list.

sorry for any duplicates and sorry for any un-answered questions (well
more than normal).

We will try to get this sorted soon... or just move the
lists to codehaus :-)

regards


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8480 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:45 pm
Subject: Re: modification to org.mortbay.jetty.servlet.AbstractSessionManager requested
jetty-discuss@...
Send Email Send Email
 
I will put

             if (value==null || (oldValue!=null && !value.equals(oldValue)))

in 6.1.*

cheers



Nicolas Bielza wrote:
> Hello,
>
> I'm currently trying to run JBoss Seam on top of Jetty6 and found a
> little bug wich prevents me from using stateful session beans in my
> app.
>
> While the problem really lies in Jboss EJB code, it can be avoided
> with a small change in
> org.mortbay.jetty.servlet.AbstractSessionManager. I also think that
> this change may actually correct a typo in the code:
>
> The problem is in method setAttribute(), on line 860:
>
> ....
>             if (value==null || !value.equals(oldValue))
>             {
>                 unbindValue(name, oldValue);
>                 bindValue(name, value);
> ....
>
> value has already been tested for nullity on the first line of this
> method so there's no point in testing it again.
>
> I think line 860 should be:
>
> if (oldValue==null || !value.equals(oldValue))
>
> which could avoid calling the equals() method (which seems to be
> broken in JBoss EJB3 when being passed a null parameter).
>
> I rebuilt jetty with this change and my app is now running fine, but
> I'd prefer using the main distribution of course.
>
> Shall I post this issue/request to Jira ?
>
> Thanks,
> Nicolas.
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8479 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:48 pm
Subject: Re: eclipse
jetty-discuss@...
Send Email Send Email
 
and there is documentation for this on the wiki:


http://docs.codehaus.org/display/JETTY/Importing+Jetty+Source+into+Eclipse

cheers




Xie, Lebing wrote:
> Hallo,
>
> After I moved the whole jetty directory out of my Eclipsewordspace, it can be
compiled and imported
> into Eclipse.
>
> The next problem by run configuration, the working directory is
"~/jetty-6.0.1/modules/jetty"
> instead of "~/jetty-6.0.1", so that jetty can find neighter "etc" nor
"webapp".
>
> urs Lebing
>
>
> -----Original Message-----
> From: jetty-discuss-bounces@... on behalf of Lebing Xie
> Sent: Wed 10/25/2006 6:22 PM
> To: jetty-discuss@...
> Subject: Re: [jetty-discuss] eclipse
>
> Anyway, I compiled the jetty6.0.1 as wiki described and want to import
> it into Eclipse. I got a error "Invalid project description.
>   /home/pingp/Eclipseworkspace/jetty-6.0.1/modules/jetty overlaps the
> workspace location: /home/pingp/Eclipseworkspace". Help needed, thanx
> alot.
>
> urs Lebing
>
>
>
>
>
> On Wed, 2006-10-25 at 14:48 +0200, Lebing Xie wrote:
>> Hallo,
>>
>> I have installed the maven plugin from codehaus, but always got error on
>> "org.maven.ide.eclipse.launch.Maven2LaunchConfigurationTabGroup" and jar
>> download links for 0.9 are all dead, quite strange.
>>
>> Maybe can you share the experience on how to compile and debug jetty6
>> source code in eclipse detailly? thanx a lot!
>>
>> urs Lebing
>>
>>
>>
>>
>>
>> On Wed, 2006-09-27 at 15:24 +1200, Richard Vowles wrote:
>>> Bing Ran wrote:
>>>> Hi,
>>>>
>>>> I downloaded the latest SVN trunk and would like to generate an eclipse
>>>> project from it. When I ran mvn eclipse:eclipse I received this error
>>>> compiling one of the artifacts was missing and could be downloaded from
>>>> remote repositories:
>>>>
>>>>
>>> Better to use the Maven plugin for Eclipse from the Maven web site. It
>>> works in a much more "eclipsy" fashion. I don't have that problem.
>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>> opinions on IT & business topics through brief surveys -- and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> jetty-discuss mailing list
>>> jetty-discuss@...
>>> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> jetty-discuss mailing list
>> jetty-discuss@...
>> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> jetty-discuss mailing list
> jetty-discuss@...
> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jetty-discuss mailing list
> jetty-discuss@...
> https://lists.sourceforge.net/lists/listinfo/jetty-discuss


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8478 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:47 pm
Subject: Re: eclipse
jetty-discuss@...
Send Email Send Email
 
Xie,

is sounds like you have imported just the modules jetty project rather
than the multiple projects.

Either way,  if you select "run..." you can add a ../.. to the
working directory.

cheers


Xie, Lebing wrote:
> Hallo,
>
> After I moved the whole jetty directory out of my Eclipsewordspace, it can be
compiled and imported
> into Eclipse.
>
> The next problem by run configuration, the working directory is
"~/jetty-6.0.1/modules/jetty"
> instead of "~/jetty-6.0.1", so that jetty can find neighter "etc" nor
"webapp".
>
> urs Lebing
>
>
> -----Original Message-----
> From: jetty-discuss-bounces@... on behalf of Lebing Xie
> Sent: Wed 10/25/2006 6:22 PM
> To: jetty-discuss@...
> Subject: Re: [jetty-discuss] eclipse
>
> Anyway, I compiled the jetty6.0.1 as wiki described and want to import
> it into Eclipse. I got a error "Invalid project description.
>   /home/pingp/Eclipseworkspace/jetty-6.0.1/modules/jetty overlaps the
> workspace location: /home/pingp/Eclipseworkspace". Help needed, thanx
> alot.
>
> urs Lebing
>
>
>
>
>
> On Wed, 2006-10-25 at 14:48 +0200, Lebing Xie wrote:
>> Hallo,
>>
>> I have installed the maven plugin from codehaus, but always got error on
>> "org.maven.ide.eclipse.launch.Maven2LaunchConfigurationTabGroup" and jar
>> download links for 0.9 are all dead, quite strange.
>>
>> Maybe can you share the experience on how to compile and debug jetty6
>> source code in eclipse detailly? thanx a lot!
>>
>> urs Lebing
>>
>>
>>
>>
>>
>> On Wed, 2006-09-27 at 15:24 +1200, Richard Vowles wrote:
>>> Bing Ran wrote:
>>>> Hi,
>>>>
>>>> I downloaded the latest SVN trunk and would like to generate an eclipse
>>>> project from it. When I ran mvn eclipse:eclipse I received this error
>>>> compiling one of the artifacts was missing and could be downloaded from
>>>> remote repositories:
>>>>
>>>>
>>> Better to use the Maven plugin for Eclipse from the Maven web site. It
>>> works in a much more "eclipsy" fashion. I don't have that problem.
>>>
>>> -------------------------------------------------------------------------
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>> opinions on IT & business topics through brief surveys -- and earn cash
>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> jetty-discuss mailing list
>>> jetty-discuss@...
>>> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> jetty-discuss mailing list
>> jetty-discuss@...
>> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> jetty-discuss mailing list
> jetty-discuss@...
> https://lists.sourceforge.net/lists/listinfo/jetty-discuss
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jetty-discuss mailing list
> jetty-discuss@...
> https://lists.sourceforge.net/lists/listinfo/jetty-discuss


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8477 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:46 pm
Subject: Re: Jetty's setuid, permission denied
jetty-discuss@...
Send Email Send Email
 
Claudio,

try creating a work directory in the top level of Jetty directory
This will be used instead of /tmp

make this directory owned by your jetty user and have the
group setuid bit set for the directory.

You then can set a umask of 002 with the setuid mechanism
so that any files that root creates can be accessed by the
jetty user.

cheers


Claudio Miranda wrote:
>    I downloaded jetty6.1.0dev, and did the instructions at [1].
>    Jetty starts fine, but when I try to access any deployed app,
> there is an error:
>
>  HTTP ERROR: 500
>
> /tmp/Jetty_0_0_0_0_80__wiki_/jsp/org/apache/jsp/Wiki_jsp.java (No such
> file or directory)
>
> RequestURI=/wiki/Wiki.jsp
>
>    So, the directory exists, but the owner is root, then no jsp file
> can be created/compiled.
>
> $ ls -la /tmp/|grep Jetty
> drwxr-xr-x  3 root    root     4096 2006-10-22 21:50 Jetty_0_0_0_0_80__test_
> drwxr-xr-x  3 root    root     4096 2006-10-22 21:50
> Jetty_0_0_0_0_80__test-jaas_
> drwxr-xr-x  3 root    root     4096 2006-10-22 21:50 Jetty_0_0_0_0_80__wiki_
>
>    The etc/jetty-setuid.xml (looks 000 can be fine)
>
> <Configure id="Server" class="org.mortbay.setuid.SetUIDServer">
>  <Set name="umask">000</Set>
>  <Set name="uid">65534</Set>
> </Configure>
>
>    The following, could be fine to update on the wiki.
>    I tried on solaris 10 (AMD 64), the there were some compiling
> errors. I just removed the -shared option from gcc, and it compiled.
>
>    Just for curiosity, see the ps -ef command
>
> nobody     488 32670 49 22:02 pts/1    00:00:01
> /usr/local/jdk/sun/jdk1.6.0/bin/java -Djava.library.path=lib/ext -jar
> start.jar etc/jetty-setuid.xml etc/jetty.xml
>
> 1 - http://docs.codehaus.org/display/JETTY/port80
>


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8476 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:41 pm
Subject: Re: jetty5 or 6?
jetty-discuss@...
Send Email Send Email
 
ogjunk-jetty1@... wrote:
> It would be great to have some official 5->6 docs on the site, and
clarificaton about AJP13/mod_proxy.  Last I heard (6+ months back), mod_proxy
was slower, or at least that's what people were saying.

Your millage may vary - but the reports I have heard is that mod_proxy
is faster than mod_jk - at least for Jetty anyway.

There is a ajp connector in trunk and in the soon to be released
6.1.0pre0 - but it has not received very much testing.

cheers


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8475 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:35 pm
Subject: Re: greg: feature or bug in Context ?
jetty-discuss@...
Send Email Send Email
 
Stojce

With the second form, you must do also do server.setHandler(ctx);
this is done by the constructor of Context.

cheers


Stojce Dimski wrote:
> Using OneServletContext.java as example I noticed that when using:
>
>     ctx = new Context(server, "/", false, false);
>
> everything is ok, but when using
>
>     ctx = new Context();
>     ctx.setServer(server);
>     ctx.setContextPath("/");
>
> my request don't get handled, so I deduce that I have to use
> Context(...) for constructing contexts...
>
> Is this by design or is a bug ?
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8474 From: Stojce Dimski <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:23 pm
Subject: Re: greg: feature or bug in Context ?
jetty-discuss@...
Send Email Send Email
 
I am using latest Jetty 6.0.1

Tim Vernum wrote:
> On 26/10/2006, at 6:50 PM, Stojce Dimski wrote:
>
>> my request don't get handled, so I deduce that I have to use
>> Context(...) for constructing contexts...
>>
>> Is this by design or is a bug ?
>
> I'm not Greg (and I don't even look like him) but...
>    Which version of jetty is this on?


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8473 From: Greg Wilkins <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:18 pm
Subject: Test post.
jetty-discuss@...
Send Email Send Email
 
I'm having problems getting my postings onto the list.

I can't see anything I have posted for a week.

So this is a test via a different path.




--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

#8472 From: Tim Vernum <jetty-discuss@...>
Date: Thu Oct 26, 2006 3:17 pm
Subject: Re: greg: feature or bug in Context ?
jetty-discuss@...
Send Email Send Email
 
On 26/10/2006, at 6:50 PM, Stojce Dimski wrote:

> my request don't get handled, so I deduce that I have to use
> Context(...) for constructing contexts...
>
> Is this by design or is a bug ?

I'm not Greg (and I don't even look like him) but...
    Which version of jetty is this on?


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

Messages 8472 - 8501 of 8501   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help