Re: [Dspace-tech] Problem with creating an e-person

2012-07-24 Thread MICHAEL QUINTON SMITH

Hi Tim

Thanks for your response. I will check the log files and send it.

Regards

From: Tim Donohue [tdono...@duraspace.org]
Sent: Monday, July 23, 2012 3:37 PM
To: MICHAEL QUINTON SMITH
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Problem with creating an e-person

Hi Mike,

Are there any error messages appearing in your DSpace or Tomcat log
files after you create a new e-person?

This guide helps you locate errors in log files:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

Send any errors detailed in the log files to this list (along with the
full error stack trace). They may help us to figure out what the issue
may be.

- Tim

On 7/23/2012 3:58 AM, MICHAEL QUINTON SMITH wrote:
 Hi

 I had created several e-persons successfully. I now need to create
 another  e-person but  get the following error message when trying to do
 so:

 *See  email that gets generated after creating the e-person below:*

 A new user has registered on DSpace at Cape Peninsula University of
 Technology at _http://dolon.cput.ac.za:8081/xmlui:_

 Name: null null

 Email: newuser18

 Date: 7/23/12 8:49 AM

 *When I click on the link I get the following error message.*

 *type* Status report

 *message*_/xmlui:_

 *description*_The requested resource (/xmlui:) is not available._

 

 *Apache Tomcat/6.0.35***

 Regards

 Mike Smith




 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/



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




--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Using own PID/Handle server

2012-07-24 Thread Joachim Bingel


Hi,

we're looking to implement DSpace 1.8.2 at our site with a non-default
PID service, e.g. EPIC. The documentation says we need not use CNRI's
Handle system, but are free to change the code to use something different.

Now, is there any other possibility than patching the DSpace code? If
not, what pieces of code would we have to change to make it fit our needs?

Thanks in advance,
Joachim

-- 
Joachim Bingel
Institut für Deutsche Sprache, Zentrale Forschung
R5, 6-13, 68161 Mannheim
+49 - (0)6221-1581-456 | http://www.ids-mannheim.de



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Database conection from WebUI

2012-07-24 Thread Miguel Angel Robledo
Hi all,

I need know more about the scheme of connection to the database from the 
web interface, my question is whether all requests are interpreted by 
local functions (which I access from the filesystem) or if the libraries 
deployed in the war are sufficient to allow connections direct links 
between the application server and database.

Thanks

-- 
Ing. Miguel Angel Robledo
Secretaría de Tecnologías para la Gestión
Ministerio de Gobierno y Reforma del Estado
Provincia de Santa Fe
0342-4508704


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Connection error

2012-07-24 Thread Mark Diggory
Ben,

This is is being caused within the Discovery configuration.  Perhaps you
might post it and we can take a look at the setting you've changed there.

Best,
Mark

On Monday, July 23, 2012, Benjamin Ryan wrote:

  Hi,

I have been doing some development with the XMLUI and
 everything seemed to be fine but now I am getting the following error in
 the Dspace log:

 ** **

 2012-07-24 05:51:57,010 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=80A63E7D8AE793D764E99698F6674C50:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:57,808 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:58,131 INFO  org.dspace.content.MetadataField @ Loading
 MetadataField elements into cache.

 2012-07-24 05:51:58,139 INFO  org.dspace.content.MetadataSchema @ Loading
 schema cache for fast finds

 2012-07-24 05:51:58,225 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=6E289FB17265C95622CDF09577DEEAFF:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:58,258 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:58,389 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=ED8BBE68C518B8061DE5D8C94ADD8A5B:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:58,413 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:58,535 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=030C06D0CDFC16980D4AF72BC48EE2D5:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:58,557 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:58,677 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=C8BBD214A00D5F68FED21852362846AF:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:58,699 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:58,816 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=326B791D7C70859B8B2395A8DD4F259B:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:58,849 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:58,961 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=EE54E277AB294F827D83DB5C62CF57F8:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:58,984 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:59,249 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=757DB2390802369A288A0C107BE9EF18:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:59,270 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:59,375 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=E5C0DA23BF3DA28B0215B0DBE2008F17:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:59,396 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:59,544 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=107A76FFE9418A7D910507333FDCB92C:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:59,564 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:59,667 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=7E3E4DCA795A07D6289D157DFF423A8F:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:59,687 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:59,790 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=A342BD4ABC003C6CB4A8D4B8291A8366:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:59,819 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:51:59,921 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=B6639CDDB6A98E1BD4C9B05FF4575DBD:ip_addr=127.0.0.1:
 view_community_list:

 2012-07-24 05:51:59,941 INFO
 org.dspace.app.xmlui.aspect.discovery.SidebarFacetsTransformer @ facets for
 scope, null: 3

 2012-07-24 05:52:00,041 INFO
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityBrowser @
 anonymous:session_id=1D535CB2F8E1D038890A9035C3706C0E:ip_addr=127.0.0.1:
 

[Dspace-tech] Problema

2012-07-24 Thread Luis Rojas C. (CATIE)
Hi all, i have a problem when I send register at the repository. The next is 
the error:


An internal server error occurred on 
http://biblioteca.catie.ac.cr:5050/repositorioforestal:



Date:   7/24/12 7:48 AM

Session ID: 5619652CEBDB79BA32757897FEB9A3D9



-- URL Was: http://biblioteca.catie.ac.cr:5050/repositorioforestal/mydspace

-- Method: POST

-- Parameters were:

-- submit_approve: Mandar al repositorio

-- workflow_id: 380

-- step: 3





Exception:

java.sql.SQLException: Collection 59 has no default item READ policies

at 
org.dspace.content.Item.inheritCollectionDefaultPolicies(Item.java:1911)

at 
org.dspace.content.InstallItem.installItem(InstallItem.java:156)

at 
org.dspace.content.InstallItem.installItem(InstallItem.java:73)

at 
org.dspace.workflow.WorkflowManager.archive(WorkflowManager.java:652)

at 
org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:606)

at 
org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:371)

at 
org.dspace.app.webui.servlet.MyDSpaceServlet.processPerformTask(MyDSpaceServlet.java:437)

at 
org.dspace.app.webui.servlet.MyDSpaceServlet.doDSPost(MyDSpaceServlet.java:127)

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:641)

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

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

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

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)

at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)

at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)

at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)

at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)

at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)

at java.lang.Thread.run(Unknown Source)



Please need your support.

Thanks, Luis

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Error in creating E-Persons

2012-07-24 Thread Hardik Mishra

Hi Michael


Did you get same URL http://dolon.cput.ac.za:8081/xmlui;  in previous 
registration e-mails ?


Check dspace.url = ${dspace.baseUrl}/jspui  in your dspace.cfg 


Its a good practice to mention Dspace version and provide error logs when 
sending query to Tech List.


Hardik Mishra
Software Engineer

Linked In: hardik.mishra






Message: 3
Date: Mon, 23 Jul 2012 08:58:27 +
From: MICHAEL QUINTON SMITH smit...@mycput.ac.za
Subject: [Dspace-tech] Problem with creating an e-person
To: dspace-tech@lists.sourceforge.net
dspace-tech@lists.sourceforge.net
Message-ID:

596fb66fd577294daa1889143733d1da0cb86...@dbxprd0410mb383.eurprd04.prod.outlook.com

Content-Type: text/plain; charset=iso-8859-1

Hi
I had created several e-persons successfully. I now need to create another  
e-person but  get the following error message when trying to do so:
See  email that gets generated after creating the e-person below:

A new user has registered on DSpace at Cape Peninsula University of Technology 
at http://dolon.cput.ac.za:8081/xmlui:

Name: null null

Email: newuser18

Date: 7/23/12 8:49 AM

When I click on the link I get the following error message.
type Status report
message /xmlui:
description The requested resource (/xmlui:) is not available.

Apache Tomcat/6.0.35

Regards
Mike Smith


 
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problema

2012-07-24 Thread helix84
On Tue, Jul 24, 2012 at 4:14 PM, Luis Rojas C. (CATIE)
luisro...@catie.ac.cr wrote:
 java.sql.SQLException: Collection 59 has no default item READ policies

Hi Luis,

it seems somehow you have a collection with unusual policies. Run the
policy editor (you didn't mention which DSpace version and interface
you're using) and add READ policy to the collection. Items inherit
policies of its parent collection during submission.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problema

2012-07-24 Thread helix84
Luis, don't reply directly to me, always CC dspace-tech.

On Tue, Jul 24, 2012 at 5:14 PM, Luis Rojas C. (CATIE)
luisro...@catie.ac.cr wrote:
 The version is 1.4.2

OK, so you almost certainly use JSPUI. It's an old version, but I'll
tell you where to find it in the latest version, it's probably the
same. Log in as administrator, go to the collection page, under Admin
Tools click Edit, next to Collection's Authorizations:, click Edit.

 What are the standard policies of the collections?

Standard policy is READ permission for Anonymous users for collection,
item and bitstream. Example:

ID  Action  Group   
22469DEFAULT_BITSTREAM_READ  Anonymous  
ID  Action  Group   
22468DEFAULT_ITEM_READ   Anonymous  
ID  Action  Group   
22467READAnonymous  

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problema

2012-07-24 Thread helix84
On Tue, Jul 24, 2012 at 5:57 PM, Luis Rojas C. (CATIE)
luisro...@catie.ac.cr wrote:
 OK , I understand, the problem is that it looks like someone deleted the 
 anonymous group.

 As it recovered?

Again, don't reply directly to me, always CC dspace-tech.

OK, connect to your database and verify that the group is missing:
SELECT * FROM epersongroup;

If it's really missing, you should restore it:
INSERT INTO epersongroup (eperson_group_id, name) VALUES
(0, 'Anonymous');

However, consider migrating your content into the latest version of
DSpace installed from scratch, the version you have is quite old and
if you somehow deleted the Anonymous group, you may have other serious
problems as well.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problema

2012-07-24 Thread helix84
On Tue, Jul 24, 2012 at 7:22 PM, Luis Rojas C. (CATIE)
luisro...@catie.ac.cr wrote:
 I have restores the anonymous group, but the problem persist.

OK, just checking - have you
1) made sure the anonymous group exists in the database
2) added Anonymous READ permissions for collection, item and bitstream
to your collection
3) restarted Tomcat

and your submission still gives the same error?
(java.sql.SQLException: Collection 59 has no default item READ
policies)

From looking at the source code, it should be enough for the
collection to have just any one policy and it should work, regardless
of the Anonymous group existing. Or it should throw another error.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problema

2012-07-24 Thread Luis Rojas C. (CATIE)
I have restores the anonymous group, but the problem persist.


-Mensaje original-
De: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] En nombre de helix84
Enviado el: martes, 24 de julio de 2012 09:55 a.m.
Para: Luis Rojas C. (CATIE)
CC: dspace-tech
Asunto: Re: [Dspace-tech] Problema

On Tue, Jul 24, 2012 at 5:57 PM, Luis Rojas C. (CATIE) luisro...@catie.ac.cr 
wrote:
 OK , I understand, the problem is that it looks like someone deleted the 
 anonymous group.

 As it recovered?

Again, don't reply directly to me, always CC dspace-tech.

OK, connect to your database and verify that the group is missing:
SELECT * FROM epersongroup;

If it's really missing, you should restore it:
INSERT INTO epersongroup (eperson_group_id, name) VALUES
(0, 'Anonymous');

However, consider migrating your content into the latest version of DSpace 
installed from scratch, the version you have is quite old and if you somehow 
deleted the Anonymous group, you may have other serious problems as well.

Regards,
~~helix84



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problema

2012-07-24 Thread Luis Rojas C. (CATIE)
I check al but persist the problema.

-Mensaje original-
De: Luis Rojas C. (CATIE) 
Enviado el: martes, 24 de julio de 2012 11:13 a.m.
Para: 'heli...@centrum.sk'
CC: dspace-tech
Asunto: RE: [Dspace-tech] Problema

I have restores the anonymous group, but the problem persist.


-Mensaje original-
De: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] En nombre de helix84 
Enviado el: martes, 24 de julio de 2012 09:55 a.m.
Para: Luis Rojas C. (CATIE)
CC: dspace-tech
Asunto: Re: [Dspace-tech] Problema

On Tue, Jul 24, 2012 at 5:57 PM, Luis Rojas C. (CATIE) luisro...@catie.ac.cr 
wrote:
 OK , I understand, the problem is that it looks like someone deleted the 
 anonymous group.

 As it recovered?

Again, don't reply directly to me, always CC dspace-tech.

OK, connect to your database and verify that the group is missing:
SELECT * FROM epersongroup;

If it's really missing, you should restore it:
INSERT INTO epersongroup (eperson_group_id, name) VALUES
(0, 'Anonymous');

However, consider migrating your content into the latest version of DSpace 
installed from scratch, the version you have is quite old and if you somehow 
deleted the Anonymous group, you may have other serious problems as well.

Regards,
~~helix84



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problema

2012-07-24 Thread helix84
On Tue, Jul 24, 2012 at 9:25 PM, Luis Rojas C. (CATIE)
luisro...@catie.ac.cr wrote:
 I check al but persist the problema.

Can you send us a link to the collection? One more thing to check -
when you tried again did you continue with an existing item and only
tried to complete submission or did you create the item from scratch,
filling all the metadata fields again?

Since I can't resolve the problem, I suggest you try a workaround.
Submit the item, to any other collection that works. When it's in the
repository, edit the item (Edit) and move it to the collection you
want (Move Item). That might work because it shouldn't invoke
permission inheritance when moving.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Using xpdf with 1.8.2

2012-07-24 Thread John Preston
I am trying to configure 1.8.2 to use xpdf to generate thumbnails. I build
with

mvn -Pxpdf-mediafilter-support package

and then copy the copy the target lib files and xmlui/WEB-INF/lib files to
my existing dspace instance. Then I update the dspace.cfg file as follows:


filter.plugins = \
PDF Text Extractor, \
PDF Thumbnail, \
HTML Text Extractor, \
PowerPoint Text Extractor, \
Word Text Extractor, \
JPEG Thumbnail, \
Branded Preview JPEG
# [To enable Branded Preview]: remove last line above, and uncomment 2
lines below
#Word Text Extractor, JPEG Thumbnail, \
#Branded Preview JPEG

#Assign 'human-understandable' names to each filter
plugin.named.org.dspace.app.mediafilter.FormatFilter = \
#  org.dspace.app.mediafilter.PDFFilter = PDF Text Extractor, \
  org.dspace.app.mediafilter.XPDF2Text = PDF Text Extractor, \
  org.dspace.app.mediafilter.XPDF2Thumbnail = PDF Thumbnail, \
  org.dspace.app.mediafilter.HTMLFilter = HTML Text Extractor, \
  org.dspace.app.mediafilter.WordFilter = Word Text Extractor, \
  org.dspace.app.mediafilter.PowerPointFilter = PowerPoint Text Extractor, \
  org.dspace.app.mediafilter.JPEGFilter = JPEG Thumbnail, \
  org.dspace.app.mediafilter.BrandedPreviewJPEGFilter = Branded Preview JPEG

#Configure each filter's input format(s)
#filter.org.dspace.app.mediafilter.PDFFilter.inputFormats = Adobe PDF
filter.org.dspace.app.mediafilter.HTMLFilter.inputFormats = HTML, Text
filter.org.dspace.app.mediafilter.WordFilter.inputFormats = Microsoft Word
filter.org.dspace.app.mediafilter.PowerPointFilter.inputFormats = Microsoft
Powerpoint, Microsoft Powerpoint XML
filter.org.dspace.app.mediafilter.JPEGFilter.inputFormats = BMP, GIF, JPEG,
image/png, image/tiff, TIFF
filter.org.dspace.app.mediafilter.BrandedPreviewJPEGFilter.inputFormats =
BMP, GIF, JPEG, image/png, image/tiff, TIFF
filter.org.dspace.app.mediafilter.XPDF2Thumbnail.inputFormats = Adobe
filter.org.dspace.app.mediafilter.XPDF2Text.inputFormats = Adobe PDF

# XPDF stuff
xpdf.path.pdftotext = /usr/bin/pdftotext
xpdf.path.pdftoppm = /usr/bin/pdftoppm
xpdf.path.pdfinfo = /usr/bin/pdfinfo


 Now when I restart tomcat and run filter-media it returns with no errors
or messages. I tried enabling logging by editing the
/dspace/config/log4j.properties file and  changing INFO to DEBUG as follows:

log4j.rootCategory=DEBUG A1
# This line sets the logging level for DSpace code. Set this to DEBUG to see
# extra detailed logging for DSpace code.
log4j.logger.org.dspace=DEBUG, A1
#

But this does not give any more messages in /dspace/log/dspace.log.

Can anyone say what I'm missing.

John
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problema

2012-07-24 Thread Luis Rojas C. (CATIE)
Sure, I pass the address.

http://biblioteca.catie.ac.cr:5050/repositorioforestal/handle/123456789/5110 

The problem is that is happening in all collections.

Regards, Luis

-Mensaje original-
De: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] En nombre de helix84
Enviado el: martes, 24 de julio de 2012 01:34 p.m.
Para: Luis Rojas C. (CATIE)
CC: dspace-tech
Asunto: Re: [Dspace-tech] Problema

On Tue, Jul 24, 2012 at 9:25 PM, Luis Rojas C. (CATIE) luisro...@catie.ac.cr 
wrote:
 I check al but persist the problema.

Can you send us a link to the collection? One more thing to check - when you 
tried again did you continue with an existing item and only tried to complete 
submission or did you create the item from scratch, filling all the metadata 
fields again?

Since I can't resolve the problem, I suggest you try a workaround.
Submit the item, to any other collection that works. When it's in the 
repository, edit the item (Edit) and move it to the collection you want (Move 
Item). That might work because it shouldn't invoke permission inheritance when 
moving.

Regards,
~~helix84



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problema

2012-07-24 Thread helix84
I just noticed that it's not just collection default policies. Any
item I tried to access is without Anonymous read access. Was it your
intention to create a dark archive or is it also part of the problem?

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problema

2012-07-24 Thread helix84
On Tue, Jul 24, 2012 at 11:23 PM, Luis Rojas C. (CATIE)
luisro...@catie.ac.cr wrote:
 Is part  of the problem.

 :(

I see. Do you have any idea what caused the problem?

Do you have any backups? It would be less work than re-creating just
the policies.

The other viable option is to export and re-import all the items. If I
were you, I'd do this together with an upgrade to the latest version
of DSpace (first, installing fresh DSpace, then importing the items).

So your options are:
1) adding the policies manually or via SQL
2) restoring a backup
3) exporting and reimporting items

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problema

2012-07-24 Thread Luis Rojas C. (CATIE)
Is part  of the problem.

:(

Regards, Luis

-Mensaje original-
De: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] En nombre de helix84
Enviado el: martes, 24 de julio de 2012 03:04 p.m.
Para: Luis Rojas C. (CATIE)
CC: dspace-tech@lists.sourceforge.net
Asunto: Re: [Dspace-tech] Problema

I just noticed that it's not just collection default policies. Any item I tried 
to access is without Anonymous read access. Was it your intention to create a 
dark archive or is it also part of the problem?

Regards,
~~helix84



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Using xpdf with 1.8.2

2012-07-24 Thread John Preston
I'm not sure what the problem was but I rebooted the Centos
machine  (/proc/meminfo showed only 1 00M of memory out of 12G's
available) and everything works as expected. I have another question
though. I'm getting some errors from the JPEGFilter trying to create
thumbnails for some GeoTiffs bitstreams.

java.lang.ArrayIndexOutOfBoundsException: -655284480
java.lang.ArrayIndexOutOfBoundsException: -655284480
at
java.awt.image.ComponentColorModel.getRGBComponent(ComponentColorModel.java:886)
at java.awt.image.ComponentColorModel.getRed(ComponentColorModel.java:927)
at java.awt.image.ComponentColorModel.getRGB(ComponentColorModel.java:1118)

Is there any other filter that I can use to create thumbnails for geotiffs
that won't give me errors.

John

On Tue, Jul 24, 2012 at 3:06 PM, John Preston byhisde...@gmail.com wrote:

 I am trying to configure 1.8.2 to use xpdf to generate thumbnails. I build
 with

 mvn -Pxpdf-mediafilter-support package

 and then copy the copy the target lib files and xmlui/WEB-INF/lib files to
 my existing dspace instance. Then I update the dspace.cfg file as follows:

 
 filter.plugins = \
 PDF Text Extractor, \
 PDF Thumbnail, \
 HTML Text Extractor, \
 PowerPoint Text Extractor, \
 Word Text Extractor, \
 JPEG Thumbnail, \
 Branded Preview JPEG
 # [To enable Branded Preview]: remove last line above, and uncomment 2
 lines below
 #Word Text Extractor, JPEG Thumbnail, \
 #Branded Preview JPEG

 #Assign 'human-understandable' names to each filter
 plugin.named.org.dspace.app.mediafilter.FormatFilter = \
 #  org.dspace.app.mediafilter.PDFFilter = PDF Text Extractor, \
   org.dspace.app.mediafilter.XPDF2Text = PDF Text Extractor, \
   org.dspace.app.mediafilter.XPDF2Thumbnail = PDF Thumbnail, \
   org.dspace.app.mediafilter.HTMLFilter = HTML Text Extractor, \
   org.dspace.app.mediafilter.WordFilter = Word Text Extractor, \
   org.dspace.app.mediafilter.PowerPointFilter = PowerPoint Text Extractor,
 \
   org.dspace.app.mediafilter.JPEGFilter = JPEG Thumbnail, \
   org.dspace.app.mediafilter.BrandedPreviewJPEGFilter = Branded Preview
 JPEG

 #Configure each filter's input format(s)
 #filter.org.dspace.app.mediafilter.PDFFilter.inputFormats = Adobe PDF
 filter.org.dspace.app.mediafilter.HTMLFilter.inputFormats = HTML, Text
 filter.org.dspace.app.mediafilter.WordFilter.inputFormats = Microsoft Word
 filter.org.dspace.app.mediafilter.PowerPointFilter.inputFormats =
 Microsoft Powerpoint, Microsoft Powerpoint XML
 filter.org.dspace.app.mediafilter.JPEGFilter.inputFormats = BMP, GIF,
 JPEG, image/png, image/tiff, TIFF
 filter.org.dspace.app.mediafilter.BrandedPreviewJPEGFilter.inputFormats =
 BMP, GIF, JPEG, image/png, image/tiff, TIFF
 filter.org.dspace.app.mediafilter.XPDF2Thumbnail.inputFormats = Adobe
 filter.org.dspace.app.mediafilter.XPDF2Text.inputFormats = Adobe PDF

 # XPDF stuff
 xpdf.path.pdftotext = /usr/bin/pdftotext
 xpdf.path.pdftoppm = /usr/bin/pdftoppm
 xpdf.path.pdfinfo = /usr/bin/pdfinfo
 

  Now when I restart tomcat and run filter-media it returns with no errors
 or messages. I tried enabling logging by editing the
 /dspace/config/log4j.properties file and  changing INFO to DEBUG as follows:

 log4j.rootCategory=DEBUG A1
 # This line sets the logging level for DSpace code. Set this to DEBUG to
 see
 # extra detailed logging for DSpace code.
 log4j.logger.org.dspace=DEBUG, A1
 #

 But this does not give any more messages in /dspace/log/dspace.log.

 Can anyone say what I'm missing.

 John

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech