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: Brian Peasland <dba_at_remove_spam.peasland.com>
Date: Wed, 8 Oct 2003 22:12:23 GMT
Message-ID: <3F848BC7.3D3946D8@remove_spam.peasland.com>


I had similar problems when I didn't install everything correctly. I either had to comment out these lines that tried to include jar files I didn't need, or reinstall what I needed.

HTH,
Brian

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

-- 
===================================================================

Brian Peasland
dba_at_remove_spam.peasland.com

Remove the "remove_spam." from the email address to email me.


"I can give it to you cheap, quick, and good. Now pick two out of
 the three"
Received on Wed Oct 08 2003 - 17:12:23 CDT

Original text of this message

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