Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eclipse Help trouble




Just a guess:
did you install a log4j version somewhere on your system that is incompatible with Eclipse's tomcat?
--andre



I have downloaded from an Eclipse mirror the file eclipse-SDK-3.0.1-macosx-carbon.tar.gz, put in the Applications directory and started it up. It then comes up with an error message about not being able to use Help:

Help cannot be displayed. The embedded application server could not run help web application. Check the log for details.

and Exception Stack Trace:

org.eclipse.core.runtime.CoreException[0]: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
at org.apache.commons.digester.Digester.<init>(Digester.java:346)
at org.apache.catalina.realm.MemoryRealm.getDigester(MemoryRealm.java:278)
at org.apache.catalina.realm.MemoryRealm.start(MemoryRealm.java:348)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at org.apache.catalina.startup.Embedded.addEngine(Embedded.java:464)
at org.eclipse.tomcat.internal.TomcatAppServer.start(TomcatAppServer.java:97)
at org.eclipse.help.internal.appserver.AppserverPlugin.startWebappServer(AppserverPlugin.java:145)
at org.eclipse.help.internal.appserver.AppserverPlugin.getAppServer(AppserverPlugin.java:42)
at org.eclipse.help.internal.appserver.WebappManager.start(WebappManager.java:57)
at org.eclipse.help.internal.base.BaseHelpSystem.ensureWebappRunning(BaseHelpSystem.java:182)
at org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(HelpDisplay.java:156)
at org.eclipse.help.internal.base.HelpDisplay.displayHelp(HelpDisplay.java:48)
at org.eclipse.help.ui.internal.DefaultHelpUI.displayHelp(DefaultHelpUI.java:43)
at org.eclipse.ui.help.WorkbenchHelp.displayHelp(WorkbenchHelp.java:210)
at org.eclipse.ui.internal.actions.HelpContentsAction$1.run(HelpContentsAction.java:78)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.actions.HelpContentsAction.run(HelpContentsAction.java:76)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1205)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2871)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:416)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
... 46 more
Caused by: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.Log4JLogger does not implement Log
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:412)
... 47 more


How is that possible? How can it be remedied? (I even have recent versions of log4j and commons-logging in my /Library/Java/Extensions -- allthough removing them makes no difference). Did I forget something important?

Help is appreciated.
Running Mac OS X 10.3.5 with the latest Java142Update2.

Hans van der Meer

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Eclipse Help trouble (From: "dr. Hans van der Meer" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.