Results 1 to 2 of 2

Thread: Spring 1.2.8 + wls 9.2

  1. #1
    Join Date
    Feb 2007
    Posts
    2

    Default Spring 1.2.8 + wls 9.2

    Hi, I hope somebody can help me with the following problem:

    Our application is using spring 1.2.8 and is deployed as ear file under weblogic 9.2. On of the beans in spring application context is used as a configuration for one of the application component, lets call this bean 'appConfiguration'.

    One of the requirements for the application is to be able to dynamicaly change configuration. After reading about spring support for wls 9.2, solution for my problem looks easy:
    1. expose 'appConfiguration' bean as JMX MBean into wls 9.2 runtime MBean server
    2. use 'Spring Weblogic Administration Console Extension for Spring Beans' to access and change 'appConfiguration' bean dynamically

    So, I downloaded Spring support for wls 9.2 from http://commerce.bea.com/showproduct....=1.2.8&minor=0 and followed the instruction.

    When I tried to deploy my application as war file, it worked fine. At least I was able to see 'Spring Management Objects' tab in my Weblogic Console -> deployments -> {my_web_application}.

    But, when I tried to deploy application as an ear file, I couldn't see the tab in the console. The example in downloaded archive are all based on deploying war file, and I couldn't find any explanation how to use it with ear file. ( I mean, my application can be ear or war file, but they both can use spring, so I don't understand why difference exists)

    I searched the forum, and it looks like this problem existed in wls 9.1 (http://forum.springframework.org/sho...d.php?t=32417), but no answers yet ...

    Has anybody managed to use Weblogic Administration Console with ear file on wls 9.2 ?

    Thanks.
    Predrag

  2. #2
    Join Date
    Feb 2007
    Posts
    2

    Default answer from BEA

    Since there was no answers to my question, I went directly to the source - BEA Support. And here is what they say:

    "Spring Weblogic Administration Console Extension for Spring Beans are designed to work only with WAR deployments, but they forgot to mention this in documentation"

    So, it won't work with EAR deployments.

    (Do I have to mention that I am a bit dissapointed with the answer?)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •