Re: [Dspace-tech] need help fixing error

2010-09-29 Thread Thornton, Susan M. (LARC-B702)[Raytheon Information Services (RIS)]
Great!  I'm glad to help!!
Sue

-Original Message-
From: Azim Jinha [mailto:a...@kin.ucalgary.ca] 
Sent: Wednesday, September 29, 2010 1:40 PM
To: Thornton, Susan M. (LARC-B702)[Raytheon Information Services (RIS)]; 
dspace-tech@lists.sourceforge.net
Subject: RE: need help fixing error

Hi Sue

Thanks for your reply to my query. 

On Wednesday, September 29, 2010 Thornton, Susan M. wrote:
> This error indicates you have a problem with how a field is defined in
DSpace,
> either in your metadatafieldregisty table or in your forms definition
in input-
> forms.xml.  Look at your metadatafieldregistry at fields where the
element =
> "type".  Another thing you might look at is your input-forms.xml file
to see
> how you have "type" defined.  Is it a required entry?
> 
> I'm not exactly sure what's happening, but looking at these two things
might
> give you an idea.

Based on your suggestion, I took a second look at the meta data field
registry and input-forms.xml.   Looking at input-forms.xml, I edited
this file by removing the field for the dc-element type.  This edit
fixed the problem and the input forms worked again.  

Next I looked at the  Meta Data Field Registry (under the administration
section).  I found for some reason that there was no _type_ element
defined in the registry.  So, the actual problem was that at some point
the dc-element _type_ was removed from my meta data field registry.
After adding it back removed the error and fixed my problem.

Thanks for your suggestions.

Azim
 



> Hope this helps.
> Sue
> 
> -Original Message-
> From: Azim Jinha [mailto:a...@kin.ucalgary.ca]
> Sent: Monday, September 27, 2010 6:15 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] need help fixing error
> 
> Hi list,
> 
> I am running dspace version 1.5.2 on a OpenBSD box with a postgresql
> backend database.  After upgrading to 1.5.2, creating new submissions
> submitting to some collection fails with an internal error.  After
checking
> dspace/log/dspace.log I find the following sql exception lines
> 
> 
> 2010-09-27 15:54:22,683 WARN  org.dspace.content.Item @
> a...@kin.ucalgary.ca:session_id=3A2E44FA6FE2F6BB7CE2178E6CE53775:ip_a
> ddr
> =xx.xx.xx.xx:bad_dc:Bad DC field. schema=dc, element: "type"
qualifier:
> "null" value: "Book"
> 
> 2010-09-27 15:54:22,684 ERROR
> org.dspace.app.webui.servlet.SubmissionController @ Error loading step
> class'org.dspace.submit.step.DescribeStep':java.sql.SQLException:
> bad_dublin_core schema=dc, type null
> 
> Any help on how to fix this would be greatly appreciated
> 
> Thanks
> 
> Azim
> 

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] need help fixing error

2010-09-29 Thread Thornton, Susan M. (LARC-B702)[Raytheon Information Services (RIS)]
This error indicates you have a problem with how a field is defined in DSpace, 
either in your metadatafieldregisty table or in your forms definition in 
input-forms.xml.  Look at your metadatafieldregistry at fields where the 
element = "type".  Another thing you might look at is your input-forms.xml file 
to see how you have "type" defined.  Is it a required entry?

I'm not exactly sure what's happening, but looking at these two things might 
give you an idea.

Hope this helps.
Sue

-Original Message-
From: Azim Jinha [mailto:a...@kin.ucalgary.ca] 
Sent: Monday, September 27, 2010 6:15 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] need help fixing error

Hi list,

I am running dspace version 1.5.2 on a OpenBSD box with a postgresql
backend database.  After upgrading to 1.5.2, creating new submissions
submitting to some collection fails with an internal error.  After
checking dspace/log/dspace.log I find the following sql exception lines


2010-09-27 15:54:22,683 WARN  org.dspace.content.Item @
a...@kin.ucalgary.ca:session_id=3A2E44FA6FE2F6BB7CE2178E6CE53775:ip_addr
=xx.xx.xx.xx:bad_dc:Bad DC field. schema=dc, element: "type" qualifier:
"null" value: "Book"

2010-09-27 15:54:22,684 ERROR
org.dspace.app.webui.servlet.SubmissionController @ Error loading step
class'org.dspace.submit.step.DescribeStep':java.sql.SQLException:
bad_dublin_core schema=dc, type null

Any help on how to fix this would be greatly appreciated

Thanks

Azim

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] FW: Langley Digital Repository (LDR-S) Internal Server Error

2010-09-29 Thread Thornton, Susan M. (LARC-B702)[Raytheon Information Services (RIS)]
I tried to delete a collection in DSpace 1.5.1 online yesterday and got this 
error.  I was able to finally delete it only after I went in and manually 
deleted all the rows in bi_7_dmap, but I'm not quite sure why I had to do this 
or if it's a bug...??  Does anyone have any ideas?
Thanks,
Sue

-Original Message-
From: LDR-S - Langley Digital Repository (1.5.1) 
[mailto:digital-reposit...@larc.nasa.gov] 
Sent: Tuesday, September 28, 2010 4:13 PM
To: Thornton, Susan M. (LARC-B702)[Raytheon Information Services (RIS)]
Subject: Langley Digital Repository (LDR-S) Internal Server Error


An internal server error occurred on https://x.larc.nasa.gov:

Date..: 9/28/10 4:13 PM
Session ID: D884BF71A03E4AA0C04ABFC55F5A366B

-- URL Was: https://x.larc.nasa.gov/tools/edit-communities
-- Method: POST
-- Parameters were:
-- collection_id: "7"
-- community_id: "4"
-- action: "10"
-- submit: "Delete"


***
* Exception.: *
***
org.postgresql.util.PSQLException: ERROR: update or delete on table "item" 
violates foreign key constraint "bi_7_dmap_item_id_fkey" on table "bi_7_dmap"
  Detail: Key (item_id)=(28) is still referenced from table "bi_7_dmap".
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1531)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1313)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:354)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:308)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
at 
org.dspace.storage.rdbms.DatabaseManager.updateQuery(DatabaseManager.java:390)
at 
org.dspace.storage.rdbms.DatabaseManager.deleteByValue(DatabaseManager.java:535)
at 
org.dspace.storage.rdbms.DatabaseManager.delete(DatabaseManager.java:502)
at 
org.dspace.storage.rdbms.DatabaseManager.delete(DatabaseManager.java:737)
at org.dspace.content.Item.delete(Item.java:1904)
at org.dspace.content.Collection.removeItem(Collection.java:950)
at org.dspace.content.Collection.delete(Collection.java:1076)
at org.dspace.content.Community.removeCollection(Community.java:1073)
at 
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:275)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:152)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:110)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:816)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at 
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at 
com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)



**Note..:  This error occurs due to one or more Java errors/exceptions in 
LDR-S and 
is a "catch-all" for non-specific application errors.  Stack traces should be 
analyzed
to determine likely causes.  In addition, DSpace, PostgreSQL, and server logs 
can be examined
f

[Dspace-tech] Question about ItemImport.java in DSpace 1.5.1

2010-09-10 Thread Thornton, Susan M. (LARC-B702)[Raytheon Information Services (RIS)]

Can anyone tell me how I tell DSpace what order my authors should be in when I 
import items with multiple contributor.author tags in my dublin_core.xml files? 
 I know that this is controlled by the "place" column in table metadatavalue - 
I just don't know how to indicate the place column in my xml.  Or does the 
value of "place" get set automatically based on the order the author names are 
physically in, in the xml file?
Thanks in advance,
Sue



Sue Walker-Thornton
NASA Langley Research Center
Integrated Library Systems
Developer, Application & Database Administrator
ConITS Contract ~ NCI Information Systems, Inc.
130 Research Drive
Hampton, VA  23666
Office: (757) 224-4074 ~ Mobile: (757) 506-9903 ~ Fax: (757) 224-4001
email:  susan.m.thorn...@nasa.gov

<>--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech