Results 1 to 6 of 6

Thread: WebSphere runnning 100% cpu !

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Posts
    9

    Default WebSphere runnning 100% cpu !

    Hi,
    I try to write a basic sample appl, the go /nogo with Spring meeting is for tomorrow.... and, using Was5.1 test environment in WSAD512, the app run 100% cpu after initializing the context.
    I something running asynchroneously ?
    Any idea welcome ! Thanks

  2. #2
    Join Date
    Aug 2004
    Location
    Toronto, Canada
    Posts
    736

    Default

    Spring itself will not spawn any threads while initializing or using the context. It's possible that some bean you're configuring in the container is doing this though, but there's not enough info in your post to make this anything more than speculation, or try to figure out the cause...
    Colin Sampaleanu
    SpringSource - http://www.springsource.com

  3. #3
    Join Date
    Sep 2004
    Posts
    9

    Default

    Hi Colin,
    Nothing really special in my context for a sample appl:
    * a Jta transaction manager and associated WebSphere datasource to DB2
    * an iBatis Sqlmap and the associated dao
    * a strutc action
    The context is loaded via the Struts plugin, a listener is installed for log4j configuration.
    I suspected WSAD, re-installed previous version 5.1.1, but result is the same !

  4. #4
    Join Date
    Aug 2004
    Location
    Toronto, Canada
    Posts
    736

    Default

    What happens with the app in WebSphere itself?

  5. #5
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    Just because your using Spring doesn't mean it is causing the problems. Try ruling out Spring first if you need to make an immediate decision on it. If it is a simple application, you should be able to refactor everything to do without Spring pretty quickly - part of it's Spring's charm.

    Posting the application context and WebSphere logs would help too.

  6. #6
    Join Date
    Sep 2004
    Posts
    9

    Default

    Found !
    Thank you Colin, you help me saying that no threads were spawn, in fact, one is... the Log4jConfigListener, and a keystroke error put the refresh value to 0....
    Thank you for help

Similar Threads

  1. Replies: 8
    Last Post: Mar 19th, 2008, 11:13 AM
  2. Websphere 6 JTA question
    By pkorwar in forum Data
    Replies: 8
    Last Post: Jul 19th, 2007, 01:16 PM
  3. Using Hessian inside WebSphere
    By mynzai in forum Web
    Replies: 0
    Last Post: Sep 21st, 2005, 08:55 AM
  4. Setting up JOTM within Websphere
    By javamac in forum Data
    Replies: 2
    Last Post: Apr 23rd, 2005, 07:48 AM
  5. Replies: 1
    Last Post: Aug 31st, 2004, 04:54 PM

Posting Permissions

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