Re: [jetty-users] Jetty OSGI with JSP support - Missing Constraint

2013-12-09 Thread Joakim Erdfelt
Open up your "javax.servlet-api_3.1.0" and check out its manifest. There's a few servlet-api jars for servlet spec 3.1 floating about that export as version 2.6 or 2.7 (/me glares at Eclipse orbit!) -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.co

Re: [jetty-users] Jetty OSGI with JSP support - Missing Constraint

2013-12-10 Thread Joakim Erdfelt
7;t use OSGi myself, so I don't know what you need to do, but maybe this little insight into the process will help you address it directly. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD ex

Re: [jetty-users] Http request header that contains horizontal tab in value couldn't parse.

2013-12-10 Thread Joakim Erdfelt
Seems like a bug. Filed at https://bugs.eclipse.org/bugs/show_bug.cgi?id=423695 is an extremely uncommon separator in the wild btw. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts e

Re: [jetty-users] When does a Jetty thread exactly become idle?

2013-12-12 Thread Joakim Erdfelt
More specifics on the versions please. Full version of Jetty, and full version of your JDK. Also, what is your environment OS/Arch? The connections you are referring to are doing what? Normal servlet? Async servlet? WebSocket? Other? -- Joakim Erdfelt webtide.com <http://www.webtide.

Re: [jetty-users] Starting jetty8 as a service on windows

2013-12-18 Thread Joakim Erdfelt
while exposing the native service hooks. With that being said, why is using a java service wrapper a negative to you? We tend to like procrun / prunserv from Apache Commons-Daemon ourselves. https://commons.apache.org/proper/commons-daemon/binaries.html -- Joakim Erdfelt webtide.com <h

Re: [jetty-users] Starting jetty8 as a service on windows

2013-12-19 Thread Joakim Erdfelt
Here's the Jetty doc for Apache commons-daemon with Jetty 9.1 http://www.eclipse.org/jetty/documentation/current/startup-windows-service.html -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty &

Re: [jetty-users] MappedByteBufferPool not pooling

2013-12-27 Thread Joakim Erdfelt
Seems like it might be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=424667 -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Fri, Dec 27,

Re: [jetty-users] http classes not accessible

2013-12-28 Thread Joakim Erdfelt
the org.eclipse.jetty.http.HttpHeader is not exposed by Jetty's WebSocketServlet, what are you trying to do? -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty -

Re: [jetty-users] http classes not accessible

2013-12-28 Thread Joakim Erdfelt
quality=0.3] tr [quality=0.2] Now, that being said, exposing either a .. List UpgradeRequest.getHeaderValues(String name) or List UpgradeRequest.getWeightedHeaderValues(String name) or List UpgradeRequest.getUserLocales() or List QuoteUtil.parseWeightedValues(String headerval

Re: [jetty-users] http classes not accessible

2013-12-29 Thread Joakim Erdfelt
ServletUpgradeRequest implement HttpServletRequest Will work on that tomorrow. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Sun, Dec 29, 2013 at 9:14 AM, N

Re: [jetty-users] Meaning of "java.lang.IllegalStateException: s=ASYNCIO i=false a=COMPLETE" error message?

2014-01-05 Thread Joakim Erdfelt
Which version of Jetty? (be specific) -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Sun, Jan 5, 2014 at 6:19 PM, Gaurav Kumar wrote: > As per

Re: [jetty-users] Meaning of "java.lang.IllegalStateException: s=ASYNCIO i=false a=COMPLETE" error message?

2014-01-05 Thread Joakim Erdfelt
Also, we need *MUCH* more context for that particular exception. Such as more lines of the stacktrace. As an IllegalStateException depends heavily on what was going on. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from fr

Re: [jetty-users] Meaning of "java.lang.IllegalStateException: s=ASYNCIO i=false a=COMPLETE" error message?

2014-01-05 Thread Joakim Erdfelt
ing on. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Sun, Jan 5, 2014 at 8:25 PM, Joakim Erdfelt wrote: > Also, we need *MUCH* more context

Re: [jetty-users] Closing a jaxa.websocket.WebSocketContainer in Jetty 9.1

2014-01-06 Thread Joakim Erdfelt
socket.waitForClose(); } finally { if (ws instanceof LifeCycle) { ((LifeCycle)ws).stop(); } } } catch (Throwable t) { t.printStackTrace(); } } } -- Joakim Erdfel

Re: [jetty-users] Meaning of "java.lang.IllegalStateException: s=ASYNCIO i=false a=COMPLETE" error message?

2014-01-06 Thread Joakim Erdfelt
Refers to the state tracking in HttpChannelState . See https://github.com/eclipse/jetty.project/blob/master/jetty-server/src/main/java/org/eclipse/jetty/server/HttpChannelState.java#L161-L167 s = state i = initial a = async -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intal

Re: [jetty-users] javax.servlet.ServletException: Not running on Jetty, JSR support disabled

2014-01-06 Thread Joakim Erdfelt
by adding an attribute with the name "org.eclipse.jetty.websocket.jsr356" and a value of Boolean.FALSE to the WebAppContext that you want it disabled on. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from

Re: [jetty-users] Closing a jaxa.websocket.WebSocketContainer in Jetty 9.1

2014-01-07 Thread Joakim Erdfelt
A change has been pushed to master to mark the executor and scheduler threads as daemon. http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/commit/?id=44a7d235161a9bd96185d67ca69165b392c47db2 Please give master a try. (or wait 24 hours and try the nightly SNAPSHOT) -- Joakim Erdfelt

Re: [jetty-users] javax.servlet.ServletException: Not running on Jetty, JSR support disabled

2014-01-07 Thread Joakim Erdfelt
/demo-base/webapps/test.xml#L32-L36 Example: http://www.eclipse.org/jetty/configure_9_0.dtd";> ... /test /test.war ... org.eclipse.jetty.websocket.jsr356 false -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, s

Re: [jetty-users] Jetty server periodically looses Freemarker template

2014-01-08 Thread Joakim Erdfelt
/run/jetty -jar start.jar or create a "work" directory under your ${jetty.base} (if running Jetty 9.1+) use ${jetty.home}/work/ if running versions of Jetty prior to 9.1 See http://stackoverflow.com/questions/19232182/jetty-starts-in-c-temp/19232771#19232771 for more details on this

Re: [jetty-users] Jetty9 WebSocket Client - SessionFactory.createSession causes java.lang.NullPointerException

2014-01-15 Thread Joakim Erdfelt
, use the socket you pass in as your communications channel. The Socket is configured by you to receive messages, and you use the session (obtained during socket open) to get information about the connection. Use the session.getRemote() to send messages. -- Joakim Erdfelt webtide.com

Re: [jetty-users] Jetty9 WebSocket Client - SessionFactory.createSession causes java.lang.NullPointerException

2014-01-15 Thread Joakim Erdfelt
I need to write an update to that article. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Wed, Jan 15, 2014 at 2:05 PM, Ken OKABE wrote: > Hi J

Re: [jetty-users] Jetty9 WebSocket Client - SessionFactory.createSession causes java.lang.NullPointerException

2014-01-15 Thread Joakim Erdfelt
Have not tested it with Android. I'm a bit surprised that Android supports Java 1.7 now. Last time I looked it didn't support that version of Java yet (i have a project for the weekend :-). Do you have anything more on the stacktrace for the ExceptionInInitializerError? -- Joak

Re: [jetty-users] Jetty9 WebSocket Client - SessionFactory.createSession causes java.lang.NullPointerException

2014-01-16 Thread Joakim Erdfelt
ot so see these kinds of errors. (Of the active Jetty developers, all of us are using Linux). At the turn of the new year, we have been addressing these kinds of OS specific build errors (if you check master you'll see that we are almost done going through the Windows build/test errors).

Re: [jetty-users] jetty embedded in JRuby app

2014-01-16 Thread Joakim Erdfelt
ttp://archive.eclipse.org/jetty/8.1.9.v20130131/apidocs/org/eclipse/jetty/server/Server.html#setDumpAfterStart(boolean)>before the server is started, that will show you what is in the classloaders at the server side and at the webapp side, it should help you figure out what is going on. -- Joakim Erdfelt webti

Re: [jetty-users] IndirectNIOBuffer leaking Java heap

2014-01-16 Thread Joakim Erdfelt
Have you tried with a more recent version of Jetty 7? Last release of Jetty 7.x was 7.6.14.v20131031 There's been many many many changes to Jetty since 7.4.5. Also, make sure you keep your JVM up to date, as the NIO layer has also undergone many bug fixes and improvements. -- Joakim Er

Re: [jetty-users] [jetty-9.1.0] Scheduler thread hang cause connections leak

2014-01-17 Thread Joakim Erdfelt
What linux distribution are you running? Curious if selinux is active on your system. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Thu, Jan 16,

Re: [jetty-users] NPN for JRE 1.7.0_51 with 9.1.1.v20140108

2014-01-17 Thread Joakim Erdfelt
The lack of an inactive sub-module shouldn't throw an error like that, filing bug ... https://bugs.eclipse.org/bugs/show_bug.cgi?id=426003 -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty &

Re: [jetty-users] jetty embedded in JRuby app

2014-01-17 Thread Joakim Erdfelt
Uh, your welcome :-) -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Fri, Jan 17, 2014 at 6:47 AM, Raphael Bauduin wrote: > All solved,

Re: [jetty-users] NPN for JRE 1.7.0_51 with 9.1.1.v20140108

2014-01-21 Thread Joakim Erdfelt
have to provide this layer. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Mon, Jan 20, 2014 at 2:45 PM, Nils Kilden-Pedersen wrote: > What about

Re: [jetty-users] Cannot inject ContainerRequestContext to interceptor, reader, writer , exception mapper.

2014-01-21 Thread Joakim Erdfelt
Wow! Jetty 2.5.1 !? None of the Jetty devs even have access to that old version of Jetty. Its essentially a mythical version of Jetty, lost in the sands of time. Have you considered upgrading? We're at Jetty 9.1 now ya know. Well over 200 releases since Jetty 2.5.1 -- Joakim Er

Re: [jetty-users] Files in webapp temp dir (in /tmp) were deleted by tmpwatch

2014-01-21 Thread Joakim Erdfelt
You have a few choices. All outlined in this answer -> http://stackoverflow.com/questions/19232182/jetty-starts-in-c-temp/19232771#19232771 -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & C

Re: [jetty-users] Enabling annotations per webapp

2014-01-24 Thread Joakim Erdfelt
Check your jetty version again. There once was a Jetty 2.5.1, but its ancient. (think pre servlet api days) -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.or

Re: [jetty-users] Upgrading to Jetty 9.1

2014-01-24 Thread Joakim Erdfelt
Have you filed a bug yet? https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Jetty&format=guided -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org

Re: [jetty-users] https/wss/spdy

2014-01-29 Thread Joakim Erdfelt
, and the browser is capable of it, it will use it. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Tue, Jan 28, 2014 at 3:04 PM, Nils Kilden-Pederse

Re: [jetty-users] Problem upgrading Jetty

2014-02-01 Thread Joakim Erdfelt
Agreed, that's a bug. Please submit it to bugs.eclipse.org (under RT/Jetty) -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Sat, Feb 1, 2014 at

Re: [jetty-users] SPDY not working

2014-02-03 Thread Joakim Erdfelt
What specific version of Java are you using? (be specific) The NPN support is Java version specific as we provide extra SSL support not built-into Java itself in order to communicate SPDY. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, servic

Re: [jetty-users] SPDY not working

2014-02-03 Thread Joakim Erdfelt
For that Java VM you should be using npn-boot-1.1.3.v20130313.jar -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Mon, Feb 3, 2014 at 3:45 PM, Peta

Re: [jetty-users] SNI alternative

2014-02-07 Thread Joakim Erdfelt
om it to tomcat native. http://tomcat.apache.org/native-doc/ which uses apache apr and openssl natively via java jni. (jni is _slow_ but it works) -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty &

Re: [jetty-users] java.io.IOException: Cannot read file: modules\npn\npn-1.7.0_51.mod

2014-02-11 Thread Joakim Erdfelt
The next release, Jetty 9.1.2 (in final stage testing right now) will also fix this bug. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Tue, Feb 11,

Re: [jetty-users] Compiling jsp

2014-02-13 Thread Joakim Erdfelt
Also note that default installation of Java on most distributions is to use the JRE as your JAVA_HOME. If you opt to not use the internal compiler, then you are forced to either use the JDK as your JAVA_HOME or manually add in the required jars that the JDK adds automatically for you. -- Joakim

Re: [jetty-users] What's wrong with this secureCookie configuration?

2014-02-13 Thread Joakim Erdfelt
Jetty 8.x is Servlet 3.0, its easier to use the standard location in the WEB-INF/web.xml of your webapp. true -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse

Re: [jetty-users] What's wrong with this secureCookie configuration?

2014-02-13 Thread Joakim Erdfelt
There's not enough information to answer your original question. Where are you attempting to do this? The server side? the deployment side? the webapp side? or something else? -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and s

Re: [jetty-users] What's wrong with this secureCookie configuration?

2014-02-13 Thread Joakim Erdfelt
Also, what is the DTD declaration of those XML files? (yes, its important) -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Thu, Feb 13, 2014 at 4:54

Re: [jetty-users] What's wrong with this secureCookie configuration?

2014-02-13 Thread Joakim Erdfelt
va:253) at java.lang.reflect.Method.invoke(Method.java:599) at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.set(XmlConfiguration.java:574) I suspect its because the actual implementation of javax.servlet.SessionCookieConfig is an internal class that itself isn't public. --

Re: [jetty-users] Compiling jsp

2014-02-14 Thread Joakim Erdfelt
$ sudo update-alternatives --config java Also, make sure your upstart configures JAVA_HOME and puts your selection of java first on the path (aka PATH=$JAVA_HOME/bin:$PATH) -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and suppor

Re: [jetty-users] What's wrong with this secureCookie configuration?

2014-02-14 Thread Joakim Erdfelt
I would expect Jetty 6 to complain about unknown descriptor values, version identifiers, missing dtds, unhandled xsds, etc ... -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse

Re: [jetty-users] Jetty 9.1.2 IncompatibleClassChangeError

2014-02-17 Thread Joakim Erdfelt
You have the websocket classes both in the server side and also in the webapp side. To fix, remove the websocket classes from your webapp's WEB-INF/lib/ tree. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from fro

Re: [jetty-users] Jetty 9.1.2 IncompatibleClassChangeError

2014-02-17 Thread Joakim Erdfelt
Your code ... context.setParentLoaderPriority(true); ... is subverting the standard webapp classloader behavior as well. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse

Re: [jetty-users] Jetty Configuration

2014-02-18 Thread Joakim Erdfelt
rName=/var/app/webapps $ java -jar start.jar With Jetty 9.1.x you can double check your configuration with ... $ java -jar start.jar --list-config -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jet

Re: [jetty-users] mod vs etc

2014-02-18 Thread Joakim Erdfelt
looks like ... $ cd /var/jetty/my-base $ java -jar /opt/jetty-dist/start.jar --list-config -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Mon, Feb 1

Re: [jetty-users] Tracking down invalidated session

2014-02-18 Thread Joakim Erdfelt
if your sessionList.get() call and sessionList.remove() call are on different threads you might just be hitting some standard concurrency issues. In other words, imagine this order of events with 2 threads: T1 - sessionList.get() T2 - sessionList.remove() T1 - session.getAttribute() -- Joakim

Re: [jetty-users] Restrict a single webapp to localhost

2014-02-18 Thread Joakim Erdfelt
name of "localhostonly" for it to bind to. http://www.eclipse.org/jetty/documentation/current/configuring-virtual-hosts.html -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/je

Re: [jetty-users] redirect

2014-02-18 Thread Joakim Erdfelt
Create a ${jetty.base}/webapps/redirect-to-www.xml with the following contents ... http://www.eclipse.org/jetty/configure.dtd";> / http://www.mydomain.com true false false mydomain.com -- Joakim Erdfelt webtide.com <http://www.webtide.com/>

Re: [jetty-users] JSR-356 Design Thought

2014-02-18 Thread Joakim Erdfelt
On Mon, Feb 17, 2014 at 10:10 PM, Mack Gerhardt wrote: > Is it me or does anyone else feel like the annotation based setup of a > WebSocket pojo is like trying to bring dynamic feel of node and python to > java. Why not have concrete interfaces to implement vs methods to annotate, > and if you sc

Re: [jetty-users] Verify webapp startup

2014-02-20 Thread Joakim Erdfelt
fic problem space, you'll need to interrogate the app itself to determine if it is available for requests or not. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - c

Re: [jetty-users] Jetty-9.1.2 - websocket : OSGi packaging issue

2014-02-20 Thread Joakim Erdfelt
0210 org.eclipse.jetty.websocket javax-websocket-server-impl 9.1.2.v20140210 -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Thu, Feb 20, 2

Re: [jetty-users] Cleaning temp directory

2014-02-20 Thread Joakim Erdfelt
(available in Jetty 9.1+) false Good luck -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Thu, Feb 20, 2014 at 6:50 AM, Andrea Cappelli wrote: >

Re: [jetty-users] Cleaning temp directory

2014-02-21 Thread Joakim Erdfelt
sing? I'll see if I have a copy of it laying around, just to see if I can replicate. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Fri, F

Re: [jetty-users] Jetty client 100% CPU

2014-02-27 Thread Joakim Erdfelt
We think we have addressed these with the pending Jetty 9.1.3 release. Mind testing the staged (potential) release to see if it fixes your OSGi issues? The current stage repository -> https://oss.sonatype.org/content/repositories/jetty-1053/ -- Joakim Erdfelt webtide.com <http://www.webti

Re: [jetty-users] embedded jetty, war context and slf4j/logback?

2014-02-28 Thread Joakim Erdfelt
bApps in your environment that might have conflicting WEB-INF/lib contents. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Fri, Feb 28, 2014 at 2:15

Re: [jetty-users] libsetuid.so

2014-03-03 Thread Joakim Erdfelt
Can you provide more details on what you are trying to do? As mixing libsetuid.so and jetty embedded would be a first. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse

Re: [jetty-users] libsetuid.so

2014-03-03 Thread Joakim Erdfelt
... -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Mon, Mar 3, 2014 at 8:02 PM, Martin Edge wrote: > Open port 80 as root and them su to a low

Re: [jetty-users] libsetuid.so

2014-03-03 Thread Joakim Erdfelt
Here's the load logic in jetty-setuid: https://github.com/eclipse/jetty.toolchain/blob/master/jetty-setuid/jetty-setuid-java/src/main/java/org/eclipse/jetty/setuid/SetUID.java#L71-L153 -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services

Re: [jetty-users] Help with file not found

2014-03-04 Thread Joakim Erdfelt
Sounds like you have a problem in your html or javascript making the browser request the wrong content. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.or

Re: [jetty-users] Jetty 9.1.3 download?

2014-03-05 Thread Joakim Erdfelt
/ -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Wed, Mar 5, 2014 at 4:52 PM, Brandon Mintern wrote: > In updating my Maven dependencies today, I

Re: [jetty-users] Adding a handler so I can get HTTP-access logs for an Orion server

2014-03-07 Thread Joakim Erdfelt
doing. You either do the work in XML or in Java, same effort, same code being executed, same end result. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.or

Re: [jetty-users] JSR-356 "running in Jetty" check flawed?

2014-03-17 Thread Joakim Erdfelt
How are you starting Jetty? Also, how are you starting your webapp? -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Mon, Mar 17, 2014 at 4:11 PM,

Re: [jetty-users] org.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.runtime.ELContextImpl

2014-03-17 Thread Joakim Erdfelt
That specific error usually points to two or more standard EL jars (at different versions) present in your webapp. What are your WEB-INF/lib/*.jar files? -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty &a

Re: [jetty-users] JSR-356 "running in Jetty" check flawed?

2014-03-18 Thread Joakim Erdfelt
Correct, JSR-356 support in Jetty starts with Jetty 9.1 -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Tue, Mar 18, 2014 at 6:41 AM, Jesse McCon

Re: [jetty-users] org.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.runtime.ELContextImpl

2014-03-18 Thread Joakim Erdfelt
.path -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Tue, Mar 18, 2014 at 3:57 PM, David L Gangarapu < davidlivingst...@yahoo.com> wrote: >

Re: [jetty-users] org.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.jasper.runtime.ELContextImpl cannot be cast to org.apache.jasper.runtime.ELContextImpl

2014-03-18 Thread Joakim Erdfelt
ner-with-jsp To build out the distro + libs + webapps run ... > mvn clean package Then > cd target\dist\jetty-distribution-9.1.3.v20140225 And finally in there ... > run-jetty.bat -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services

Re: [jetty-users] Understanding behavior of org.eclipse.jetty.util.UrlEncode.decodeUtf8To

2014-03-21 Thread Joakim Erdfelt
Can you provide some examples? What precise bytes / values do you consider an incomplete UTF8 sequence? Please include an example of what you consider an incomplete UTF8 sequence "in the middle" and another example as to the problem at the last part of the sequence. -- Joak

Re: [jetty-users] Concurrent Requests in embedded jetty, some responses return empty body

2014-03-25 Thread Joakim Erdfelt
unclosed Writer will result in Jetty issuing the response content as chunked) (Note: the Handler behavior in this regard is different than the Servlet behavior) -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jett

Re: [jetty-users] Jetty SSL port does not close even maxIdleTime is reached

2014-03-28 Thread Joakim Erdfelt
What is hping2? That's a non-existant application on OSX, Linux, and Windows. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Fri, Mar 28,

Re: [jetty-users] Jetty SSL port does not close even maxIdleTime is reached

2014-03-28 Thread Joakim Erdfelt
hers to have to pull that information out of you with dozens of followup questions. It also helps immensely to have a mechanism to replicate what you are experiencing. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jet

Re: [jetty-users] Too many open files when using Jetty (8+) on ubuntu

2014-03-31 Thread Joakim Erdfelt
Likely cause, one of your libraries is *also* opening and reading the files in your war. (such as anything that does annotation scanning outside of the Servlet API, such as Spring). We've seen conflicts arise with classloader caching in these situations. -- Joakim Erdfelt webtide.com

Re: [jetty-users] sharing config across servers in jetty 9

2014-03-31 Thread Joakim Erdfelt
ay to accomplish it. I think having the directories also be associated with a property name is important (for various lib or xml lookups) -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts ec

Re: [jetty-users] Scanning for annotations using embedded Jetty

2014-04-01 Thread Joakim Erdfelt
https://github.com/jetty-project/embedded-servlet-3.1/blob/master/src/test/java/org/eclipse/jetty/demo/EmbedMe.java You need more Configuration entries btw. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the

Re: [jetty-users] Problems connecting to Heroku/Jetty/Connection Pool

2014-04-01 Thread Joakim Erdfelt
-dbcp/ c3p0 - http://www.mchange.com/projects/c3p0/ Those will be the layer between your code, and your actual jdbc driver, providing connection (and often, statement) pooling. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support fr

Re: [jetty-users] 9.1.4 release and --daemon option

2014-04-07 Thread Joakim Erdfelt
/start.jar start-log-file=logs/start.log This is identical functionality. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Mon, Apr 7, 2014 at 9:45 AM, Ro

Re: [jetty-users] 9.1.4 release and --daemon option

2014-04-07 Thread Joakim Erdfelt
There's nothing special about Jetty 9.1.4 start with regards to symlinks. There is, however, some basic tests that the directory should exist, and be writable by the user that started jetty. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, s

Re: [jetty-users] 9.1.4 release and --daemon option

2014-04-07 Thread Joakim Erdfelt
32192 -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Mon, Apr 7, 2014 at 11:44 AM, Rob Moore wrote: > Indeed, it is complaining about being able t

Re: [jetty-users] jetty-rewrite.xml: RewriteRule clobbers requestURI

2014-04-11 Thread Joakim Erdfelt
weeks. If ubuntu hasn't updated its Jetty package, then I would personally avoid using that package in a production environment. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD exper

Re: [jetty-users] Restrict a single webapp to localhost

2014-04-15 Thread Joakim Erdfelt
Your is invalid. And you cannot modify the handler list of a WebAppContext from within a WebAppContext's WEB-INF/jetty-web.xml (its too late in the process) Use the technique and DOCTYPE in my prior reply. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/j

Re: [jetty-users] sharing config across servers in jetty 9

2014-04-16 Thread Joakim Erdfelt
9.2.0 in our SNAPSHOT repo https://oss.sonatype.org/content/repositories/jetty-snapshots/ Direct link to 9.2.0-SNAPSHOT tarball artifacts ... https://oss.sonatype.org/content/repositories/jetty-snapshots/org/eclipse/jetty/jetty-distribution/9.2.0-SNAPSHOT/ -- Joakim Erdfelt webtide.com <h

Re: [jetty-users] Jetty leaves open sockets

2014-04-17 Thread Joakim Erdfelt
rking channel was offered to the threadpool it likely failed because the threadpool was exhausted. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Thu,

Re: [jetty-users] Configure STOP.PORT in jetty.xml

2014-04-25 Thread Joakim Erdfelt
the STOP.PORT can be part of the start.ini for the standalone jetty instance too. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Fri, Apr 25, 2014

Re: [jetty-users] Jetty-9.1.4 : NPE in Log.java

2014-04-28 Thread Joakim Erdfelt
Are you using jetty-logging.properties as well? -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Mon, Apr 28, 2014 at 2:37 AM, MILLON, YVES (YVES)

Re: [jetty-users] jetty-9.1.4 : some websocket header names are not case-insensitive

2014-04-29 Thread Joakim Erdfelt
The header name map should be case-insensitive. Opened a bug https://bugs.eclipse.org/433793 for it -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org O

Re: [jetty-users] java.lang.OutOfMemoryError: PermGen space

2014-04-30 Thread Joakim Erdfelt
Could the DriverManagerLeakPreventer help? https://github.com/eclipse/jetty.project/blob/master/jetty-util/src/main/java/org/eclipse/jetty/util/preventers/DriverManagerLeakPreventer.java It will pin the DriverManager at the server side classloader. -- Joakim Erdfelt webtide.com <h

Re: [jetty-users] "Badly formatted multipart request"

2014-05-03 Thread Joakim Erdfelt
Which version of Chrome? -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Fri, May 2, 2014 at 11:16 PM, Nils Kilden-Pedersen wrote: > Not sure

Re: [jetty-users] Migrating Jetty 8 to 9: "No contexts"

2014-05-06 Thread Joakim Erdfelt
your ${jetty.base}/start.ini and check your logging output, it will include the server state tree (including all handlers + webapps). -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts ecl

Re: [jetty-users] How to pass property files not in start.d to start.jar ?

2014-05-07 Thread Joakim Erdfelt
that command line is invalid. how about ... > java -jar start.jar myapp.property=foo if you want a list of properties managed in a file, create a ${jetty.base}/start.ini and put your properties in there. (skip the start.d/*.ini use entirely) -- Joakim Erdfelt webtide.com &l

Re: [jetty-users] jetty-distribution maven dependencies missing

2014-05-08 Thread Joakim Erdfelt
could use the assembly plugin and its descriptor xml to unpack / include the distribution too. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Thu, May

Re: [jetty-users] How to pass property files not in start.d to start.jar ?

2014-05-09 Thread Joakim Erdfelt
Yes, create a bugzilla with the patch. We cannot accept anonymous patches, legally speaking. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Thu, M

Re: [jetty-users] maxIdleTime has to pass before request is being handled

2014-05-12 Thread Joakim Erdfelt
Interesting side effect of Blocking connectors you have discovered. We will likely not be fixing this, as Jetty 9.x is our current live development tree, and we've dropped all of the blocking connectors from it anyway. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intali

Re: [jetty-users] Jetty/SNI Redux

2014-05-13 Thread Joakim Erdfelt
Enhancement request filed: https://bugs.eclipse.org/bugs/show_bug.cgi?id=434798 -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Tue, May 13, 2014 a

Re: [jetty-users] Server Sent Events & BIO connector - bug?

2014-06-02 Thread Joakim Erdfelt
an EofException during HttpOutput.write() normally means that the connection was terminated before it had a chance to finish writing the entire response. A *very* common occurrence in the wild. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, se

Re: [jetty-users] NumberFormatException: null on basic stop

2014-06-02 Thread Joakim Erdfelt
nwhile ... https://bugs.eclipse.org/436388 -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Mon, Jun 2, 2014 at 9:02 AM, BRUNO MELLONI wrote: > I

Re: [jetty-users] Jetty as window service fails at start

2014-06-03 Thread Joakim Erdfelt
tderr.-mm-dd.log If there is an error here, its a jetty base configuration issue. 4) Check your stdout logs - C:\opt\logs\%SERVICE_NAME%-stdout.-mm-dd.log If there is an error here, its your webapp's issue. -- Joakim Erdfelt webtide.com <http://www.webtide.com/> - intalio.co

  1   2   3   4   5   6   7   8   9   10   >