Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6763

UseJBossWebLoader flag ineffective in JBoss 5.0.1 GA

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • JBossAS-5.0.1.GA
    • ClassLoading
    • None

    Description

      We are currently upgrading our platform to Java 6 ,Spring 2.5.6 and Jboss 5.0.1 GA. With Jboss 4.2 GA we are using 'UseJBossWebLoader' = true for single classloading.
      Seems this flag is not working in Jboss 5.

      We also tried classloader scoping options as below. But it does not help for single classloading.
      <loader-repository>cws.test:loader=cws-app.ear</loader-repository> in jboss-app.xml

      And in jboss-web.xml

      <class-loading java2ClassLoadingCompliance='false'>
      <loader-repository>cws.test:loader=cws-app.ear
      <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
      </loader-repository>
      </class-loading>

      Our product EAR is structure is as below.

      ProductEAR]
      jars
      War1
      War2
      Each war loads it's specific spring beans. Now we are not able to see the springs loaded under war1 context when a request is issued from war2 context.

      Are we missing something? Or this is an issue with Jboss5?

      Attachments

        Activity

          People

            Unassigned Unassigned
            schevuru_jira Sri Chevuru (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: