[
https://issues.apache.org/jira/browse/KARAF-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722039#comment-16722039
]
ASF GitHub Bot commented on KARAF-6003:
---------------------------------------
jbonofre closed pull request #700: [KARAF-6003] Upgrade to Aries Blueprint Web
1.1.1
URL: https://github.com/apache/karaf/pull/700
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/assemblies/features/standard/src/main/feature/feature.xml
b/assemblies/features/standard/src/main/feature/feature.xml
index e1a438c035..473999cf96 100644
--- a/assemblies/features/standard/src/main/feature/feature.xml
+++ b/assemblies/features/standard/src/main/feature/feature.xml
@@ -1452,7 +1452,7 @@ org.apache.felix.eventadmin.AddSubject=true
blueprint inside web-bundle containers" version="${project.version}">
<feature>war</feature>
<feature>aries-blueprint</feature>
-
<bundle>mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.webosgi/${aries.blueprint.web.version}</bundle>
+
<bundle>mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.webosgi/${aries.blueprint.webosgi.version}</bundle>
</feature>
<feature name="wrap" description="Wrap URL handler"
version="${pax.url.version}">
diff --git a/pom.xml b/pom.xml
index 8d9604d95f..6e5a6572c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -221,7 +221,8 @@
<aries.blueprint.core.version>1.10.1</aries.blueprint.core.version>
<aries.blueprint.core.compatibility.version>1.0.0</aries.blueprint.core.compatibility.version>
<aries.blueprint.cm.version>1.3.1</aries.blueprint.cm.version>
- <aries.blueprint.web.version>1.0.1</aries.blueprint.web.version>
+ <aries.blueprint.web.version>1.1.1</aries.blueprint.web.version>
+
<aries.blueprint.webosgi.version>1.0.1</aries.blueprint.webosgi.version>
<aries.blueprint.spring.version>0.6.0</aries.blueprint.spring.version>
<aries.blueprint.spring.extender.version>0.4.0</aries.blueprint.spring.extender.version>
<aries.jmx.api.version>1.1.5</aries.jmx.api.version>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> IllegalStateException: Need active coordination - cannot use JPA and Jasypt
> ---------------------------------------------------------------------------
>
> Key: KARAF-6003
> URL: https://issues.apache.org/jira/browse/KARAF-6003
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.2.1
> Reporter: Marek Łuniewski
> Assignee: Jean-Baptiste Onofré
> Priority: Blocker
> Fix For: 4.2.2
>
>
> In version 4.2.1 one cannot use JPA because it causes
> java.lang.IllegalStateException: Need active coordination. After my
> investigation I have found that it is caused because proxy service is not
> created properly. When someone use JPA in the same bundle, as in Karaf tests,
> it works fine. But problem occurs when using osgi service and osgi reference.
> Downgrading to version 4.1.5 of Karaf results in no possibility of using
> Jasypt (to protect passwords) [using:
> org.jasypt.encryption.pbe.StandardPBEStringEncryptor]. It does not decrypt
> passwords having marks ENC(...).
> I found that upgrading Blueprint fixes problem, so that JPA and Jasypt works
> perfectly. I know that sometime ago ticket on Camel blocked Blueprint
> upgrade. It was: https://issues.apache.org/jira/browse/CAMEL-12570. Currently
> this ticket is closed.
> Patch (for current code, which is version 4.2.1) is:
> {code:java}
> diff --git a/pom.xml b/pom.xml
> index 3d314da48c..f049b7ff86 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -218,10 +218,11 @@
> <aries.application.api.version>1.0.0</aries.application.api.version>
>
> <aries.application.management.version>1.0.0</aries.application.management.version>
> <aries.blueprint.api.version>1.0.1</aries.blueprint.api.version>
> - <aries.blueprint.core.version>1.9.0</aries.blueprint.core.version>
> + <aries.blueprint.core.version>1.10.0</aries.blueprint.core.version>
>
> <aries.blueprint.core.compatibility.version>1.0.0</aries.blueprint.core.compatibility.version>
> - <aries.blueprint.cm.version>1.2.0</aries.blueprint.cm.version>
> - <aries.blueprint.web.version>1.0.1</aries.blueprint.web.version>
> + <aries.blueprint.cm.version>1.3.0</aries.blueprint.cm.version>
> + <aries.blueprint.web.version>1.1.1</aries.blueprint.web.version>
> +
> <aries.blueprint.webosgi.version>1.0.1</aries.blueprint.webosgi.version>
>
> <aries.blueprint.spring.version>0.6.0</aries.blueprint.spring.version>
>
> <aries.blueprint.spring.extender.version>0.4.0</aries.blueprint.spring.extender.version>
> <aries.jmx.api.version>1.1.5</aries.jmx.api.version>
> {code}
> and
> {code:java}
> diff --git a/assemblies/features/standard/src/main/feature/feature.xml
> b/assemblies/features/standard/src/main/feature/feature.xml
> index d19b87eb00..1813b2a0a5 100644
> --- a/assemblies/features/standard/src/main/feature/feature.xml
> +++ b/assemblies/features/standard/src/main/feature/feature.xml
> @@ -1429,7 +1429,7 @@ org.apache.felix.eventadmin.AddSubject=true
> blueprint inside web-bundle containers" version="${project.version}">
> <feature>war</feature>
> <feature>aries-blueprint</feature>
> -
> <bundle>mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.webosgi/${aries.blueprint.web.version}</bundle>
> +
> <bundle>mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.webosgi/${aries.blueprint.webosgi.version}</bundle>
> </feature>
>
> <feature name="wrap" description="Wrap URL handler"
> version="${pax.url.version}">
> {code}
> Hope it helps.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)