facebook

MyEclipse and WebSphere Problem

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #216991 Reply

    Phil Gibbs
    Member

    When I start WS5.1 from the IDE I get a NoClassNotFound exception. The msg is:
    Caused by java.lang.NoClassDefFoundError: com/ibm/logging/LoggerCfg at com.tivoli.jmx.utils.logging.CatUtil.createJmxCatalog(CatUtil.java:76)
    I have set the WS logging to console.
    It clearly is a config issue – but what?
    Can anyone provide a clue?
    Thanks…

    #217008 Reply

    Riyad Kalla
    Member

    Try and find out what JAR the “com/ibm/logging/LoggerCfg” class is from, then make sure to append it to the connector classpath, or better yet drop it into the lib directory for your application server.

    #217033 Reply

    Phil Gibbs
    Member

    It appears this package/class was not installed by WS – it is nowhere to be seen.
    Now what!!??

    #217034 Reply

    Riyad Kalla
    Member

    Look into your WebSphere/AppServer/java/jre/lib/ext directory for a “mail.jar” file and a “log.jar” file. Then edit your Webspehere connector Paths in MyEclipse (Window > Preferneces > Application Servers > Websphere 5 > Paths) and ‘Append to Classpath’ those two libraries.

    #217076 Reply

    Phil Gibbs
    Member

    Did that, but now have another error.
    Message is: Unable to parse MBean descriptor file com.ibm.websphere.management.exception.DescriptorParseException.
    This should not be this difficult.
    Thanks…

    #217081 Reply

    Scott Anderson
    Participant

    Are you running WebSphere with the JDK that IBM ships with it? It definately won’t run with a Sun JDK.

    #217117 Reply

    Phil Gibbs
    Member

    I’ll check that out.
    Thanks..

    #217127 Reply

    Phil Gibbs
    Member

    Yes, WS is running under IBM’s JDK. WS starts and runs just fine when it’s started outside the Eclipse IDE. Eclipse, however, runs under Sun’s JDK1.4. Is that a conflict? My colleague is running into the same issue. JBoss and TomCat both start ok from Eclipse’s IDE.

    #217131 Reply

    Riyad Kalla
    Member

    Did you actually click the “Add” button when configuring the Websphere connector and configure it using the IBM JDK in the Websphere directory? Otherwise it will use your Eclipse default which might be the issue…

    Eclipse running Sun’s JDK and Connecting to IBM’s JDK shouldn’t have problems starting it up, but MAY give you issues during debugging.

    #217138 Reply

    Phil Gibbs
    Member

    Thank you, thank you – we have it started from within IDE. We pointed WS to the IBM JDK in Eclipse prefs and that did it. It all makes sense now.
    Thanks again…

    #217140 Reply

    Riyad Kalla
    Member

    Nice job! Glad its working.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: MyEclipse and WebSphere Problem

You must be logged in to post in the forum log in