[infinispan-issues] [JBoss JIRA] (ISPN-8444) JPA cache store failed to deploy in OSGi

Martin Gencur (JIRA) issues at jboss.org
Thu Oct 26 06:59:00 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-8444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Gencur updated ISPN-8444:
--------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/5542


> JPA cache store failed to deploy in OSGi
> ----------------------------------------
>
>                 Key: ISPN-8444
>                 URL: https://issues.jboss.org/browse/ISPN-8444
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Loaders and Stores
>            Reporter: Martin Gencur
>            Assignee: Martin Gencur
>
> The test suite hands when running OSGi tests and doesn't show any meaningful error. However, the Karaf server shows this:
> {code}
> 2017-10-26T12:21:35,280 | ERROR | pool-1-thread-2  | BootFeaturesInstaller            | 9 - org.apache.karaf.features.core - 4.1.2 | Error installing boot features
> org.apache.karaf.features.internal.util.MultiException: Error:
>     Error downloading file:/home/mgencur/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Draft-16/hibernate-jpa-2.1-api-1.0.0.Draft-16.jar${version.hibernate.javax.persistence}
>     Error downloading file:/home/mgencur/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Draft-16/hibernate-jpa-2.1-api-1.0.0.Draft-16.jar${version.hibernate.javax.persistence}
>     at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:84) [9:org.apache.karaf.features.core:4.1.2]
>     at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72) [9:org.apache.karaf.features.core:4.1.2]
>     at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:375) [9:org.apache.karaf.features.core:4.1.2]
>     at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:372) [9:org.apache.karaf.features.core:4.1.2]
>     at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:187) [9:org.apache.karaf.features.core:4.1.2]
>     at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:291) [9:org.apache.karaf.features.core:4.1.2]
>     at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1233) [9:org.apache.karaf.features.core:4.1.2]
>     at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1132) [9:org.apache.karaf.features.core:4.1.2]
>     at org.apache.karaf.features.internal.service.FeaturesServiceImpl$$Lambda$15/2139805671.call(Unknown Source) [9:org.apache.karaf.features.core:4.1.2]
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?]
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?]
>     at java.lang.Thread.run(Thread.java:745) [?:?]
>     Suppressed: java.io.IOException: Error downloading file:/home/mgencur/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Draft-16/hibernate-jpa-2.1-api-1.0.0.Draft-16.jar${version.hibernate.javax.persistence}
>         at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:77) [9:org.apache.karaf.features.core:4.1.2]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?]
>         at java.lang.Thread.run(Thread.java:745) [?:?]
>     Caused by: java.io.IOException: Could not download [file:/home/mgencur/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Draft-16/hibernate-jpa-2.1-api-1.0.0.Draft-16.jar${version.hibernate.javax.persistence}]
>         at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:90) ~[?:?]
>         at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:60) ~[?:?]
>         ... 7 more
>     Caused by: java.io.FileNotFoundException: /home/mgencur/.m2/repository/org/hibernate/javax/persistence/hibernate-jpa-2.1-api/1.0.0.Draft-16/hibernate-jpa-2.1-api-1.0.0.Draft-16.jar${version.hibernate.javax.persistence} (No such file or directory)
>         at java.io.FileInputStream.open0(Native Method) ~[?:?]
>         at java.io.FileInputStream.open(FileInputStream.java:195) ~[?:?]
>         at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[?:?]
>         at java.io.FileInputStream.<init>(FileInputStream.java:93) ~[?:?]
>         at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) ~[?:?]
>         at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) ~[?:?]
>         at java.net.URL.openStream(URL.java:1038) ~[?:?]
>         at org.apache.karaf.features.internal.download.impl.SimpleDownloadTask.download(SimpleDownloadTask.java:76) ~[?:?]
>         at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:60) ~[?:?]
>         ... 7 more 
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list