Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Help problem
Help problem [message #261032] Tue, 13 July 2004 04:42 Go to next message
Eclipse UserFriend
Originally posted by: peter_mu.yahoo.com

Hello everybody!

I have some problems with the help system in Eclipse 3.0 Build id:
200406251208
Every time I press F1 to open the help window I got the following into
my .log-file:
!ENTRY org.eclipse.help.base 4 0 Jul 13, 2004 10:27:44.935
!MESSAGE Help cannot be displayed. The embedded application server could
not run help web application. Check the log for details.
!STACK 1
org.eclipse.core.runtime.CoreException[0]:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@be8e12 for
org.apache.commons.logging.impl.Log4JLogger
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:532)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.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(MemoryReal m.java:278)
at org.apache.catalina.realm.MemoryRealm.start(MemoryRealm.java :348)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava: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(TomcatAppS erver.java:97)
at
org.eclipse.help.internal.appserver.AppserverPlugin.startWeb appServer(AppserverPlugin.java:145)
at
org.eclipse.help.internal.appserver.AppserverPlugin.getAppSe rver(AppserverPlugin.java:42)
at
org.eclipse.help.internal.appserver.WebappManager.start(Weba ppManager.java:57)
at
org.eclipse.help.internal.base.BaseHelpSystem.ensureWebappRu nning(BaseHelpSystem.java:182)
at
org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(He lpDisplay.java:156)
at
org.eclipse.help.internal.base.HelpDisplay.displayHelp(HelpD isplay.java:48)
at
org.eclipse.help.ui.internal.DefaultHelpUI.displayHelp(Defau ltHelpUI.java:43)
at org.eclipse.ui.help.WorkbenchHelp.displayHelp(WorkbenchHelp. java:210)
at
org.eclipse.ui.internal.actions.HelpContentsAction$1.run(Hel pContentsAction.java:78)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.actions.HelpContentsAction.run(HelpC ontentsAction.java:76)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handleEven t(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
Caused by: org.apache.commons.logging.LogConfigurationException: No
suitable Log constructor [Ljava.lang.Class;@be8e12 for
org.apache.commons.logging.impl.Log4JLogger
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:432)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:525)
... 43 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:429)
... 44 more
!SUBENTRY 1 org.eclipse.tomcat 4 0 Jul 13, 2004 10:27:44.935
!MESSAGE Exception occurred starting application server.
!STACK 0
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@be8e12 for
org.apache.commons.logging.impl.Log4JLogger
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:532)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.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(MemoryReal m.java:278)
at org.apache.catalina.realm.MemoryRealm.start(MemoryRealm.java :348)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.j ava: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(TomcatAppS erver.java:97)
at
org.eclipse.help.internal.appserver.AppserverPlugin.startWeb appServer(AppserverPlugin.java:145)
at
org.eclipse.help.internal.appserver.AppserverPlugin.getAppSe rver(AppserverPlugin.java:42)
at
org.eclipse.help.internal.appserver.WebappManager.start(Weba ppManager.java:57)
at
org.eclipse.help.internal.base.BaseHelpSystem.ensureWebappRu nning(BaseHelpSystem.java:182)
at
org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(He lpDisplay.java:156)
at
org.eclipse.help.internal.base.HelpDisplay.displayHelp(HelpD isplay.java:48)
at
org.eclipse.help.ui.internal.DefaultHelpUI.displayHelp(Defau ltHelpUI.java:43)
at org.eclipse.ui.help.WorkbenchHelp.displayHelp(WorkbenchHelp. java:210)
at
org.eclipse.ui.internal.actions.HelpContentsAction$1.run(Hel pContentsAction.java:78)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.actions.HelpContentsAction.run(HelpC ontentsAction.java:76)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handleEven t(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
Caused by: org.apache.commons.logging.LogConfigurationException: No
suitable Log constructor [Ljava.lang.Class;@be8e12 for
org.apache.commons.logging.impl.Log4JLogger
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:432)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:525)
... 43 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstru ctor(LogFactoryImpl.java:429)
... 44 more

I am working on a Win 2000 Pro machine with 1 GB ram. Does anybody know
whats happening here and how I can get the help system running. I checked
some newsgroups and tried to find anything about it with google but until
yet I haven't found anything. Your help will be very very much appreciated!

TIA!
Ciao
Peter
Re: Help problem [message #261147 is a reply to message #261032] Tue, 13 July 2004 10:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dorian.birsan.net

"Peter" <peter_mu@yahoo.com> wrote in message
news:cd079a$ftq$1@eclipse.org...
> Hello everybody!
>
> I have some problems with the help system in Eclipse 3.0 Build id:
> 200406251208
> Every time I press F1 to open the help window I got the following into
> my .log-file:
> !ENTRY org.eclipse.help.base 4 0 Jul 13, 2004 10:27:44.935
> !MESSAGE Help cannot be displayed. The embedded application server could
> not run help web application. Check the log for details.
> !STACK 1
> org.eclipse.core.runtime.CoreException[0]:
> org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: No suitable Log
> constructor [Ljava.lang.Class;@be8e12 for
> org.apache.commons.logging.impl.Log4JLogger
> at
>
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.ja
va:532)
[ ...]

Check the eclipse readme. You may have a servlet.jar in your jdk's
ext(ension) folder.
Re: Help problem [message #261410 is a reply to message #261147] Wed, 14 July 2004 04:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: peter_mu.yahoo.com

Hello Dorian!

Thank you very much for your response!

dorian birsan wrote:

> "Peter" <peter_mu@yahoo.com> wrote in message
> news:cd079a$ftq$1@eclipse.org...
> > Hello everybody!
> >
> > I have some problems with the help system in Eclipse 3.0 Build id:
> > 200406251208
> > Every time I press F1 to open the help window I got the following into
> > my .log-file:
> > !ENTRY org.eclipse.help.base 4 0 Jul 13, 2004 10:27:44.935
> > !MESSAGE Help cannot be displayed. The embedded application server could
> > not run help web application. Check the log for details.
> > !STACK 1

> Check the eclipse readme. You may have a servlet.jar in your jdk's
> ext(ension) folder.

Checked this, found some servlet.jars but none of them is in the
classpath. I renamed all except the one in the eclipse-folder to check,
but still doesn't work :(

Ciao
Peter
Re: Help problem [message #261529 is a reply to message #261410] Wed, 14 July 2004 13:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dorian.birsan.net

"Peter" <peter_mu@yahoo.com> wrote in message
news:cd2pl0$nos$1@eclipse.org...
> Hello Dorian!
>
> Thank you very much for your response!
>
> dorian birsan wrote:
>
> > "Peter" <peter_mu@yahoo.com> wrote in message
> > news:cd079a$ftq$1@eclipse.org...
> > > Hello everybody!
> > >
> > > I have some problems with the help system in Eclipse 3.0 Build id:
> > > 200406251208
> > > Every time I press F1 to open the help window I got the following
into
> > > my .log-file:
> > > !ENTRY org.eclipse.help.base 4 0 Jul 13, 2004 10:27:44.935
> > > !MESSAGE Help cannot be displayed. The embedded application server
could
> > > not run help web application. Check the log for details.
> > > !STACK 1
>
> > Check the eclipse readme. You may have a servlet.jar in your jdk's
> > ext(ension) folder.
>
> Checked this, found some servlet.jars but none of them is in the
> classpath. I renamed all except the one in the eclipse-folder to check,
> but still doesn't work :(

Renaming does not change the story, the jars in the ext folder get added to
the boot classpath of the jdk (regadless of the jar name), so their classes
will get loaded before those contributed by eclipse. Try removing them first
(well, back them up before removing :-) and give it a try.

>
> Ciao
> Peter
>
Re: Help problem [message #261668 is a reply to message #261529] Thu, 15 July 2004 05:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: peter_mu.yahoo.com

Hello Dorian!

dorian birsan wrote:

...
> > Checked this, found some servlet.jars but none of them is in the
> > classpath. I renamed all except the one in the eclipse-folder to check,
> > but still doesn't work :(

> Renaming does not change the story, the jars in the ext folder get added to
> the boot classpath of the jdk (regadless of the jar name), so their classes
> will get loaded before those contributed by eclipse. Try removing them first
> (well, back them up before removing :-) and give it a try.

None of these jars were in the ext-folder! I deleted them all, no change
so far... I've seen that this problem exists already in eclipse-bugzilla
#69124, but no solution yet. I keep on trying.

Thanks a lot!
Ciao
Peter
Re: Help problem [message #262820 is a reply to message #261668] Wed, 21 July 2004 04:28 Go to previous message
Eclipse UserFriend
Originally posted by: peter_mu.yahoo.com

Peter wrote:

> Hello Dorian!

> dorian birsan wrote:
...
> None of these jars were in the ext-folder! I deleted them all, no change
> so far... I've seen that this problem exists already in eclipse-bugzilla
> #69124, but no solution yet. I keep on trying.

Found it! The problem was caused by an older log4j jarfile in my lib/ext
folder. Removed it and everything works fine!

Bye
Peter
Previous Topic:Eclipse IDE Icons Explained? ( > )
Next Topic:Increase tab width in Java editor
Goto Forum:
  


Current Time: Wed May 14 07:54:06 EDT 2025

Powered by FUDForum. Page generated in 0.03644 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top