[Dspace-tech] IMPORT ERROR

2007-12-10 Thread Rodrigo Castro Artigas
I am import metadata in Dspace and have the error. I am execute the command
: ./dsrun org.dspace.app.itemimport.ItemImport -a -e [EMAIL PROTECTED] -c
7 -s /alerta/dspace/ACS -m 12



java.sql.SQLException: ORA-1: restricción única (DSPACE.SYS_C002823)
violada

at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:21
6)
at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.
java:966)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
:1170)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedSta
tement.java:3339)
at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedState
ment.java:3423)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delegating
PreparedStatement.java:101)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delegating
PreparedStatement.java:101)
at
org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1492)
at
org.dspace.storage.rdbms.DatabaseManager.update(DatabaseManager.java:853)
at
org.dspace.handle.HandleManager.createHandle(HandleManager.java:165)
at org.dspace.content.InstallItem.installItem(InstallItem.java:111)
at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:663)
at
org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:506)
at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415)
java.sql.SQLException: ORA-1: restricción única (DSPACE.SYS_C002823)
violada



-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de
[EMAIL PROTECTED]
Enviado el: Domingo, 09 de Diciembre de 2007 17:11
Para: dspace-tech@lists.sourceforge.net
Asunto: DSpace-tech Digest, Vol 20, Issue 9

Send DSpace-tech mailing list submissions to
dspace-tech@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
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of DSpace-tech digest...


Today's Topics:

   1. Re: Problem with Media Filter (Hutchinson, Alvin)
   2. Re: Problem with Media Filter (George Stanley Kozak)
   3. Re: Problem with Media Filter (George Stanley Kozak)


--

Message: 1
Date: Sat, 8 Dec 2007 16:54:16 -0500
From: Hutchinson, Alvin [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] Problem with Media Filter
To: dspace-tech@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain;   charset=iso-8859-1


George, this sounds identical to a problem I was having some time ago. I
would suggest getting a more current version of the PDFBox.jar file. That
fixed it for me.

Good luck,

-Alvin Hutchinson
Smithsonian Institution Libraries
(202) 633-1031


--

Message: 2
Date: Sat, 8 Dec 2007 07:53:18 -0500 (EST)
From: George Stanley Kozak [EMAIL PROTECTED]
Subject: [Dspace-tech] Problem with Media Filter
To: dspace-tech@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain;charset=iso-8859-1

Hi,

I'm wondering if anyone can offer a suggestion to help me debug a problem
with Media Filter.

I am running DSpace v.1.3.2.  I run the Media Filter each night as a Cron
job.  I recently discovered that Media Filter is starting up, running for
just a little bit and then just hanging...no more messages nothing to
indicate what item it was getting stuck on.  The process will run
chewing up CPU for hours in some sort of loop.

I have not been able to determine what is causing this problem. Does
anyone have any suggestions as to how I can debug this?  Thank you.

George Kozak
Coordinator
Web Development and Management
Digital Media Group
501 Olin Library
Cornell University 14853
[EMAIL PROTECTED]
607-255-8924




--

-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

--

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net

[Dspace-tech] Stadistics Dspace

2007-11-20 Thread Rodrigo Castro Artigas
I need configure Stadistics in mu dspace. The follow message show:

There are currently no reports available for this service. Please check back
later.

Thanks


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


[Dspace-tech] Consulta Dspace (ó)

2007-08-14 Thread Rodrigo Castro Artigas
Hi, I Search Dspace + GO the text Información, but
Show in the Search Results:

Search in Dspace for Información

Search produced no results.

1 

I have the character set in BD ORACLE UTF-8

Atte.,
Thanks You

Rodrigo Castro

Jefe de Tecnología 

Alerta al Conocimiento S.A.

Fono: 233-7908


-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de
[EMAIL PROTECTED]
Enviado el: Martes, 14 de Agosto de 2007 8:04
Para: dspace-tech@lists.sourceforge.net
Asunto: DSpace-tech Digest, Vol 16, Issue 23

Send DSpace-tech mailing list submissions to
dspace-tech@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
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of DSpace-tech digest...


Today's Topics:

   1. Re: Moving an item from one collection to another
  (Jayan Chirayath Kurian)
   2. Re: HTML batch import (Christian Voelker)
   3. error in running ant fresh_install command in windows (Heny belay)
   4. Re: error in running ant fresh_install command in windows
  (James Rutherford)
   5. Re: Building 1.4.2 on WinXP fails with Malformed
  \uencoding (John Preston)
   6. Re: HTML batch import (Jayan Chirayath Kurian)
   7. Re: error in running ant fresh_install command in windows
  (Jayan Chirayath Kurian)


--

Message: 1
Date: Tue, 14 Aug 2007 16:31:12 +0800
From: Jayan Chirayath Kurian [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] Moving an item from one collection to
another
To: Christine L Moulen [EMAIL PROTECTED]
Cc: dspace-tech@lists.sourceforge.net
Message-ID:

[EMAIL PROTECTED]

Content-Type: text/plain;   charset=US-ASCII

Thanks Christine. It was nice to try items getting replaced from one
collection to another individually as well as in batch mode. This helped
to replace an item submitted through dspace GUI into another collection
through the export facility and the subsequent import with replace
option.

Regards,
Jayan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christine L Moulen
Sent: Wednesday, August 08, 2007 10:02 PM
To: Blanco, Jose
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Moving an item from one collection to another

I'm not sure about that.  When I do a replacement, I'm usually changing
the PDF file for an item, so I don't use the export, and we build new
source metadata as well.

I've never created the handle file, ItemImport seems to do that for you.
I don't know what happens if you have one and don't remove it.

Christine

On Wed, 2007-08-08 at 09:53 -0400, Blanco, Jose wrote:
 When I export the item should I leave the handle file in the
directory,
 and do I need to clean up the dublin_core.xml file in any way?
 
 This is really useful information.  Thank you!
 
 Jose 
 
 -Original Message-
 From: Christine L Moulen [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 08, 2007 9:50 AM
 To: Blanco, Jose
 Cc: dspace-tech@lists.sourceforge.net
 Subject: RE: [Dspace-tech] Moving an item from one collection to
another
 
 You specify the --collection flag as part of ItemImport.
 
 dsrun org.dspace.app.itemimport.ItemImport --replace
 [EMAIL PROTECTED] --collection=1721.1/7704 --source=12345
 --mapfile=12345.map
 
 The map file looks like this:
  1721.1/8092
 
 It finds the old one based on the handle in the map file, removes that
 item completely, and imports the item to the new collection from
 --collection
 
 The moved item will have the same handle as the original.
 
 You'll still need to do your ItemExport to get the source metadata and
 bitstream files.  The whole thing is replaced from the source.
 
 Christine
 
 On Wed, 2007-08-08 at 09:30 -0400, Blanco, Jose wrote:
  But doesn't the replace just replace the item in the collection it 
  exists in.  I need to move the item from one collection to another.
  Where would I indicate that?  Where would I say this item now lives
in
 
  this collection, and not in this other one?
  
  Thanks!
  Jose
  
  -Original Message-
  From: Christine L Moulen [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, August 08, 2007 9:15 AM
  To: Blanco, Jose
  Cc: dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] Moving an item from one collection to 
  another
  
  Jose,
  
  If you're using ItemImport, you could run that with the --replace 
  flag, instead of --add.
  Be sure to provide a map file which contains the handle for the item

  you're moving, similar to the map file the --add option would have 
  created.
  You can skip deleting the item, the replacement will take care of
it.
  You also shouldn't need to re-index.
 

[Dspace-tech] Internal System Error

2007-07-26 Thread Rodrigo Castro Artigas
I have the problem with save new Item in the work flow

The log is the Following:

2007-07-26 12:46:56,756 WARN
org.dspace.app.webui.servlet.InternalErrorServlet @
:session_id=594A725C08D3E94C814CE06E2A9F5247:internal_error:-- URL Was:
http://sdspace.alerta.cl/dspace/submit
-- Method: POST
-- Parameters were:
-- submit_jump_2: Correct one of these
-- workspace_item_id: 5
-- step: 9

java.lang.NullPointerException:
at
org.apache.jsp.submit.edit_002dmetadata_jsp.doOneBox(edit_002dmetadata_jsp.j
ava:461)
at
org.apache.jsp.submit.edit_002dmetadata_jsp._jspService(edit_002dmetadata_js
p.java:1070)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
34)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:672)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:463)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:398)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:301)
at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:91)
at
org.dspace.app.webui.servlet.SubmitServlet.showProgressAwareJSP(SubmitServle
t.java:2053)
at
org.dspace.app.webui.servlet.SubmitServlet.doStep(SubmitServlet.java:1824)
at
org.dspace.app.webui.servlet.SubmitServlet.doStepJump(SubmitServlet.java:179
0)
at
org.dspace.app.webui.servlet.SubmitServlet.processReview(SubmitServlet.java:
1582)
at
org.dspace.app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java:414)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java
:147)
at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilt
er.java:98)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)

Thanks You

Atte.,
Rodrigo


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Run the bin/intall-configs script

2007-07-24 Thread Rodrigo Castro Artigas
I have the problem, Run the bin/intall-configs script
Show folowing message:
 
[EMAIL PROTECTED] bin]# ./install-configs
Processing and installing configuration files for external tools
./dsrun: line 70: java: command not found


Please Help me

Atte
Rodrigo Castro

Jefe de Tecnología 

Alerta al Conocimiento S.A.

Fono: 233-7908


-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de
[EMAIL PROTECTED]
Enviado el: Martes, 24 de Julio de 2007 5:11
Para: dspace-tech@lists.sourceforge.net
Asunto: DSpace-tech Digest, Vol 15, Issue 53

Send DSpace-tech mailing list submissions to
dspace-tech@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
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of DSpace-tech digest...


Today's Topics:

   1. Re: [vote] Do we want to assign external  identifiers(Handles)
  to files? (James Rutherford)
   2. Re: DSpace optimization (James Dickson)
   3. Re: DSpace optimization (Jayan Chirayath Kurian)
   4. Re: Expose DSpace as Tomcat ROOT application (was Re:First
  name, family name order) (Jayan Chirayath Kurian)
   5. Re: DSpace optimization (James Rutherford)
   6. Re: Error when deleting a community and a collection  (fwd)
  (James Rutherford)
   7. Re: [vote] Do we want to assign   externalidentifiers(Handles)
  to files? (Graham Triggs)


--

Message: 1
Date: Tue, 24 Jul 2007 09:22:11 +0100
From: James Rutherford [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] [vote] Do we want to assign external
identifiers(Handles) to files?
To: Gary Browne [EMAIL PROTECTED]
Cc: DSpace Tech dspace-tech@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

On Mon, Jul 23, 2007 at 09:48:39AM +1000, Gary Browne wrote:
 James, thanks for raising this issue and in particular getting people to
 put their money where their collective mouths are.

Believe me, if I could possibly avoid it, I would leave the issue well
alone ;)

I'm sure this will come as no surprise to anyone, but it seems like this
issue has highlighted some conflicts of opinion. As I see it there are
(broadly) two camps: those who believe that every meaningful tier in the
DSpace content hierarchy should get external identifiers, and those who
don't (or at least those who can't decide and so want it to be
configurable). From the responses on- and off-list, it seems there are
more people in the former camp (which is basically what I expected).
While this kind of debate could usually be resolved with a make it
configurable argument, I have a fairly major concern with this, which I
will try to outline briefly for the brave few who are still following
this thread.

Users (and administrators) crave consistency. If we make this assignment
configurable, there is no guarantee of consistency of application
between collections, or even in a single collection over extended
periods of time. The usual arguments about what we intend people to do
with the tools we provide versus what they actually do apply as ever.
This flexibility could leave repositories in a very messy state. It also
adds another degree of complexity to the new identifier system I'm
putting in place. The configurable parameters (if we are going to please
everyone) would be:

 * whether or not to assign external identifiers at all
 * which external identifier system to use by default
 * whether or not external identifiers are re-assignable
 * whether or not new versions of objects get new identifiers
 * which tiers in the content hierarchy get identifiers (if any)

I'm sure I've missed a few, but does that sound like something that is
reasonable to want / implement / support?

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential and
may be legally privileged. If you have received this message in error, you
should delete it from your system immediately and advise the sender. To any
recipient of this message within HP, unless otherwise stated you should
consider this message and attachments as HP CONFIDENTIAL.



--

Message: 2
Date: Tue, 24 Jul 2007 09:25:15 +0100
From: James Dickson [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] DSpace optimization
To: Jayan Chirayath Kurian [EMAIL PROTECTED]
Cc: DSpace Tech dspace-tech@lists.sourceforge.net
Message-ID: [EMAIL 

[Dspace-tech] Help: Dspace 1.4.1; Internal System Error

2007-02-15 Thread Rodrigo Castro Artigas
Hi Jim, I am running Dspace with Oracle 9.2.0.7 and data type is NUMBER
(SiZE_BYTES). But the problem also is present with upload other documents.

Atte
Rodrigo Castro
Jefe de Tecnología 
Alerta al Conocimiento S.A.
Fono: 233-7908


-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de
[EMAIL PROTECTED]
Enviado el: Jueves, 15 de Febrero de 2007 15:21
Para: dspace-tech@lists.sourceforge.net
Asunto: DSpace-tech Digest, Vol 10, Issue 37

Send DSpace-tech mailing list submissions to
dspace-tech@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
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of DSpace-tech digest...


Today's Topics:

   1. Re: Help: Dspace 1.4.1; Internal System Error (Jim Downing)
   2. Re: column a.oid does not exist (Jim Downing)
   3. Re: Compatibility bug with Oracle 10g (Graham Triggs)
   4. Re: How to configure Postfix...?? (James Rutherford)
   5. Re: Weird Import Error (George Kozak)
   6. Dspace Config file question (Jeffrey Trimble)
   7. Re: Compatibility bug with Oracle 10g (Graham Triggs)
   8. Item Submission error. (Lakshmi Balasubramanyam)


--

Message: 1
Date: Thu, 15 Feb 2007 09:03:24 +
From: Jim Downing [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] Help: Dspace 1.4.1; Internal System Error
To: dspace-tech@lists.sourceforge.net
Cc: Rodrigo Castro Artigas [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=UTF-8; format=flowed

Rodrigo Castro Artigas wrote:
 Hi, I have the problem with upload new logo the edit collection.

 The dspace.log is the folowind:
  

 java.lang.IllegalArgumentException: Value for SIZE_BYTES is not an integer
   


You're not running Oracle, are you? There's a current issue with Oracle 
and long ints.

Best regards,

jim



--

Message: 2
Date: Thu, 15 Feb 2007 09:06:56 +
From: Jim Downing [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] column a.oid does not exist
To: Fatih Oguz [EMAIL PROTECTED]
Cc: dspace-tech@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Fatih,

Fatih Oguz wrote:
 We have our dspace installation on a sun machine:
 SunOS varro 5.9 Generic_118558-28 sun4u sparc SUNW,UltraAX-i2


 Any suggestions?
   

More of a guess - it looks like it could be a problem in the driver; is 
your postgres driver is the correct version for the database?

 Exception occurred:java.sql.SQLException: ERROR:  column a.oid does not 
 exist

 java.sql.SQLException: ERROR:  column a.oid does not exist

  at org.postgresql.Connection.ExecSQL(Connection.java:533)
  at org.postgresql.Connection.ExecSQL(Connection.java:400)
  at 

org.postgresql.jdbc2.DatabaseMetaData.getColumns(DatabaseMetaData.java:1894)
  at 

Best regards,

jim



--

Message: 3
Date: Thu, 15 Feb 2007 12:45:33 +
From: Graham Triggs [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] Compatibility bug with Oracle 10g
To: dspace-tech dspace-tech@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=utf-8

On Tue, 2007-02-13 at 09:52 +, Jim Downing wrote:
 Jos? A. Rubio wrote:
  java.lang.IllegalArgumentException: Value for SIZE_BYTES is not an 
  integer
 This has come up before: -
 

https://sourceforge.net/tracker/?func=detailatid=119984aid=1460754group_i
d=19984
 


You could try the patch below.

It's *really* hacky, and does two things:

1) for Integer / Decimal jdbc types, when using Oracle, it checks to see
if the column is long, and uses long values if it is, otherwise, it uses
ints.

2) in getLongColumn(), if the returned object is an Integer, then it
accepts it as valid and returns a long.

Like I say, it's a bit messy, but it gets around the immediate problem
(as tested locally in a file submission). But could do with a bit more
thought and review.

G

oracle-hack:


### Eclipse Workspace Patch 1.0
#P dspace
Index: src/org/dspace/storage/rdbms/DatabaseManager.java
===
RCS
file:
/cvsroot/dspace/dspace/src/org/dspace/storage/rdbms/DatabaseManager.java,v
retrieving revision 1.40
diff -u -r1.40 DatabaseManager.java
--- src/org/dspace/storage/rdbms/DatabaseManager.java   5 Jul 2006
16:17:16 -  1.40
+++ src/org/dspace/storage/rdbms/DatabaseManager.java   15 Feb 2007
12:40:54 -
@@ -1415,7 +1415,15 @@
 else if ((jdbctype == Types.INTEGER)
 || (jdbctype == Types.DECIMAL))
 {
-statement.setInt(count, row.getIntColumn(column

Re: [Dspace-tech] Help: Dspace 1.4.1; Internal System Error

2007-02-15 Thread Rodrigo Castro Artigas
: [Dspace-tech] need some suggestions plz
To: DSpace-tech@lists.sourceforge.net
Cc: [EMAIL PROTECTED], Krishna [EMAIL PROTECTED], Sai Srinivas
Dharanikota [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Sai Srinivas Dharanikota wrote:
 Scenario: We need to integrate DSpace as a  content repository for the
 *Metadata*, we have a registry to register the metadata. We need a
 repository to store this metadata. DSpace is used in this case. We
 have a prefix for every registry and repository (DSpace instance). All
 the handles are maintained by our handle server.


 Taken this scenario,

 Why do we get into hassle if we have a prefix for every DSpace
 instance with handles being generated by our handle server? Your
 comments would be helpful to correct our approach.

You don't need to; this is what Corey was suggesting.

You do have a problem if All handles are maintained by our handle 
server is a requirement, because out-of-the-box DSpace does not work as 
a client to a Handle server - it works as a Handle server itself. If you 
can have a prefix for each DSpace *and* let each DSpace resolve the 
handles for that prefix then there's no problem at all.


Best regards,

jim



--

Message: 3
Date: Wed, 14 Feb 2007 13:11:58 -0500
From: Kyle Brentnell [EMAIL PROTECTED]
Subject: Re: [Dspace-tech] Help: Dspace 1.4.1; Internal System Error
To: Rodrigo Castro Artigas [EMAIL PROTECTED],
dspace-tech@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

Hi Rodrigo,

How many bytes is the logo that you are trying to upload?  If it is a large 
logo, as a text try uploading a smaller logo(smaller number of bytes).  I 
am wondering if the error is due to the file size (bytes) being too large 
to fit in the integer data type.

Kyle


At / ? 10:20 AM 14/02/2007, Rodrigo Castro Artigas wrote / a ?crit:

Hi, I have the problem with upload new logo the edit collection.

The dspace.log is the folowind:



2007-02-12 12:49:10,192 
WARN  org.dspace.app.webui.servlet.InternalErrorServlet @ 
:session_id=6A0DF69DF829212D25CA373FF45D87B1:internal_error:-- URL Was: 
http://192.168.1.163/dspace/tools/edit-communities

-- Method: POST

-- Parameters were:



java.lang.IllegalArgumentException: Value for SIZE_BYTES is not an integer

 at
org.dspace.storage.rdbms.TableRow.getIntColumn(TableRow.java:162)

 at 

org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1418)

 at 
 org.dspace.storage.rdbms.DatabaseManager.update(DatabaseManager.java:853)

 at 

org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageMa
nager.java:359)

 at org.dspace.content.Bitstream.create(Bitstream.java:184)

 at org.dspace.content.Community.setLogo(Community.java:406)

 at 

org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processUploadLogo(
EditCommunitiesServlet.java:708)

 at 

org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommu
nitiesServlet.java:132)

 at 

org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java
:147)

 at 
 org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 at 

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)

 at 

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

 at 

org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilt
er.java:98)

 at 

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)

 at 

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)

 at 

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:213)

 at 

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:178)

 at 

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)

 at 

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)

 at 

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)

 at 

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

 at 
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

 at 

org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
onnection(Http11BaseProtocol.java:664)

 at 

org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)

 at 

org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt