ClassNotFoundException EntityResolver2 with bean saxon.TransformerFactoryImpl

2023-07-04 Thread Marc Ramachers
Hello,

I'm trying to deploy a bundle on karaf/camel that contains a bean
definition as follows:


http://www.osgi.org/xmlns/blueprint/v1.0.0;
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd

http://camel.apache.org/schema/blueprint
http://camel.apache.org/schema/blueprint/camel-blueprint.xsd;>





With Camel versions 3.20.5 and 3.21.0 the bundle fails to start with
the following error message:

2023-07-03T15:49:33,539|ERROR|org.apache.aries.blueprint.container.BlueprintContainerImpl|72|||fileinstall-C:\TIJDELIJK\20230628\apache-karaf-4.4.3/deploy|
Unable to start container for blueprint bundle
nl.bct.test.blaat/0.0.1.SNAPSHOT
org.osgi.service.blueprint.container.ComponentDefinitionException:
Error when instantiating bean saxonTransformerFactory of class
net.sf.saxon.TransformerFactoryImpl
at 
org.apache.aries.blueprint.container.BeanRecipe.wrapAsCompDefEx(BeanRecipe.java:362)
~[?:?]
at 
org.apache.aries.blueprint.container.BeanRecipe.getInstanceFromType(BeanRecipe.java:352)
~[?:?]
at 
org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:283)
~[?:?]
at 
org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:685)
~[?:?]
at 
org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:666)
~[?:?]
at 
org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:81)
~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at 
org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:90)
~[?:?]
at 
org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:360)
~[?:?]
at 
org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:190)
~[?:?]
at 
org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:737)
~[?:?]
at 
org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:433)
~[?:?]
at 
org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:298)
~[?:?]
at 
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:335)
~[?:?]
at 
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:288)
~[?:?]
at 
org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:284)
~[?:?]
at 
org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:274)
~[?:?]
at 
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
~[?:?]
at 
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
~[?:?]
at 
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
~[?:?]
at 
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
~[?:?]
at 
org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)
~[?:?]
at 
org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1384)
~[?:?]
at 
org.apache.felix.framework.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:730)
~[?:?]
at 
org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:485)
~[?:?]
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4847)
~[?:?]
at org.apache.felix.framework.Felix.startBundle(Felix.java:2363) ~[?:?]
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006)
~[?:?]
at 
org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260)
~[?:?]
at 
org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233)
~[?:?]
at 
org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:520)
~[?:?]
at 
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365)
~[?:?]
at 
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316)
~[?:?]

 Caused by: java.lang.NoClassDefFoundError: org/xml/sax/ext/EntityResolver2
at 
net.sf.saxon.lib.CatalogResourceResolver.(CatalogResourceResolver.java:46)
~[?:?]
at net.sf.saxon.Configuration.init(Configuration.java:367) ~[?:?]
at net.sf.saxon.Configuration.(Configuration.java:230) ~[?:?]
at 

[VOTE] Release Camel K Runtime 2.16.0

2023-07-04 Thread Pasquale Congiusti
Hello,

This is a vote to release Camel K Runtime 2.16.0. This release mostly
contains the runtime artifacts required for Camel K version 2 to be
released independently. As the Camel K Runtime depends mostly on Camel
Quarkus, we've aligned the version to the same used in Camel Quarkus. From
now on we expect to release Camel K Runtime beside Camel Quarkus and have
an available runtime for Camel K as soon as the runtime is released.

Camel K Runtime source files:
https://dist.apache.org/repos/dist/dev/camel/camel-k-runtime/2.16.0/

Camel K Runtime staging repository:
https://repository.apache.org/content/repositories/orgapachecamel-1587

Camel K Runtime Tag:
https://github.com/apache/camel-k-runtime/releases/tag/camel-k-runtime-project-2.16.0

It's possible test the staging artifacts by installing the latest Camel K
CLI (kamel) with the staging repository and run any Integration with the
new runtime (2.16.0):

kamel install --maven-repository=
https://repository.apache.org/content/repositories/orgapachecamel-1587
 --olm=false
...

kamel run Test.java -t camel.runtime-version=2.16.0


Please test this release candidate and cast your vote.

[ ] +1 Release Apache Camel K Runtime 2.16.0
[ ] -1 Veto the release (provide specific comments)

The vote is open for at least 72 hours.

I start the vote with my +1.

Thanks and regards,
Pasquale Congiusti


[RESULT][VOTE] Release Apache Camel Kamelets 3.21.0

2023-07-04 Thread Andrea Cosentino
Hello all,

The vote passed with the following results:

4 +1 binding votes: Andrea Cosentino, Zineb Bendhiba, Otavio Rodolfo Piske
and Claus Ibsen

1 +1 non-binding vote: Marat Gubaidullin

Thanks to all the voters.

I'll go ahead with the release.


Re: [VOTE] Release Apache Camel Kamelets 3.21.0

2023-07-04 Thread Andrea Cosentino
Thanks all,

The vote passed and I'll go ahead with the release.

Il giorno lun 3 lug 2023 alle ore 09:20 Claus Ibsen 
ha scritto:

> +1 (binding)
>
>
> On Mon, 3 Jul 2023 at 09.13, Andrea Cosentino  wrote:
>
> > Hello, just a reminder we need another binding vote.
> >
> > Thanks.
> >
> > Il giorno sab 1 lug 2023 alle ore 07:47 Otavio Rodolfo Piske <
> > angusyo...@gmail.com> ha scritto:
> >
> > > +1 (binding)
> > >
> > > Thanks Andrea!
> > >
> > > On Fri, Jun 30, 2023 at 4:01 PM Marat Gubaidullin <
> > > marat.gubaidul...@gmail.com> wrote:
> > >
> > > > +1 (non-binding)
> > > >
> > > > Thanks Andrea
> > > >
> > > > On Fri, Jun 30, 2023 at 9:39 AM Zineb Bendhiba <
> > bendhiba.zi...@gmail.com
> > > >
> > > > wrote:
> > > >
> > > > > +1 (binding)
> > > > >
> > > > > Thanks Andrea
> > > > >
> > > > > Le ven. 30 juin 2023 à 14:40, Andrea Cosentino 
> a
> > > > > écrit :
> > > > >
> > > > > > Hello all,
> > > > > >
> > > > > > This is a vote for releasing camel-kamelets 3.21.0
> > > > > >
> > > > > > Kamelets release files:
> > > > > >
> https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/3.21.0
> > > > > > Kamelets staging repository:
> > > > > >
> > > https://repository.apache.org/content/repositories/orgapachecamel-1585
> > > > > > Kamelets Tag:
> > > > > > https://github.com/apache/camel-kamelets/releases/tag/v3.21.0
> > > > > >
> > > > > > Please cast your vote.
> > > > > >
> > > > > > [ ] +1 Release camel-kamelets 3.21.0
> > > > > > [ ] -1 Veto the release (provide specific comments)
> > > > > >
> > > > > > The vote is open for at least 72 hours.
> > > > > >
> > > > > > Here's my +1.
> > > > > >
> > > > > > Thanks,
> > > > > > Andrea Cosentino
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Zineb Bendhiba
> > > > >
> > > >
> > >
> > >
> > > --
> > > Otavio R. Piske
> > > http://orpiske.net
> > >
> >
> --
> Claus Ibsen
> -
> @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>