- This topic has 10 replies, 3 voices, and was last updated 20 years, 7 months ago by
Riyad Kalla.
-
AuthorPosts
-
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…
Riyad KallaMemberTry 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.
It appears this package/class was not installed by WS – it is nowhere to be seen.
Now what!!??
Riyad KallaMemberLook 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.
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…
Scott AndersonParticipantAre you running WebSphere with the JDK that IBM ships with it? It definately won’t run with a Sun JDK.
I’ll check that out.
Thanks..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.
Riyad KallaMemberDid 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.
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…
Riyad KallaMemberNice job! Glad its working.
-
AuthorPosts