- This topic has 10 replies, 3 voices, and was last updated 20 years, 9 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…October 6, 2004 at 10:41 am #217008
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.
October 6, 2004 at 1:03 pm #217033It appears this package/class was not installed by WS – it is nowhere to be seen.
Now what!!??October 6, 2004 at 1:07 pm #217034
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.
October 6, 2004 at 7:09 pm #217076Did 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…October 6, 2004 at 8:14 pm #217081
Scott AndersonParticipantAre you running WebSphere with the JDK that IBM ships with it? It definately won’t run with a Sun JDK.
October 7, 2004 at 6:04 am #217117I’ll check that out.
Thanks..October 7, 2004 at 7:58 am #217127Yes, 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.
October 7, 2004 at 8:32 am #217131
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.
October 7, 2004 at 9:24 am #217138Thank 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…October 7, 2004 at 9:40 am #217140
Riyad KallaMemberNice job! Glad its working.
-
AuthorPosts