3 Replies Latest reply on Dec 13, 2003 10:10 AM by Juha Lindfors

    ClassLoader problem on Jboss 3.0.7

    Mykola Paliyenko Newbie

      Hi.
      I'm using Jboss 3.0.7 and have following problem.

      I have two versions of one project in separate EARs, All JNDI names of beans are differnt. Also in both ears I has a static (singleton) class A.
      The problem is that that singleton A loading configuration from the file and the config is different in two versions. But when I deploy that ears to the JBOSS both two ears uses the same instance of the singleton.
      The questions are
      1. Is it right?
      2. Can I use static things at all?
      3. Is this problem fixed in recent versions.

      Regards, Mykola