PDA

View Full Version : Eclipse Fedora, Help does not work!



mario60
4th April 2008, 05:10 PM
Hi

if I try to look at the Help --> Help Contents, I get:

HTTP ERROR: 500

Class org.apache.jasper.servlet.JspServlet does not implement the requested interface javax.servlet.Servlet

RequestURI=/help/index.jsp

Powered by Jetty://
******

the same from Welcome --> Workbench basics. :mad:

Also, I was suggested to perform do the following check, but I am not able to understand the output:
[----]# for f in `rpm -qa | egrep "eclipse|swt"`; do rpm -qV $f; done
S.5....T /usr/lib/eclipse/configuration/config.ini
Unsatisfied dependencies for eclipse-cdt-sdk-3.1.2-8.fc7.i386: eclipse-cdt = 1:3.1.2-8.fc7
Unsatisfied dependencies for maven2-plugin-eclipse-2.0.4-10jpp.6.fc7.i386: maven2 = 0:2.0.4-10jpp.6.fc7, maven2 = 0:2.0.4-10jpp.6.fc7
Unsatisfied dependencies for eclipse-mylar-trac-2.0-0.1.M2a.1.fc7.i386: eclipse-mylar = 2.0-0.1.M2a.1.fc7

Last, how do I set the php browser. I get - i do not know how- a localhost:58057, it does not work anyway.


Any hint is welcome
thanks mario

mario60
7th April 2008, 05:17 PM
hello

please, is anybody using Eclipse on F8?
Any hint is very welcome
my best
mario

hellboy_1
7th April 2008, 08:26 PM
Hey friend i have the same problem , exactly the same one. Does anyone know how to solve this?
hey mario, it could be that the port 58057 have been blocked in firewall, i have not tried this but i will try tomorrow morning. It's only a guess. for the time being why don't you search what HTTP error:500 is ? i have saved some pages on this error which i will look in a while. if you or anyone who finds a solution, please do post.

thanks

mario60
9th April 2008, 04:09 PM
hi


when booting, i see that something about jetty is wrong, but I am not sure what.
By the way, are those screen msgs you see at boot time saved somewhere?

I know I should know, but I do not know
my best
mario

mario60
9th April 2008, 06:21 PM
Hi

some output, but still very unclear:


[root@mario ~]# djetty check
Defaulting JETTY_HOME to /usr/share/jetty
Found JAVA=/usr/bin/java in JAVA_HOME=/
Checking arguments to Jetty:
JETTY_HOME = /usr/share/jetty
JETTY_CONF = /usr/share/jetty/etc/jetty.conf
JETTY_RUN = /var/run
JETTY_PID = /var/run/jetty.pid
JETTY_CONSOLE = /dev/console
JETTY_PORT =
CONFIGS = /usr/share/jetty/etc/jetty.xml
PATH_SEPARATOR = :
JAVA_OPTIONS = -Djetty.home=/usr/share/jetty
JAVA = /usr/bin/java
CLASSPATH = /usr/share/jetty/ext/ant.jar:/usr/share/jetty/ext/commons-el.jar:/usr/share/jetty/ext/commons-logging.jar:/usr/share/jetty/ext/jasper5-compiler.jar:/usr/share/jetty/ext/jasper5-runtime.jar:/usr/share/jetty/ext/jspapi.jar:/usr/share/jetty/ext/jsse.jar:/usr/share/jetty/ext/mx4j-jmx.jar:/usr/share/jetty/ext/mx4j-tools.jar:/usr/share/jetty/ext/servletapi5.jar:/usr/share/jetty/ext/xerces-j2.jar:/usr/share/jetty/ext/xml-commons-apis.jar:/usr/share/jetty/lib/org.mortbay.jetty.jar:/usr/share/jetty/lib/org.mortbay.jmx.jar
RUN_CMD = /usr/bin/java -Djetty.home=/usr/share/jetty -cp /usr/share/jetty/ext/ant.jar:/usr/share/jetty/ext/commons-el.jar:/usr/share/jetty/ext/commons-logging.jar:/usr/share/jetty/ext/jasper5-compiler.jar:/usr/share/jetty/ext/jasper5-runtime.jar:/usr/share/jetty/ext/jspapi.jar:/usr/share/jetty/ext/jsse.jar:/usr/share/jetty/ext/mx4j-jmx.jar:/usr/share/jetty/ext/mx4j-tools.jar:/usr/share/jetty/ext/servletapi5.jar:/usr/share/jetty/ext/xerces-j2.jar:/usr/share/jetty/ext/xml-commons-apis.jar:/usr/share/jetty/lib/org.mortbay.jetty.jar:/usr/share/jetty/lib/org.mortbay.jmx.jar org.mortbay.jetty.Server /usr/share/jetty/etc/jetty.xml

Jetty running pid=4888
[root@mario ~]# eclipse
[INFO] HttpServer - Version Jetty/5.1.x
[INFO] Container - Started org.mortbay.jetty.servlet.ServletHandler@83fff9
[INFO] Container - Started HttpContext[/help,/help]
[INFO] SocketListener - Started SocketListener on 0.0.0.0:59169
[INFO] Container - Started org.mortbay.http.HttpServer@11d5d85
[WARN] ServletHandler - Error for /help/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2 FgettingStarted%2Fintro%2Foverview.htm <java.lang.IncompatibleClassChangeError: Class org.apache.jasper.servlet.JspServlet does not implement the requested interface javax.servlet.Servlet>java.lang.IncompatibleClassChangeError: Class org.apache.jasper.servlet.JspServlet does not implement the requested interface javax.servlet.Servlet
at org.eclipse.equinox.jsp.jasper.JspServlet.init(Jsp Servlet.java:81)
at org.eclipse.equinox.http.registry.internal.Servlet Manager$ServletWrapper.initializeDelegate(ServletM anager.java:195)
at org.eclipse.equinox.http.registry.internal.Servlet Manager$ServletWrapper.service(ServletManager.java :179)
at org.eclipse.equinox.http.servlet.internal.ServletR egistration.handleRequest(ServletRegistration.java :90)
at org.eclipse.equinox.http.servlet.internal.ProxySer vlet.processAlias(ProxyServlet.java:109)
at org.eclipse.equinox.http.servlet.internal.ProxySer vlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.eclipse.equinox.http.jetty.internal.HttpServer Manager$InternalHttpServiceServlet.service(HttpSer verManager.java:280)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:428)
at org.mortbay.jetty.servlet.ServletHandler.dispatch( ServletHandler.java:677)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1482)
at org.mortbay.http.HttpServer.service(HttpServer.jav a:909)
at org.mortbay.http.HttpConnection.service(HttpConnec tion.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpCon nection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnect ion.java:837)
at org.mortbay.http.SocketListener.handleConnection(S ocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedSer ver.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadP ool.java:534)

[WARN] ServletHandler - Error for /help/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Fguid e%2Fintro%2Fpde_overview.htm <java.lang.IncompatibleClassChangeError: Class org.apache.jasper.servlet.JspServlet does not implement the requested interface javax.servlet.Servlet>java.lang.IncompatibleClassChangeError: Class org.apache.jasper.servlet.JspServlet does not implement the requested interface javax.servlet.Servlet
at org.eclipse.equinox.jsp.jasper.JspServlet.init(Jsp Servlet.java:81)
at org.eclipse.equinox.http.registry.internal.Servlet Manager$ServletWrapper.initializeDelegate(ServletM anager.java:195)
at org.eclipse.equinox.http.registry.internal.Servlet Manager$ServletWrapper.service(ServletManager.java :179)
at org.eclipse.equinox.http.servlet.internal.ServletR egistration.handleRequest(ServletRegistration.java :90)
at org.eclipse.equinox.http.servlet.internal.ProxySer vlet.processAlias(ProxyServlet.java:109)
at org.eclipse.equinox.http.servlet.internal.ProxySer vlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
at org.eclipse.equinox.http.jetty.internal.HttpServer Manager$InternalHttpServiceServlet.service(HttpSer verManager.java:280)
at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:428)
at org.mortbay.jetty.servlet.ServletHandler.dispatch( ServletHandler.java:677)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1482)
at org.mortbay.http.HttpServer.service(HttpServer.jav a:909)
at org.mortbay.http.HttpConnection.service(HttpConnec tion.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpCon nection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnect ion.java:837)
at org.mortbay.http.SocketListener.handleConnection(S ocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedSer ver.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadP ool.java:534)

[INFO] ThreadedServer - Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=59169]
[INFO] SocketListener - Stopped SocketListener on 0.0.0.0:59169
[INFO] Container - Stopped org.mortbay.jetty.servlet.ServletHandler@83fff9
[INFO] Container - Stopped HttpContext[/help,/help]
[INFO] Container - Stopped org.mortbay.http.HttpServer@11d5d85

mario60
9th April 2008, 06:25 PM
Also:

[root@mario ~]# djetty supervise
Defaulting JETTY_HOME to /usr/share/jetty
Found JAVA=/usr/bin/java in JAVA_HOME=/
Apr 9, 2008 7:20:47 PM org.mortbay.util.FileResource <clinit>
INFO: Checking Resource aliases
Apr 9, 2008 7:20:48 PM org.mortbay.http.HttpServer setStatsOn
INFO: Statistics on = false for org.mortbay.jetty.Server@1e04cbf
Apr 9, 2008 7:20:48 PM org.mortbay.http.HttpServer doStart
INFO: Version Jetty/5.1.x
Apr 9, 2008 7:20:48 PM org.mortbay.util.ThreadedServer start
WARNING: Failed to start: P1@0.0.0.0:8080
Apr 9, 2008 7:20:48 PM org.mortbay.util.ThreadedServer start
WARNING: Failed to start: AJP13Listener1@0.0.0.0:8009
Apr 9, 2008 7:20:48 PM org.mortbay.jetty.Server main
WARNING: EXCEPTION
org.mortbay.util.MultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]
at org.mortbay.http.HttpServer.doStart(HttpServer.jav a:686)
at org.mortbay.util.Container.start(Container.java:72 )
at org.mortbay.jetty.Server.main(Server.java:460)
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlai nSocketImpl.java:337)
at java.net.ServerSocket.bind(ServerSocket.java:355)
at java.net.ServerSocket.<init>(ServerSocket.java:221)
at org.mortbay.util.ThreadedServer.newServerSocket(Th readedServer.java:391)
at org.mortbay.util.ThreadedServer.open(ThreadedServe r.java:477)
at org.mortbay.util.ThreadedServer.start(ThreadedServ er.java:503)
at org.mortbay.http.SocketListener.start(SocketListen er.java:204)
at org.mortbay.http.HttpServer.doStart(HttpServer.jav a:716)
at org.mortbay.util.Container.start(Container.java:72 )
at org.mortbay.jetty.Server.main(Server.java:460)
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlai nSocketImpl.java:337)
at java.net.ServerSocket.bind(ServerSocket.java:355)
at java.net.ServerSocket.<init>(ServerSocket.java:221)
at org.mortbay.util.ThreadedServer.newServerSocket(Th readedServer.java:391)
at org.mortbay.util.ThreadedServer.open(ThreadedServe r.java:477)
at org.mortbay.util.ThreadedServer.start(ThreadedServ er.java:503)
at org.mortbay.http.ajp.AJP13Listener.start(AJP13List ener.java:138)
at org.mortbay.http.HttpServer.doStart(HttpServer.jav a:716)
at org.mortbay.util.Container.start(Container.java:72 )
at org.mortbay.jetty.Server.main(Server.java:460)

hellboy_1
9th April 2008, 07:20 PM
Honestly i donot understand such complicated messages. I am still searching for the "help " problem in eclipse. my eclipse works fine , the only problem is that help is not working.

And about the message that is displayed during boot time. Use the command # dmesg

# dmesg -- this will show all your kernel messages. you can save the message in a text file if you wish to look it patiently

# dmesg > something.txt

hey, do post if you find the solution of this "help" problem in eclipse. i will also post , if i find anything useful.
have a nice day

overholt
1st May 2008, 03:41 PM
A fix for this was pushed as a Fedora 8 update in February. Check that your system is up to date with eclipse-3.3.0-31.fc8.

See also:

https://bugzilla.redhat.com/show_bug.cgi?id=380121