|
|
|
|
Re: Testing Help Runtime [message #624122 is a reply to message #624111] |
Wed, 21 April 2010 17:55 |
Miles Parker Messages: 1341 Registered: July 2009 |
Senior Member |
|
|
Chris Austin wrote on Tue, 20 April 2010 22:28
> Miles - what I do to minimize the restart time is run eclipse in infocenter mode. To do this, create a new Eclipse Application run configuration, and select org.eclipse.help.base.infocenterApplication under 'Run an application:' Then, under VM arguments, add the param -Dserver_port=10000 (or some other port you like that is open) and you can launch a browser to http://127.0.0.1:10000/help/index.jsp
>
> Infocenter mode takes less time to startup, and it starts with help system already running.
Hey, that's excellent! Just what I was looking for with original post actually. With this approach, I can simply launch the app in a few seconds and then refresh my browser. BTW, for other folks trying this, it took a few minuted to figure out the dependencies that the app server needs. But assuming that you already have a dependency on the help items for your doc plugin, you need to add org.eclipse.help.webapp and org.eclipse.help.appserver then add the required dependencies. Also, don't forget to kill the prior app before launching a new one or you'll get a socket in use exception.
|
|
|
Re: Testing Help Runtime [message #624178 is a reply to message #624122] |
Thu, 17 June 2010 00:58 |
Miles Parker Messages: 1341 Registered: July 2009 |
Senior Member |
|
|
Miles Parker wrote on Wed, 21 April 2010 13:55
> Chris Austin wrote on Tue, 20 April 2010 22:28
> > Miles - what I do to minimize the restart time is run eclipse in infocenter mode. To do this, create a new Eclipse Application run configuration, and select org.eclipse.help.base.infocenterApplication under 'Run an application:' Then, under VM arguments, add the param -Dserver_port=10000 (or some other port you like that is open) and you can launch a browser to http://127.0.0.1:10000/help/index.jsp
Hmmm... this was working but now its not. I'm on RC4. When I start up I get the below. It goes through startup and then just stops itself. Anyone have any ideas what might be going wrong here? (Probably something dumb.)
17:56:05.622 [Start Help Server] INFO org.mortbay.log - Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
17:56:05.643 [Start Help Server] DEBUG org.mortbay.log - Container mailto:Server@6ab30913 + mailto:SelectChannelConnector@0.0.0.0:10000 as connector
17:56:05.670 [Start Help Server] DEBUG org.mortbay.log - filterNameMap=null
17:56:05.670 [Start Help Server] DEBUG org.mortbay.log - pathFilters=null
17:56:05.670 [Start Help Server] DEBUG org.mortbay.log - servletFilterMap=null
17:56:05.670 [Start Help Server] DEBUG org.mortbay.log - servletPathMap={/*=org.eclipse.equinox.http.jetty.internal.H ttpServerManager$InternalHttpServiceServlet-2125581447}
17:56:05.670 [Start Help Server] DEBUG org.mortbay.log - servletNameMap={org.eclipse.equinox.http.jetty.internal.Http ServerManager$InternalHttpServiceServlet-2125581447=org.ecli pse.equinox.http.jetty.internal.HttpServerManager$InternalHt tpServiceServlet-2125581447}
17:56:05.671 [Start Help Server] DEBUG org.mortbay.log - Container mailto:Server@6ab30913 + mailto:org.mortbay.jetty.servlet.Context@75bc16f0{/help,null} as handler
17:56:05.671 [Start Help Server] DEBUG org.mortbay.log - Container mailto:ServletHandler@f8622f3 + org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet-2125581447 as servlet
17:56:05.671 [Start Help Server] DEBUG org.mortbay.log - Container mailto:ServletHandler@f8622f3 + (S=org.eclipse.equinox.http.jetty.internal.HttpServerManager $InternalHttpServiceServlet-2125581447,[/*]) as servletMapping
17:56:05.671 [Start Help Server] DEBUG org.mortbay.log - Container mailto:SessionHandler@2f60877b + mailto:ServletHandler@f8622f3 as handler
17:56:05.671 [Start Help Server] DEBUG org.mortbay.log - Container mailto:SessionHandler@2f60877b + mailto:org.mortbay.jetty.servlet.HashSessionManager@6a5eb489 as sessionManager
17:56:05.671 [Start Help Server] DEBUG org.mortbay.log - Container mailto:org.mortbay.jetty.servlet.Context@75bc16f0{/help,null} + mailto:SessionHandler@2f60877b as handler
17:56:05.672 [Start Help Server] INFO org.mortbay.log - jetty-6.1.x
17:56:05.680 [Start Help Server] DEBUG org.mortbay.log - Container mailto:Server@6ab30913 + mailto:org.mortbay.thread.QueuedThreadPool@7ca522a6 as threadpool
17:56:05.683 [Start Help Server] DEBUG org.mortbay.log - started mailto:org.mortbay.thread.QueuedThreadPool@7ca522a6
17:56:05.693 [Start Help Server] DEBUG org.mortbay.log - Container mailto:org.mortbay.jetty.servlet.Context@75bc16f0{/help,null} + mailto:ErrorHandler@3ef07355 as errorHandler
17:56:05.694 [Start Help Server] DEBUG org.mortbay.log - Container mailto:Server@6ab30913 + mailto:org.mortbay.jetty.servlet.HashSessionIdManager@7bd33a6b as sessionIdManager
17:56:05.694 [Start Help Server] DEBUG org.mortbay.log - Init SecureRandom.
17:56:05.695 [Start Help Server] DEBUG org.mortbay.log - started mailto:org.mortbay.jetty.servlet.HashSessionIdManager@7bd33a6b
17:56:05.696 [Start Help Server] DEBUG org.mortbay.log - started mailto:org.mortbay.jetty.servlet.HashSessionManager@6a5eb489
17:56:05.696 [Start Help Server] DEBUG org.mortbay.log - filterNameMap=null
17:56:05.696 [Start Help Server] DEBUG org.mortbay.log - pathFilters=null
17:56:05.696 [Start Help Server] DEBUG org.mortbay.log - servletFilterMap=null
17:56:05.696 [Start Help Server] DEBUG org.mortbay.log - servletPathMap={/*=org.eclipse.equinox.http.jetty.internal.H ttpServerManager$InternalHttpServiceServlet-2125581447}
17:56:05.697 [Start Help Server] DEBUG org.mortbay.log - servletNameMap={org.eclipse.equinox.http.jetty.internal.Http ServerManager$InternalHttpServiceServlet-2125581447=org.ecli pse.equinox.http.jetty.internal.HttpServerManager$InternalHt tpServiceServlet-2125581447}
17:56:05.697 [Start Help Server] DEBUG org.mortbay.log - starting mailto:ServletHandler@f8622f3
17:56:05.697 [Start Help Server] DEBUG org.mortbay.log - started mailto:ServletHandler@f8622f3
17:56:05.697 [Start Help Server] DEBUG org.mortbay.log - starting mailto:SessionHandler@2f60877b
17:56:05.697 [Start Help Server] DEBUG org.mortbay.log - started mailto:SessionHandler@2f60877b
17:56:05.697 [Start Help Server] DEBUG org.mortbay.log - starting mailto:org.mortbay.jetty.servlet.Context@75bc16f0{/help,null}
17:56:05.697 [Start Help Server] DEBUG org.mortbay.log - starting mailto:ErrorHandler@3ef07355
17:56:05.697 [Start Help Server] DEBUG org.mortbay.log - started mailto:ErrorHandler@3ef07355
17:56:05.699 [Start Help Server] DEBUG org.mortbay.log - started org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet-2125581447
17:56:05.699 [Start Help Server] DEBUG org.mortbay.log - started mailto:org.mortbay.jetty.servlet.Context@75bc16f0{/help,null}
17:56:05.699 [Start Help Server] DEBUG org.mortbay.log - starting mailto:Server@6ab30913
17:56:05.706 [Start Help Server] DEBUG org.mortbay.log - started org.mortbay.jetty.nio.SelectChannelConnector$mailto:1@744d76b4
17:56:05.718 [Start Help Server] INFO org.mortbay.log - Started mailto:SelectChannelConnector@0.0.0.0:10000
17:56:05.718 [Start Help Server] DEBUG org.mortbay.log - started mailto:SelectChannelConnector@0.0.0.0:10000
17:56:05.718 [Start Help Server] DEBUG org.mortbay.log - started mailto:Server@6ab30913
17:56:05.776 [Stop Help Server] DEBUG org.mortbay.log - stopped org.mortbay.jetty.nio.SelectChannelConnector$mailto:1@744d76b4
17:56:05.777 [Stop Help Server] DEBUG org.mortbay.log - stopped mailto:SelectChannelConnector@0.0.0.0:10000
17:56:05.777 [Stop Help Server] DEBUG org.mortbay.log - stopping mailto:Server@6ab30913
17:56:05.777 [Stop Help Server] DEBUG org.mortbay.log - stopping mailto:org.mortbay.jetty.servlet.Context@75bc16f0{/help,null}
17:56:05.777 [Stop Help Server] DEBUG org.mortbay.log - stopping mailto:SessionHandler@2f60877b
17:56:05.777 [Stop Help Server] DEBUG org.mortbay.log - stopping mailto:ServletHandler@f8622f3
17:56:05.779 [Stop Help Server] DEBUG org.mortbay.log - stopped org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet-2125581447
17:56:05.779 [Stop Help Server] DEBUG org.mortbay.log - stopped mailto:ServletHandler@f8622f3
17:56:05.779 [Stop Help Server] DEBUG org.mortbay.log - stopped mailto:org.mortbay.jetty.servlet.HashSessionManager@6a5eb489
17:56:05.779 [Stop Help Server] DEBUG org.mortbay.log - stopped mailto:SessionHandler@2f60877b
17:56:05.781 [Stop Help Server] DEBUG org.mortbay.log - stopping mailto:ErrorHandler@3ef07355
17:56:05.781 [Stop Help Server] DEBUG org.mortbay.log - stopped mailto:ErrorHandler@3ef07355
17:56:05.781 [Stop Help Server] DEBUG org.mortbay.log - stopped mailto:org.mortbay.jetty.servlet.Context@75bc16f0{/help,null}
17:56:05.781 [Stop Help Server] DEBUG org.mortbay.log - stopped mailto:org.mortbay.jetty.servlet.HashSessionIdManager@7bd33a6b
17:56:05.882 [Stop Help Server] DEBUG org.mortbay.log - stopped mailto:org.mortbay.thread.QueuedThreadPool@7ca522a6
17:56:05.882 [Stop Help Server] DEBUG org.mortbay.log - stopped mailto:Server@6ab30913
|
|
|
Powered by
FUDForum. Page generated in 0.03489 seconds