Skip to main content



      Home
Home » Newcomers » Newcomers » Help Not Working
Help Not Working [message #29827] Wed, 02 March 2005 21:14 Go to next message
Eclipse UserFriend
Originally posted by: jim_stanley.earthlink.net

Hello,

I'm a fairly experienced programmer new to Eclipse. Help won't come up
(Windows XP SP2). I've changed the default browser to Firefox, but IE
still comes up and tells me it can't find the file. IIS is running, and
a default HTML file comes up under http://localhost.

Does Eclipse perhaps use its own web server? What's the next step?

Thanks in advance

Jim Stanley
Media Services
Re: Help Not Working [message #29843 is a reply to message #29827] Thu, 03 March 2005 11:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: first_dot_last.somanetworks.com

Jim Stanley wrote:
> Hello,
>
> I'm a fairly experienced programmer new to Eclipse. Help won't come up
> (Windows XP SP2). I've changed the default browser to Firefox, but IE
> still comes up and tells me it can't find the file. IIS is running, and
> a default HTML file comes up under http://localhost.
>
> Does Eclipse perhaps use its own web server? What's the next step?

Yes eclipse help is served from its own web service, in the eclipse IDE
select Help->Help Contents. This will start the help service and open a
browser (in Windows XP, I think you get a built-in browser) Once the
service is started you can point any other browser at it using the URL
http://127.0.0.1:55508/help/index.jsp (Assuming you have not changed the
Help preferences)

Note, it you exit the IDE, the help service will no longer be available.
You can also start a standalone help server with the following command:

java -classpath (eclipse_home)/plugins/org.eclipse.help.base_3.0.1\
-command start -eclipsehome (eclipse_home) -port 8081

I use the following script on my Linux box (bash shell) to start the
server. You can also change the "-command" command to stop to shut it down.

---------------- helpserver -----------------------------
#!/bin/bash
#
export JAVA_HOME=/usr/java/jdk1.5.0_01
export PATH=$PATH:/$JAVA_HOME/bin
export ECLIPSE_HOME=/var/www/html/eclipse
export HELP_HOME=${ECLIPSE_HOME}/plugins/org.eclipse.help.base_3.0. 1
CMD="start"
#
JCMD="java -classpath $HELP_HOME/helpbase.jar
org.eclipse.help.standalone.Infocenter -command ${CMD} -eclipsehome
$ECLIPSE_HOME -port 8081"


echo "running ${JCMD}"
${JCMD} >/tmp/helpserver.log 2>&1 &
---------------------------------------------------------

Note, all of the paths will need to be changed to match you environment.

Hope this help,
ronw
>
> Thanks in advance
>
> Jim Stanley
> Media Services
Re: Help Not Working [message #29867 is a reply to message #29843] Fri, 04 March 2005 01:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jim_stanley.earthlink.net

Ron,

Thanks for the tips. I restored the default settings (and also tried
turning off IIS under XP) and it's still not working. One error message
mentioned a log - can I set up logging to record what's going on?

(I did set up Firefox as the browser and it does tell me the connection
is refused. The port number varies each time.)

Thanks again

Jim Stanley
Media Services
Re: Help Not Working [message #29955 is a reply to message #29867] Mon, 07 March 2005 11:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: first_dot_last.somanetworks.com

The log file is located in the workspace directory under a hidden
directory called .metadata and is also a hidden file called .log, so
look under eclipse/workspace/.metadata/.log if you are running with the
default location of the workspace (in MS windows case that would be
eclipse\workspace\.metadata\.log :-))

You can also selected Window->view->Error Log to view the log file in
the eclipse platform as well.

The log file will be appended to each time you start eclipse. The first
line in it for a session will look like:
!SESSION Mar 03, 2005 16:24:53.280 ----....
Post the last sessions worth of log file to this group and I will take a
look.

ronw

Jim Stanley wrote:
> Ron,
>
> Thanks for the tips. I restored the default settings (and also tried
> turning off IIS under XP) and it's still not working. One error message
> mentioned a log - can I set up logging to record what's going on?
>
> (I did set up Firefox as the browser and it does tell me the connection
> is refused. The port number varies each time.)
>
> Thanks again
>
> Jim Stanley
> Media Services
Re: Help Not Working [message #30295 is a reply to message #29955] Tue, 08 March 2005 14:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jim_stanley.earthlink.net

Ron,

Thanks so much for this. I uninstalled and reinstalled a version that
works on my office laptop (help included), and now even though the help
still won't start, I'm not logging! But - I did look at the previous
log and the error was in the tomcat server - all the log said was that
it failed to start up.

I'm wondering if there's some sort of security problem here, even though
I'm running as an admin. I've also configured it to a specific port
(8501) to see if allowing traffic on that port would help.
Re: Help Not Working - Some Progress [message #30438 is a reply to message #29955] Tue, 08 March 2005 18:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jim_stanley.earthlink.net

Ron,

Some more mysteries:

At first I suspected the firewall, so I disabled that. Same problem. I
stopped IIS - same problem.

I retried the batch file and got the app server to start. Here's the
(Windows XP) command line:

java -classpath
C:\Dev\eclipse\plugins\org.eclipse.help.base_3.0.0\helpbase. jar
org.eclipse.help.standalone.Infocenter -command start -eclipsehome
C:\Dev\Eclipse -port 8501

Once that starts, I can bring up an independent browser and get the
redirected help file at http://localhost:8501.

Cool so far. Stop the process, start Eclipse, fire up the help. Still
no joy. The failure also doesn't log. But - I start the batch file,
run Eclipse, fire up help, and I get an error message which is logged as
follows:
================================
org.eclipse.core.runtime.CoreException: Exception occurred starting
application server.
at
org.eclipse.tomcat.internal.TomcatAppServer.start(TomcatAppS erver.java:207)
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 (Compiled
Code))
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(NativeMethodAcce ssorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:371)
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)

My build info is as follows:

eclipse.buildId=I200406251208
java.fullversion=J2RE 1.4.1 IBM Windows 32 build cn141-20030516 (JIT
enabled: jitc)
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
==============
The other strange thing I notice is that the javaw.exe process still
hangs around after Eclipse exits. It doesn't do that on my other
machine where the help works. Does this provide some sort of clue?

Thanks again for all your help!

Jim Stanley
Media Services, Inc.
Re: Help Not Working [message #40316 is a reply to message #29827] Fri, 25 March 2005 16:05 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

I too am a long-time programmer trying eclipse for the first time. Help
does not work for me either. Accessing most things produces the message
"The document that you have requested is not available. The link may be
wrong, or you may not have the corresponding product feature installed."
in the browser -- the built in browser, an eclipse "external browser" or
from a browser directly via its port number (bypassing eclipse). Setting
the help preferences to 127.0.0.1 and a specific port number does not help.
The behavior is the same in versions 3.0.1, 3.0.2 and 3.1M5. All on
windows 2000 SP4 with a fresh jdk 1.5.0_02.

Any thoughts, suggestions or fixes would be welcome.

Poking around yields the log file:
C:\Documents and
Settings\jf\workspace\.metadata\.plugins\org.eclipse.tomcat\ catalina.2005-03-25.log
which contains:

WebappLoader[]: Deploying class repositories to work directory
C:\Documents and
Settings\jf\workspace\.metadata\.plugins\org.eclipse.tomcat\ ROOT
ContextConfig[]: Added certificates -> request attribute Valve
StandardManager[]: Seeding random number generator class
java.security.SecureRandom
StandardManager[]: Seeding of random number generator has been completed
StandardWrapper[:default]: Loading container servlet default
StandardWrapper[:invoker]: Loading container servlet invoker
CoyoteConnector Coyote can't register jmx for protocol
WebappLoader[/help]: Deploying class repositories to work directory
C:\Documents and
Settings\jf\workspace\.metadata\.plugins\org.eclipse.tomcat\ help
WebappLoader[/help]: Deploy JAR /WEB-INF/lib/jsp.jar to
c:\Software\e\eclipse\plugins\org.eclipse.help.webapp_3.0.0\ WEB-INF\lib\jsp.jar
WebappLoader[/help]: Deploy JAR /WEB-INF/lib/servlets.jar to
c:\Software\e\eclipse\plugins\org.eclipse.help.webapp_3.0.0\ WEB-INF\lib\servlets.jar
ContextConfig[/help] Exception processing JAR at resource path
/WEB-INF/lib/jsp.jar
javax.servlet.ServletException: Exception processing JAR at resource path
/WEB-INF/lib/jsp.jar
at
org.apache.catalina.startup.ContextConfig.tldScanJar(Context Config.java:930)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextCon fig.java:868)
at org.apache.catalina.startup.ContextConfig.start(ContextConfi g.java:647)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(Con textConfig.java:243)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSupport.java:166)
at
org.apache.catalina.core.StandardContext.start(StandardConte xt.java:3587)

*** more stack stuff elided and then: ***

----- Root Cause -----
java.util.zip.ZipException: Access is denied
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.<init>(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
at
org.apache.catalina.startup.ContextConfig.tldScanJar(Context Config.java:906)
at
org.apache.catalina.startup.ContextConfig.tldScan(ContextCon fig.java:868)

*** still more stack stuff elided and then: ***

ContextConfig[/help]: Marking this application unavailable due to previous
error(s)
StandardManager[/help]: Seeding random number generator class
java.security.SecureRandom
StandardManager[/help]: Seeding of random number generator has been
completed
StandardContext[/help]: Context startup failed due to previous errors

Thanks,
Joe
Re: Help Not Working [message #40966 is a reply to message #40316] Sat, 26 March 2005 01:30 Go to previous messageGo to next message
Eclipse UserFriend
That's really odd, it almost sounds like the installation was corrupted
or maybe that you're running Eclipse in some kind of special security
mode. Or maybe that you have real-time virus scanning and it thinks
there's a virus in the jar.

Meanwhile you can access Eclipse help online here:
http://help.eclipse.org/help30
(that's 3.0 doc but it should be ok).

Joe Frisbie wrote:
> Hello,
>
> I too am a long-time programmer trying eclipse for the first time. Help
> does not work for me either. Accessing most things produces the message
> "The document that you have requested is not available. The link may be
> wrong, or you may not have the corresponding product feature installed."
Re: Help Not Working [message #42154 is a reply to message #40966] Mon, 28 March 2005 12:17 Go to previous messageGo to next message
Eclipse UserFriend
Ed Burnette wrote:

> That's really odd, it almost sounds like the installation was corrupted
> or maybe that you're running Eclipse in some kind of special security
> mode. Or maybe that you have real-time virus scanning and it thinks
> there's a virus in the jar.

Well, three different downloads with correct mdsums, plus the bulk of
eclipse functioning makes it unlikely to be a corrupted download. All
virus-scanning, firewalling, ad/spyware blocking is off.

It is possible it is a java security issue, but I would have thought a
vanilla jdk installation would be sufficient to eliminate this as a
possibility.

I can't think of anything else to try and there is a least one other
person out there with the same problem (Jim Stanley) so I'm submitting
a bug report

> Meanwhile you can access Eclipse help online here:
> http://help.eclipse.org/help30
> (that's 3.0 doc but it should be ok).

Thanks for the pointer.
Re: Help Not Working [message #42932 is a reply to message #40316] Tue, 29 March 2005 11:27 Go to previous message
Eclipse UserFriend
Try uninstalling McAfee antivirus.

"Joe Frisbie" <jf-eclipse@stan.mit.edu> wrote in message
news:cd17f27ec0ead9bdfd58c9b5af9199e7$1@www.eclipse.org...
> Hello,
>
> I too am a long-time programmer trying eclipse for the first time. Help
> does not work for me either. Accessing most things produces the message
> "The document that you have requested is not available. The link may be
> wrong, or you may not have the corresponding product feature installed."
> in the browser -- the built in browser, an eclipse "external browser" or
> from a browser directly via its port number (bypassing eclipse). Setting
> the help preferences to 127.0.0.1 and a specific port number does not
help.
> The behavior is the same in versions 3.0.1, 3.0.2 and 3.1M5. All on
> windows 2000 SP4 with a fresh jdk 1.5.0_02.
>
> Any thoughts, suggestions or fixes would be welcome.
>
> Poking around yields the log file:
> C:\Documents and
>
Settings\jf\workspace\.metadata\.plugins\org.eclipse.tomcat\ catalina.2005-03
-25.log
> which contains:
>
> WebappLoader[]: Deploying class repositories to work directory
> C:\Documents and
> Settings\jf\workspace\.metadata\.plugins\org.eclipse.tomcat\ ROOT
> ContextConfig[]: Added certificates -> request attribute Valve
> StandardManager[]: Seeding random number generator class
> java.security.SecureRandom
> StandardManager[]: Seeding of random number generator has been completed
> StandardWrapper[:default]: Loading container servlet default
> StandardWrapper[:invoker]: Loading container servlet invoker
> CoyoteConnector Coyote can't register jmx for protocol
> WebappLoader[/help]: Deploying class repositories to work directory
> C:\Documents and
> Settings\jf\workspace\.metadata\.plugins\org.eclipse.tomcat\ help
> WebappLoader[/help]: Deploy JAR /WEB-INF/lib/jsp.jar to
>
c:\Software\e\eclipse\plugins\org.eclipse.help.webapp_3.0.0\ WEB-INF\lib\jsp.
jar
> WebappLoader[/help]: Deploy JAR /WEB-INF/lib/servlets.jar to
>
c:\Software\e\eclipse\plugins\org.eclipse.help.webapp_3.0.0\ WEB-INF\lib\serv
lets.jar
> ContextConfig[/help] Exception processing JAR at resource path
> /WEB-INF/lib/jsp.jar
> javax.servlet.ServletException: Exception processing JAR at resource path
> /WEB-INF/lib/jsp.jar
> at
>
org.apache.catalina.startup.ContextConfig.tldScanJar(Context Config.java:930)
> at
> org.apache.catalina.startup.ContextConfig.tldScan(ContextCon fig.java:868)
> at org.apache.catalina.startup.ContextConfig.start(ContextConfi g.java:647)
> at
>
org.apache.catalina.startup.ContextConfig.lifecycleEvent(Con textConfig.java:
243)
> at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent (LifecycleSuppor
t.java:166)
> at
> org.apache.catalina.core.StandardContext.start(StandardConte xt.java:3587)
>
> *** more stack stuff elided and then: ***
>
> ----- Root Cause -----
> java.util.zip.ZipException: Access is denied
> at java.util.zip.ZipFile.open(Native Method)
> at java.util.zip.ZipFile.<init>(Unknown Source)
> at java.util.jar.JarFile.<init>(Unknown Source)
> at sun.net.www.protocol.jar.URLJarFile.<init>(Unknown Source)
> at sun.net.www.protocol.jar.URLJarFile$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
> at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
> at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
> at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
> at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
> at
>
org.apache.catalina.startup.ContextConfig.tldScanJar(Context Config.java:906)
> at
> org.apache.catalina.startup.ContextConfig.tldScan(ContextCon fig.java:868)
>
> *** still more stack stuff elided and then: ***
>
> ContextConfig[/help]: Marking this application unavailable due to previous
> error(s)
> StandardManager[/help]: Seeding random number generator class
> java.security.SecureRandom
> StandardManager[/help]: Seeding of random number generator has been
> completed
> StandardContext[/help]: Context startup failed due to previous errors
>
> Thanks,
> Joe
>
>
Previous Topic:Is the really impossible??
Next Topic:Can't use the help
Goto Forum:
  


Current Time: Sun Sep 07 15:53:36 EDT 2025

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

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

Back to the top