Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1840

DefaultCacheManager uses deprecated InfinispanConfiguration.findSchemaInputStream()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.1.2.CR1, 5.1.2.FINAL
    • 5.1.1.FINAL
    • Core
    • None
    • Hide

      I really don't know.... The problem occurs only on some HW configuration

      Show
      I really don't know.... The problem occurs only on some HW configuration
    • Workaround Exists
    • Hide

      I replaced DefaultCacheManager with my version with these 2 lines commented

      Show
      I replaced DefaultCacheManager with my version with these 2 lines commented
    • Low

    Description

      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?

      Attachments

        Activity

          People

            manik_jira Manik Surtani (Inactive)
            damiano.pezzotti Damiano Pezzotti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: