Anshuman Jaiswal | 1 Jun 2010 11:19
Picon

Problem while submission using DSpace 1.4.2 (Internal Server Error)


Subject: Problem while submission using DSpace 1.4.2

While working alone I never got these errors, but when 4-5 users are logged
on an making submissions this error comes frequently.

Details of the Error
After click on Next for "The item consists of more than one file" and
filling the first page of Item Submission (General Tab), on clicking next,
submission fails. Everyone needs to fill the page again, with time this
increases.

System in use
OS - RHEL5
Web Server/container Apache Tomcat
Database Postgres

The DB and app server are separate


The error log for the stack is as below
2010-05-25 15:44:30,968 WARN
org.dspace.app.webui.servlet.InternalErrorServlet <at>
:session_id=BE77304175A56DC62301758A0839FF01:internal_error:-- URL Was:
http://192.168.4.13:8080/dhcal/submit
-- Method: POST
-- Parameters were:
-- dc_date_created_month: "5"
-- dc_identifier_accessionnumber: "278130"
-- submit_next: "Next >"
-- workspace_item_id: "8279"
-- dc_date_created_day: "25"
-- dc_identifier_barcode: "PAT83401111"
-- dc_contributor_enteredby: "DSpace DSpace"
-- dc_description_projects: ""
-- dc_plant_typequalifier: "Probably"
-- step: "2"
-- dc_date_created_year: "2010"

java.lang.NullPointerException
       at
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:156)
       at
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:170)
       at org.dspace.workflow.WorkflowItem.findAll(WorkflowItem.java:172)
       at
org.dspace.app.webui.servlet.SubmitServlet.readText(SubmitServlet.java:2756)
       at
org.dspace.app.webui.servlet.SubmitServlet.processEditMetadata(SubmitServlet.java:914)
       at
org.dspace.app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java:396)
       at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:320)
       at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:222)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
       at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
       at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
       at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
       at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
       at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
       at java.lang.Thread.run(Thread.java:595)

After this failure I can see 5-6 "Idle Wait" process for postgres user(which
is way lower than . Now idle wait is know issue, but the max connection for
DSpace is 99 and on postgres side it is set as 100, checked kernel settings
it is way more to give connection refusal.

Any idea on resolution of this issue ??
--
View this message in context: http://old.nabble.com/Problem-while-submission-using-DSpace-1.4.2-tp28739112p28739112.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.




------------------------------------------------------------------------------

------------------------------------------------------------------------------

Anshuman Jaiswal | 1 Jun 2010 12:26
Picon

Re: mixing metadata


By your question do you mean Different Collection having different metadata
fields(elements), but a few of them be common
--

-- 
View this message in context: http://old.nabble.com/-Dspace-tech--mixing-metadata-tp28712230p28739981.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------

Anshuman Jaiswal | 1 Jun 2010 12:27
Picon

Re: mixing metadata


By your question do you mean Different Collection having different metadata
fields(elements), but a few of them be common
--

-- 
View this message in context: http://old.nabble.com/-Dspace-tech--mixing-metadata-tp28712230p28739985.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------

Anshuman Jaiswal | 1 Jun 2010 12:31
Picon

Re: LDAP for DSpace stops working after few days


Have you checked if there has been any change in LDAP Server IP or settings.
--

-- 
View this message in context: http://old.nabble.com/-Dspace-tech--LDAP-for-DSpace-stops-working-after-few-days-tp28554426p28740006.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------

Anshuman Jaiswal | 1 Jun 2010 12:35
Picon

Re: Configuring Dspace To Index Powerpoint


For doing so you would need a filter for powerpoint file, like pdfbox for
pdf files.
Otherwise DSpace will not be able to recognize the inputstream.

Have you checked for any filters (api or jar) for this
--

-- 
View this message in context: http://old.nabble.com/-Dspace-tech--Configuring-Dspace-To-Index-Powerpoint-tp28497671p28740062.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------

Sean Carte | 1 Jun 2010 15:25
Picon

Problem Post Upgrading from 1.5.3 to 1.6.1

I'm having a problem after upgrading from 1.5.3 to 1.6.1 (or 1.6.0): when I try to browse by Author or Subject I get the following error:

java.lang.NullPointerException:

Cocoon stacktrace [hide]
Could not read resource cocoon://DRI/5/browse
context:/resource://aspects/Administrative/sitemap.xmap - 957:31     <map:serialize type="xml">
context:/resource://aspects/Administrative/sitemap.xmap - 295:38     <map:transform type="Navigation">
context:/resource://aspects/Administrative/sitemap.xmap - 294:44     <map:transform type="SystemwideAlerts">
context:/resource://aspects/Administrative/sitemap.xmap - 292:19     <map:generate>
context:/resource://aspects/EPerson/sitemap.xmap - 332:31     <map:serialize type="xml">
context:/resource://aspects/EPerson/sitemap.xmap - 137:38     <map:transform type="Navigation">
context:/resource://aspects/EPerson/sitemap.xmap - 126:19     <map:generate>
context:/resource://aspects/Submission/sitemap.xmap - 342:27     <map:serialize>
context:/resource://aspects/Submission/sitemap.xmap - 318:26     <map:generate>
context:/resource://aspects/Statistics/sitemap.xmap - 70:31     <map:serialize type="xml">
context:/resource://aspects/Statistics/sitemap.xmap - 33:19     <map:generate>
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 115:34     <map:serialize type="xml">
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 114:43     <map:transform type="PageNotFound">
context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 113:22     <map:generate>
context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 184:62     <map:serialize type="xhtml">
context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 181:112     <map:transform type="NamespaceFilter">
context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 180:106     <map:transform type="NamespaceFilter">
context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 174:68     <map:transform type="i18n">
context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 170:72     <map:transform>
context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 155:87     <map:transform type="IncludePageMeta">
context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 131:83     <map:generate type="file">
context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 128:49     <map:match>
context:/jndi:/localhost/xmlui/themes/themes.xmap - 63:45     <map:mount>
context:/jndi:/localhost/xmlui/themes/themes.xmap - 62:35     <map:match type="ThemeMatcher">
context:/jndi:/localhost/xmlui/sitemap.xmap - 550:94     <map:mount>

with this in the log:

2010-06-01 15:12:02,749 INFO  org.dspace.browse.BrowseEngine <at> anonymous:session_id=89F31FAB7C91C4CEA5F42FF5321A0565:ip_addr=10.4.36.39:browse_by_value:focus=null

I saw stuff like this before related to the Emetsger Embargo patch. To get Author and Subject browse listings working after applying that patch, I had to edit dspace-api/src/main/java/org/dspace/browse/BrowseEngine.java.

But it despite the similar symptom, this problem seems to be caused by something else as a Test instance upgraded (to 1.6.0) fine and works. (Unfortunately it is little old, so I'm faced with the prospect of having to redo any submissions that occurred since I made that copy if I choose to use it.)

I'd appreciate any insights into what may have caused this, and how I can fix it.

Sean
--
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/

------------------------------------------------------------------------------

------------------------------------------------------------------------------

helix84 | 1 Jun 2010 16:07
Picon
Favicon
Gravatar

Re: Problem Post Upgrading from 1.5.3 to 1.6.1

On Tue, Jun 1, 2010 at 15:25, Sean Carte <sean.carte@...> wrote:
> I'm having a problem after upgrading from 1.5.3 to 1.6.1 (or 1.6.0): when I
> try to browse by Author or Subject I get the following error:

I had the same arror after 1.5.2 -> 1.6.0. What helped me was to
update the indices as described in release notes (I accidentally
skipped that step). Hope it helps.

Regards,
~~helix84

------------------------------------------------------------------------------

Sean Carte | 2 Jun 2010 08:14
Picon

Re: Problem Post Upgrading from 1.5.3 to 1.6.1

On 1 June 2010 16:07, helix84 <helix84@...> wrote:
>
> On Tue, Jun 1, 2010 at 15:25, Sean Carte <sean.carte@...> wrote:
> > I'm having a problem after upgrading from 1.5.3 to 1.6.1 (or 1.6.0): when I
> > try to browse by Author or Subject I get the following error:
>
> I had the same arror after 1.5.2 -> 1.6.0. What helped me was to
> update the indices as described in release notes (I accidentally
> skipped that step). Hope it helps.

Thanks helix84 and George, updating the indices sorted it out.

That will teach me to read the documentation properly!

Sean
--
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/

------------------------------------------------------------------------------

Serbe Leon Rojas | 2 Jun 2010 13:42
Picon

To justify the field Abstract

Hello,

I need that when the fields appear of dublin core initially of the article, 
the field "Abastract" turns out to be justify. In that I file must I do this?

 Thank you

---------------------------------------------
	     Serbe León Rojas Yepes
	       Biblioteca Digital
            Universidad de Antioquia
              Medellin - Colombia
--------------------------------------------
        Somos el Alma de la Universidad
--------------------------------------------

------------------------------------------------------------------------------

Favicon

Re: To justify the field Abstract

Hi Serbe,

in JSPUI you can edit [dspace-source]/dspace/modules/jspui/src/main/webapp/styles.css.jsp
and change the metadataFieldValue text-align property to text-align:justify;

Best,

Al 02/06/2010 13:42, En/na1 Serbe Leon Rojas ha escrit:
Hello, I need that when the fields appear of dublin core initially of the article, the field "Abastract" turns out to be justify. In that I file must I do this? Thank you --------------------------------------------- Serbe León Rojas Yepes Biblioteca Digital Universidad de Antioquia Medellin - Colombia -------------------------------------------- Somos el Alma de la Universidad -------------------------------------------- ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list DSpace-tech-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------

------------------------------------------------------------------------------


Gmane