Dear Filippos,
        Thank you very much for your right inputs. I was suspecting such error 
but
our young system administrator had some other views. Sometimes back I had
uploaded  some files from windows and didn't run 'dos2unix'. So the problem
may be for that.
>From last few days we were trying different options without success. We had
also tried with re-installation and restoration from old backups.

After restoration from backup with the said corrections, now our IR is
working fine with all the features implemented in it.  I am also very
thankful to my teacher Mr.Filbert of Indian Institute of Science for helping
to sort out the errors during restoration process.

With regards
Satya

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Filippos
Kolovos
Sent: Tuesday, March 18, 2008 11:37 PM
To: [EMAIL PROTECTED]
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] DSpace-tech Digest, Vol 23, Issue 3


Dear Satya,

I just came across your problem in the dspace lists and I think that we may
be of assistance.
First of all, the problem is generated from Tomcat and not from Dspace,
since this is a 500-server error.
Also, The problem to your situation is this "I" after the method call. It is
not certain how it got there
but the sure thing about it is that when the application got compiled, this
"I" got somehow appended
to the "getSize()" method, while it shouldn't.

First of all, according to the error message below, this erroneous call is
made from the java file
"org.apache.jsp.submit.show_002duploaded_002dfile_jsp:258", at line 258,
which is an internal-to-the-Tomcat server file. Actually the call is made
from it's corresponding .class file, but it is the same thing eventually.
In order to "see" this file as Tomcat sees it, you have to go to the
directory <tomcat-dir>/work/Catalina/localhost/_/org/apache/jsp/submit/, or
wherever
you can find this directory structure and edit the file
"show_002duploaded_002dfile_jsp.java" at line 258. In that file you may,or
may not see this irritating "I" but in it's corresponding .class file it
exists. In order to correct this error you have to recompile Dspace but in a
manner that the re-compilation will affect the erroneous file. A simple "ant
fresh-install" won't do the job if you don't "touch" anything and in
particular the file in question.

You essentially have to replace this file with the same-new version of it.
These files at this "work" directory of Tomcat are generated during
compilation from the corresponding
"jsp" directory of Dspace. So, in order to re-generate the erroneous file go
to <dspace-dir>/jsp/submit and edit the jsp file "show-uploaded-file.jsp".
Go at the line where it
calls this erroneous method (i.e. getSize()), where you will not see any I's
hanging around but it doesn't matter. Just do a "backspace" and a "space"
right after the "getSize()", so that the file will get modified and then go
to <dspace-dir> and after stopping Tomcat issue "ant update". This command
will refresh the installation of the Dspace but without messing
with the database as the fresh-install method does. Then erase the dspace
webapp from the Webapps directory of Tomcat and restart Tomcat.

Cross your fingers and retry. If it generates the same problem again but at
a different method, repeat the process above.

We hope that we have helped you.

Kind Regards,

-Fk

--
Filippos Kolovos
Software Systems Analyst & Engineer
M.Sc. (Eng.) in Data Communications

Automation & Networking Department
University of Macedonia Library
Egnatia 156, P.O.Box 1591
540 06 Thessaloniki, Greece

E-Mail: [EMAIL PROTECTED],
           [EMAIL PROTECTED]
Profile: http://www.linkedin.com/in/filipposkolovos
-----------------------------------------------------------------------


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <dspace-tech@lists.sourceforge.net>
Sent: Monday, March 03, 2008 1:48 PM
Subject: DSpace-tech Digest, Vol 23, Issue 3
>
>  -----Original Message-----
>  From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Satya
> Ranjan
> Sahu
>  Sent: Friday, February 29, 2008 5:30 PM
>  To: DSpace
>  Subject: [Dspace-tech] Error in Submitting the Bitstream - Need help
>
>
>  Dear members,
>      I am facing problem at the step of file uploading. When I click on
> next after browsing the file, it shows the following error. Please help me
> to sort out the problem.
>
>  -----Original Message-----
>  From: Satya Ranjan Sahu [mailto:[EMAIL PROTECTED]
>  Sent: Thursday, February 28, 2008 3:34 PM
>  To: DSpace
>  Subject: Error in submitting the Bitsream
>
>
>  When I am trying to upload the bitsteam it is showing the following
> error.
> The problem started showing after fresh_install today due to modification
> in
> some configuration. The DSpace version is 1.4.2.
> java.lang.NoSuchMethodError: org.dspace.content.Bitstream.getSize()I
>
>
org.apache.jsp.submit.show_002duploaded_002dfile_jsp._jspService(org.apache.
> jsp.submit.show_002duploaded_002dfile_jsp:258)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 22)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:91)
>
>
org.dspace.app.webui.servlet.SubmitServlet.showProgressAwareJSP(SubmitServle
> t.java:2053)
>
>
org.dspace.app.webui.servlet.SubmitServlet.showUploadFileList(SubmitServlet.
> java:1987)
>
>
org.dspace.app.webui.servlet.SubmitServlet.processChooseFile(SubmitServlet.j
> ava:1136)
>
org.dspace.app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java:332)
>
>
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java
> :147)
> org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilt
> er.java:98)
>
> Thanking you
> With regards
>  --------------------------------------------
>  Satya Ranjan Sahu
>  National Information Centre for Marine Sciences
>  National Institute of Oceanography
>  Dona Paula, Goa - 403 004
>  Phone: 0832-2450370 (O)
>  --------------------------------------------------
>
>
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to