"Help content" error [message #447940] |
Tue, 18 April 2006 07:56  |
Eclipse User |
|
|
|
Hi!
I am using a "help" in my RCP-application. Therefore I've added an action
which calls the help content. When I'm starting my application from the
Eclipse env. everything works fine. I can see the help content.
But when I've exported my application the help content will not be shown. I
don't know why, but there is an internal server error HTTP 500 and the error
tells me, that the homepage 127.0.0.1:53646 can not be shown.
The tomcat plugin throws an exception (see below). The error message is,
that tomcat can not find the file "\conf\tomcat-users.xml", but it exists!
Has anyone an idea? Thank you!
Christian
Engine.start
LifecycleException: Memory database file
D:\export\Application\file:d:\export\Application\plugins\org .eclipse.tomcat_
4.1.30.1.jar!\conf\tomcat-users.xml cannot be read
at org.apache.catalina.realm.MemoryRealm.start(MemoryRealm.java :340)
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:146)
at
org.eclipse.help.internal.appserver.AppserverPlugin.startWeb appServer(Appser
verPlugin.java:143)
at
org.eclipse.help.internal.appserver.AppserverPlugin.getAppSe rver(AppserverPl
ugin.java:41)
at
org.eclipse.help.internal.appserver.WebappManager.start(Weba ppManager.java:5
8)
at
org.eclipse.help.internal.base.BaseHelpSystem.ensureWebappRu nning(BaseHelpSy
stem.java:245)
at
org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(He lpDisplay.java:1
64)
at
org.eclipse.help.internal.base.HelpDisplay.displayHelp(HelpD isplay.java:54)
at
org.eclipse.help.ui.internal.DefaultHelpUI.displayHelp(Defau ltHelpUI.java:12
6)
at
org.eclipse.ui.internal.help.WorkbenchHelpSystem.displayHelp (WorkbenchHelpSy
stem.java:822)
at
org.eclipse.ui.internal.actions.HelpContentsAction$1.run(Hel pContentsAction.
java:83)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.actions.HelpContentsAction.run(HelpC ontentsAction.ja
va:81)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
ContributionItem.java:538)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
tem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu
tionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at my.package.Application.run(Application.java:56)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
CoyoteConnector Coyote can't register jmx for protocol
Engine.stop
LifecycleException: Pipeline has not been started
at
org.apache.catalina.core.StandardPipeline.stop(StandardPipel ine.java:304)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.ja va:1226)
at org.apache.catalina.startup.Embedded.removeEngine(Embedded.j ava:831)
at
org.eclipse.tomcat.internal.TomcatAppServer.stop(TomcatAppSe rver.java:580)
at org.eclipse.tomcat.internal.TomcatPlugin.stop(TomcatPlugin.j ava:80)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleConte
xtImpl.java:1035)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContex
tImpl.java:1031)
at
org.eclipse.osgi.framework.internal.core.BundleHost.stopWork er(BundleHost.ja
va:402)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.stop (AbstractBundle.
java:410)
at
org.eclipse.core.runtime.internal.adaptor.BundleStopper.basi cStopBundles(Bun
dleStopper.java:83)
at
org.eclipse.core.runtime.internal.adaptor.BundleStopper.stop Bundles(BundleSt
opper.java:73)
at
org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkSto pping(EclipseAda
ptor.java:757)
at
org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:5
28)
at
org.eclipse.osgi.framework.internal.core.SystemBundle$1.run( SystemBundle.jav
a:171)
at java.lang.Thread.run(Thread.java:595)
|
|
|
Re: "Help content" error [message #448125 is a reply to message #447940] |
Tue, 18 April 2006 13:47  |
Eclipse User |
|
|
|
Got the answer:
In my feature.xml I told the plugin to be a JAR (option "Unpack the plug-in
archive after the installation"). Some plugins are not happy if you tell
them that they must be a JAR, thus tomcat could not find its file. I thought
that Eclipse 3.1.x can handle plugins as JARs, but it seems that sometimes
it can not.
"Christian Gesswagner" <christian.gesswagner@ams-engineering.com> schrieb im
Newsbeitrag news:e22k68$nfq$1@utils.eclipse.org...
> Hi!
>
> I am using a "help" in my RCP-application. Therefore I've added an action
> which calls the help content. When I'm starting my application from the
> Eclipse env. everything works fine. I can see the help content.
>
> But when I've exported my application the help content will not be shown.
I
> don't know why, but there is an internal server error HTTP 500 and the
error
> tells me, that the homepage 127.0.0.1:53646 can not be shown.
>
> The tomcat plugin throws an exception (see below). The error message is,
> that tomcat can not find the file "\conf\tomcat-users.xml", but it exists!
>
> Has anyone an idea? Thank you!
>
> Christian
>
> Engine.start
> LifecycleException: Memory database file
>
D:\export\Application\file:d:\export\Application\plugins\org .eclipse.tomcat_
> 4.1.30.1.jar!\conf\tomcat-users.xml cannot be read
> at org.apache.catalina.realm.MemoryRealm.start(MemoryRealm.java :340)
> 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:146)
> at
>
org.eclipse.help.internal.appserver.AppserverPlugin.startWeb appServer(Appser
> verPlugin.java:143)
> at
>
org.eclipse.help.internal.appserver.AppserverPlugin.getAppSe rver(AppserverPl
> ugin.java:41)
> at
>
org.eclipse.help.internal.appserver.WebappManager.start(Weba ppManager.java:5
> 8)
> at
>
org.eclipse.help.internal.base.BaseHelpSystem.ensureWebappRu nning(BaseHelpSy
> stem.java:245)
> at
>
org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(He lpDisplay.java:1
> 64)
> at
>
org.eclipse.help.internal.base.HelpDisplay.displayHelp(HelpD isplay.java:54)
> at
>
org.eclipse.help.ui.internal.DefaultHelpUI.displayHelp(Defau ltHelpUI.java:12
> 6)
> at
>
org.eclipse.ui.internal.help.WorkbenchHelpSystem.displayHelp (WorkbenchHelpSy
> stem.java:822)
> at
>
org.eclipse.ui.internal.actions.HelpContentsAction$1.run(Hel pContentsAction.
> java:83)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
>
org.eclipse.ui.internal.actions.HelpContentsAction.run(HelpC ontentsAction.ja
> va:81)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
> ContributionItem.java:538)
> at
>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
> tem.java:488)
> at
>
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu
> tionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at my.package.Application.run(Application.java:56)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> java:226)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
>
> CoyoteConnector Coyote can't register jmx for protocol
> Engine.stop
> LifecycleException: Pipeline has not been started
> at
> org.apache.catalina.core.StandardPipeline.stop(StandardPipel ine.java:304)
> at org.apache.catalina.core.ContainerBase.stop(ContainerBase.ja va:1226)
> at org.apache.catalina.startup.Embedded.removeEngine(Embedded.j ava:831)
> at
> org.eclipse.tomcat.internal.TomcatAppServer.stop(TomcatAppSe rver.java:580)
> at org.eclipse.tomcat.internal.TomcatPlugin.stop(TomcatPlugin.j ava:80)
> at
>
org.eclipse.osgi.framework.internal.core.BundleContextImpl$3 .run(BundleConte
> xtImpl.java:1035)
> at java.security.AccessController.doPrivileged(Native Method)
> at
>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContex
> tImpl.java:1031)
> at
>
org.eclipse.osgi.framework.internal.core.BundleHost.stopWork er(BundleHost.ja
> va:402)
> at
>
org.eclipse.osgi.framework.internal.core.AbstractBundle.stop (AbstractBundle.
> java:410)
> at
>
org.eclipse.core.runtime.internal.adaptor.BundleStopper.basi cStopBundles(Bun
> dleStopper.java:83)
> at
>
org.eclipse.core.runtime.internal.adaptor.BundleStopper.stop Bundles(BundleSt
> opper.java:73)
> at
>
org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkSto pping(EclipseAda
> ptor.java:757)
> at
>
org.eclipse.osgi.framework.internal.core.Framework.shutdown( Framework.java:5
> 28)
> at
>
org.eclipse.osgi.framework.internal.core.SystemBundle$1.run( SystemBundle.jav
> a:171)
> at java.lang.Thread.run(Thread.java:595)
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05722 seconds