[Dspace-tech] bitstreams indexed in DSpace?

2012-03-27 Thread Shixing Wen
Are bitstreams indexed for full-text search in DSpace? I have been waving
whether to treat serial publications, say a journal or a newsletter, as one
item or as one collection. Ideally, it should be treated as an item. That
way, we don't need to create metadata for each individual issue. But it
seems that a full-text indexing is only generated in DSpace at the item
level. If that is the case, none of the issues treated as bitstreams are
searchable in full-text, right? If that is true, then we'll have to treat a
serial publication as a collection with each issue as an item.

Please clarify.

Thanks,

Shixing
-- 
---
Shixing Wen
Head of Technical Services
University of Minnesota Duluth Library
416 Library Drive
Duluth, MN 55812

218-726-8498
s...@d.umn.edu

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Restricition Issue

2012-03-27 Thread Sonia R Thompson
Hello DSpace Admins,

 

I am having a strange problem with my DSpace 1.7 installation.  I am able to
create Communities, Collections and Items successfully using the "jspui"
interface.  However, when I configure the restrictions for one of my
Communities, an anonymous user is still able to access it via the "jspui".
When the anonymous user tries to access the restricted Community using the
"xmlui" interface they get the "Item is restricted" page and is asked to
login.  Why is this happening.  Doesn't the restrictions work for both
interfaces.  The preferred interface of my organization is the jspui and I
would like to continue using this interface as all the modifications have
been done here already.  Can anyone assist?

 

Thanks

Sonia

 

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication Configuration

2012-03-27 Thread Mesfin Teshome


Dear all,
Thank you very much for all the help. Lorenzo, Helix, Oscar, Shanu...your 
help is very much appreciated. I have finally been able to login using an AD 
account. This is a very helpful forum.
Mesfin--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Metadata In dspace

2012-03-27 Thread helix84
On Tue, Mar 27, 2012 at 13:01, ritika bhalla  wrote:
> Also, i am using groovy for scripting

Hi Ritika,

just take a look at the [dspace]/bin/dspace shell script, you'll
notice it's just a wrapper for org.dspace.app.launcher.ScriptLauncher.
>From Groovy, you can call the Java classes directly. You can find a
list of them in [dspace]/config/launcher.xml

Regards,
~~helix84

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Community Admin Boolean

2012-03-27 Thread KC Roa
How can I set or what is the code for the Boolean element of a
community administrator? I don't know what to put inside the
getAttribute("") function. Thank you for your response.


Example:
For a system administrator, it is:

Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Metadata In dspace

2012-03-27 Thread ritika bhalla
Hi,

I have successfully imported data into Dspace and created scripts for
creating the content files and also for modifying the XMLs. ( The XMLs i
had were not dublin encoded).

Now, i was wondering if instead of using the command line for batch import
if i can write a script for that too..
Would be glad if you could guide me for the same.

Also, i am using groovy for scripting

Looking forward to your response,
Thanks,
Ritika

On Mon, Mar 12, 2012 at 8:33 PM, Brian Freels-Stendel wrote:

> Hi Ritika,
>
> DSpace does have the capability.  The import needs to have a specific
> structure, which can be found here:
> https://wiki.duraspace.org/display/DSDOC18/Importing+and+Exporting+Items+via+Simple+Archive+Format
> .
>
> Getting files into this structure (and creating the contents files) is
> easier if you can write a script (I use perl.)
>
> B--
>
> >>> On 3/12/2012 at 4:37 AM, in message
> ,
> ritika
> bhalla  wrote:
> > Hi Hoang,
> >
> > What i am actually interested in doing is :
> >
> > I have an item, say a doc file that i have to submit to a collection. And
> > also i have an XML file ( in dublin core format ) for this doc file. This
> > XML file contains the metadata for the doc file. Now instead of writing
> the
> > metadata manually, i want that i can upload this XML file also just as i
> > would upload my doc file.
> >
> > On Mon, Mar 12, 2012 at 3:00 PM, revskill  wrote:
> >
> >> You can try the batch editting tool itemupdate, it has option to provide
> >> dublin core xml file
> >>
> >> 2012/3/12 ritika bhalla 
> >>
> >>> Hi all,
> >>>
> >>> I had a query related to Dspace metadata.
> >>>
> >>> If i have a Dublin Core encoded XML with me for a given item, can i
> >>> upload it directly while submitting that item to a collection instead
> of
> >>> entering the metadata manually??
> >>>
> >>> Kindly reply as soon as possible.
> >>>
> >>> Thanks
> >>> Ritika
> >>>
> >>>
> --
> >>> Try before you buy = See our experts in action!
> >>> The most comprehensive online learning library for Microsoft developers
> >>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
> MVC3,
> >>> Metro Style Apps, more. Free future releases when you subscribe now!
> >>> http://p.sf.net/sfu/learndevnow-dev2
> >>> ___
> >>> DSpace-tech mailing list
> >>> DSpace-tech@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >>>
> >>>
> >>
> >>
> >> --
> >> TRUONG HOANG DUNG*
> >> **Librarian Researcher
> >> **Information and Library Centre
> >> Mobile: 0121.411.5322
> >> Email: dun...@hpu.edu.vn*
> >> *Hai Phong Private University* 
> >>
>
>
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication Configuration

2012-03-27 Thread Mesfin Teshome
Hi , 
   Thank you, Helix. Shanu, I want to use multiple authentication methods 
and which is why I have both password and ldaphierarchical. I think from my 
reading, that's possible. I can be wrong. I am attaching the current 
authentication method config file. 
 
Mesfin



From: helix84 
To: Mesfin Teshome  
Cc: "elore...@arvo.es" ; "dspace-tech@lists.sourceforge.net" 
 
Sent: Tuesday, March 27, 2012 11:47 AM
Subject: Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication 
Configuration

On Tue, Mar 27, 2012 at 10:37, Mesfin Teshome  wrote:
> org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:298)

This is the line that throws the error, there's probably a problem in
provider_url config property.
env.put(javax.naming.Context.PROVIDER_URL, ldap_provider_url);

Just to make sure, send us also your current
plugin.sequence.org.dspace.authenticate.AuthenticationMethod

Regards,
~~helix84

authentication.cfg
Description: Binary data


authentication-ldap.cfg
Description: Binary data
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication Configuration

2012-03-27 Thread helix84
On Tue, Mar 27, 2012 at 10:37, Mesfin Teshome  wrote:
> org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:298)

This is the line that throws the error, there's probably a problem in
provider_url config property.
env.put(javax.naming.Context.PROVIDER_URL, ldap_provider_url);

Just to make sure, send us also your current
plugin.sequence.org.dspace.authenticate.AuthenticationMethod

Regards,
~~helix84

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication Configuration

2012-03-27 Thread Mesfin Teshome
Hi Emilio,
  Thank you for your help. I have made the changes as you suggested even 
flipped around the authentication method so that LDAPHierarchicalAuthentication 
becomes the first one, still no go. Here is the error I am getting and the 
detailed java error.Internal System Error
The system has experienced an internal error. Please try to do what you were 
doing again, and if the problem persists, please contact us so we can fix the 
problem.
 
java.lang.NullPointerException
 at java.util.Hashtable.put(Hashtable.java:411)
 at 
org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:298)
 at 
org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:172)
 at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
 at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
 at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 at java.lang.Thread.run(Thread.java:679)
 
Mesfin


From: Emilio Lorenzo 
To: Mesfin Teshome  
Cc: "dspace-tech@lists.sourceforge.net"  
Sent: Tuesday, March 27, 2012 10:17 AM
Subject: Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication 
Configuration


Hi, Mesfin
I think you must add to your current auth stack, something similar to:


plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \  
org.dspace.authenticate.PasswordAuthentication, \
org.dspace.authenticate.LDAPHierarchicalAuthentication

(unless you modified the ldapAuthentication class.to behave as
LDAPhierarchical)

best luck
Emilio Lorenzo

>  
> I am using stackable authentication. The PasswordAuthentication is working
> because I am able to log in using the username I created during the
> installation.
>  
> The last dspace log shows
>  
> 44,016 WARN org.dspace.app.webui.servelet.InternalErrorServlet @
> :session_id=B8EC2A1DA78C76068AFDB5516957AADD:internal_error:-- URL Was:
> http:///jspui/register
> Method: POST
> Parameters were:
> submit: "Register"
> email: ""
> netid: "LDAPusername"
> password: 
> step: "1"
>
> Below is the error I get when I try to register
>
> Internal System Error
> The system has experienced an internal error. Please try to do what you
> were doing again, and if the problem persists, please contact us so we can
> fix the problem.
>
>
> Do you have any idea what the problem could be? What do you login with
> (UPN, domain\sAMAccountName, or just sAMAccountName)? I have tried all. Am
> I missing something?
>
> Thanks again. I appreciate your help.
>
> 
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>


-- 
Emilio  Lorenzo
Arvo Consultores



AVISO LEGAL


Este mensaje es privado y confidencial y solamente para la persona a la
que va dirigido. Si usted ha recibido este mensaje por error, no debe
revelar, copiar, distribuir o usarlo en ningún sentido. Le rogamos lo
comunique al remitente y borre dicho mensaje y cualquier documento adjunto
que pudiera contener. No hay renuncia a la confidencialidad ni a ningún
privilegio por causa de transmisión errónea o mal funcionamiento.
Cualquier opinión expresada en este mensaje pertenece únicamente al
remitente, y no representa necesariamente la opinión de Arvo Consultores,
a no ser que expresa

Re: [Dspace-tech] Dspace 1.8 Active Directory Authentication Configuration

2012-03-27 Thread Emilio Lorenzo

Hi, Mesfin
 I think you must add to your current auth stack, something similar to:


 plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \   
org.dspace.authenticate.PasswordAuthentication, \
org.dspace.authenticate.LDAPHierarchicalAuthentication

(unless you modified the ldapAuthentication class.to behave as
LDAPhierarchical)

best luck
Emilio Lorenzo

>  
> I am using stackable authentication. The PasswordAuthentication is working
> because I am able to log in using the username I created during the
> installation.
>  
> The last dspace log shows
>  
> 44,016 WARN org.dspace.app.webui.servelet.InternalErrorServlet @
> :session_id=B8EC2A1DA78C76068AFDB5516957AADD:internal_error:-- URL Was:
> http:///jspui/register
> Method: POST
> Parameters were:
> submit: "Register"
> email: ""
> netid: "LDAPusername"
> password: 
> step: "1"
>
> Below is the error I get when I try to register
>
> Internal System Error
> The system has experienced an internal error. Please try to do what you
> were doing again, and if the problem persists, please contact us so we can
> fix the problem.
>
>
> Do you have any idea what the problem could be? What do you login with
> (UPN, domain\sAMAccountName, or just sAMAccountName)? I have tried all. Am
> I missing something?
>
> Thanks again. I appreciate your help.
>
> 
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>


-- 
Emilio  Lorenzo
Arvo Consultores



AVISO LEGAL


Este mensaje es privado y confidencial y solamente para la persona a la
que va dirigido. Si usted ha recibido este mensaje por error, no debe
revelar, copiar, distribuir o usarlo en ningún sentido. Le rogamos lo
comunique al remitente y borre dicho mensaje y cualquier documento adjunto
que pudiera contener. No hay renuncia a la confidencialidad ni a ningún
privilegio por causa de transmisión errónea o mal funcionamiento.
Cualquier opinión expresada en este mensaje pertenece únicamente al
remitente, y no representa necesariamente la opinión de Arvo Consultores,
a no ser que expresamente se diga y el remitente esté autorizado para
hacerlo. Los correos electrónicos no son seguros, no garantizan la
confidencialidad ni la correcta recepción de los mismos, dado que pueden
ser interceptados, manipulados, destruidos, llegar con demora,
incompletos, o con virus. Arvo Consultores no se hace responsable de las
alteraciones que pudieran hacerse al mensaje una vez enviado. En caso de
que el receptor no quiera recibir mas correos de esta dirección deberá
notificarlo a la dirección a...@arvo.es.








--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech