[Dspace-tech] Re: I need help sir

7 views
Skip to first unread message

satish narasimhamoorthy

unread,
Aug 21, 2015, 5:13:07 PM8/21/15
to dspac...@lists.sourceforge.net

Hi

When i give this url in the browser http://et5:8080/dspace i will be  listed with all the files and directories but when i type the url as http://et5:8080/dspace/jsp/index.jsp i am getting the following error pasted below stating that its not able find the packages.Actually i have compiled the source file using ANT and then i copied the .class files to dspace classes directory i.e. org and edu.

                 Please help me out to overcome this error

HTTP Status 500 -


type Exception report

message

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

exception

org.apache.jasper.JasperException: Unable to compile class for JSP
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:477)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:182)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
	at java.lang.Thread.run(Thread.java:536)

root cause

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 66 in the jsp file: /jsp/index.jsp

Generated servlet error:
    [javac] Compiling 1 source file
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:9: package org.dspace.app.webui.util does not exist
import org.dspace.app.webui.util.JSPManager;
                                 ^
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:10: package org.dspace.app.webui.util does not exist
import org.dspace.app.webui.util.UIUtil;
                                 ^
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:11: package org.dspace.content does not exist
import org.dspace.content.Community;
                          ^
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:12: package org.dspace.core does not exist
import org.dspace.core.Context;
                       ^
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:13: package org.dspace.core does not exist
import org.dspace.core.LogManager;
                       ^
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:60: cannot resolve symbol
symbol  : class Context 
location: class org.apache.jsp.index_jsp
    Context context = null;
    ^



An error occurred at line: 66 in the jsp file: /jsp/index.jsp

Generated servlet error:
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:65: cannot resolve symbol
symbol  : variable UIUtil 
location: class org.apache.jsp.index_jsp
        context = UIUtil.obtainContext(request);
                  ^



An error occurred at line: 66 in the jsp file: /jsp/index.jsp

Generated servlet error:
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:68: cannot resolve symbol
symbol  : class Community 
location: class org.apache.jsp.index_jsp
        Community[] communities = Community.findAll(context);
        ^



An error occurred at line: 66 in the jsp file: /jsp/index.jsp

Generated servlet error:
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:68: cannot resolve symbol
symbol  : variable Community 
location: class org.apache.jsp.index_jsp
        Community[] communities = Community.findAll(context);
                                  ^



An error occurred at line: 66 in the jsp file: /jsp/index.jsp

Generated servlet error:
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:72: cannot resolve symbol
symbol  : variable JSPManager 
location: class org.apache.jsp.index_jsp
        JSPManager.showJSP(request, response, "/home.jsp");
        ^



An error occurred at line: 66 in the jsp file: /jsp/index.jsp

Generated servlet error:
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:78: cannot resolve symbol
symbol  : variable LogManager 
location: class org.apache.jsp.index_jsp
        log.warn(LogManager.getHeader(context,
                 ^



An error occurred at line: 66 in the jsp file: /jsp/index.jsp

Generated servlet error:
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:83: cannot resolve symbol
symbol  : variable UIUtil 
location: class org.apache.jsp.index_jsp
        UIUtil.sendAlert(request, se);
        ^



An error occurred at line: 66 in the jsp file: /jsp/index.jsp

Generated servlet error:
D:\jakarta\work\Standalone\localhost\dspace\jsp\index_jsp.java:85: cannot resolve symbol
symbol  : variable JSPManager 
location: class org.apache.jsp.index_jsp
        JSPManager.showInternalError(request, response);
        ^
13 errors


	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:120)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
	at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:315)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:326)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:474)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:182)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2397)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
	at java.lang.Thread.run(Thread.java:536)


Apache Tomcat/4.1.10

 

Regards

Satish.N


 

>From: dspace-te...@lists.sourceforge.net
>Reply-To: dspac...@lists.sourceforge.net
>To: dspac...@lists.sourceforge.net
>Subject: DSpace-tech digest, Vol 1 #246 - 2 msgs
>Date: Tue, 14 Oct 2003 20:06:51 -0700
>
>Send DSpace-tech mailing list submissions to
> dspac...@lists.sourceforge.net
>
>To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>or, via email, send a message with subject or body 'help' to
> dspace-te...@lists.sourceforge.net
>
>You can reach the person managing the list at
> dspace-t...@lists.sourceforge.net
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of DSpace-tech digest..."
>
>
>Today's Topics:
>
> 1. DSpace documentation rewrite (Tom De Mulder)
> 2. RE: Release 1.1.1 (LeVan,Ralph)
>
>--__--__--
>
>Message: 1
>Date: Tue, 14 Oct 2003 15:38:26 +0100 (BST)
>From: Tom De Mulder
>To: dspac...@lists.sourceforge.net
>Subject: [Dspace-tech] DSpace documentation rewrite
>
>Hello all,
>
>I just thought I'd give an update on where we are with the DSpace
>documentation update - several major sections of the new documentation are
>already finished, and we hope to have the work finished early November. It
>will (and already does in places) contain a more expanded write-up of some
>of the hairy subjects that often generate queries on the mailing list.
>
>Thanks again to everyone who volunteered to contribute or proofread.
>
>
>Kind regards,
>
>--
>Tom De Mulder - Cambridge University Computing Service
> DSpace @ Cambridge
>->14/10/2003 : The Moon is Waning Gibbous (76% of Full)
>
>
>--__--__--
>
>Message: 2
>From: "LeVan,Ralph"
>To: 'Angelo Miranda' ,
> "'dspac...@lists.sourceforge.net'"
>Subject: RE: [Dspace-tech] Release 1.1.1
>Date: Tue, 14 Oct 2003 13:10:46 -0400
>
>This message is in MIME format. Since your mail reader does not understand
>this format, some or all of this message may not be legible.
>
>------_=_NextPart_001_01C39276.10C3089C
>Content-Type: text/plain;
> charset="iso-8859-1"
>
>My guess is the problem is with the location of the servlet.jar file. There
>is one in the /common/lib directory, so running things goes just
>fine. But compiles fail.
>
>Try copying the servlet.jar file from the tomcat directory to your
>/lib directory. A soft-link would be better than a copy.
>
>Hope this helps!
>
>Ralph
>
> -----Original Message-----
>From: Angelo Miranda [mailto:amir...@sdum.uminho.pt]
>Sent: Thursday, October 09, 2003 2:22 PM
>To: dspac...@lists.sourceforge.net
>Subject: [Dspace-tech] Release 1.1.1
>
>
>
>Hi,
>
>Im trying to update to release 1.1.1 but when i try to compile the source i
>get errors.
>Can someone help me ?
>
>Angelo
>
>Errors:
>Buildfile: build.xml
>
>compile:
> [mkdir] Created dir: /dspace_inst/dspace-1.1.1-source/build/classes
> [javac] Compiling 115 source files to
>/dspace_inst/dspace-1.1.1-source/build/classes
> [javac]
>/dspace_inst/dspace-1.1.1-source/src/edu/mit/dspace/MITAuthenticator.java:47
>: package javax.servlet does not exist
> [javac] import javax.servlet.ServletException;
>...
>
>
>------_=_NextPart_001_01C39276.10C3089C
>Content-Type: text/html;
> charset="iso-8859-1"
>
>
>
>
>
>
>
>
>
My
>guess is the problem is with the location of the servlet.jar file.  There
>is one in the <tomcat>/common/lib directory, so running things goes just
>fine.  But compiles fail.
>
>size=2> 
>
Try
>copying the servlet.jar file from the tomcat directory to your
><dspace>/lib directory.  A soft-link would be better than a
>copy.
>
>size=2> 
>
Hope
>this helps!
>
>size=2> 
>
>size=2>Ralph
>
>color=#0000ff size=2>
>class=617320317-14102003>>color=#0000ff> -----Original Message-----
From:
>Angelo Miranda [mailto:amir...@sdum.uminho.pt]
Sent: Thursday,
>October 09, 2003 2:22 PM
To:
>dspac...@lists.sourceforge.net
Subject: [Dspace-tech] Release
>1.1.1

>
>style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
>
> class=170401918-09102003>Hi,
>
> class=170401918-09102003> 
>
Im trying to
> update to release 1.1.1 but when i try to compile the source i get errors.
>
>
Can someone help
> me ?
>
> class=170401918-09102003> 
>
> class=170401918-09102003>Angelo
>
> class=170401918-09102003> 
>
> class=170401918-09102003>Errors:
>
Buildfile:
> build.xml
>
 
>
> size=2>compile:
    [mkdir] Created dir:
> /dspace_inst/dspace-1.1.1-source/build/classes
    [javac]
> Compiling 115 source files to
> /dspace_inst/dspace-1.1.1-source/build/classes
    [javac]
> /dspace_inst/dspace-1.1.1-source/src/edu/mit/dspace/MITAuthenticator.java:47:
> package javax.servlet does not exist
    [javac] import
> javax.servlet.ServletException;
> class=617320317-14102003>...
>
>------_=_NextPart_001_01C39276.10C3089C--
>
>
>
>--__--__--
>
>_______________________________________________
>DSpace-tech mailing list
>DSpac...@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>End of DSpace-tech Digest


Access Hotmail from your mobile now. Click here.
Reply all
Reply to author
Forward
0 new messages