[JBoss JIRA] (ISPN-5802) Deprecate DataContainer API as no longer pluggable
by Sanne Grinovero (JIRA)
Sanne Grinovero created ISPN-5802:
-------------------------------------
Summary: Deprecate DataContainer API as no longer pluggable
Key: ISPN-5802
URL: https://issues.jboss.org/browse/ISPN-5802
Project: Infinispan
Issue Type: Task
Components: Core
Reporter: Sanne Grinovero
Assignee: William Burns
Fix For: 8.1.0.Alpha2
We'll keep the current {{DataContainer}} implementations but we need to deprecate its public API to allow more flexible evolution in the near future.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (ISPN-5696) javax.transaction dependency should be compile
by Jaimin Parekh (JIRA)
[ https://issues.jboss.org/browse/ISPN-5696?page=com.atlassian.jira.plugin.... ]
Jaimin Parekh commented on ISPN-5696:
-------------------------------------
Yes. Did the same. Working Now.
Thanks a lot.
> javax.transaction dependency should be compile
> ----------------------------------------------
>
> Key: ISPN-5696
> URL: https://issues.jboss.org/browse/ISPN-5696
> Project: Infinispan
> Issue Type: Feature Request
> Components: Build process
> Affects Versions: 8.0.0.CR1
> Reporter: Galder Zamarreño
> Assignee: Tristan Tarrant
> Priority: Blocker
> Fix For: 8.0.0.Final
>
>
> ISPN-5541 made all javax dependencies provided, including javax.transaction. This dependency though is needed for building transactional configuration, even if you're using no transactional configurations. E.g. constructing {{new DefaultCacheManager()}} without that dependency throws:
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
> at org.infinispan.configuration.cache.TransactionConfiguration.<clinit>(TransactionConfiguration.java:30)
> at org.infinispan.configuration.cache.TransactionConfigurationBuilder.<init>(TransactionConfigurationBuilder.java:37)
> at org.infinispan.configuration.cache.ConfigurationBuilder.<init>(ConfigurationBuilder.java:53)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:213)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:134)
> at org.infinispan.tutorial.simple.functional.InfinispanFunctional.main(InfinispanFunctional.java:22)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> Caused by: java.lang.ClassNotFoundException: javax.transaction.TransactionManager
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 11 more
> {code}
> The quick fix is to reinstate not-provided for {{javax.transaction}}. Longer term, this dependency should not kick in unless you have a transactional cache configuration.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (ISPN-5696) javax.transaction dependency should be compile
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-5696?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant commented on ISPN-5696:
---------------------------------------
This issue has only fixed the maven dependency. You still need to package the javax.transaction API jar [1] in your deployment (don't worry a full JTA manager is unnecessary)
[1] http://repo1.maven.org/maven2/javax/transaction/jta/1.1/jta-1.1.jar
> javax.transaction dependency should be compile
> ----------------------------------------------
>
> Key: ISPN-5696
> URL: https://issues.jboss.org/browse/ISPN-5696
> Project: Infinispan
> Issue Type: Feature Request
> Components: Build process
> Affects Versions: 8.0.0.CR1
> Reporter: Galder Zamarreño
> Assignee: Tristan Tarrant
> Priority: Blocker
> Fix For: 8.0.0.Final
>
>
> ISPN-5541 made all javax dependencies provided, including javax.transaction. This dependency though is needed for building transactional configuration, even if you're using no transactional configurations. E.g. constructing {{new DefaultCacheManager()}} without that dependency throws:
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
> at org.infinispan.configuration.cache.TransactionConfiguration.<clinit>(TransactionConfiguration.java:30)
> at org.infinispan.configuration.cache.TransactionConfigurationBuilder.<init>(TransactionConfigurationBuilder.java:37)
> at org.infinispan.configuration.cache.ConfigurationBuilder.<init>(ConfigurationBuilder.java:53)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:213)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:134)
> at org.infinispan.tutorial.simple.functional.InfinispanFunctional.main(InfinispanFunctional.java:22)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> Caused by: java.lang.ClassNotFoundException: javax.transaction.TransactionManager
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 11 more
> {code}
> The quick fix is to reinstate not-provided for {{javax.transaction}}. Longer term, this dependency should not kick in unless you have a transactional cache configuration.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (ISPN-5696) javax.transaction dependency should be compile
by Jaimin Parekh (JIRA)
[ https://issues.jboss.org/browse/ISPN-5696?page=com.atlassian.jira.plugin.... ]
Jaimin Parekh edited comment on ISPN-5696 at 10/1/15 4:51 AM:
--------------------------------------------------------------
-Hi Tristan,
I am still getting the same error i.e. Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
I have tried with 'infinispan-7.2.5.Final-all' as I am using Java 1.7
Am i missing something ?
Please help me out.
Thanks in advance.-
Working now. Thanks.
(Restricted to jira-users group)
was (Author: jaipar):
-Hi Tristan,
I am still getting the same error i.e. Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
I have tried with 'infinispan-7.2.5.Final-all' as I am using Java 1.7
Am i missing something ?
Please help me out.
Thanks in advance.-
(Restricted to jira-users group)
> javax.transaction dependency should be compile
> ----------------------------------------------
>
> Key: ISPN-5696
> URL: https://issues.jboss.org/browse/ISPN-5696
> Project: Infinispan
> Issue Type: Feature Request
> Components: Build process
> Affects Versions: 8.0.0.CR1
> Reporter: Galder Zamarreño
> Assignee: Tristan Tarrant
> Priority: Blocker
> Fix For: 8.0.0.Final
>
>
> ISPN-5541 made all javax dependencies provided, including javax.transaction. This dependency though is needed for building transactional configuration, even if you're using no transactional configurations. E.g. constructing {{new DefaultCacheManager()}} without that dependency throws:
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
> at org.infinispan.configuration.cache.TransactionConfiguration.<clinit>(TransactionConfiguration.java:30)
> at org.infinispan.configuration.cache.TransactionConfigurationBuilder.<init>(TransactionConfigurationBuilder.java:37)
> at org.infinispan.configuration.cache.ConfigurationBuilder.<init>(ConfigurationBuilder.java:53)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:213)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:134)
> at org.infinispan.tutorial.simple.functional.InfinispanFunctional.main(InfinispanFunctional.java:22)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> Caused by: java.lang.ClassNotFoundException: javax.transaction.TransactionManager
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 11 more
> {code}
> The quick fix is to reinstate not-provided for {{javax.transaction}}. Longer term, this dependency should not kick in unless you have a transactional cache configuration.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (ISPN-5696) javax.transaction dependency should be compile
by Jaimin Parekh (JIRA)
[ https://issues.jboss.org/browse/ISPN-5696?page=com.atlassian.jira.plugin.... ]
Jaimin Parekh edited comment on ISPN-5696 at 10/1/15 4:50 AM:
--------------------------------------------------------------
-Hi Tristan,
I am still getting the same error i.e. Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
I have tried with 'infinispan-7.2.5.Final-all' as I am using Java 1.7
Am i missing something ?
Please help me out.
Thanks in advance.-
(Restricted to jira-users group)
was (Author: jaipar):
Hi Tristan,
I am still getting the same error i.e. Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
I have tried with 'infinispan-7.2.5.Final-all' as I am using Java 1.7
Am i missing something ?
Please help me out.
Thanks in advance.
> javax.transaction dependency should be compile
> ----------------------------------------------
>
> Key: ISPN-5696
> URL: https://issues.jboss.org/browse/ISPN-5696
> Project: Infinispan
> Issue Type: Feature Request
> Components: Build process
> Affects Versions: 8.0.0.CR1
> Reporter: Galder Zamarreño
> Assignee: Tristan Tarrant
> Priority: Blocker
> Fix For: 8.0.0.Final
>
>
> ISPN-5541 made all javax dependencies provided, including javax.transaction. This dependency though is needed for building transactional configuration, even if you're using no transactional configurations. E.g. constructing {{new DefaultCacheManager()}} without that dependency throws:
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
> at org.infinispan.configuration.cache.TransactionConfiguration.<clinit>(TransactionConfiguration.java:30)
> at org.infinispan.configuration.cache.TransactionConfigurationBuilder.<init>(TransactionConfigurationBuilder.java:37)
> at org.infinispan.configuration.cache.ConfigurationBuilder.<init>(ConfigurationBuilder.java:53)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:213)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:134)
> at org.infinispan.tutorial.simple.functional.InfinispanFunctional.main(InfinispanFunctional.java:22)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> Caused by: java.lang.ClassNotFoundException: javax.transaction.TransactionManager
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 11 more
> {code}
> The quick fix is to reinstate not-provided for {{javax.transaction}}. Longer term, this dependency should not kick in unless you have a transactional cache configuration.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (ISPN-5696) javax.transaction dependency should be compile
by Jaimin Parekh (JIRA)
[ https://issues.jboss.org/browse/ISPN-5696?page=com.atlassian.jira.plugin.... ]
Jaimin Parekh edited comment on ISPN-5696 at 10/1/15 4:45 AM:
--------------------------------------------------------------
Hi Tristan,
I am still getting the same error i.e. Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
I have tried with 'infinispan-7.2.5.Final-all' as I am using Java 1.7
Am i missing something ?
Please help me out.
Thanks in advance.
was (Author: jaipar):
Hi Tristan,
I am still getting the same error i.e. Exception in thread "main" java.lang.UnsupportedClassVersionError: org/infinispan/manager/EmbeddedCacheManager : Unsupported major.minor version 52.0.
I have tried with 'infinispan-7.2.5.Final-all', 'infinispan-8.0.1.Final-all' & 'infinispan-8.1.0.Alpha1-all'.
Am i missing something ?
Please help me out.
Thanks in advance.
> javax.transaction dependency should be compile
> ----------------------------------------------
>
> Key: ISPN-5696
> URL: https://issues.jboss.org/browse/ISPN-5696
> Project: Infinispan
> Issue Type: Feature Request
> Components: Build process
> Affects Versions: 8.0.0.CR1
> Reporter: Galder Zamarreño
> Assignee: Tristan Tarrant
> Priority: Blocker
> Fix For: 8.0.0.Final
>
>
> ISPN-5541 made all javax dependencies provided, including javax.transaction. This dependency though is needed for building transactional configuration, even if you're using no transactional configurations. E.g. constructing {{new DefaultCacheManager()}} without that dependency throws:
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
> at org.infinispan.configuration.cache.TransactionConfiguration.<clinit>(TransactionConfiguration.java:30)
> at org.infinispan.configuration.cache.TransactionConfigurationBuilder.<init>(TransactionConfigurationBuilder.java:37)
> at org.infinispan.configuration.cache.ConfigurationBuilder.<init>(ConfigurationBuilder.java:53)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:213)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:134)
> at org.infinispan.tutorial.simple.functional.InfinispanFunctional.main(InfinispanFunctional.java:22)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> Caused by: java.lang.ClassNotFoundException: javax.transaction.TransactionManager
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 11 more
> {code}
> The quick fix is to reinstate not-provided for {{javax.transaction}}. Longer term, this dependency should not kick in unless you have a transactional cache configuration.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (ISPN-5801) Cache with CacheLoader and CreatedExpiryPolicy Invalidates Instantly
by Dan Siviter (JIRA)
Dan Siviter created ISPN-5801:
---------------------------------
Summary: Cache with CacheLoader and CreatedExpiryPolicy Invalidates Instantly
Key: ISPN-5801
URL: https://issues.jboss.org/browse/ISPN-5801
Project: Infinispan
Issue Type: Bug
Components: JCache
Affects Versions: 8.0.1.Final
Reporter: Dan Siviter
When using a {{javax.cache.expiry.CreatedExpiryPolicy}} and a {{javax.cache.integration.CacheLoader}} the value generated for the {{org.infinispan.jcache.embedded/JCacheInternalMetadata#expiry}} is not relative to {{TimeService#wallClockTime}}. It therefore invalidates the entry instantly.
I believe the problem is in {{org.infinispan.jcache.embedded.JCacheLoaderAdapter\[line=48\]}} where {{org.infinispan.jcache.Expiration#getExpiry(...)}} doesn't calculate the relative value so {{org.infinispan.jcache.embedded.JCacheInternalMetadata#isExpired}} always returns {{true}}.
Unfortunately, work doesn't allow me to upload code so I can't submit an example.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years
[JBoss JIRA] (ISPN-5696) javax.transaction dependency should be compile
by Jaimin Parekh (JIRA)
[ https://issues.jboss.org/browse/ISPN-5696?page=com.atlassian.jira.plugin.... ]
Jaimin Parekh commented on ISPN-5696:
-------------------------------------
Hi Tristan,
I am still getting the same error i.e. Exception in thread "main" java.lang.UnsupportedClassVersionError: org/infinispan/manager/EmbeddedCacheManager : Unsupported major.minor version 52.0.
I have tried with 'infinispan-7.2.5.Final-all', 'infinispan-8.0.1.Final-all' & 'infinispan-8.1.0.Alpha1-all'.
Am i missing something ?
Please help me out.
Thanks in advance.
> javax.transaction dependency should be compile
> ----------------------------------------------
>
> Key: ISPN-5696
> URL: https://issues.jboss.org/browse/ISPN-5696
> Project: Infinispan
> Issue Type: Feature Request
> Components: Build process
> Affects Versions: 8.0.0.CR1
> Reporter: Galder Zamarreño
> Assignee: Tristan Tarrant
> Priority: Blocker
> Fix For: 8.0.0.Final
>
>
> ISPN-5541 made all javax dependencies provided, including javax.transaction. This dependency though is needed for building transactional configuration, even if you're using no transactional configurations. E.g. constructing {{new DefaultCacheManager()}} without that dependency throws:
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
> at org.infinispan.configuration.cache.TransactionConfiguration.<clinit>(TransactionConfiguration.java:30)
> at org.infinispan.configuration.cache.TransactionConfigurationBuilder.<init>(TransactionConfigurationBuilder.java:37)
> at org.infinispan.configuration.cache.ConfigurationBuilder.<init>(ConfigurationBuilder.java:53)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:213)
> at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:134)
> at org.infinispan.tutorial.simple.functional.InfinispanFunctional.main(InfinispanFunctional.java:22)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
> Caused by: java.lang.ClassNotFoundException: javax.transaction.TransactionManager
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 11 more
> {code}
> The quick fix is to reinstate not-provided for {{javax.transaction}}. Longer term, this dependency should not kick in unless you have a transactional cache configuration.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years