Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] migration woes from version 9 to 10 - possible character encoding issue
  • From: Bryan Coleman <bryan.coleman@xxxxxxxx>
  • Date: Wed, 17 Aug 2022 12:13:27 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=dart.biz; dmarc=pass action=none header.from=dart.biz; dkim=pass header.d=dart.biz; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wXGH6XhzNL58yyFjWxgFcPvSvI7N9KUGE/TYokhjqoQ=; b=dhaN1GLa0GYFeNq9J8E42nB9ArZds0Y2cTXRTYkYpBqymrnzUzUTzgWwAjczLalf7HW5k06sRp868nSX1/iR6QOh8k3JRzlK1bnusnpdHhERGI6F5M+7W0HTLpkzTtBuC+hJBQ9Gm4SsEsZTgXqprq8m7vM5dU6At/8oUBCEBrceh+BLVjhTmLokX4+4ivJ0iAUwoDcbDp6rTNVIhzC0fP1osvpZNcmPyTuwIuhuLwX32nGE0tmCRMqaFCRjwtg/+R+w2jvLP1Zk2MvuHdhYfppAN3groxAgbCGX+76T9J3Q8ethv1rDh+JKcPO5dM0hOvoiBloifnc/ozG+Tdv5zg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R0pQ4bQL2Y3i7Kr1kmgUxub5nS2xwMwCDx2snCdP8Mk0oTOeBGF9lrPXUfIyD41vxKZuIaOIi553XRGOqcQTWdcAyBhHPhXVKnFnT/rpNHUQUFqsdYXASSj3POrbP1jnPm/tXf1Qob+RZmjOlUDQ2Lr62Uft3KCE0GAqOoIQK++Q5fUi+1MVo69kbHxwoS3mBZX5wCN+ewjGNpEoT/hR8016oIXTULCZAXGV2K8oMg8yRnRb8F3ueZ8q4/20eqKfYY9qFET/UhHEPDcZElCijs3t+pGNNSPD6HG0K1fCIOw1acag/ahJ6t4FtYHBoaU2YDEiJkmQvxj1MBCGmLU/KA==
  • Delivered-to: jetty-users@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jetty-users/>
  • List-help: <mailto:jetty-users-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHYsjLBBXbI7TDmsEykBqBgXPJjtQ==
  • Thread-topic: migration woes from version 9 to 10 - possible character encoding issue

I am working to migrate a project codebase from jetty version 9.4.46 to version 10.0.11.  The set up is an embedded servlet with Kerberos authentication and works just fine when running from an IDE; however, when running it from an uber jar things go south.  When running on the working system with the jar (instead of IDE), a “HTTP Error 401 Unauthorized” response is returned; however, when running on a different system (with jar) a GSSException Invalid argument 400 – cannot find key of appropriate-type to decrypt is returned.  After comparing debug messages, the difference that jumps out is the Content-Type.  For the instance that works, the type is listed as “text/html;charset=utf-8”.  For the two that do not work, it is “text/html;charset=iso-8859-1”.  My suspicion is that the jar has something missing or misplaced.  That said, I did verify that the encoding.properties file existed and the contents matched those of the working one.

 

Any clues to where to look next? 

 

Is there a global way to force jetty to use UTF-8?  If not global, some other way?  (Thought is that taking that approach could possibly quickly verify my hunch)

 

Thank you ahead of time for your time and suggestions!


Back to the top