-sv- | 2 Dec 01:49 2007
Picon

jsessionid + acegi [basic question]


Hi,

I'm new in web development and now I'm trying to port the swing front-end to
the web.

In swing application we are using Acegi as security framework.

I can use the Acegi with Jetty as well, but point is: Acegi security context
is binded to the jsessionid... but by default it's to small in Jetty (12
chars).

Reading the sources I've found out that  HashSessionIdManager is responsable
for the generation of new sesssion-id...

Is there any chance to configure HashSessionIdManager logic avoiding the
modification of original  HashSessionIdManager.java and "custom jetty build"
way ?

Thank you in advance.

//sv
--

-- 
View this message in context: http://www.nabble.com/jsessionid-%2B-acegi---basic-question--tf4930166.html#a14111441
Sent from the Jetty Support mailing list archive at Nabble.com.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
(Continue reading)

justzzzz | 3 Dec 05:12 2007

Unable to overwite static files while running maven jetty plugin


I'm running the maven jetty plugin and have found that if Jetty serves a
static (CSS) file, I cannot modify that file without stopping the server. I
can update jsp files without problem.

This seems to be specific to the
org.mortbay.jetty.nio.SelectChannelConnector connector. When I switch to
org.mortbay.jetty.bio.SocketConnector, I don't see this behavior.

I'm seeing this problem on Windows XP.

Is this intentional or a bug?
--

-- 
View this message in context: http://www.nabble.com/Unable-to-overwite-static-files-while-running-maven-jetty-plugin-tf4934281.html#a14123648
Sent from the Jetty Support mailing list archive at Nabble.com.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support

David Yu | 3 Dec 05:16 2007

Re: Unable to overwite static files while running maven jetty plugin

http://docs.codehaus.org/display/JETTY/Jetty+Documentation

Visit it and see the secton "TroubleShooting"

justzzzz wrote:
> I'm running the maven jetty plugin and have found that if Jetty serves a
> static (CSS) file, I cannot modify that file without stopping the server. I
> can update jsp files without problem.
>
> This seems to be specific to the
> org.mortbay.jetty.nio.SelectChannelConnector connector. When I switch to
> org.mortbay.jetty.bio.SocketConnector, I don't see this behavior.
>
> I'm seeing this problem on Windows XP.
>
> Is this intentional or a bug?
>   

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support

Allan Ramirez | 3 Dec 06:06 2007

Re: Unable to overwite static files while running maven jetty plugin

http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows

justzzzz wrote:
> I'm running the maven jetty plugin and have found that if Jetty serves a
> static (CSS) file, I cannot modify that file without stopping the server. I
> can update jsp files without problem.
>
> This seems to be specific to the
> org.mortbay.jetty.nio.SelectChannelConnector connector. When I switch to
> org.mortbay.jetty.bio.SocketConnector, I don't see this behavior.
>
> I'm seeing this problem on Windows XP.
>
> Is this intentional or a bug?
>   

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support

justzzzz | 3 Dec 13:58 2007

Re: Unable to overwite static files while running maven jetty plugin


Thanks. Can't believe I missed the troubleshooting link.

Allan G. Ramirez-2 wrote:
> 
> http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows
> 
> justzzzz wrote:
>> I'm running the maven jetty plugin and have found that if Jetty serves a
>> static (CSS) file, I cannot modify that file without stopping the server.
>> I
>> can update jsp files without problem.
>>
>> This seems to be specific to the
>> org.mortbay.jetty.nio.SelectChannelConnector connector. When I switch to
>> org.mortbay.jetty.bio.SocketConnector, I don't see this behavior.
>>
>> I'm seeing this problem on Windows XP.
>>
>> Is this intentional or a bug?
>>   
> 
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Jetty-support mailing list
(Continue reading)

Martin Strand | 3 Dec 16:04 2007
Picon

AJP connector jar

Hi all, I just installed the jetty rpms:

> jetty6-6.1.6rc1-1jpp.noarch.rpm
> jetty6-core-6.1.6rc1-1jpp.noarch.rpm
> jetty6-servlet-2.5-api-6.1.6rc1-1jpp.noarch.rpm

And now I'm trying to add an AJP connector:

> <Call name="addConnector">
>  <Arg>
>    <New class="org.mortbay.jetty.ajp.Ajp13SocketConnector">
>      <Set name="port">8009</Set>
>      <Set name="host"><SystemProperty name="jetty.host" /></Set>
>    </New>
>  </Arg>
> </Call>

but I'm getting:

> java.lang.ClassNotFoundException:  
> org.mortbay.jetty.ajp.Ajp13SocketConnector

I presume I need to put jetty-ajp-6.1.6.jar in some directory, but I don't  
know which one... I tried these but no luck:

> /usr/share/jetty6/lib
> /usr/share/java

Where is the ajp jar supposed to go?

(Continue reading)

Michel Goldstein | 4 Dec 21:43 2007
Picon

Disabling auto cookie quoting on Jetty 6.1.6

Hi,

I'm having an issue with Jetty 6.1.6 related to cookies. It seems like
automatically Jetty is quoting all cookies that have certain
characters in them, like "%". The problem is that this cookie is then
supposed to be read by a different server that uses Tomcat and
apparently quoting cookies is not a standard behavior so Tomcat
doesn't un-quote them and ends up not understanding the value in the
cookie. Is there a way to disable the auto-quoting of cookies?

More specifically, here is what I have:

In the code:
String url = "http://localhost:10010";
Cookie returnCookie = new Cookie(RETURN_COOKIE_NAME,
URLEncoder.encode(url, "UTF-8"));
returnCookie.setDomain(DOMAIN);
returnCookie.setPath(PATH);
resp.addCookie(isaacReturnCookie);

In the HTTP header sent:
Set-Cookie: int-isaac-return="http%3A%2F%2Flocalhost%3A10010%2F";Path=/authenticate;Domain=localhost

What the server that then reads the cookie expects is:
Set-Cookie: int-isaac-return=http%3A%2F%2Flocalhost%3A10010%2F;Path=/authenticate;Domain=localhost

Which, as far as I understand the cookie spec, is still a valid cookie.

Is there a way out of this?

(Continue reading)

omatzura | 5 Dec 11:30 2007

Problem with [Unable to establish loopback connection]


Hi all,

I have a situation where we are starting/stopping a large number of
connectors at a very high speeds (thousands, as fast as possible) ..
depending on which JRE we use we eventually get a [java.io.IOException:
Unable to establish loopback connection] error when trying to create a new
connector after stopping an old one.. we are running under winxp sp2.. is
this a NIO-related issue/bug? or is there some winxp setting we need to
tweak? 

thanks for any help!

regards,

/Ole
eviware.com
--

-- 
View this message in context: http://www.nabble.com/Problem-with--Unable-to-establish-loopback-connection--tf4948711.html#a14168962
Sent from the Jetty Support mailing list archive at Nabble.com.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Jetty-support mailing list
Jetty-support <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jetty-support
(Continue reading)

omatzura | 5 Dec 13:02 2007

Re: Problem with [Unable to establish loopback connection]


Hi again,

I found this at sun;
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5073504

How/where could I add another select to try if this helps?

regards,

/Ole
eviware.com

omatzura wrote:
> 
> Hi all,
> 
> I have a situation where we are starting/stopping a large number of
> connectors at a very high speeds (thousands, as fast as possible) ..
> depending on which JRE we use we eventually get a [java.io.IOException:
> Unable to establish loopback connection] error when trying to create a new
> connector after stopping an old one.. we are running under winxp sp2.. is
> this a NIO-related issue/bug? or is there some winxp setting we need to
> tweak? 
> 
> thanks for any help!
> 
> regards,
> 
> /Ole
(Continue reading)

Jan Bartel | 6 Dec 01:02 2007

Re: AJP connector jar

Hi Martin,

Unfortuntely looks like the ajp13 connector didn't make it into the rpm package. Oops.
Can you raise a JIRA for it? That way we can make sure it's there for jetty-6.1.7. In the
meanwhile you're going to have to copy that jar from the jetty distro manually.

cheers
Jan

Martin Strand wrote:
> Hi all, I just installed the jetty rpms:
> 
>> jetty6-6.1.6rc1-1jpp.noarch.rpm
>> jetty6-core-6.1.6rc1-1jpp.noarch.rpm
>> jetty6-servlet-2.5-api-6.1.6rc1-1jpp.noarch.rpm
> 
> 
> And now I'm trying to add an AJP connector:
> 
>> <Call name="addConnector">
>>  <Arg>
>>    <New class="org.mortbay.jetty.ajp.Ajp13SocketConnector">
>>      <Set name="port">8009</Set>
>>      <Set name="host"><SystemProperty name="jetty.host" /></Set>
>>    </New>
>>  </Arg>
>> </Call>
> 
> 
> but I'm getting:
(Continue reading)


Gmane