Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: oracle jserv jsp problem

Re: oracle jserv jsp problem

From: KevJohnP <nospam_at_nowhere.com>
Date: Thu, 09 Oct 2003 11:09:32 +1300
Message-ID: <wW%gb.172176$JA5.4314510@news.xtra.co.nz>


Hi

I recently installed Oracle 9i & 9iAS on Linux and had a number of java related problems, found some posts on Metalink that suggested Linux users go back to Java 1.3 and this worked for me.

KJP utkanbir wrote:

> Dear Gurus ,
>
> I am using oracle 9i and trying to run jsp examples.
> This is my os:
> Linux tanidw1 2.4.18-e.37smp #1 SMP Tue Aug 5 16:07:26 EDT 2003 ia64
> unknown
>
>
> When i try , i get the following error message:
>
>
> Request URI:/demo/basic/hellouser/hellouser.jsp
>
>
>
> Exception:
> java.lang.NoClassDefFoundError: sun/tools/javac/Main
> at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java)
> at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java)
> at oracle.jsp.app.JspAppLoader.loadPage(JspAppLoader.java)
> at oracle.jsp.app.JspAppLoader.getPage(JspAppLoader.java)
> at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
> at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
> at oracle.jsp.JspServlet.internalService(JspServlet.java)
> at oracle.jsp.JspServlet.service(JspServlet.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
> at org.apache.jserv.JServConnection.run(JServConnection.java:294)
> at java.lang.Thread.run(Thread.java:536)
>
> My configuration file (jserv.properties ) has the following entry:
>
> wrapper.classpath=/home/oracle/9.2.0/jdk/lib/tools.jar
>
> But there is no tools.jar !!
> I have found the file in my server , copied it into the directory ,
> this time the error messsage changed:
>
>
> [08/10/2003 14:11:47:616 EEST] JspServlet: unable to dispatch to
> requested page: oracle.jsp.provider.JspCompileException: <H3>Errors
> compiling:/home/oracle/9.2.0/Apache/Apache/htdocs/_pages/_demo/_basic/_hellouser/_hellouser.java</H3><pre>error:
> Invalid class file format in
> /home/oracle/9.2.0/jdk/lib/rt.jar(java/lang/Object.class). The
> major.minor version '48.0' is too recent for this tool to understand.
>
>
> My java version is 1.4.1 .
>
> What can be the problem?
> Kind Regards,
> hope
Received on Wed Oct 08 2003 - 17:09:32 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US