Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Help wanted: setup jre for eclipse help
Help wanted: setup jre for eclipse help [message #59935] Tue, 03 June 2003 00:45 Go to next message
Eclipse UserFriend
For reasons I don't want to install JDK with the installer, instead, I just
install on one machine and use batch files to share the installation and
setup environment on other machines (This avoid different versions competing
for the browser plugin place and step on each other's toes). This served me
well untill I used a batch file to setup environment and run Eclipse under
windows... The help is broken.

Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error

type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.

exception
org.apache.jasper.JasperException: Unable to compile class for JSP
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java :580)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadI fNecessary(JspSe
rvlet.java:176)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.servi ce(JspServlet.ja
va:188)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.ja
va:243)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
at
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.ja
va:190)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
66)
at
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:2
46)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
at
org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
66)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java
:174)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
at
org.apache.catalina.connector.http.HttpProcessor.process(Htt pProcessor.java:
1027)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpPro cessor.java:1125
)
at java.lang.Thread.run(Thread.java:536)


I thought about it and suspect that it is due to the fact that jre was not
in my system environment thus servlet compilation failed. Is there anyway I
can fix it? I assume unix/linux user would have solved the issue long ago.

Thanks,

Luke
Re: Help wanted: setup jre for eclipse help [message #64153 is a reply to message #59935] Thu, 05 June 2003 12:54 Go to previous messageGo to next message
Eclipse UserFriend
JSPs in Eclipse are precompiled and you should not get the error you are
getting. If you edit the JSP in help webapp, it requires JDT for
compilation, so you need to run Eclipse SDK, not the platform. I do not see
how placing JDK on another machine can have any influence, but you have not
posted your bat files, so it is difficult to speculate.

Konrad Kolosowski

"Liyu Liu" <liyul@hotmail.com> wrote in message
news:bbh8vs$q5p$1@rogue.oti.com...
> For reasons I don't want to install JDK with the installer, instead, I
just
> install on one machine and use batch files to share the installation and
> setup environment on other machines (This avoid different versions
competing
> for the browser plugin place and step on each other's toes). This served
me
> well untill I used a batch file to setup environment and run Eclipse under
> windows... The help is broken.
>
> Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error
>
> type Exception report
>
> message Internal Server Error
>
> description The server encountered an internal error (Internal Server
Error)
> that prevented it from fulfilling this request.
>
> exception
> org.apache.jasper.JasperException: Unable to compile class for JSP
> at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java :580)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadI fNecessary(JspSe
> rvlet.java:176)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.servi ce(JspServlet.ja
> va:188)
> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:381)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :473)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
> FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
> FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
> ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.ja
> va:243)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> 66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.ja
> va:190)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> 66)
> at
>
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:2
> 46)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> 64)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2347)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180
> )
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> 66)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.
> java:170)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> 64)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:170
> )
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> 64)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java
> :174)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> 66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
> at
>
org.apache.catalina.connector.http.HttpProcessor.process(Htt pProcessor.java:
> 1027)
> at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpPro cessor.java:1125
> )
> at java.lang.Thread.run(Thread.java:536)
>
>
> I thought about it and suspect that it is due to the fact that jre was not
> in my system environment thus servlet compilation failed. Is there anyway
I
> can fix it? I assume unix/linux user would have solved the issue long ago.
>
> Thanks,
>
> Luke
>
>
Re: Help wanted: setup jre for eclipse help [message #64983 is a reply to message #64153] Fri, 06 June 2003 01:18 Go to previous message
Eclipse UserFriend
Konrad:

Thank you for look into this.

I simply copied the jdk1.4.0 to my local machine and tried again. Eclipse is
installed under
C:\Program Files\eclipse-SDK-2.1-win32\eclipse
as should laid out in the downloaded zip file.

A batch file "C:\Program Files\eclipse-SDK-2.1-win32\startup.bat" is used to
launch Eclipse and the startup directory is "C:\Program
Files\eclipse-SDK-2.1-win32". The content of the batch file is

*******************************************
SET JAVA_HOME=C:\java\jdk1.4.0
SET JRE_HOME=%JAVA_HOME%\jre
SET
CLASSPATH=.;%JRE_HOME%\lib\rt.jar;%JRE_HOME%\lib\i18n.jar;%J AVA_HOME%\tools.
jar
SET PATH=%JAVA_HOME%\bin;%JRE_HOME%\bin;%PATH%
SET SWT_HOME=

java -cp .\eclipse\startup.jar org.eclipse.core.launcher.Main -os win32 -ws
win32 -arch x86 -showsplash 600
REM -data "%USERPROFILE%\My Documents\Eclipse"

pause
*******************************************

I also double-checked the settings under Windows | Preference, under Java |
Installed JREs, it is Standard VM, jdk1.4.0 at C:\java\jdk1.4.0 and the
javadoc API is under file:/C:/java/jdk1.4.0/docs/api/, which was in a
compressed folder.

The help brought me to http://127.0.0.1:1545/help/index.jsp (I used ie
rather than embedded browser to find out, the port number may change in
different sessions), which shows the error message listed in my last email.
I didn't edit the help files, either. The Help | Welcome menus work, but
Tips and tricks and Help Contents fails every time.

I have local administrator's privilege on the machine (XP home).

Luke

"Konrad Kolosowski" <konradk@ca.ibm.com> wrote in message
news:bbnsl4$c56$1@rogue.oti.com...
> JSPs in Eclipse are precompiled and you should not get the error you are
> getting. If you edit the JSP in help webapp, it requires JDT for
> compilation, so you need to run Eclipse SDK, not the platform. I do not
see
> how placing JDK on another machine can have any influence, but you have
not
> posted your bat files, so it is difficult to speculate.
>
> Konrad Kolosowski
>
> "Liyu Liu" <liyul@hotmail.com> wrote in message
> news:bbh8vs$q5p$1@rogue.oti.com...
> > For reasons I don't want to install JDK with the installer, instead, I
> just
> > install on one machine and use batch files to share the installation and
> > setup environment on other machines (This avoid different versions
> competing
> > for the browser plugin place and step on each other's toes). This served
> me
> > well untill I used a batch file to setup environment and run Eclipse
under
> > windows... The help is broken.
> >
> > Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error
> >
> > type Exception report
> >
> > message Internal Server Error
> >
> > description The server encountered an internal error (Internal Server
> Error)
> > that prevented it from fulfilling this request.
> >
> > exception
> > org.apache.jasper.JasperException: Unable to compile class for JSP
> > at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java :580)
> > at
> >
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadI fNecessary(JspSe
> > rvlet.java:176)
> > at
> >
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.servi ce(JspServlet.ja
> > va:188)
> > at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:381)
> > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java :473)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
> > FilterChain.java:247)
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(Application
> > FilterChain.java:247)
> > at
> >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterCh
> > ain.java:193)
> > at
> >
>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.ja
> > va:243)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> > 66)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
> > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
> > at
> >
>
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.ja
> > va:190)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> > 66)
> > at
> >
>
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:2
> > 46)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> > 64)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
> > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
> > at
> >
org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2347)
> > at
> >
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180
> > )
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> > 66)
> > at
> >
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.
> > java:170)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> > 64)
> > at
> >
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo rtValve.java:170
> > )
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> > 64)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
> > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
> > at
> >
>
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java
> > :174)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invokeNext(Standar dPipeline.java:5
> > 66)
> > at
> >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:472)
> > at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:943)
> > at
> >
>
org.apache.catalina.connector.http.HttpProcessor.process(Htt pProcessor.java:
> > 1027)
> > at
> >
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpPro cessor.java:1125
> > )
> > at java.lang.Thread.run(Thread.java:536)
> >
> >
> > I thought about it and suspect that it is due to the fact that jre was
not
> > in my system environment thus servlet compilation failed. Is there
anyway
> I
> > can fix it? I assume unix/linux user would have solved the issue long
ago.
> >
> > Thanks,
> >
> > Luke
> >
> >
>
>
Previous Topic:cvs failure
Next Topic:Branches in CVS Repositories view
Goto Forum:
  


Current Time: Mon May 12 16:49:22 EDT 2025

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

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

Back to the top