[infinispan-issues] [JBoss JIRA] (ISPN-1840) DefaultCacheManager uses deprecated InfinispanConfiguration.findSchemaInputStream()
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Tue Feb 7 03:50:48 EST 2012
[ https://issues.jboss.org/browse/ISPN-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño updated ISPN-1840:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> DefaultCacheManager uses deprecated InfinispanConfiguration.findSchemaInputStream()
> -----------------------------------------------------------------------------------
>
> Key: ISPN-1840
> URL: https://issues.jboss.org/browse/ISPN-1840
> Project: Infinispan
> Issue Type: Bug
> Components: Core API
> Affects Versions: 5.1.1.FINAL
> Environment: The problem occurs on my customer test enviroment ()
> Reporter: Damiano Pezzotti
> Assignee: Manik Surtani
> Fix For: 5.2.0.ALPHA1, 5.2.0.FINAL
>
>
> I have a strange problem with infinispan 5.1.x.
> On my develompent enviroment (Mac 10.6.x and Linux) the cache works fine.
> When I tried to deploy my app on my customers test enviroment (a virtualized linux machine) the cache doesn't start... The JVM is blocked during cache initialization.
> I tried to debug infinispan and I found that the init process is blocked on DefaultCacheManager at this line
> InputStream schemaInputStream = InfinispanConfiguration.findSchemaInputStream();
> If I comment this line ( and the Util.close(schemaInputStream) ) the cache starts successfully.
> I see that the findSchemaInputStream() method is deprecated and the schemaInputStream object is never used.
> Is it possible to remove these 2 lines of code?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list