Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Hot Deploy time in weblogic with Spring 2 Milestone 3

  1. #1
    Join Date
    Mar 2006
    Posts
    8

    Unhappy Hot Deploy time in weblogic with Spring 2 Milestone 3

    Hi,

    I upgraded Spring version to 2 Milestone 3 from 1.2.6 and the problem i have is while doing a deploy of my application, The application is not deploying completely. The status in the weblogic console is showing as deploying after 20 mins of starting the deployment.
    When i restart container (weblogic) the application deploys without any problem.
    Please help.

    Thanks,
    -S

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    What can you see in the logs?
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  3. #3
    Join Date
    Mar 2006
    Posts
    8

    Default

    INFO [ExecuteThread: '1' for queue: 'weblogic.kernel.System'] AbstractApplicationContext.doClose(582) | Closing application context [Roo
    t WebApplicationContext]

    INFO [ExecuteThread: '1' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroySingletons(569) | Destroying singletons in fact
    ory {org.springframework.beans.factory.support.Default ListableBeanFactory defining beans [propertyConfigurer,dataSource,filterChainProxy,txP roxyTempla

    INFO [ExecuteThread: '1' for queue: 'weblogic.kernel.System'] EhCacheManagerFactoryBean.destroy(93) | Shutting down EHCache CacheManager

    Nothing after that. I don't see spring instantiating singletons. If i restart weblogic it deploys application.

    Thanks
    S

  4. #4
    Join Date
    Mar 2006
    Posts
    8

    Default

    Eventually application got deployed with hot deploy but after 15 mins. For development this is a long time to wait for the deploy.
    With Spring ver 1.2.6 application deployed in 2 mins.

  5. #5
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    but after 15 mins. For development this is a long time to wait for the deploy
    Agreed - lower the logging level from INFO to DEBUG.
    INFO [ExecuteThread: '1' for queue: 'weblogic.kernel.System'] AbstractApplicationContext.doClose(582) | Closing application context [Roo
    t WebApplicationContext]
    ...
    Your application context is shutdown - I assume it is the old one. However, there should be some explanation why the redeploy takes so long.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  6. #6
    Join Date
    Mar 2006
    Posts
    8

    Default

    The logs i posted are with Spring 2 Milestone 3 version

  7. #7
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Yes but they contain just INFO messages. I was suggesting to switch to DEBUG both on WebLogic and Spring. You will end up with a log of logs but if you filter out the unrelevant packages you can find the problem.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  8. #8
    Join Date
    Mar 2006
    Posts
    8

    Default

    I lowered spring logging from INFO TO DEBUG and the logs are

    INFO [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractApplicationContext.doClose(582) | Closing application context [Roo
    t WebApplicationContext]
    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractApplicationContext.publishEvent(232) | Publishing event in contex
    t [Root WebApplicationContext]: org.springframework.context.event.ContextClosedEve nt[source=org.springframework.web.context.support.Xml WebApplicationC
    ontext: display name [Root WebApplicationContext]; startup date [Wed Mar 29 10:07:29 EST 2006]; root of context hierarchy; config locations [/WEB-INF/
    applicationContext-*.xml,classpath*:com/choicepoint/vc/dao/jdbc/applicationContext-*.xml,classpath*:com/choicepoint/vc/service/applicationContext-*.xm
    l]]

    INFO [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroySingletons(569) | Destroying singletons in fact
    ory {org.springframework.beans.factory.support.Default ListableBeanFactory defining beans [......]; root of BeanFactory hierarchy}

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'org.springframework.cache.ehcache.EhCacheManagerF actoryBean#474070'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'org.springframework.cache.ehcache.EhCacheFactoryB ean#1d78db8'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'userCache'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'daoAuthenticationProvider'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'authenticationManager'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'authenticationProcessingFilter'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory$1.destroy(969) | Invoking destroy() on bean with name
    'org.springframework.cache.ehcache.EhCacheManagerF actoryBean#474070'

    INFO [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] EhCacheManagerFactoryBean.destroy(93) | Shutting down EHCache CacheManager
    Last edited by saleti; Mar 29th, 2006 at 09:19 AM.

  9. #9
    Join Date
    Mar 2006
    Posts
    8

    Default

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] ConfigureListener.contextDestroyed(353) | contextDestroyed(null)

    INFO [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractApplicationContext.doClose(582) | Closing application context [Roo
    t WebApplicationContext]

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractApplicationContext.publishEvent(232) | Publishing event in contex
    t [Root WebApplicationContext]:
    org.springframework.context.event.ContextClosedEve nt[source=org.springframework.web.context.support.Xml WebApplicationC
    ontext: display name [Root WebApplicationContext]; startup date [Wed Mar 29 10:29:48 EST 2006]; root of context hierarchy; config locations [/WEB-INF/
    applicationContext-*.xml,classpath*:com/choicepoint/vc/dao/jdbc/applicationContext-*.xml,classpath*:com/choicepoint/vc/service/applicationContext-*.xm
    l]]


    INFO [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroySingletons(569) | Destroying singletons in fact
    ory {org.springframework.beans.factory.support.Default ListableBeanFactory defining beans [.......]; root of BeanFactory hierarchy}


    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'org.springframework.cache.ehcache.EhCacheManagerF actoryBean#3dfa7c'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'org.springframework.cache.ehcache.EhCacheFactoryB ean#107ed45'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'userCache'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'daoAuthenticationProvider'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'authenticationManager'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory.destroyBean(1051) | Retrieving dependent beans for be
    an 'authenticationProcessingFilter'

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] AbstractBeanFactory$1.destroy(969) | Invoking destroy() on bean with name
    'org.springframework.cache.ehcache.EhCacheManagerF actoryBean#3dfa7c'

    INFO [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] EhCacheManagerFactoryBean.destroy(93) | Shutting down EHCache CacheManager

    DEBUG [ExecuteThread: '0' for queue: 'weblogic.kernel.System'] DiskStore.dispose(444) | Deleting file userCache.data

    DEBUG [Store userCache Expiry Thread] DiskStore.expiryThreadMain(649) | userCacheCache: Expiry thread interrupted on Disk Store.

  10. #10
    Join Date
    Mar 2006
    Posts
    8

    Default

    Please Help. I changed my version to 1.2.6 and starting having the same problem with 15 mins deploy time. I never had any problem before i upgarded to 2.0 m3
    Code hasn't changed.
    Now everytime i make a change and want to test it is taking me 15 mins just for deployment which is unacceptable.

Posting Permissions

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