[infinispan-issues] [JBoss JIRA] (ISPN-1840) DefaultCacheManager uses deprecated InfinispanConfiguration.findSchemaInputStream()

Manik Surtani (JIRA) jira-events at lists.jboss.org
Wed Feb 8 10:53:48 EST 2012


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

Manik Surtani updated ISPN-1840:
--------------------------------

       Fix Version/s: 5.1.2.CR1
                      5.1.2.FINAL
                          (was: 5.2.0.FINAL)
                          (was: 5.2.0.ALPHA1)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/928  (was: https://github.com/infinispan/infinispan/pull/928)

    
> 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.1.2.CR1, 5.1.2.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