Petals ESB Container

Cannot start component when Petals installed in directory with French characters

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 5.2.0
  • Fix Version/s: 5.3.0
  • Security Level: Public
  • Description:
    Hide

    I installed Petals ESB (default zip) on the "Téléchargements" directory and started it.

    When put the petals-bc-mail.zip on the install, it correctly install but it refuses to start (whether with CLI or Cockpit) with this same error on Petals logs (and a big stack trace): "MalformedURIException: Opaque part contains invalid character: é"

    I expect Petals to:

    • Tell me it cannot work in directory with French (or other non working languages) characters.
      OR
    • Change component state regardless the possible character used in the installation directory.
    Show
    I installed Petals ESB (default zip) on the "Téléchargements" directory and started it. When put the petals-bc-mail.zip on the install, it correctly install but it refuses to start (whether with CLI or Cockpit) with this same error on Petals logs (and a big stack trace): "MalformedURIException: Opaque part contains invalid character: é" I expect Petals to:
    • Tell me it cannot work in directory with French (or other non working languages) characters. OR
    • Change component state regardless the possible character used in the installation directory.
  • Environment:
    Ubuntu 18.04.1 LTS (Bionic Beaver)
  1. stacktrace.txt
    (12 kB)
    Alexandre LAGANE
    Fri, 12 Oct 2018 - 16:32:54 +0200

Issue Links

Activity

Alexandre LAGANE made changes - Fri, 12 Oct 2018 - 16:32:54 +0200
Field Original Value New Value
Attachment stacktrace.txt [ 10802 ]
Priority Blocker [ 1 ]
Description I installed Petals ESB (default zip) on the "Téléchargements" directory and started it.

When put the petals-bc-mail.zip on the install, it correctly install but it refuses to start (whether with CLI or Cockpit) with this same error on Petals logs (and a big stack trace): "MalformedURIException: Opaque part contains invalid character: é"
I installed Petals ESB (default zip) on the "Téléchargements" directory and started it.

When put the petals-bc-mail.zip on the install, it correctly install but it refuses to start (whether with CLI or Cockpit) with this same error on Petals logs (and a big stack trace): "MalformedURIException: Opaque part contains invalid character: é"

I expect Petals to:
- Tell me it cannot work in directory with French (or other non working languages) characters.
OR
- Change component state regardless the possible character used in the installation directory.
Hide
Christophe DENEUX added a comment - Tue, 23 Oct 2018 - 11:22:35 +0200

This issue seems due to a problem in 'File.toURI()' that returns invalid URI in few cases. See: http://www.garretwilson.com/blog/2008/10/25/javauriclassgotchas.xhtml

Show
Christophe DENEUX added a comment - Tue, 23 Oct 2018 - 11:22:35 +0200 This issue seems due to a problem in 'File.toURI()' that returns invalid URI in few cases. See: http://www.garretwilson.com/blog/2008/10/25/javauriclassgotchas.xhtml
Christophe DENEUX made changes - Tue, 23 Oct 2018 - 11:22:35 +0200
Status New [ 10000 ] Open [ 10002 ]
Component/s Installation/Deployment [ 10041 ]
Christophe DENEUX made changes - Tue, 23 Oct 2018 - 11:27:27 +0200
Link This issue depends on PETALSDISTRIB-390 [ PETALSDISTRIB-390 ]
Christophe DENEUX made changes - Tue, 23 Oct 2018 - 12:20:33 +0200
Summary Cannot start component when Petals in directory with French characters Cannot start component when Petals installed in directory with French characters
Christophe DENEUX made changes - Tue, 23 Oct 2018 - 12:20:55 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Christophe DENEUX added a comment - Tue, 23 Oct 2018 - 12:30:27 +0200

Fixed in trunk using 'URI.create(new File(slZipURL).toURI().toASCIIString())' instead of 'new File(slZipURL).toURI()'

Show
Christophe DENEUX added a comment - Tue, 23 Oct 2018 - 12:30:27 +0200 Fixed in trunk using 'URI.create(new File(slZipURL).toURI().toASCIIString())' instead of 'new File(slZipURL).toURI()'
Christophe DENEUX made changes - Tue, 23 Oct 2018 - 12:30:27 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.2.1 [ 10877 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Tue, 23 Oct 2018 - 12:47:32 +0200
Link This issue depends on PETALSDISTRIB-390 [ PETALSDISTRIB-390 ]
Christophe DENEUX made changes - Tue, 23 Oct 2018 - 12:47:44 +0200
Link This issue blocks PETALSDISTRIB-390 [ PETALSDISTRIB-390 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
10d 18h 54m
1
Christophe DENEUX
Tue, 23 Oct 2018 - 11:22:35 +0200
Open Open In Progress In Progress
58m 20s
1
Christophe DENEUX
Tue, 23 Oct 2018 - 12:20:55 +0200
In Progress In Progress Resolved Resolved
9m 32s
1
Christophe DENEUX
Tue, 23 Oct 2018 - 12:30:27 +0200



People

Dates

  • Created:
    Fri, 12 Oct 2018 - 16:28:14 +0200
    Updated:
    Tue, 23 Oct 2018 - 12:47:44 +0200
    Resolved:
    Tue, 23 Oct 2018 - 12:30:27 +0200