Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jersey-dev] [External] : Heroku archetype web.xml still broken
  • From: "Steve Millidge (Payara)" <steve.millidge@xxxxxxxxxxx>
  • Date: Tue, 30 Mar 2021 08:31:53 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=payara.fish; dmarc=pass action=none header.from=payara.fish; dkim=pass header.d=payara.fish; 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-SenderADCheck; bh=smJx1tOXe7fTLvaz4gVabM/fs9RugMV/hH5S7pZm+Gc=; b=H3y7HhZQLvhKQIZ4U+ayfpYrwPPFHCpPBkojapMgFcEYOgNDp3sZWvnxelU5d+sC2LjOtWl62ys3nbgxAoav1HssaXcLfmhabIejA8kt980EQKODSjd4q9rvx3W4k6LSYPolYard+YxHKeiAbYKqORqbd3WzcP571WryV7BkpnlLLeWESAMvc9N6JMTjoxPTLUIFx5Ed+3crU4jDa1fOfb+qbXDQF+xBryYvAaSMqtMI+oPVWKeCurl0nSdtbNqhjAbrUvmWcY3fGPWF/pkIuA48istdHyZKMD/iphOLFVG0OnzLI2bMx6tbY2W7sj4Gx8uoWCQbofc1JZZPjAgH4w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=APaSJRhhJh9ULs2906YPnm/9alk5YeBmqvCbfiYKLluA5QJghIMfIYizdjDr81f/9ERz8McV9WoHc3nnsVFkGQ0UbYlGGVM8X4WO4tcoceT3o8XqYts+5yXvAS1w0ZDJDG8xhWHt9jcNO6LaNlxXjr/7B0Wsmaqi2pLlX8NnJGQX+aoa0BeNk8cgmPFsASIFuhqLmvvwP4WCqe6AHfB50ZQB+ERmBxv2rVy4rSy8ZbH5umoF9ZX6MrAu7et+yIqZ5NzReyNf8XznjZN9tkO4A7nkDop1VMhqpdM0BBYPdA58YYqCm7CLc8cJkE0CUOn0dNV/Dt5OBUKY3X/8ljzOgw==
  • Delivered-to: jersey-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jersey-dev/>
  • List-help: <mailto:jersey-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jersey-dev>, <mailto:jersey-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jersey-dev>, <mailto:jersey-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXIgycsXd0Fb1OCEWRRzACkISKAaqcM2gAgAAAiwCAAACDwA==
  • Thread-topic: [jersey-dev] [External] : Heroku archetype web.xml still broken

Sorry a Pull Request to the relevant GitHub repository where the changes need to be made.

 

From: jersey-dev <jersey-dev-bounces@xxxxxxxxxxx> On Behalf Of Som Lima
Sent: 30 March 2021 09:29
To: jersey developer discussions <jersey-dev@xxxxxxxxxxx>
Subject: Re: [jersey-dev] [External] : Heroku archetype web.xml still broken

 

What's a PR   ?

 

On Tue, 30 Mar 2021, 09:27 Steve Millidge (Payara), <steve.millidge@xxxxxxxxxxx> wrote:

Hi Som,

 

You could raise a PR for the changes?

 

Steve

 

From: jersey-dev <jersey-dev-bounces@xxxxxxxxxxx> On Behalf Of Som Lima
Sent: 29 March 2021 20:37
To: jersey developer discussions <jersey-dev@xxxxxxxxxxx>
Subject: Re: [jersey-dev] [External] : Heroku archetype web.xml still broken

 

*nix scripts to search and replace strings.

 

It will help to eliminate  human errors such as  the  aforementioned error found in the  web.xml.

 

To change files with a string which has a forward slash(/) in it.

 

find . -name web.xml -type f -exec sed -i 's+http://example.com+https://example.com+g' {} +

 

If you have anymore files which need updating the namespace from javax to jakarta

 

grep -RiIl 'javax' | xargs sed -i 's/javax/jakarta/g'

 

 

It is a one liner which takes only a few seconds or minutes to run.

 

 

 

On Fri, 26 Mar 2021, 06:52 Maxim Nesen, <maxim.nesen@xxxxxxxxxx> wrote:

Hi,

 

 

The issue with Heroku archetype NS was introduced while moving to Jakarta EE 9 NS. This NS was not properly transferred to Jakarta EE 9 NS.

 

This will be fixed. Same for the broken URLs in project-info pages on the web site.

 

 

Thanks for reporting,

 

Regards,

Maxim


Od: jersey-dev <jersey-dev-bounces@xxxxxxxxxxx> za uživatele Som Lima <somplasticllc@xxxxxxxxx>
Odesláno: pátek 26. března 2021 4:32
Komu: jersey developer discussions <jersey-dev@xxxxxxxxxxx>
Předmět: [External] : [jersey-dev] Heroku archetype web.xml still broken

 

Thanks for trying to fix the heroku  archetype  web.xml .

I really appreciate  you listening  but it is wrong.

 

This is WRONG

 

This is RIGHT

 

I copied and pasted from jersey/examples/bookstore-webapp/src/main/webapp/WEB-INF/web.xml

 

I know it is wrong because if you upload the created project into eclipse it lights up in red  with the message

 

Multiple annotations found at this line:
- There are '5' errors in 'web-app_5_0.xsd'.
- schema_reference.4: Failed to read schema document 'http://java.sun.com/xml/ns/javaee/
web-app_5_0.xsd', because 1) could not find the document; 2) the document could not be read;
3) the root element of the document is not <xsd:schema>.

 

 

I know it is 5 errors but lists only 3) . Could be 4. It is what it is.

 

Regards

 

_______________________________________________
jersey-dev mailing list
jersey-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jersey-dev

_______________________________________________
jersey-dev mailing list
jersey-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jersey-dev


Back to the top