Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-7197

Spring 3 classpath scanning fails on JBoss AS 6.0.0.M3

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3
    • Component/s: Core
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      Context scanning fails in JBoss AS 6.0.0.M3 due to VFS issues. The VFS classes have moved from org.jboss.virtual to org.jboss.vfs. As well, a few methods have changed their names. Therefore, the fixes provided for SPR-5120 need an update to match the current package structure.

      I will attached a patch that abstracts the VFS2 and VFS3 code so that Spring 3 can detect the VFS version and run in either environments (JBoss AS 5 and JBoss AS 6).

      1. vfs.patch
        140 kB
        Marius Bogoevici

        Activity

        Hide
        costin Costin Leau added a comment -

        Committed the fix - tested it on JBoss 6 M3 and 5.1. Additional testing is welcome.

        Show
        costin Costin Leau added a comment - Committed the fix - tested it on JBoss 6 M3 and 5.1. Additional testing is welcome.
        Hide
        juergen.hoeller Juergen Hoeller added a comment -

        I'll consider this as finished, with just some smoke re-testing to be done from our side before the 3.0.3 release.

        Would be great to have this tested in others' JBoss environments as well, of course...

        Juergen

        Show
        juergen.hoeller Juergen Hoeller added a comment - I'll consider this as finished, with just some smoke re-testing to be done from our side before the 3.0.3 release. Would be great to have this tested in others' JBoss environments as well, of course... Juergen
        Hide
        mbogoevici Marius Bogoevici added a comment -

        Costin, Juergen,

        I have tested tonight's trunk version of Spring 3 against JBoss AS 5.1 and 6(M3/trunk) and it everything looks fine.

        Thanks for applying the patch!

        Show
        mbogoevici Marius Bogoevici added a comment - Costin, Juergen, I have tested tonight's trunk version of Spring 3 against JBoss AS 5.1 and 6(M3/trunk) and it everything looks fine. Thanks for applying the patch!
        Hide
        guitarking117 Nick Williams added a comment -

        Just for the benefit of replication, I have confirmed that this is no longer a problem. I had 3.0.1 and was getting this error, but when I upgraded the libraries to 3.0.5 the error went away.

        Show
        guitarking117 Nick Williams added a comment - Just for the benefit of replication, I have confirmed that this is no longer a problem. I had 3.0.1 and was getting this error, but when I upgraded the libraries to 3.0.5 the error went away.
        Hide
        samurai99 Zheng Yang added a comment -

        Can I ask a simple question? How can I use this patch. I mean import into my current project.

        I have an old project with spring framework 3.0.2 while it's hard to upgrade to a newer version.

        Thanks a lot

        Show
        samurai99 Zheng Yang added a comment - Can I ask a simple question? How can I use this patch. I mean import into my current project. I have an old project with spring framework 3.0.2 while it's hard to upgrade to a newer version. Thanks a lot

          People

          • Assignee:
            costin Costin Leau
            Reporter:
            mbogoevici Marius Bogoevici
            Last updater:
            Zheng Yang
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              34 weeks, 5 days ago