[jira] [Commented] (ARTEMIS-1731) Startup fails when XSD validation cannot access Internet

2018-03-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ARTEMIS-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16388167#comment-16388167
 ] 

ASF GitHub Bot commented on ARTEMIS-1731:
-

Github user asfgit closed the pull request at:

https://github.com/apache/activemq-artemis/pull/1933


> Startup fails when XSD validation cannot access Internet
> 
>
> Key: ARTEMIS-1731
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1731
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.5.0
>Reporter: Ilkka Virolainen
>Priority: Major
>
> After a recent change allowing splitting up the broker configuration across 
> multiple files, starting Artemis fails when the server running broker has no 
> Internet access. xml:specialAttrs references in artemis-configuration.xsd 
> fail because the schema location http://www.w3.org/2005/08/xml.xsd is 
> inaccessible. To reproduce, pull the latest master for 2.5.0-SNAPSHOT, block 
> www.w3.org and try to run a broker. Including the schema in the build would 
> resolve this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ARTEMIS-1731) Startup fails when XSD validation cannot access Internet

2018-03-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ARTEMIS-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16388166#comment-16388166
 ] 

ASF GitHub Bot commented on ARTEMIS-1731:
-

Github user clebertsuconic commented on the issue:

https://github.com/apache/activemq-artemis/pull/1933
  
@jbertram  I see.. nice it was caught before the release...


I'm merging it...

@obfischer  if you have a better way and still solve this issue.. I'm open 
for it.


> Startup fails when XSD validation cannot access Internet
> 
>
> Key: ARTEMIS-1731
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1731
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.5.0
>Reporter: Ilkka Virolainen
>Priority: Major
>
> After a recent change allowing splitting up the broker configuration across 
> multiple files, starting Artemis fails when the server running broker has no 
> Internet access. xml:specialAttrs references in artemis-configuration.xsd 
> fail because the schema location http://www.w3.org/2005/08/xml.xsd is 
> inaccessible. To reproduce, pull the latest master for 2.5.0-SNAPSHOT, block 
> www.w3.org and try to run a broker. Including the schema in the build would 
> resolve this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ARTEMIS-1731) Startup fails when XSD validation cannot access Internet

2018-03-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ARTEMIS-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16388153#comment-16388153
 ] 

ASF GitHub Bot commented on ARTEMIS-1731:
-

Github user jbertram commented on the issue:

https://github.com/apache/activemq-artemis/pull/1933
  
From the [JIRA](https://issues.apache.org/jira/browse/ARTEMIS-1731), 
"...starting Artemis fails when the server running broker has no Internet 
access."


> Startup fails when XSD validation cannot access Internet
> 
>
> Key: ARTEMIS-1731
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1731
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.5.0
>Reporter: Ilkka Virolainen
>Priority: Major
>
> After a recent change allowing splitting up the broker configuration across 
> multiple files, starting Artemis fails when the server running broker has no 
> Internet access. xml:specialAttrs references in artemis-configuration.xsd 
> fail because the schema location http://www.w3.org/2005/08/xml.xsd is 
> inaccessible. To reproduce, pull the latest master for 2.5.0-SNAPSHOT, block 
> www.w3.org and try to run a broker. Including the schema in the build would 
> resolve this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ARTEMIS-1731) Startup fails when XSD validation cannot access Internet

2018-03-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ARTEMIS-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16388142#comment-16388142
 ] 

ASF GitHub Bot commented on ARTEMIS-1731:
-

Github user clebertsuconic commented on the issue:

https://github.com/apache/activemq-artemis/pull/1933
  
@michaelandrepearce I thought the right way to do this was through using 
the actual HTTP location. and have tools to cache it somehow.

In what scenario this is failing? on deploy on master, when running behing 
a firewal? or when using an external tool for this?


> Startup fails when XSD validation cannot access Internet
> 
>
> Key: ARTEMIS-1731
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1731
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.5.0
>Reporter: Ilkka Virolainen
>Priority: Major
>
> After a recent change allowing splitting up the broker configuration across 
> multiple files, starting Artemis fails when the server running broker has no 
> Internet access. xml:specialAttrs references in artemis-configuration.xsd 
> fail because the schema location http://www.w3.org/2005/08/xml.xsd is 
> inaccessible. To reproduce, pull the latest master for 2.5.0-SNAPSHOT, block 
> www.w3.org and try to run a broker. Including the schema in the build would 
> resolve this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ARTEMIS-1731) Startup fails when XSD validation cannot access Internet

2018-03-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ARTEMIS-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387696#comment-16387696
 ] 

ASF GitHub Bot commented on ARTEMIS-1731:
-

Github user michaelandrepearce commented on the issue:

https://github.com/apache/activemq-artemis/pull/1933
  
Please feel free to submit and alternative approach


> Startup fails when XSD validation cannot access Internet
> 
>
> Key: ARTEMIS-1731
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1731
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.5.0
>Reporter: Ilkka Virolainen
>Priority: Major
>
> After a recent change allowing splitting up the broker configuration across 
> multiple files, starting Artemis fails when the server running broker has no 
> Internet access. xml:specialAttrs references in artemis-configuration.xsd 
> fail because the schema location http://www.w3.org/2005/08/xml.xsd is 
> inaccessible. To reproduce, pull the latest master for 2.5.0-SNAPSHOT, block 
> www.w3.org and try to run a broker. Including the schema in the build would 
> resolve this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ARTEMIS-1731) Startup fails when XSD validation cannot access Internet

2018-03-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ARTEMIS-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387672#comment-16387672
 ] 

ASF GitHub Bot commented on ARTEMIS-1731:
-

Github user obfischer commented on the issue:

https://github.com/apache/activemq-artemis/pull/1933
  
I wouldn't change the `schemaLocation` directly as it is actual a bad 
practice. Dependending on the XML processor catalog files should be used. In 
most cases the API of the XML processor allows you to handle such things in a 
cleaner way.


> Startup fails when XSD validation cannot access Internet
> 
>
> Key: ARTEMIS-1731
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1731
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.5.0
>Reporter: Ilkka Virolainen
>Priority: Major
>
> After a recent change allowing splitting up the broker configuration across 
> multiple files, starting Artemis fails when the server running broker has no 
> Internet access. xml:specialAttrs references in artemis-configuration.xsd 
> fail because the schema location http://www.w3.org/2005/08/xml.xsd is 
> inaccessible. To reproduce, pull the latest master for 2.5.0-SNAPSHOT, block 
> www.w3.org and try to run a broker. Including the schema in the build would 
> resolve this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (ARTEMIS-1731) Startup fails when XSD validation cannot access Internet

2018-03-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/ARTEMIS-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387550#comment-16387550
 ] 

ASF GitHub Bot commented on ARTEMIS-1731:
-

GitHub user michaelandrepearce opened a pull request:

https://github.com/apache/activemq-artemis/pull/1933

ARTEMIS-1731 Support offline validation

Copy in https://www.w3.org/2005/08/xml.xsd so validation of broker.xml 
works offline.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/michaelandrepearce/activemq-artemis 
ARTEMIS-1731

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/activemq-artemis/pull/1933.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1933


commit 055c51d6b1eba2ecdc665138e6545f2c75c67349
Author: Michael André Pearce 
Date:   2018-03-06T09:58:12Z

ARTEMIS-1731 Support offline validation

Copy in https://www.w3.org/2005/08/xml.xsd so validation of broker.xml 
works offline.




> Startup fails when XSD validation cannot access Internet
> 
>
> Key: ARTEMIS-1731
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1731
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>  Components: Broker
>Affects Versions: 2.5.0
>Reporter: Ilkka Virolainen
>Priority: Major
>
> After a recent change allowing splitting up the broker configuration across 
> multiple files, starting Artemis fails when the server running broker has no 
> Internet access. xml:specialAttrs references in artemis-configuration.xsd 
> fail because the schema location http://www.w3.org/2005/08/xml.xsd is 
> inaccessible. To reproduce, pull the latest master for 2.5.0-SNAPSHOT, block 
> www.w3.org and try to run a broker. Including the schema in the build would 
> resolve this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)