Re: [jetty-users] jetty and cargo-jetty-deployer problem

2010-11-05 Thread Jan Bartel
___ jetty-users mailing list -- Jan Bartel, Webtide LLC | | ___ jetty-users mailing list https

Re: [jetty-users] configure.dtd downtime?

2010-11-10 Thread Jan Bartel
Just noticed the stack trace at the bottom of your post. The problem with the url is in one of the tag libs you're using: org/eclipse/jetty/webapp/TagLibConfiguration$TldProcessor.parse( Jan On 11/11/10 07:31, Jan Bartel wrote: Daniel, This url should

Re: [jetty-users] DTDs

2010-11-16 Thread Jan Bartel
Mystery solved! Another user raised this bug, which I've just fixed in trunk: cheers Jan On 17/11/10 12:04, Jan Bartel wrote: Daniel, This is very odd. All of the dtds and xsds that jetty parses have local redirects set up. I've

Re: [jetty-users] mvn jetty:run and war overlay

2011-02-04 Thread Jan Bartel -- Jan Bartel, Webtide LLC | | ___ jetty-users mailing list

Re: [jetty-users] mvn jetty:run and war overlay

2011-02-04 Thread Jan Bartel
On Fri, Feb 4, 2011 at 12:52 AM, Jan Bartel wrote: Eric, What happens if you specify in your pom: webAppConfig copyWebInffalse/copyWebInf /webAppConfig ? Jan On 03/02/11 10:35, Eric Chiang wrote: Hi Jesse

Re: [jetty-users] mvn jetty:run and war overlay

2011-02-04 Thread Jan Bartel
) at$ at org.eclipse.jetty.util.thread.QueuedThreadPool$ at On Fri, Feb 4, 2011 at 1:32 PM, Jan Bartel wrote: Eric, Can you reply

Re: [jetty-users] mvn jetty:run and war overlay

2011-02-05 Thread Jan Bartel
); } } On Fri, Feb 4, 2011 at 2:14 PM, Jan Bartel wrote: Eric, Do you have a src/main/webapp/WEB-INF directory in your maven project? Also, can you find out what resource OpenLazlo is looking for with getRealPath()? Is it /WEB-INF ? thanks

Re: [jetty-users] Issues with JDBCLoginModule

2011-03-28 Thread Jan Bartel
) ___ jetty-users mailing list ___ jetty-users mailing list -- Jan Bartel, Webtide LLC

Re: [jetty-users] Binding Weld BeanManager to JNDI in servlet.Context // Installing Weld / Seam-Wicket programatically

2011-04-12 Thread Jan Bartel
. ctx.addEventListener( new org.jboss.weld.environment.servlet.Listener() ); ___ jetty-users mailing list -- Jan Bartel, Webtide LLC | |

Re: [jetty-users] Connection : close request header and missing Content-Length in response

2011-06-23 Thread Jan Bartel
Hi Marcel, There were some changes in recent jetty-7 releases to better handle closing with intermediaries. So please try jetty-7.4.2 as it may well make this problem go away. If not, please post again with a tcpdump/wireshark trace if possible. thanks On 24 June 2011 12:36, Marcel Casado

Re: [jetty-users] Howto add a HttpSessionListener to an embedded Jetty server?

2011-07-03 Thread Jan Bartel
Clemens, Did you try calling addEventListener to the SessionManager ? Jan On 1 July 2011 18:26, Clemens Eisserer wrote: Hi, Is it possible to register a HttpSessionListener to an embedded Jetty server? I tried to add one using addEventListener to

Re: [jetty-users] Problem with JSP pageContext.response.locale in Jetty 7

2011-07-03 Thread Jan Bartel
Andrew, That is a bug. Thanks for pointing that out. I raised and fixed: This fix will be included in jetty-7.4.4. thanks Jan On 4 July 2011 10:23, Andrew Swan wrote: I'm having a problem with JSP response locales

Re: [jetty-users] (no subject)

2011-07-12 Thread Jan Bartel
You might also try asking this question over on the cipango lists: Jan On 13 July 2011 00:53, wrote: Hello, I want to use jetty in combination with cipango. Therefore I already managed to include the startprocess of jetty inside the OSGi

Re: [jetty-users] Restarting webapp programmatically?

2011-07-18 Thread Jan Bartel
John, If you have called Server.setGracefulShutdown(int ms) the shutdown should not cause much disruptions to users, as it will stop the connectors accepting any new connections and then wait the designated number of ms for existing requests to drain out of the context. Alternatively, you might

Re: [jetty-users] java.lang.LinkageError with custom JAAS LoginModule and jetty-maven-plugin 8.0.0.M3

2011-07-31 Thread Jan Bartel
Try marking the jetty dependencies as scopeprovided/scope. Jan On 29 July 2011 19:12, Brice Argenson wrote: Hi everyone, I currently work on a Java WebApp using Servlet 3 technology and jetty-maven-plugin 8.0.0.M3 to run it. Since I developed a custom JAAS Login

Re: [jetty-users] maxFormContentSize Configuration??

2011-08-14 Thread Jan Bartel
Michael, You should be able to set the system property org.eclipse.jetty.server.Request.maxFormContentSize, or on the ContextHandler representing the webapp call setMaxFormContentSize() (this could be the WebAppContext either in a context xml file or in code, depending on how you start your

[jetty-users] i-jetty-3.0 Released

2011-08-17 Thread Jan Bartel
i-jetty-3.0 has been released and is available from: + the Android Market (as i-Jetty) + This release: + reorganizes the svn repository + uses maven-android-plugin to build + updates to jetty-7.5.0.RC0 + carves out the Console webapp into its own,

Re: [jetty-users] Calling a servlet from another during initialization

2011-08-18 Thread Jan Bartel
Hi James, You have a bit of a chicken-and-egg situation there. Usually, people don't want the connectors started until the contexts have been started (and load-on-init servlets started etc), so they are ready to service requests. If you want to, you could change that around by subclassing

Re: [jetty-users] JSP issue with embedded jetty

2011-08-31 Thread Jan Bartel
Susmit, Does it work if you move the jsp out of WEB-INF and into a directory above it? Jan On 1 September 2011 05:26, Susmit Shukla wrote: Hi, I'm trying to test JSP tags that are defined as .tag files in my application's WebContent directory. The webproject layout

Re: [jetty-users] Unable to find LoginModule class, how to solve it?

2011-09-13 Thread Jan Bartel
Guofeng, When you put the jar containing your login module into $JETTY_HOME/lib/ext, was there also a copy of it inside your webapp's WEB-INF/lib? Can you post the log stack trace showing the error about the Credential please? thanks Jan On 13 September 2011 01:46, Guofeng Zhang

[jetty-users] jetty-maven-plugin forked execution

2011-09-15 Thread Jan Bartel I've been doing some work on the above issue in order to remove the dependency on the jetty-runner jar that was introduced recently to support a forked execution of the jetty plugin. I've taken this opportunity to revisit the code. The work is being done

Re: [jetty-users] JASPI 196: make it work on Jetty 8

2011-09-28 Thread Jan Bartel
Hi, Thanks for that comprehensive information, we will certainly look into it. In saying that jetty-jaspi currently does not work well on jetty-8, does this mean that it is working fine with jetty-7? We try to maintain as much of the codebase in common between jetty-7 and jetty-8 as possible, so

Re: [jetty-users] Can't get env-entry value from web.xml

2011-09-28 Thread Jan Bartel
David, You need to ensure you have the jars on the classpath that enable j2ee-style features for jetty and configure the webapp to use them also. See Jan On 29 September 2011 03:23, David Haynes wrote: I am probably missing

Re: [jetty-users] JASPI 196: make it work on Jetty 8

2011-09-28 Thread Jan Bartel
to Jetty 8. From: [] On Behalf Of Jan Bartel Sent: Wednesday, September 28, 2011 2:07 PM To: JETTY user mailing list Subject: Re: [jetty-users] JASPI 196: make it work on Jetty 8 Hi, Thanks

Re: [jetty-users] Can't get env-entry value from web.xml

2011-09-28 Thread Jan Bartel
tried the '/webapps/directory', '/webapp/directory' and '/directory' for the Set name=war with no difference. On Wed, Sep 28, 2011 at 6:49 PM, Jan Bartel wrote: David, You need to ensure you have the jars on the classpath that enable j2ee-style features for jetty

Re: [jetty-users] Can't get env-entry value from web.xml

2011-09-28 Thread Jan Bartel
] - Empty option, no classpath entries active. Looks like a whole lot of nothing... On Wed, Sep 28, 2011 at 8:48 PM, Jan Bartel wrote: David, Try doing: java -jar start.jar --list-options Jan On 29 September 2011 10:43, David Haynes wrote: Thanks

Re: [jetty-users] Logging Custom Handlers JUL

2011-10-05 Thread Jan Bartel
Alan, I wonder if j.u.l is expecting those classes to be on the system classpath, rather than a child classpath? It would be helpful if you could post the rest of that stack trace too. Jan On 5 October 2011 07:17, Alan Williamson (aw2.0 cloud experts) wrote: The jar files

Re: [jetty-users] jetty-maven-plugin 8.0.2 missing classpath libraries

2011-10-10 Thread Jan Bartel
Do you have an example webapp and/or can you post your pom? Also, you should see the dependencies jars that are being used to form your WEB-INF lib being listed in debug output of the form: Adding artifact + artifact.getFile().getName() + for WEB-INF/lib thanks Jan 2011/10/10 Дмитрий Шохов

Re: [jetty-users] Crazy Windows/Version Issues

2011-10-10 Thread Jan Bartel
I'm guessing that you have jsp pages that are mapped in web.xml with jsp-file elements? If so, then that issue was fixed in jetty-7.5.2 that just went out last week. There were a couple other jsp issues also fixed in that release, so please try with jetty-7.5.2 and let us know if you still have

Re: [jetty-users] nojdk error with Jettyt 7.5.3

2011-10-12 Thread Jan Bartel
All, We upgraded the version of jsp that we use with jetty-7.5.2 to be jsp-impl-2.1.3.b10 (from glassfish). With this release, if you are using 1.6, it will always try and get the java compiler from the jvm. Only if you have a jvm 1.6 will it fall back to the ecj compiler. We are waiting on the

Re: [jetty-users] jetty-maven-plugin 8.0.2 missing classpath libraries

2011-10-13 Thread Jan Bartel
not see any Adding artifact + artifact.getFile().getName() + for WEB-INF/lib with version 8.0.2 or 8.0.3, but I see them with 8.0.1. 10 октября 2011 г. 15:49 пользователь Jan Bartel j...@intalio.comнаписал: Do you have an example webapp and/or can you post your pom? Also, you should see

Re: [jetty-users] Issue loading classes from JARs used by Jetty.

2011-10-16 Thread Jan Bartel
Róbert, Have a read of this wiki page, as I think it will answer you questions: regards Jan On 17 October 2011 02:01, Róbert Kohányi wrote: I'm trying to create a servlet which tries to use classes included

Re: [jetty-users] WebInfConfiguration.resolvTempDirectory

2011-10-18 Thread Jan Bartel
Guy, You're right. For good measure, here's the wiki page about it: We have been tossing around the whole work directory concept lately. IIRC it is historical, and I think might be something that Tomcat originally did. You might like

Re: [jetty-users] Deploy apps to separate Server instances with DeploymentManager

2011-10-18 Thread Jan Bartel
Matt, Sure you've got 2 DeploymentManagers, each of which is added as a bean to a different Server instance, and each of which is configured with a different ContextCollection? Can you post your xml config files? Jan On 17 October 2011 19:44, Matt Jurik wrote: Hello, I'm

Re: [jetty-users] Maven jetty plugin classpath error with 7.5.3.v20111011

2011-10-19 Thread Jan Bartel
Yep, the impl of the plugin changed for 7.5.3 in the way in which it obtains the dependency jars of the project. I think what has happened is that the new way (recommended by the maven developers) of obtaining the project dependencies is a maven 3.x-ism. Note also that I want to change the names

Re: [jetty-users] Maven jetty plugin classpath error with 7.5.3.v20111011

2011-10-20 Thread Jan Bartel
Architect, Distribution | | o: 202-513-2679 m: 703-969-7493 ** ** *From:* [mailto:] *On Behalf Of *Jan Bartel *Sent:* Wednesday, October 19, 2011 7:17 PM *To:* JETTY user mailing list *Subject:* Re: [jetty

Re: [jetty-users] Invalid docs on sessionids

2011-10-20 Thread Jan Bartel
Hi Jason, Thanks for pointing this out. The page is mostly updated, just fixing the link to the clustering remains to be sorted out. cheers Jan On 21 October 2011 09:48, Jason Dillon wrote: I was trying to configure the sessionid via jetty.xml (second example) and its

Re: [jetty-users] Baffled by Jetty-6.1 - server reply is same as server request.

2011-10-26 Thread Jan Bartel
I'd turn on the request logs and see if it is jetty that is responding to both of those requests. Could it be that you have another server listening on Jan On 27 October 2011 02:20, Erwin Hogeweg wrote: Hi

Re: [jetty-users] How to fix

2011-10-27 Thread Jan Bartel
There was discussion of this on this list last week I believe. The issue is that we updated the version of jasper (jsp engine from Glassfish) that we use in 7.5.0 and it insists on using the in-jvm compiler if you're using jdk1.6 or above. Therefore, you need to have a full jdk installed (until

Re: [jetty-users] is not on the classpath on Ubuntu Natty

2011-10-27 Thread Jan Bartel
For that version of jetty (because of the version of jasper, the jsp engine) you are going to need a full jdk, not a jre in order to compile your jsps. regards Jan On 28 October 2011 05:00, Christopher Bare wrote: Thanks Andreas, Yeah, tried that. It looks like the

Re: [jetty-users] Jetty 8.0.0 - 8.0.4 not closing connections using SelectChannelConnector

2011-10-31 Thread Jan Bartel
Mathijs, What OS is this running on? Seems like it might be one that does not have a timeout for FIN_WAIT_2 in the tcp stack, so the sockets might be building up and up until you reach the limit. Is this problem seen with persistent connections? If so, have you tried closing the connection on

Re: [jetty-users] embedded Jetty issue with maven surefire plugin and tld scanning

2011-11-01 Thread Jan Bartel
Without seeing your pom.xml, it is hard to advise you. However, here's 2 pointers: 1. jstl has to be found on the classpath of the container, not of the webapp. 2. 8.0.0.RC0 is now old - 8.0.4 is the most recent release. regards Jan On 1 November 2011 16:20, Susmit Shukla

Re: [jetty-users] Setuid UnsatisfiedLinkError

2011-11-03 Thread Jan Bartel
Hi, With the standard tarball distribution of hightide, setuid binaries (.so and .jar) in $JETTY_HOME/lib/setuid and the config file for it is in $JETTY_HOME/etc/jetty-setuid.xml. You edit your start.ini and do: * uncomment --exec * add -Djava.library.path=./lib/setuid * add an option:

Re: [jetty-users] the password must be in a recoverable format

2011-11-06 Thread Jan Bartel
Guy, With DIGEST authentication, the server has to calculate a digest using the info supplied in the authentication request, so the stored password has to be recoverable in order to be able to be used in the digest. Jan On 5 November 2011 05:29, Guy Hillyer wrote:

Re: [jetty-users] Jetty 8.0.0 - 8.0.4 not closing connections using SelectChannelConnector

2011-11-21 Thread Jan Bartel
Volodia and Mathijs, We've been working a lot on the half-close handling for jetty, and these improvements may solve your issues. I've pushed a snapshot of jetty-8.1.0 to the snapshot repo here: Please download

Re: [jetty-users] Jetty Cross Origin Filter

2011-11-28 Thread Jan Bartel
I've updated the Cross Origin Filter wiki page to include instructions to put the jetty-servlets.jar into WEB-INF/lib: You don't mention what version of jetty you are using? Jan On 29 November 2011 09:08, Ari King

Re: [jetty-users] jetty-env.xml not loaded in embedded jetty

2011-12-04 Thread Jan Bartel
Michel, The answer is here, near the top of the page: You need to set up these configuration classes on the context that represents your webapp for features like JNDI to work. regards Jan On 2 December 2011 18:53, Michel Jung

Re: [jetty-users] Jetty Block IP based on visits

2011-12-05 Thread Jan Bartel
Xin, You should start with Jetty's QosFilter (Quality of Service filter): regards Jan On 5 December 2011 17:57, Xin Chen wrote: Hi, Can you Jetty do this? Specifying the maximum request e.g. 1000 per day or per hour,

Re: [jetty-users] Using OpenJPA in embedded Jetty, cannot find persistence.xml

2011-12-05 Thread Jan Bartel
Amaltas, Jetty itself doesn't find or read the persistence.xml file, that's something that is done by the jpa. I think maybe the jpa is expecting to find the persistence file inside a jar file, so have you tried putting it inside a jar file in WEB-INF/lib? If that doesn't work, then you might

Re: [jetty-users] JDBCSession persistence error

2011-12-11 Thread Jan Bartel
I raised this bug: Jan On 12 December 2011 10:43, Amaltas wrote: I am using JDBCSessionManager in embedded jetty. When I set CloseableDoSFilter with trackSessions=true I see the following error. I am using Jetty 8.1.0.

Re: [jetty-users] how to specify the port when using mvn:run-forked

2011-12-11 Thread Jan Bartel Either a jetty.xml file, or try passing the -Djetty.port=9090 in the jvmArgs. Jan On 12 December 2011 13:16, Tommy Chheng wrote: If i'm using

Re: [jetty-users] JDBCSession persistence error

2011-12-12 Thread Jan Bartel
Amaltas, I prevented the DosFilterTrackers from being persisted when the HttpSession is passivated. Please try jetty-7 head and let me know if that fixes the issue. regards Jan On 12 December 2011 12:09, Jan Bartel wrote: I raised this bug:

Re: [jetty-users] Jetty client v8.0.4 - problem opening HTTPS connection through HTTP proxy server

2011-12-18 Thread Jan Bartel
Hi Gilman, Could you attach the actual tcp dump file? If you cannot, then please open an issue and attach it. The issue tracker is at: Also, have you turned on debug , and overridden the onException(),

Re: [jetty-users] Jetty client v8.0.4 - problem opening HTTPS connection through HTTP proxy server

2011-12-19 Thread Jan Bartel
/false Status = CLOSED HandshakeStatus = NEED_UNWRAP bytesConsumed = 0 bytesProduced = 7 ... repeats here ... On Sun, Dec 18, 2011 at 7:49 PM, Jan Bartel wrote: Hi Gilman, Could you attach the actual tcp dump file? If you cannot, then please open an issue and attach

Re: [jetty-users] Jetty client v8.0.4 - problem opening HTTPS connection through HTTP proxy server

2011-12-20 Thread Jan Bartel
at 8:51 PM, Jan Bartel wrote: Gilman, thanks for the tcpdump, much easier to work with. Could you please try jetty-8.1.0.RC0? We did a lot of work on the ssl and io layers recently, so that's the best version to try with. Also, FYI, if bug #298502 was marked as fixed for jetty

Re: [jetty-users] various problems with embedded jetty (in web app)

2011-12-22 Thread Jan Bartel
Ooops. The jsp problem is a bug in jetty-8's handling of the jsp-config element. Specifically, we're not returning it for the new ServletContext.getJspConfigDescriptor() method, which jasper in jetty-8 relies on. I've opened this bug: Should

Re: [jetty-users] various problems with embedded jetty (in web app)

2011-12-22 Thread Jan Bartel
explicit that I want the 8.1.0-SNAPSHOT I can't get it. Also do you have some clue on the difference of the memory load in RAM between windows and linux? However, it has maybe nothing do with jetty... Kind regards, Eugen 2011/12/22 Jan Bartel Fix checked in to trunk

Re: [jetty-users] NPE in MultiPartFilter

2012-01-02 Thread Jan Bartel
Hi Steve, Happy Holidays to you too. jetty-7.0.2 is pretty old. Looking at the code for the MultiPartFilter, it seems that perhaps the temp dir for the context has not been set as a context attribute. That should be done by the WebInfConfiguration class that is applied during deployment of the

Re: [jetty-users] jetty 8.1.0rc2 won't start with jsp-config tag in web.xml

2012-01-08 Thread Jan Bartel
Raised: Fixed. thanks, Jan On 4 January 2012 03:52, Ho.Tri.Bao wrote: Hello, I am using jetty hightide 8.1.0RC2 My web.xml contains the following jsp-config tag ?xml version=1.0? web-app metadata-complete=true

Re: [jetty-users] various problems with embedded jetty (in web app)

2012-01-08 Thread Jan Bartel
-- jesse mcconnell On Thu, Dec 22, 2011 at 16:22, Jan Bartel wrote: Eugen, Glad to hear this is working. This change will be released with 8.1.0.RC1, which should be happening within the next few weeks. No idea on the windows/linux difference

Re: [jetty-users] Proxying SSL on Apache to HTTP on Jetty

2012-01-08 Thread Jan Bartel
The more up-to-date documentation page is here: However, they're probably not that much different. Download the sources of jetty and take a look at the classes that implement the Connector interface. You probably want to extend the

Re: [jetty-users] various problems with embedded jetty (in web app)

2012-01-09 Thread Jan Bartel
            /plugin /plugins 2012/1/9 Jan Bartel Eugen, The jstl jars need to be on the container's classpath, not inside your webapp. Can you see the $JETTY_HOME/lib/jsp directory contains the jstl jars org.apache.taglibs.standard.glassfish_1.2.0.v201004190952.jar

Re: [jetty-users] Setting System Properties from a Deployment Descriptor

2012-01-10 Thread Jan Bartel
In a jetty xml file you can do eg: Call class=java.lang.System name=setProperty Argderby.system.home/Arg ArgSystemProperty /Call Jan On 5 January 2012 02:41, Chad La Joie wrote: Is it possible to *set* a JVM system property from a

Re: [jetty-users] Jetty client v8.0.4 - problem opening HTTPS connection through HTTP proxy server

2012-01-12 Thread Jan Bartel
that directory. It seemed like the newest snapshot there. Still seeing the problem. Logfile (plus SSL debug) and tcpdump attached. Thanks for looking into this. I'm curious - what kind of issues are you seeing? Gil On Tue, Dec 20, 2011 at 7:15 PM, Jan Bartel wrote: Hi Gil

Re: [jetty-users] jetty versions

2012-01-14 Thread Jan Bartel
We're keeping the jetty-7 and jetty-8 codebases in sync, except that 8 has the servlet 3 stuff loaded on top. We also try and release both together, so they are both current. Note that servlet 3 is backward compatible with servlet 2.5, so you don't have to use the new features if you don't want

Re: [jetty-users] mvn jetty:run with scanIntervalSeconds = 10 results in OOM

2012-01-16 Thread Jan Bartel
You might use some analysis tools to see what is causing the classloaders to hang around. BTW, there is a known issue with jsp: Jan On 17 January 2012 13:54, S Ahmed wrote: After a few compilations (around 5) I got

Re: [jetty-users] webapp is not found although jetty knows about it

2012-01-17 Thread Jan Bartel
What's the code for deploying the embedded webapp? If you take that out and run it as a main, does it work? Jan On 18 January 2012 02:43, Zsolt Kúti wrote: Hello, After having started a webapp with an embedded jetty the application is not found. The server debug log

[jetty-users] i-jetty-3.1 Released

2012-01-22 Thread Jan Bartel
Release 3.1 of i-jetty and the Console webapp are now available from: + the Android Market (as i-Jetty) + This release: i-jetty + updates to jetty-7.6.0.RC4 console webapp: + paginates data such as Contacts and Media + introduces some find me

Re: [jetty-users] Jetty releases 7.6.0 and 8.1.0

2012-01-29 Thread Jan Bartel
Nope, you're not missing anything. Its not produced any more as its not needed. cheers Jan On 30 January 2012 06:31, Filipe Sousa wrote: Hi. I'm using ivy for dependencies and I can't find the jetty-jsp-2.1 artifact for 7.6.0.v20120127. The last version in 

Re: [jetty-users] how to resolve java.lang.IllegalStateException: REDISPATCHING, thanks

2012-01-29 Thread Jan Bartel
You are resuming the same continuation at least 10 times inside a loop. Jan On 29 January 2012 13:45, littlestar wrote: I want to use jetty for async output, but there is a lot of java.lang.IllegalStateException. is main class is client test

Re: [jetty-users] Is there any CSRF protection/filters in jetty ?

2012-02-01 Thread Jan Bartel
Amaltas, See In the meanwhile, you can disable putting session ids in links by calling SessionManager.setSessionIdPathParameterName(null); Or alternatively, invalidate and recreate a new session, copying across attributes in a

Re: [jetty-users] LoginService/IllegalStateException with Jetty 8.1.0 and Hudson 2.2.0

2012-02-02 Thread Jan Bartel The upshot of this is that you need to explicitly tell a context which realm (aka LoginService) to use if you have more than one of them defined in the Server. You give the SecurityHandler for a context either the name of the realm you want to

Re: [jetty-users] Is there any CSRF protection/filters in jetty ?

2012-02-05 Thread Jan Bartel
Amaltas, I don't know what I was talking about, jetty does implement CSRF protection, and it is in fact enabled by default! See comments I updated on the issue: Jan On 2 February 2012 12:47, Jan Bartel wrote: Amaltas, See

Re: [jetty-users] JSP compilation

2012-02-07 Thread Jan Bartel
You are going to need a compiler of some sort unless you precompile your jsps (recommended on production systems anyway). Here's the info you need: Jan On 8 February 2012 13:28, Christopher Richmond wrote: Hello, I

Re: [jetty-users] does not work --exec in 8.1.0

2012-02-08 Thread Jan Bartel
Wayama, Search for a thread on this mailing list with subject --exec in 7.6.0 for more information. Jan On 9 February 2012 18:52, Ryousuke Wayama wrote: Hi, A problem occurs tries to start the jetty 8.1.0. Jetty does not work the '--exec' option in 8.1.0. I'm using

Re: [jetty-users] how to start more than one web app with mvn jetty run

2012-02-11 Thread Jan Bartel
Markus, This might help you: Jan On 8 February 2012 18:59, Markus Innerebner wrote: hi all, I wanted to know if it is possible to run with the maven jetty run command more than one

Re: [jetty-users] error to configure jndi with jetty-maven-plugin

2012-02-28 Thread Jan Bartel
Haipeng, the config seems fine. Are you positive you're using the correct version of the jetty maven plugin? I notice you don't have a version element in the plugin declaration - do you have a pluginManagement section elsewhere in the project that specifies the version? If not, then please try

Re: [jetty-users] Jetty-8.1.1 - JNDI DB Resource not working with jetty-env.xml, works in jetty-web.xml

2012-02-29 Thread Jan Bartel
Jamie, The set of configuration classes should be: Call name=setAttribute Argorg.eclipse.jetty.webapp.configuration/Arg Arg Array type=java.lang.String Itemorg.eclipse.jetty.webapp.WebInfConfiguration/Item

Re: [jetty-users] Jetty-8.1.1 - JNDI DB Resource not working with jetty-env.xml, works in jetty-web.xml

2012-03-01 Thread Jan Bartel
the following: read WEB-INF/jetty-env.xml, setting up a java:comp/env context, and hooking up JNDI entries from the environment into your web app. The listing below shows the 2 extra Configurations in the correct order they must be defined:.. Thanks, Jamie From: Jan Bartel janb

Re: [jetty-users] Jetty-8.1.1 - JNDI DB Resource not working with jetty-env.xml, works in jetty-web.xml

2012-03-02 Thread Jan Bartel
the second code block section above Setting JNDI Entries as Global or Scoped section it looks like the in a codejetty-env.xm/codel file: ..  got mashed in with the context xml file. Thanks, Jamie From: Jan Bartel Date: Fri, 2 Mar 2012 11:14:48 +1100 Hi Jamie, Glad

Re: [jetty-users] Why does servlet.log() write to start.log?

2012-03-07 Thread Jan Bartel
Sounds like a bug, so I raised: Jan On 8 March 2012 09:03, Jeff Palmer wrote: Ever since 7.6 or 8.1, the two messages below do not get written to the 20xx_xx_xx.stderrout.log.  They just go to start.log.  If you

Re: [jetty-users] is 8.1.2.v20120302 released?

2012-03-08 Thread Jan Bartel
Err, strange. We have not yet released 8.1.2! We staged a release to the sonatype repo and then dropped it, so not sure why it is in! The real 8.1.2 release is imminent. Jan On 9 March 2012 11:13, Ryan McKinley wrote: Unlike previous releases, I dont see

Re: [jetty-users] Disabling all response content when response status code is 4xx or 5xx

2012-03-11 Thread Jan Bartel
The jetty.xml file is meant to configure the jetty Server instance, not a ContextHandler. You need to use the webAppConfig element and use maven syntax to configure the appropriate setter - something like webAppConfig errorHandler

Re: [jetty-users] Jetty 7.6.2 and 8.1.2 (v20120308) Released!

2012-03-22 Thread Jan Bartel
Craig, the jetty-jsp-2.1 module is not required (can't remember precisely when, but it was a release or so ago). Whilst the module jetty-jsp exists, it is now just a maven convenience for gathering all jsp related dependencies in the one pom. If you're using osgi, then you should probably be

Re: [jetty-users] classpath scanning

2012-03-28 Thread Jan Bartel
/Set    Set name=defaultsDescriptoretc/webdefault.xml/Set    Call name=setAttribute                 Argorg.eclipse.jetty.server.webapp.WebInfIncludeJarPattern/Arg                Arg/Arg        /Call /Configure On Mar 28, 2012, at 12:27 AM, Jan Bartel wrote: You can set the context

Re: [jetty-users] Override default servlet mapping in Jetty8 with Servlet 3.0

2012-04-01 Thread Jan Bartel
Edgar, You can't override a servlet that already has a mapping with the new servlet 3 api. Quoting from : If any of the specified URL patterns are already mapped to a different Servlet, no updates will be performed.

Re: [jetty-users] Deploy WEB bundle into equinox and Jetty-osgi-boot

2012-04-05 Thread Jan Bartel
Laurent, You can make your osgi web bundle and jetty-osgi-boot will automatically detect it and deploy it. cheers Jan On 5 April 2012 16:04, Laurent G. wrote: Hello, I try to build an OSGI platform with equinox. I

Re: [jetty-users] Inject OSGi Services into WEB Bundle

2012-04-06 Thread Jan Bartel
Laurent, How are you trying to consume the service? What are the errors that you receive? Jan On 7 April 2012 02:02, Laurent G. wrote: Hello, I would like to inject some OSGI Services into a WEB bundle. I use equinox as OSGI Platform and Declarative service I

Re: [jetty-users] Jetty 8.1.2 doesn't recognize file changes in symlinked folder

2012-04-12 Thread Jan Bartel
Lukas, I can't reproduce that using the standard jetty test webapp. I modified the DefaultServlet to allow serving aliases, then sym linked $JETTY_HOME/webapps/test/mystatic - /tmp/static I put a few html files in /tmp/static and then modified them on-the-fly. All of the modifications were

Re: [jetty-users] setting PID with embedded jetty

2012-04-12 Thread Jan Bartel
Take a look at the script in the $JETTY_HOME/bin directory. You can use it as an init.d boot script on unix systems. cheers Jan On 13 April 2012 01:24, S Ahmed wrote: Well what I am trying to accomplish is automate this. So if the server reboots, it will start

Re: [jetty-users] Jetty 7.6.3 ClassNotFoundException org.mortbay....

2012-04-23 Thread Jan Bartel
Mike, You probably have a WEB-INF/jetty-env.xml or WEB-INF/jetty-web.xml that refers to the old package name. Jan On 24 April 2012 08:27, Mike Brown wrote: I'm trying to port a Jetty 6 application, which uses JNDI (jetty-plus) to Jetty 7.  Note I had the same results with

Re: [jetty-users] Jetty does not remove timed-out session, if the session was replaced in runtime

2012-04-25 Thread Jan Bartel
Michael, I opened this bug: Jan On 25 April 2012 16:54, Michael Elman wrote: Hi, the following fix seems to fix the bug: import; import javax.servlet.ServletException; import

Re: [jetty-users] Embedded jetty-all 8.1.x JNDI + Atomikos + OpenJPA 2.x

2012-04-28 Thread Jan Bartel
Will, java:comp/env is a namespace related to webapps. You don't have a webapp, just a handler. Therefore, put your jndi bindings into the global namespace (rather than the Server instance's namespace), and then look them up from that global namespace. So take out the Ref id=Server from the

Re: [jetty-users] (Am I) using persistent connections with Jetty

2012-05-11 Thread Jan Bartel
If you use HTTP1.1 from the clients the connections will be persistent by default. Even if the client does not close them, after some idle timeout jetty can close them (see description of maxIdleTime and lowResourcesMaxIdleTime). Jan On 11

Re: [jetty-users] jetty-maven-plugin v7.5.0.v20110901 no longer respects system properties?

2012-05-21 Thread Jan Bartel
Can you print out or otherwise examine what the value of the SystemProperty that is set via the pom.xml is at runtime? AFAIK, the system property stuff has not changed in a long time ... BTW, jetty-7.5 is still a very old version, the most recent being 7.6.3. Jan On 15 May 2012 20:44, Pieper,

Re: [jetty-users] jetty-maven-plugin v7.5.0.v20110901 no longer respects system properties?

2012-05-23 Thread Jan Bartel
element, but it still behaves the same way - the AbstractLifeCycle.LOG field is still initialized before any of the properties are set. - Aaron -Original Message- From: Jan Bartel [] Sent: Wednesday, May 23, 2012 4:32 AM To: JETTY user mailing list Cc: Pieper

Re: [jetty-users] Jetty clustering not working properly (jettySessions expiryTime getting set to 0 after sometime)

2012-05-30 Thread Jan Bartel
Fixed. Jan On 29 May 2012 10:41, Jan Bartel wrote: Venkat, Thanks for the clear explanation, I raised this bug: Will let you know when its fixed. Jan On 29 May 2012 07:59, venkat_99 wrote: Here

Re: [jetty-users] JNDI Demo for Jetty 8

2012-06-02 Thread Jan Bartel
There are example webapps for JNDI, annotations etc over on codehaus. For jetty-8 go to the following link and look in the test-wars dir:;a=tree;h=refs/heads/jetty-8;hb=refs/heads/jetty-8 Jan On 2 June 2012 13:19, Marcin Zajączkowski

Re: [jetty-users] Jetty session cluster session attribute

2012-06-29 Thread Jan Bartel
list archive at ___ jetty-users mailing list -- Jan Bartel – Developer advice, services and support from the Jetty CometD

Re: [jetty-users] HttpGenerator: Ignore extra content

2012-06-29 Thread Jan Bartel
mailing list archive at ___ jetty-users mailing list -- Jan Bartel – Developer advice, services and support from the Jetty CometD

  1   2   3   4   5   >