[Dspace-tech] Problem while submission using DSpace 1.4.2 (Internal Server Error)

2010-06-01 Thread Anshuman Jaiswal
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 @
: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: "PAT8340"
-- 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.
--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] mixing metadata

2010-06-01 Thread Anshuman Jaiswal


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.


--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] mixing metadata

2010-06-01 Thread Anshuman Jaiswal


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.


--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] LDAP for DSpace stops working after few days

2010-06-01 Thread Anshuman Jaiswal

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.


--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Configuring Dspace To Index Powerpoint

2010-06-01 Thread Anshuman Jaiswal


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.


--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem Post Upgrading from 1.5.3 to 1.6.1

2010-06-01 Thread Sean Carte
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

context:/resource://aspects/Administrative/sitemap.xmap - 295:38

context:/resource://aspects/Administrative/sitemap.xmap - 294:44

context:/resource://aspects/Administrative/sitemap.xmap - 292:19

context:/resource://aspects/EPerson/sitemap.xmap - 332:31 
context:/resource://aspects/EPerson/sitemap.xmap - 137:38 
context:/resource://aspects/EPerson/sitemap.xmap - 126:19 
context:/resource://aspects/Submission/sitemap.xmap - 342:27

context:/resource://aspects/Submission/sitemap.xmap - 318:26

context:/resource://aspects/Statistics/sitemap.xmap - 70:31

context:/resource://aspects/Statistics/sitemap.xmap - 33:19

context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 115:34

context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 114:43

context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 113:22

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 184:62

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 181:112

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 180:106

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 174:68

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 170:72

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 155:87

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 131:83

context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 128:49

context:/jndi:/localhost/xmlui/themes/themes.xmap - 63:45 
context:/jndi:/localhost/xmlui/themes/themes.xmap - 62:35 
context:/jndi:/localhost/xmlui/sitemap.xmap - 550:94 

with this in the log:

2010-06-01 15:12:02,749 INFO  org.dspace.browse.BrowseEngine @
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/
--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem Post Upgrading from 1.5.3 to 1.6.1

2010-06-01 Thread helix84
On Tue, Jun 1, 2010 at 15:25, 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

--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem Post Upgrading from 1.5.3 to 1.6.1

2010-06-01 Thread Sean Carte
On 1 June 2010 16:07, helix84  wrote:
>
> On Tue, Jun 1, 2010 at 15:25, 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/

--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech