Hmm...

What's the actual stack trace? Is it visible in the log?

regards
Grzegorz Grzybek

czw., 17 paź 2024 o 17:41 Luis Lozano <lozanofam...@gmail.com> napisał(a):

> Hi.
> "spring-benas-2.0.xsd" is used in the activemq.xml file.
> If I change it to
> http://www.springframework.org/schema/beans/spring-beans.xsd, the error
> is the same, but now with that last reference name.
> Which reference should I use?
>
> El jue, 17 oct 2024 a las 17:05, Grzegorz Grzybek (<gr.grzy...@gmail.com>)
> escribió:
>
>> Hello
>>
>> "http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"; means
>> you have this ancient reference in your application... Normally Spring XMLs
>> should refer to _generic_ XSD without version and these should be
>> _resolved_ from the jar...
>>
>> Please check if you have this reference in your code.
>>
>> kind regards
>> Grzegorz Grzybek
>>
>> czw., 17 paź 2024 o 14:54 Luis Lozano <lozanofam...@gmail.com>
>> napisał(a):
>>
>>>
>>> Hello everyone.
>>>
>>> We have recently migrated from karaf 4.2.16 to karaf 4.4.6
>>> We have our own distribution.
>>> The fact is that everything works fine, except for activemq, which in
>>> the case of installations on servers without internet throws the following
>>> error in kararf.log:
>>> 2024-10-16T11:37:36,239 | WARN | CM Configuration Updater
>>> (ManagedServiceFactory Update: factoryPid=[org.apache.activemq.server]) |
>>> XmlBeanDefinitionReader | 346 - org.apache.servicemix.bundles.spring-beans
>>> - 5.3.33.1 | Ignored XML validation warning org.xml.sax.SAXParseException:
>>> schema_reference.4: Failed to read schema document '
>>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd',
>>> because 1) could not find the document; 2) the document could not be read;
>>> 3) the root
>>>
>>> ....
>>>
>>>
>>> This makes the activemq broker not work.
>>>
>>> Thanks for the help.--
>>> Saludos:
>>>     Luis Lozano.
>>>
>>
>
> --
> Saludos:
>     Luis Lozano.
>

Reply via email to