Re: [Dspace-tech] DSpace: Internal Server Error to create collection with jspui

2012-06-14 Thread helix84
TAMANO looks like a proper name to me, so this is probably a syntax
error in SQL. Here's something similiar:
https://jira.duraspace.org/browse/DS-630

We need to find the offending query first, so you'll need to turn up
debugging level from INFO to DEBUG for dspace:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-TurningonDebugging(optional)

In your logs, you should see something like this (with TAMANO in your case):
2010-03-30 11:14:42,122 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query SELECT * FROM group2groupcache WHERE child_id= ?  OR
child_id= ?  OR child_id= ?   with parameters: 0,1,1736

Don't forget to turn off debuging again otherwise it will make your
logs grow to fill up the entire disk very fast.

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] RV: DSPACE with ORACLE

2012-06-14 Thread helix84
Can you please verify that my documentation update is correct?

https://wiki.duraspace.org/display/DSDOC18/Installation#Installation-RelationalDatabase%3A%28PostgreSQLorOracle%29.

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] About authentication

2012-06-14 Thread helix84
On Thu, Jun 14, 2012 at 3:08 PM, Amit Rami mca.rami_a...@hotmail.com wrote:
  i have applied this policy after uploading all the items.

 i just want to restrict users that do not download bitstreams of a certain
 collection.

 how i will do this ?

Hi Amit,

I think that the caveat here is that you need to remember that access
is not inherited (e.g. from collection to items) for existing items,
it's inherited only during submission. So you have to set it for every
_existing_ item and bitstream individually. AFAIK there's no way how
to do that from the user interface.

I think this snippet from @Mire describes it quite succintly:

When a new item gets archived in the repository, it inherits the
default policies for an item, defined by the collection in which the
item is archived. It's important to realize that these policies can
altered for each item, bundle or bitstream, without altering other
items or collection properties. Policies are really tied to items,
bundles and bitstreams.

http://www.facebook.com/note.php?note_id=180273568767

I hope that explains your question.

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] Authorization issue in dspace

2012-06-14 Thread AMJAD USMAN

Dear community members,
i am using dspace 1.6.2 jspui on windows platform.i am suffering from 
authorization problem.
i want to create a collection where specific users can submit items to that 
collection.Moreover, i want that items of this collection should be visible to 
public but they can not download its file.i mean to say that i want to show 
them metadata only while keep the bitstream restricted.
how can i do that ?
regardsamjeeki--
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] Adding advanced-search to collection view in mirage

2012-06-14 Thread helix84
On Thu, Jun 14, 2012 at 5:06 PM, Jose Blanco blan...@umich.edu wrote:
 Yes I did not have solr deployed.  That should really be in the
 instructions.  I had a hunch that's what needed to be done but not knowing
 really how it works, kept thinking the instructions would have pointed it
 out.  Thank you!  It's running now.

OK, I'll add it.

 I have another question.  When I looked at the interface it gives me a
 widget from which I could add filters.  But is there a way to make it look
 more like the advance search page.  You mentioned doing this:

 You can restrict search by adding a scope parameter:
 /discover?scope=123456789/123

 (Where do I do this?)

It's an URL, just add it to your server name in your browser.

 So you have 2 options:
 1) Add a link like this
 2) Add 2 radio buttons and a submit button

 (WHere do I do this? )

Make a link (a href=/discover?scope=123456789/123xyz/a).

Please keep dspace-tech in CC (Reply to all).

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] Authorization issue in dspace

2012-06-14 Thread helix84
On Thu, Jun 14, 2012 at 4:42 PM, AMJAD USMAN amjad...@hotmail.com wrote:
 i want to create a collection where specific users can submit items to that
 collection.
 Moreover, i want that items of this collection should be visible to public
 but they can not download its file.

 i mean to say that i want to show them metadata only while keep the
 bitstream restricted.

Items and metadata are always visible in DSpace, you can't hide them.

You can't hide bitstreams, either, but you can make them inaccessible:
edit item authorizations, remove READ right for the Anonymous group
and add your own group (or multiple groups) with read rights. Add your
users as members of this group.

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] recently submission in homepage

2012-06-14 Thread Priya S
Dear all,

I did not get the datapackages/files displayed in the homepage under
Recently published data  though I have 5 files. But I am able to browse
those once its approved by the curator. I have gone thru' the manual  also
google'd, but not able to solve it myself.

The below parameters set in dspace.cfg

recent.submission.sort-option = dateissued
recent.submissions.count = 5

plugin.sequence.org.dspace.plugin.CommunityHomeProcessor = \
org.dspace.app.webui.components.RecentCommunitySubmissions

plugin.sequence.org.dspace.plugin.CollectionHomeProcessor = \
org.dspace.app.webui.components.RecentCollectionSubmissions


In dspace-solr-search.cfg, I have

solr.browse.default.filterQuery=location:l2
solr.default.filterQuery=location:l2
solr.site.default.filterQuery=location:l2,dc.identifier.citation:[* TO *]


Could anyone please tell me where did it go wrong.

Thank you
Priya
--
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] recently submission in homepage

2012-06-14 Thread helix84
Hi Priya,

which DSpace version and interface are you using? Do you have
Discovery turned on? In case of Discovery recent submissions are
turned on elsewhere.

Did you restart Tomcat after making changes in dspace.cfg?

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] Problem with Import metadata option on Admin screen in DSpace 1.7.1

2012-06-14 Thread helix84
Now I have a hunch that the language qualifier has something to do
with it. Try to compare what it does when [en_US] is present and
when you discard it. (This has bitten me several times while editing
normal fields with BME.)

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] Changing order of displayed fields

2012-06-14 Thread Saqib Ilyas
Thanks helix. I successfully implemented it.

On Sun, Jun 10, 2012 at 9:50 PM, helix84 heli...@centrum.sk wrote:

 On Sun, Jun 10, 2012 at 2:11 PM, Saqib Ilyas msa...@gmail.com wrote:
  Negative on that.
 
  First, there was a foreign key constraint in table metadatavalue that I
 had
  to take care of. Afterwards, when I was done, all the items were
 displayed
  as untitled in DSpace.

 Sorry, I was writing that in a hurry, forgot to say that you need to
 run index-init after doing the changes in DB (Tomcat has to be shut
 down during index-init). And update-discovery-index after that if you
 use Discovery (with Tomcat running).

 But it surely works, I'm using it.

 Regards,
 ~~helix84




-- 
Muhammad Saqib Ilyas
PhD Student, Computer Science and Engineering
Lahore University of Management Sciences
--
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] issues in ldap connectivity

2012-06-14 Thread AMJAD USMAN

 From: heli...@centrum.sk
 Date: Wed, 13 Jun 2012 09:46:08 +0200
 Subject: Re: [Dspace-tech] issues in ldap connectivity
 To: amjad...@hotmail.com
 CC: dspace-tech@lists.sourceforge.net
 
 On Wed, Jun 13, 2012 at 9:30 AM, AMJAD USMAN amjad...@hotmail.com wrote:
  but when i try to connect it with my local ldap server, it gives error.
  Our local ldap server requires anonymous binding.
 
 Hi Amjad,
 
 do I understand correctly that you're using
 LDAPHierarchicalAuthentication and that in order to search, you don't
 need to do a bind first? In that case, try setting search.user to your
 own DN and search.password to your password, if a directory server
 allows anonymous searches, it's very likely that regular users can
 search as well.
 
 One more question - are you sure you need
 LDAPHierarchicalAuthentication? Wouldn't LDAPAuthentication suffice
 for you? IOW, are all your users spread across the tree or in one
 branch?

users are not in a single branch they are spread across the treei am using : 
 LDAP Hierarchical Setting 
#org.dspace.authenticate.LDAPHierarchicalAuthentication
 Stackable Authentication Methods 
#plugin.sequence.org.dspace.authenticate.AuthenticationMethod = 
\org.dspace.authenticate.LDAPAuthentication,\
org.dspace.authenticate.PasswordAuthentication 
 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] issues in ldap connectivity

2012-06-14 Thread helix84
On Wed, Jun 13, 2012 at 10:33 AM, AMJAD USMAN amjad...@hotmail.com wrote:
 Error is: Incorrect user name  password

Are you sure you're using the user's full DN in search.user, not just his login?

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] dspace-tech@lists.sourceforge.net

2012-06-14 Thread Josefina Perez Alvarez
Hi,

We use our dspace test by ip and now we are planning change to an URL like
www.ourDomain.mainDomain.edu/dspaceX

We don't have access to define mainDomain, but we have contact with the
administrators from ourDomain.
The initial configuration failed because the URL above stayed fixed and we
lost the handle when navigating by itens.

Can anyone help or indicate a link about how to do this?
We use Ubuntu, Dspace 1.7.2 and tomcat.

Thanks in advance,
Josi Pérez
--
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] Adding advanced-search to collection view in mirage

2012-06-14 Thread helix84
On Wed, Jun 13, 2012 at 6:42 PM, Jose Blanco blan...@umich.edu wrote:
 helix84,
 I followed the instructions to enable discovery:

 https://wiki.duraspace.org/display/DSPACE/Discovery+Configuration

 But when I run:
  ./dspace update-discovery-index


 I get and error, it does not seem to be able to access the solr search
 engine:

 Caused by: org.apache.solr.common.SolrException: Unauthorized

 Unauthorized

 request:
 http://blancoj.dev.deepblue.lib.umich.edu:8080/solr/search/select?q=search.resourcetype:2
 AND search.resourceid:1wt=javabinversion=2


 WHen I go to the page via the url, I get page not found.  I know I have it
 set up so that the user has to auth into
 blancoj.dev.deepblue.lib.umich.edu:8080,  so I can see where the
 unauthorized error is coming from, but why am I getting the page not found
 error when I try to access the url directly.  I have never used discovery
 before so I may be missing something in my setup.

 -Jose

Hi Jose,

I really don't know what to make of SolrException: Unauthorized... I
could understand Internal System Error and such, but Unauthorized?

Did you configure a context for Solr in Tomcat? That is not described
in those instructions, probably it should be. Here's an example:

Context path=/solr docBase=/dspace/webapps/solr debug=0
reloadable=true cachingAllowed=false
allowLinking=true/

Are you running update-discovery-index it as your dspace user? Do you
have a separate user for tomcat or are both owned by the same system
user?

Regarding accessing the /solr/ URL from your browser, by default it's
configured to allow access only from localhost. I described this in
detail at
https://wiki.duraspace.org/display/DSPACE/Solr#Solr-ConnectingtoSolr

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] About authentication

2012-06-14 Thread Amit Rami

 
 i have applied this policy after uploading all the items.

i just want to restrict users that do not download bitstreams of a certain 
collection.

how i will do this ?

  --
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] Aside: PostgreSQL 9 working well with DSpace

2012-06-14 Thread Mark H. Wood
We've been using 9.0 in production with DSpace 1.7.2 for some months,
without incident.  Time to update requirements?

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Asking whether markets are efficient is like asking whether people are smart.


pgpjcgz9KpsHY.pgp
Description: PGP signature
--
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] DSpace: Internal Server Error to create collection with jspui

2012-06-14 Thread helix84
Hmm, I need to identify the offending query, but I'm not any wiser. I
can't see any error in your second email. We must identify which query
has this syntax error.

Do you at least know whether TAMANO is a user name or collection name
or something else? I think it some query is missing escaping.

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] [dspace-tech] XMLUI Create Collection/Community Code

2012-06-14 Thread César Sabater
Hello,
I'm trying to customize the Community and Collection creation for XMLUI in
DSpace 1.8. I'm trying to find the code that does all the heavy lifting but
all I've found are this steps:

 org.dspace.app.xmlui.aspect.administrative.collection.CreateCollectionForm
 org.dspace.app.xmlui.aspect.administrative.community.CreateCommunityForm

but what I'm looking for is the equivalent for XMLUI for this JSPUI
classes:

org.dspace.app.webui.servlet.admin.CollectionWizardServlet
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet

Where can I find such processing for XMLUI? I couldn't manage to find a
servlet mapping or something that leads me to that classes. Would be good
to know if there is a method for that too :-).

Cheers,
César
--
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] dspace-tech@lists.sourceforge.net

2012-06-14 Thread helix84
On Wed, Jun 13, 2012 at 7:06 PM, Josefina Perez Alvarez
josi@gmail.com wrote:
 We use our dspace test by ip and now we are planning change to an URL like
 www.ourDomain.mainDomain.edu/dspaceX

Hi Josi,
if your Tomcat is listening directly on port 80, your dspace.cfg
should look like this:

dspace.hostname = www.ourDomain.mainDomain.edu
dspace.baseUrl = http://www.ourDomain.mainDomain.edu
dspace.url = http://www.ourDomain.mainDomain.edu/dspaceX

But it's more likely that you have Apache HTTPD in front of Tomcat, in
that case you should have the port Tomcat is listening on in
dspace.cfg:

dspace.hostname = www.ourDomain.mainDomain.edu
dspace.baseUrl = http://www.ourDomain.mainDomain.edu:8080
dspace.url = http://www.ourDomain.mainDomain.edu:8080/dspaceX

 We don't have access to define mainDomain, but we have contact with the
 administrators from ourDomain.
 The initial configuration failed because the URL above stayed fixed and we
 lost the handle when navigating by itens.

Your local handle server is usually referred to by IP, so unless also
your IP changed, this shouldn't break. If the IP changed, all that
should be necessary is to change all instances of bind_address in
your config.dct to the new IP and restart your handle server (if I
remember correctly).

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] Aside: PostgreSQL 9 working well with DSpace

2012-06-14 Thread helix84
On Thu, Jun 14, 2012 at 3:12 PM, Mark H. Wood mw...@iupui.edu wrote:
 We've been using 9.0 in production with DSpace 1.7.2 for some months,
 without incident.  Time to update requirements?

Glad to hear that, we should mention that in docs. But I don't think
we should bump up _requirements_.

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] [dspace-tech] XMLUI Create Collection/Community Code

2012-06-14 Thread helix84
Hi César,

I'm not sure if it's what you're looking for because I'm not very
familiar with JSPUI, but I looked for it this way:

The URL to create a community is /admin/community?createNew
In 
dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/Administrative/sitemap.xmap:222
the createNew parameter is mapped to the startCreateCollection() function in
dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/Administrative/administrative.js:547
which in turn calls doCreateCollection() in the same file, which
issues a request to
/admin/collection/createCollection which is then mapped in sitemap.xmap:730 to
CreateCollectionForm. Is this what you're looking for?

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