Re: [Dspace-tech] Modifications in DSpace

2011-07-15 Thread Verdonck Christof




Dear


It depends...

- If you will only restart the server after the changes, you
change best the dspace.cfg in the /dspace/config directory.
! Be aware of that fact that this file will be overwritten (with the
/dspace-source/config/dspace.cfg) after a next deploy !


- If you plan to deploy and then restart the server, you change
the dspace.cfg in the /dspace-source/config directory.
This file will, as also mentioned above, overwrite the
/dspace/config/dspace.cfg after deploy.


Yours Sincerely



Christof Verdonck



Guillermo Esteban Murillo Goussen wrote:
Simple question. When I have to do a change, for example:
change the webui.supported.locales, I have to modify the dspace.cfg
file in the dspace installation directory or in the dspace-source
directory?
  
-- 
La pureza del alma no se pierde sin consentimiento
  
  

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
  

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





--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Modifications in Dspace

2011-07-15 Thread Hardik Mishra
Hi Guillermo


If you modify the dspace.cfg in the dspace installation directory, you just 
need to restart Tomcat.


But, If  you change the dspace-src director you need to bring it to the 
installation directory.




Regards
Hardik Mishra
Ahmedabad - Gujarat


Message: 7
Date: Thu, 14 Jul 2011 16:09:19 -0600
From: Guillermo Esteban Murillo Goussen mem...@gmail.com
Subject: [Dspace-tech] Modifications in DSpace
To: dspace-tech@lists.sourceforge.net
Message-ID:
CAMf=-HWpnOiS6aFMF-+oKUku2quF+KaPX5M4_B69HisbSju=w...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

Simple question.  When I have to do a change, for example: change the
webui.supported.locales, I have to modify the dspace.cfg file in the dspace
installation directory or in the dspace-source directory?

-- 
La pureza del alma no se pierde sin consentimiento

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Client access is not possible.

2011-07-15 Thread Tim Donohue
Hello,

I'm not sure I fully understand what you mean by client access is not 
possible?  Do you mean that DSpace is not accessible via the web?

Is it possible that a firewall could be blocking the port you are using 
to access DSpace?  For example, if you are running Tomcat on port 8080, 
you should make sure that port is not being blocked by a system firewall.

You also may want to check your dspace log files to see if any error 
messages are appearing there (it looks like you only attached your 
Tomcat logs, which don't give enough information about what may be going 
on).

Here's a How-To guide which should help you locate those logs and 
troubleshoot any error messages:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

If you notice errors in your DSpace logs that don't make sense, feel 
free to forward the error messages to this mailing list, and we'll try 
to help you resolve the problem.

- Tim

On 7/15/2011 1:08 AM, shiva kumara wrote:


 Hi All,

 This is from Shivakumara RM, working as librarian in Bangalore. I have
 installed Dspace 1.7.0 on Windows Platform.It was working fine and it
 was access by LAN also. Since last week Dspace is working well with the
 stand alone system only not in LAN. It is not access by the Clients in
 the sense other systems.

 I do not know what problem is associated with Dspace. Kindly help me in
 this regard.

 Do find an log file of Dspace and Tomcat




 --

 Thanking you,
 Shivakumara RM
 http://sites.google.com/site/aigslibrary



 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on Lean Startup
 Secrets Revealed. This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev



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

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Client access is not possible.

2011-07-15 Thread Vinit
Dear Shiva,

I guess your router allots IP address using DHCP, sometimes this causes
reallocation of IP with different number (Due to shutting down the machine
for a long time or a router restart). So kindly check the IP you have given
in dspace.cfg is same as the current IP of your server.

Best solution would be to put the hostname in dspace.cfg than writing IP
number. So that you could access DSpace using
http://your_machines_hostname.local:8080/jspui (In LAN only)

Hope it solves your issue.


On 14 July 2011 10:37, shiva kumara shivu...@gmail.com wrote:

 Hi All,

 This is from Shivakumara RM, working as librarian in Bangalore. I have
 installed Dspace 1.7.0 on Windows Platform.It was working fine and it was
 access by LAN also. Since last week Dspace is working well with the stand
 alone system only not in LAN. It is not access by the Clients in the sense
 other systems.

 I do not know what problem is associated with Dspace. Kindly help me in
 this regard.

 Do find an log file of Dspace and Tomcat



 --
 Thanking you,
 Shivakumara RM
 http://sites.google.com/site/aigslibrary



 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on Lean Startup
 Secrets Revealed. This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Regards
Vinit Kumar
Assistant Professor,
Dr. Ranganathan Institute of Library and Information Science
Bundelkhand University
Jhansi, U.P. 284128
Alt email: vi...@drtc.isibang.ac.in
Home page: http://drtc.isibang.ac.in/~vinit
===
Join DLRG : http://drtc.isibang.ac.in/dlrg
Submit your articles to LDL : https://drtc.isibang.ac.in/
--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding cosing to manakin

2011-07-15 Thread Mark Diggory
Robin,

Can you post the Action code and the sitemap you used here? I think
Jose needs to see this in a complete context.  Likewise, maybe its
something we can write a cosine authenticator addon for future dspace
releases.

Mark

On Tue, Jul 12, 2011 at 8:22 AM, Robin Taylor robin.tay...@ed.ac.uk wrote:
 Hi Jose,

 Not sure if I am understanding the problem correctly but I have had
 Cosign working with the XMLUI before so here is what we did...

 1. Add the Cosign Filter to the web.xml. That should cause you to get
 redirected to your 'cosign' login page'.

 2. Add a new Cocoon Action to the main Cocoon sitemap.xmap. to invoke a
 new class. Cosign will have added the 'principal' to the incoming
 request, this new class should extract that info and do whatever you
 want with it eg find a matching eperson.

 map:pipeline
            map:match pattern=no-account
                !-- We have already checked the login and failed --
                map:mount check-reload=no src=themes/themes.xmap
 uri-prefix=/
            /map:match

                        map:match pattern=**
                map:act type=CheckLogin/
                            map:mount check-reload=no 
 src=themes/themes.xmap
 uri-prefix=/
                        /map:match
                /map:pipeline

 (Apologies for the line wrapping)


 Its worth pointing out that we were protecting the whole repo, hence the
 check on pattern=**. If this sounds like what you need then reply and
 I'll send you more details.

 Cheers, Robin.





 On Mon, 2011-07-11 at 14:36 +0100, Blanco, Jose wrote:
 Any suggestions?  Really stuck here.



 From: Blanco, Jose [mailto:blan...@umich.edu]
 Sent: Wednesday, July 06, 2011 3:09 PM
 To: Mark Diggory
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] adding cosing to manakin




 Mark, I’m getting closer, now I can get the cosign page and login
 successfully, but what I did is map the /webiso-login to the servlet
 Cocoon.



   servlet-mapping

     servlet-nameCocoon/servlet-name

     url-pattern/webiso-login/url-pattern

   /servlet-mapping



 In the jsp environment I had it mapped to a specifc servlet that did
 some special things, but I’m not sure how to do this in the xmlui
 environment.  In the xmlui area there is only one servlet – Cocoon.
 Where do I put my jspui servlet code to handle auth?  As you can tell
 I’m new to Cocoon.



 Thank you!

 Jose



 From: mdigg...@gmail.com [mailto:mdigg...@gmail.com] On Behalf Of Mark
 Diggory
 Sent: Monday, June 27, 2011 8:26 PM
 To: Blanco, Jose
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] adding cosing to manakin




 No, each webapp needs to list its needed dependencies separately.
 Listing cosign as a dependency in dspace/pom.xml will only place it
 into the commandline application lib directory.

 On Fri, Jun 24, 2011 at 8:33 AM, Blanco, Jose blan...@umich.edu
 wrote:

 Mark,  the dspace/pom.xml is the only place that the jscosign is
 listed, and it seems like it would hold for all the apps.



 Take a look.



 From: Mark Diggory [mailto:mdigg...@atmire.com]
 Sent: Friday, June 24, 2011 1:48 AM
 To: Blanco, Jose
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] adding cosing to manakin




 Yes, you need to look for the dependency for cosign in your jspui
 pom.xml and add it to your xmlui pom.xml




 Best,


 Mark

 On Thu, Jun 23, 2011 at 12:00 PM, Blanco, Jose blan...@umich.edu
 wrote:

 I have cosign running in my jspui, and I'm trying to run it now in
 xmlui, so I added the following to the xmui web.xml file:

 filter
    filter-nameCosign Authentication Filter/filter-name

  filter-classedu.umich.auth.cosign.CosignAuthenticationFilterIII/filter-class
    init-param
      param-nameCosign.ConfigurationFile/param-name

  param-value/l1/dspace/repository/dev/config/cosignConfigBlancoj.xml/param-value
    /init-param

    init-param
      param-nameAuth.JAASConfigurationFile/param-name
      param-value/l/local/apache-tomcat/conf/jaas.conf/param-value
    /init-param

  /filter

  servlet-mapping
    servlet-namewebiso-login/servlet-name
    url-pattern/webiso-login/url-pattern
  /servlet-mapping

  filter-mapping
    filter-nameCosign Authentication Filter/filter-name
    url-pattern/webiso-login/url-pattern
  /filter-mapping

 And I'm getting this error:

 SEVERE: Parse error in application web.xml file at
 jndi:/blancoj.dev.deepblue.lib.umich.edu/WEB-INF/web.xml
 java.lang.IllegalArgumentException: Filter mapping specifies an
 unknown filter name Cosign Authentication Filter
        at
 org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2726)
        at
 org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2752)
        at
 org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1061)
        at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
        at
 

[Dspace-tech] Using ItemImport class

2011-07-15 Thread Heitor Barbieri


Hello, 

I want to import many documents located at different (DSpace's simple archive 
format) directories. 
To do that would use the ItemImport class from my java program but I think it 
is not possible because: 
a) the addItems() method is private 
b) the main() function calls System.exit() 

Is there another way to do that task without using that class? 

Why don't I put all files in the same directory? It's because the number of 
documents to import is too large, so I 
have to divide then into many directories. 

Thanks for your attention. 

Heitor Barbieri 
BIREME/PAHO/WHO 





--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] last_active column in Eperson table in DSpace 1.7.1

2011-07-15 Thread Thornton, Susan M. (LARC-B702)[LITES]
Hi,

 DSpace version 1.7.1 has a column in the Eperson table called last_active, 
however I just searched the entire source library and I didn’t find any 
reference to it.  Our Users asked today for me to make a modification to DSpace 
to store the time of the Users’ last login in order to assist in the yearly 
User revalidation process and I didn’t remember this column being there.  It’s 
easy enough for me to add code to the Eperson class to update this column upon 
successful authentication/login, but I’m just wondering if it was an oversight 
in not being there already?  Or was there another purpose intended?

Thanks,

Sue







Sue Walker-Thornton

Software Developer/Database Administrator

NASA Langley Research Center|LITES Contract

SGT, Inc.|130 Research Drive

Hampton, Va.  23666

Office: (757) 224-4074

Mobile: (757) 506-9903

Fax: (757) 224-4001

susan.m.thorn...@nasa.gov



--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech