Nikki | 1 Jun 02:46 2007

Market Usa

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support
Bruce Lewis | 1 Jun 06:36 2007

Re: Release candidate 6.1.4rc0

Greg Wilkins <gregw <at> webtide.com> writes:

> This release has a fix for a major issue with sending large content to
> slow clients.  It also contains lots of minor improvements and fixes
> as well as a clean up of the structure.

Does it absolutely need to be large content?  Can it be normal-size
content sent via persistent connections?  I think I saw this issue on
ourdoings.com tonight running 6.1.3.  Being too lazy to redo all my
configuration I just replaced the lib/ directory with the one from
6.1.4rc0 and restarted jetty.  Is there any reason why that wouldn't be
a good idea?  Things seem to be working.

An email someone sent me looks like it might also have been an instance
of the bug.

--

-- 

http://ourdoings.com/
Amazingly simple photo sharing

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support

Xiao-fei.song | 1 Jun 09:13 2007
Picon

disabling cookie


Hi forks,

Does anybody know if there is way in Jetty so that we can disable cookie and use URL rewriting for http session?

Thanks,
Xiao-fei
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support
Jan Bartel | 1 Jun 09:20 2007

Re: disabling cookie

Hi Xiao,

Is this for jetty standalone, or jetty embedded in EAServer?

regards
Jan

Xiao-fei.song <at> sybase.com wrote:
> 
> Hi forks,
> 
> Does anybody know if there is way in Jetty so that we can disable cookie
> and use URL rewriting for http session?
> 
> Thanks,
> Xiao-fei
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Jetty-support mailing list
> Jetty-support <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jetty-support

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support

Xiao-fei.song | 1 Jun 09:43 2007
Picon

Re: disabling cookie


I tested in both cases. If AbstractSessionManager.setUsingCookie(false) is called, no session state can be maintained.

Thanks,
Xiao-fei



Jan Bartel <janb <at> mortbay.com>
Sent by: jetty-support-bounces <at> lists.sourceforge.net

06/01/2007 03:20 PM

Please respond to
"Jetty usage,  help & informal support " <jetty-support <at> lists.sourceforge.net>

To
"Jetty usage,  help & informal support " <jetty-support <at> lists.sourceforge.net>
cc
Subject
Re: [Jetty-support] disabling cookie





Hi Xiao,

Is this for jetty standalone, or jetty embedded in EAServer?

regards
Jan

Xiao-fei.song <at> sybase.com wrote:
>
> Hi forks,
>
> Does anybody know if there is way in Jetty so that we can disable cookie
> and use URL rewriting for http session?
>
> Thanks,
> Xiao-fei
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jetty-support mailing list
> Jetty-support <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jetty-support


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support
mapuo | 1 Jun 11:09 2007
Picon

cometd question - set the timestamp format sent from Bayeux


Hi all,
Is there a way to customize the timestamp date format that is sent from the
Bayeux protocol to the web client?
In the Bayeux protocol the format is not set in stone and I prefer the
timestamp to be the standard Unix timestamp because it is easy to handle it
in JavaScript. But I don't know how to change the default format ("EEE MMM
dd HH:mm:ss zzz yyyy") of the DateCache class.
Any help is appreciated!
10x in advance :)
--

-- 
View this message in context: http://www.nabble.com/cometd-question---set-the-timestamp-format-sent-from-Bayeux-tf3851189.html#a10909354
Sent from the Jetty Support mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support

Tony Thompson | 1 Jun 18:28 2007

Life cycle issue in Jetty 5.1

I am not sure how much detail I need to get into here without confusing the issue so if I need to provide more I can.  I have an application that runs instances of Jetty inside their own classloader.  If I need to restart one of those instances, I shut it down and start a new instance inside of a new classloader (that may or may not be the best way to do it on my side but that is currently how it is being done).  In the Jetty configuration (done programatically), I have one or more instances of org.mortbay.jetty.Server.  The issue that I am having is this, when one of the org.mortbay.jetty.Server instances starts, if its listener fails to start (say a BindException is thrown), all of the WebApplicationContexts within that Server have already been started.  If I call Server.stop() it obviously thinks it is not started so stop() on the WebApplicationContext is not called either (even though start() was).  I am also attempting to call destroy() on the Server instance that failed to start but that doesn't seem to have any affect either.
 
Because of that and how I am loading things in their own classloader, when I am in that failed state and I cannot go through the stop() and destroy() steps on Server (and its WebApplicationContexts), there is an instance of org.mortbay.http.ContextLoader that keeps a reference to its parent classloader in _parent.  That reference is preventing my classloader from being garbage collected.  Ultimately to fix my issue, I need destroy() to be called in the ContextLoader to release the reference.  OK, so maybe it got confusing after all....
 
Anyway, bottom line is Jetty starts the WebApplicationContexts in the Server instance but doesn't give me a way to clean things up properly if the Server fails to start at some point after the WebApplicationContexts have been started.  Any way that can be fixed in 5.1 because it is causing me some headache (servers run out of memory)?
 
Thanks for any info.
Tony
 
This message (and any associated files) is intended only for the
use of the individual or entity to which it is addressed and may
contain information that is confidential, subject to copyright or
constitutes a trade secret. If you are not the intended recipient
you are hereby notified that any dissemination, copying or
distribution of this message, or files associated with this message,
is strictly prohibited. If you have received this message in error,
please notify us immediately by replying to the message and deleting
it from your computer. Messages sent to and from Stoneware, Inc.
may be monitored.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support
dsailer | 1 Jun 21:44 2007

jetty and hosts mapping to 127.0.0.1


Sorry if this is not a jetty question. I'm not sure at this point. I added
the following to my hosts file on windows XP:

127.0.0.1 frog.blahblah.net

I'm running a servlet under jetty, port 443, on my local box for
frog.blahblah.net/myServlet. I then tried this in my browser:

https://frog.blahblah.net/myServlet

resulting in:
HTTP ERROR: 404
NOT_FOUND
RequestURI=/myServlet
Powered by jetty://

I can see it's using my local jetty server but is acting like the 
servlet mapping doesn't exist. So then I tried:

https://127.0.0.1/myServlet
resulting in:

HTTP ERROR: 500
Target must be specified
RequestURI=/myServlet
Powered by Jetty://

"Target must be specified" is an error from my servlet, so now it did find
the servlet. Why would their be a difference in this behavior? Is this
Windows or jetty?
--

-- 
View this message in context: http://www.nabble.com/jetty-and-hosts-mapping-to-127.0.0.1-tf3854130.html#a10919297
Sent from the Jetty Support mailing list archive at Nabble.com.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support

Bruce Lewis | 2 Jun 05:09 2007
Picon

Re: Release candidate 6.1.4rc0

Bruce Lewis <brlewis <at> ourdoings.com> writes:

> I think I saw this issue on
> ourdoings.com tonight running 6.1.3.  Being too lazy to redo all my
> configuration I just replaced the lib/ directory with the one from
> 6.1.4rc0 and restarted jetty.  Is there any reason why that wouldn't be
> a good idea?  Things seem to be working.

As it turns out, this was not a good idea.  The java process ended up
spinning until the load on my Linux box went up as high as 15.
Everything was working, but was working very slowly.  Tonight I put in
the rest of 6.1.4rc0 and things seem back to normal, i.e. fast and
reliable.

--

-- 

http://ourdoings.com/
Amazingly simple photo sharing

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support

mikewilsonuk | 3 Jun 20:09 2007
Picon

Jetty embedded with XML-RPC service (name problem)

I am trying to implement a very simple XML-RPC service in embedded Jetty. When I call the service from a client, I get "XmlRpcFault: Invalid method name format" or "XmlRpcFault: The specified handler cannot be found". I must be close, but not quite close enough. I'm using redstone XML-RPC. In the server I have:

public class ExampleService extends XmlRpcServlet { public void init(ServletConfig servletConfig) throws ServletException { super.init(servletConfig); XmlRpcServer server = getXmlRpcServer(); server.addInvocationHandler("login", new LoginHandler()); } } In the client I have: public class LoginClient { public static void main(String[] args) throws XmlRpcFault, MalformedURLException { XmlRpcClient client = new XmlRpcClient("http://localhost:8080/", false); Object token = client.invoke("login", new ArrayList()); } } And in my main startup I have: public class JettyLauncher { public static void main(String[] args) throws Exception { Server server = new Server(8080); Context root = new Context(server, "/", Context.SESSIONS); root.addServlet(new ServletHolder(new ExampleService()), "/*"); server.start(); } } What am I missing? I think the service name must be wrong -- the examples I have seen have the client calling "this.thing" but where does the two-part name come from?
View this message in context: Jetty embedded with XML-RPC service (name problem)
Sent from the Jetty Support mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support

Gmane