ham1 opened a new pull request, #6874:
URL: https://github.com/apache/jmeter/pull/6874

   `batchJMS_TESTS` fails on Jenkins (for example JMeter Ubuntu build 679) 
because the workspace path, "JMeter Ubuntu", has a space:
   
   ```
   java.net.URISyntaxException: Illegal character in path
   ```
   
   The test plan starts the broker with `xbean:file:<path>`, with spaces 
written as `%20`.
   ActiveMQ decodes the `%20`, and then its protocol allow-list check 
(apache/activemq#1910, since 6.2.5) parses the decoded `file:` URL again with 
`new URI(...)`, which rejects the space.
   No newer ActiveMQ release (6.3.3, 6.4.0) changes this.
   
   Without the `file:` prefix, ActiveMQ finds the decoded string is a file that 
exists and loads it directly, before the URL check.
   Only the test plan changes; JMeter's own JMS code does not use xbean.
   
   Tested locally with `./gradlew :src:dist-check:batchJMS_TESTS`:
   - path with a space: fails before, passes after (27 samples, 0 errors)
   - path without a space: passes
   
   Not tested on Windows.
   
   Generated-by: claude-opus-5-5
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to