in Jetty not working
in OSGi. (typically it's one of the following the ALPNProcessors,
WebSocket, Precomputed Headers Impls, WebApp Configurations)
Joakim Erdfelt / joa...@webtide.com
On Fri, Dec 29, 2023 at 11:46 AM Silvio Bierman via jetty-users
wrote:
I have Jetty 12.0.5 embedded inside
I have Jetty 12.0.5 embedded inside an OSGi bundle with all dependencies
embedded. Jetty starts normally and I can get it working with a HTTP
listener. But when I add the code to add HTTPS support I get an error at
startup:
java.lang.IllegalStateException: No Server ALPNProcessors!
The
/jetty-ee10/jetty-ee10-websocket/jetty-ee10-websocket-jetty-tests/src/test/java/org/eclipse/jetty/ee10/websocket/tests/ProgrammaticWebSocketUpgradeTest.java
Joakim Erdfelt / joa...@webtide.com
On Mon, Oct 16, 2023 at 10:01 AM Silvio Bierman via jetty-users
wrote:
Hallo all,
I am
Hello Joakim,
You talk about the code in the alternative servlet TestServlet2 that
treats the POST body as a ZIP. As posted the code however uses
TestServlet1 that simply uses input.transferTo to read and discard all
bytes of the POST body without making any assumptions about the content.
Hello Joakim,
I am not 100% sure I understand your question but I hope this piece of
code answers your question?
class SocketCreator extends JettyWebSocketCreator
{
def createWebSocket(request : JettyServerUpgradeRequest,response :
JettyServerUpgradeResponse) =
:16 PM Silvio Bierman via jetty-users
wrote:
It appears that all handling of POST requests with ZIP-content as
payload in our application is broken with Jetty 12 (I tried both 12.0.0
and 12.0.1). We use an embedded Jetty-12 with ee10 and http/2.
Using Jetty 11 the code works as expected.
We post
Hello Simone,
I was thinking of that. I will create a small application that contains
only this handler and reudce that to only absorbing the ZIP. If the
issue still shows up I will file an issue and supply my code. If not, I
will have to find out myself where we are messing things up.
11, 2023 at 2:16 PM Silvio Bierman via jetty-users
wrote:
It appears that all handling of POST requests with ZIP-content as
payload in our application is broken with Jetty 12 (I tried both 12.0.0
and 12.0.1). We use an embedded Jetty-12 with ee10 and http/2.
Using Jetty 11 the code works as expec
I have just tested the same POST requests with our application using
http 1.1 and then everything works like before. So the issue only occurs
when using http/2.
Silvio
On 12-09-2023 09:35, Silvio Bierman via jetty-users wrote:
Hi Greg,
Thanks. The particular parts of the application
to any buffering and/or blocking input streams.
cheers
On Tue, 12 Sept 2023 at 03:47, Simone Bordet via jetty-users
wrote:
Hi,
On Mon, Sep 11, 2023 at 2:16 PM Silvio Bierman via jetty-users
wrote:
>
> It appears that all handling of POST requests with ZIP-c
Hi Simone,
I would have if an exception would be thrown. Unfortunately, that is not
the case. The application simply blocks while reading the input from the
post body.
Kind regards,
Silvio
On 11-09-2023 19:46, Simone Bordet wrote:
Hi,
On Mon, Sep 11, 2023 at 2:16 PM Silvio Bierman via
It appears that all handling of POST requests with ZIP-content as
payload in our application is broken with Jetty 12 (I tried both 12.0.0
and 12.0.1). We use an embedded Jetty-12 with ee10 and http/2.
Using Jetty 11 the code works as expected.
We post a ZIP-file from the command line using
to handle JKD21 built jars when itself running in JDK20.
Silvio
On 04-09-2023 16:09, Silvio Bierman via jetty-users wrote:
I can confirm that compiling works with jars that are built with.
Cheers,
Silvio
On 04-09-2023 14:48, Simone Bordet wrote:
Hi,
On Mon, Sep 4, 2023 at 1:23 PM Silvio
.
There is something fundamentally wrong with the callbacks, but which
ones? from where? How does the request flow through Jetty? How are you
using Jetty? (code helps)
Joakim Erdfelt / joa...@webtide.com
On Tue, Sep 5, 2023 at 8:47 AM Silvio Bierman via jetty-users
wrote:
Hi Simone,
Well
. It is starting to clog my stderr-logs...
Thank you,
Silvio
On 04-09-2023 18:12, Simone Bordet wrote:
Silvio,
On Mon, Sep 4, 2023 at 4:33 PM Silvio Bierman via jetty-users
wrote:
This happens on embedded Jetty (ee10 - http/2) HTTPS requests from the
embedding application (standard Java
Sorry Simone, too trigger happy...
Built with OpenJDK 20.
On 04-09-2023 16:40, Simone Bordet wrote:
Silvio,
On Mon, Sep 4, 2023 at 4:09 PM Silvio Bierman
wrote:
I can confirm that compiling works with jars that are built with.
Built with... ?
This happens on embedded Jetty (ee10 - http/2) HTTPS requests from the
embedding application (standard Java HttpServletRequest, URL that
contains the global/external host name and the local port number) that
is supposed to be handled by the current running process (and thus Jetty
server). The
I can confirm that compiling works with jars that are built with.
Cheers,
Silvio
On 04-09-2023 14:48, Simone Bordet wrote:
Hi,
On Mon, Sep 4, 2023 at 1:23 PM Silvio Bierman via jetty-users
wrote:
I have a strange issue that is probably not directly Jetty related but
only occurs when I
!
On 04-09-2023 14:48, Simone Bordet wrote:
Hi,
On Mon, Sep 4, 2023 at 1:23 PM Silvio Bierman via jetty-users
wrote:
I have a strange issue that is probably not directly Jetty related but
only occurs when I compile against the 12.0.1 jars and not when using
the 12.0.0 jars so I was hoping
String.java:4575)
at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:46)
at java.base/java.lang.String.charAt(String.java:1535)
---
--
Phobrain.com
On 2023-09-04 04:45, Silvio Bierman via jetty-users wrote:
I get a runtime exception when using Jetty 12.0.1 in embedded
mode (http/2
)
at java.base/java.lang.String.checkIndex(String.java:4575)
at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:46)
at java.base/java.lang.String.charAt(String.java:1535)
---
--
Phobrain.com
On 2023-09-04 04:45, Silvio Bierman via jetty-users wrote:
I get a runtime exception
I get a runtime exception when using Jetty 12.0.1 in embedded mode
(http/2). I have to add that i call SessionIdManager.setWorkerName(null)
to get rid of the node id in the session ID (which has always worked for
previous versions).
2023-09-04 13:39:27.421:WARN :oejs.Response:qtp105374791-42:
I have a strange issue that is probably not directly Jetty related but
only occurs when I compile against the 12.0.1 jars and not when using
the 12.0.0 jars so I was hoping for some info.
My Scala compiler crashes with an internal error when compiling against
the 12.0.1 jars and not when
the Session.Listener?
These cannot be used together for a particular message type (TEXT/BINARY).
cheers,
Lachlan
On Fri, Aug 11, 2023 at 7:15 PM Silvio Bierman via jetty-users
wrote:
Thanks again,
Reading the docs I think I managed to convert my WebSocket related
code to the new
Sorry, that is for Jetty 12.0.0
On 16-08-2023 11:53, Silvio Bierman via jetty-users wrote:
Jetty returns true for
HttpServletRequest.isRequestedSessionIdValid(id)
for IDs that do not exist. I filed issue
https://github.com/eclipse/jetty.project/issues/10323
Cheers,
Silvio
Jetty returns true for
HttpServletRequest.isRequestedSessionIdValid(id)
for IDs that do not exist. I filed issue
https://github.com/eclipse/jetty.project/issues/10323
Cheers,
Silvio
___
jetty-users mailing list
jetty-users@eclipse.org
To
Issue opened:
https://github.com/eclipse/jetty.project/issues/10306
On 13-08-2023 01:31, Greg Wilkins via jetty-users wrote:
Actually,
I think Uwe's and Silvio's problems are similar but different.
Silvio, you have no forwarded request customizer headers and a real
headers as sent by the client
+ Uri and headers as received by jetty
+ The actual values you get from the various request methods
Cheers
On Fri, Aug 11, 2023, 21:34 Silvio Bierman via jetty-users
wrote:
Hello all,
I have encountered what I think is a bug in Jetty 12 but I would
the default port and not going direct
you the server?
Can you give us a bit more info:
+ Uri and headers as sent by the client
+ Uri and headers as received by jetty
+ The actual values you get from the various request methods
Cheers
On Fri, Aug 11, 2023, 21:34 Silvio Bierman via jetty-users
Hello all,
I have encountered what I think is a bug in Jetty 12 but I would like to
check here if that is actually true.
I use port forwarding to forward HTTP requests from port 443 to 8443.
Requests arrive at the default port without an explicit port number in
the URL so
Thanks again,
Reading the docs I think I managed to convert my WebSocket related code
to the new API. Instead of WebSocketListener/WebSocketAdapter I now use
Session.Listener and there where some other minor changes. Everything
compiles now.
However, JettyWebSocketServerContainer.upgrade
Hi Joakim,
If I change the dependencies to the version-independent WebSocket
artifacts I can no longer find class WebSocketAdapter. The ee10 version
seems to still have it.
On 10-08-2023 15:41, Joakim Erdfelt wrote:
Inline ...
On Thu, Aug 10, 2023 at 8:16 AM Silvio Bierman
wrote:
Thanks guys,
During runtime the 11.x.x ALP en JSL4J jars where picked up. I replaced
these with the 12.0.0 ones and now everything seems to work!
Silvio
On 10-08-2023 15:36, Joakim Erdfelt wrote:
Inline ...
On Thu, Aug 10, 2023 at 8:28 AM Silvio Bierman
wrote:
Another note: my
/ joa...@webtide.com
On Thu, Aug 10, 2023 at 5:06 AM Silvio Bierman via jetty-users
wrote:
According to the docs there should be a
org.eclipse.jettyjetty-servlet12.0.0
but I can not find it anywhere.
Is that an error in the docs or is the artifact
on is found during compile
time (after adding jetty-io). Any suggestions?
Thanks,
Silvio
On 10-08-2023 13:22, Joakim Erdfelt wrote:
There are 3 jetty-servlet replacements.
org.eclipse.jetty.ee10:jetty-ee10-servlet - Jakarta EE10 -
Servlet 6 (jakarta.servlet namespace)
(jakarta.servlet namespace)
org.eclipse.jetty.ee8:jetty-ee8-servlet - Jakarta EE8 - Servlet 4
(javax.servlet namespace)
Pick the ee# that best suits the needs of your project.
Joakim Erdfelt / joa...@webtide.com
On Thu, Aug 10, 2023 at 5:06 AM Silvio Bierman via jetty-users
wrote:
According
According to the docs there should be a
org.eclipse.jettyjetty-servlet12.0.0
but I can not find it anywhere.
Is that an error in the docs or is the artifact missing from the repo?
Kind regards,
Silvio
On 07-08-2023 22:38, Joakim Erdfelt via jetty-users wrote:
Hello!
The Jetty team is
m Erdfelt / joa...@webtide.com
On Mon, Aug 7, 2023 at 9:50 AM Silvio Bierman via jetty-users
wrote:
Hello Simone,
Thank you for the reply. We do not want to change the
compliance, the
error flagging is correct and desired. It is just that some
pote
Hi Simone,
Sorry for the obfuscation. I meant the error message that is returned
when a request comes in that does not contain an SNI (we call
sslContextFactory.setSniRequired(true)). That message contains the
"Caused by:" fragment I posted.
But I was able to solve the issue with the info
08-2023 16:32, Simone Bordet wrote:
Hi,
On Mon, Aug 7, 2023 at 12:16 PM Silvio Bierman via jetty-users
wrote:
Hi,
I run embedded Jetty 11.0.13. I have a single servlet instance and call
ServletContextHandler#setErrorHandler(customHandler) during initialization. But
whenever an invalid URL
Hi,
I run embedded Jetty 11.0.13. I have a single servlet instance and call
ServletContextHandler#setErrorHandler(customHandler) during
initialization. But whenever an invalid URL (like one containing empty
segments) the handle method of the custom errorhandler is not called.
Instead the
41 matches
Mail list logo