[Dspace-tech] Upload file error is coming when i m trying to submit to the collection and uploading the files

2010-07-20 Thread इन्‍दु भूषण Indu Bhushan
Dear all

 Anonymous group in Dsapce was deleted. I have solved this problem as per
your advice.
 Now Upload file error is coming when i m trying to submit to the collection
and uploading the files.

I have seen following lines in log file.

2010-07-20 12:49:11,221 WARN  org.dspace.app.webui.servlet.SubmitServlet @
i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:upload_error
:
java.io.IOException: No such file or directory

I have check the permission of directories.


Last login: Tue Jul 20 13:26:53 2010 from scanner
[r...@library root]# cd /opt/dspace/
You have new mail in /var/spool/mail/root
[r...@library dspace]# ls -al
total 120
drwxr-xr-x   16 dspace   dspace   4096 May 25  2009 .
drwxrwxrwx   12 root root 4096 May 22  2009 ..
lrwxrwxrwx1 dspace   dspace 29 May 25  2009 assetstore ->
/ebooks/assetstore/assetstore
drwxr-xr-x2 dspace   dspace   4096 May  9  2007 bin
drwxrwxr-x4 dspace   dspace   4096 May 22  2008 build
-rw-r--r--1 dspace   dspace  18528 Jun 30  2006 build.xml
-rw-r--r--1 dspace   dspace  24422 May  9  2007 CHANGES
drwxr-xr-x8 dspace   dspace   4096 Jan 15  2009 config
drwxr-xr-x4 dspace   dspace   4096 May  9  2007 docs
drwxr-xr-x3 dspace   dspace   4096 May  9  2007 etc
drwxrwxr-x2 dspace   dspace   4096 May 22  2008 handle-server
drwxrwxr-x3 dspace   dspace   4096 May 22  2008 history
drwxr-xr-x   22 dspace   dspace   4096 Jun 18  2008 jsp
-rw-r--r--1 dspace   dspace   2927 May  9  2007 KNOWN_BUGS
drwxr-xr-x3 dspace   dspace   4096 May 22  2008 lib
-rw-r--r--1 dspace   dspace   1931 Nov  7  2006 LICENSE
drwxrwxr-x2 dspace   dspace   4096 Jul  2 16:31 log
-rw-r--r--1 dspace   dspace729 May  9  2007 README
drwxrwxr-x2 dspace   dspace   4096 May 22  2008 reports
drwxrwxr-x2 dspace   dspace   4096 Jul 20 15:09 search
drwxr-xr-x4 dspace   dspace   4096 May  9  2007 src
drwxrwxr-x2 dspace   dspace   4096 Jul 20 15:59 upload
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk editing of PDF bitstreams?

2010-07-20 Thread Kim Shepherd
Also, to give you an actual solution that'll work right now, here's what
I've done in the past (when forgetting to concatenate PDFs properly and
apply coverpages!):

1. Use the DSpace CLI "export" tool to export all items in the collection
you're working on:
"[dspace]/bin/export -d /path/to/export/dir -i 12345/1 -n 0 -t COLLECTION",
where 12345/1 is the handle of your collection and /path/to/export/dir is
the directory you want your exported items to be stored.
(in DSpace 1.6 and later, you can use "[dspace]/bin/dspace export" instead
of "[dspace]/bin/export")

2. Back the export directory up, just in case :)

3. Using a tool like PDFTK (http://www.accesspdf.com/pdftk/), write a Bash
or Perl script (or Windows batch file) to loop through directories and
concatenate the coverpage and original PDF into a new PDF, and delete the
old one.
The exact script you want will vary, but I can give some Linux examples if
you're interested. Note that the concatenation will fail on PDFs that are
secured.

4. Generate a map file associating the sequence numbers of your exported
items (the numbered directories in your export directory) with their
handles. This would be a lot easier if we could tell the dspace export CLI
app to generate a mapfile for us, but unfortunately that hasn't quite made
it into DSpace yet. I can offer some script examples here, too.

5. Use the generated mapfile to do a replace ([dspace]/bin/import -h to see
usage) of all the exported items back into the collection you're working in.

This approach doesn't actually generate the coverpages, it assumes you have
a single PDF you just want to attach to the front of your theses. It also
won't preserve the originals, unless you change Step 3 a little bit (keeping
old file, add a new entry to the item's "contents" file, change the bundle
of the original one to something other than "ORIGINAL" or "CONTENT").

If you want to give this a try, I'd suggest testing everything out on a
small collection on a test server first, and performing backups at each step
of the way, because there are a lot of failure opportunities when working on
a whole set of items.

Cheers,

Kim.

On 21 July 2010 13:02, Kim Shepherd  wrote:

> Hi Andrew,
>
> I've had a few informal discussions with people around this as well, and
> one approach we hit on was to create a new media-filter plugin to create
> "access versions" of PDFs, with dynamically-generated coverpages attached.
>
> The "media filter" plugins in DSpace are responsible for things like
> extraction of full text from PDFs (creating the .pdf.txt bitstreams),
> creating thumbnail images (eg. the .jpg.jpg bitstreams), and so on.
>
> Advantages to this approach:
>
> - The plugin would run regularly with the other media-filter plugins, so
> there is no manual effort on the part of repository administrators
>
> - The plugin would create a new version of the pdf for public access, so
> you can still keep the original archived as a preservation copy rather than
> manipulating the only copy in DSpace (and upsetting the checksum checker, as
> helix mentioned in their reply)
>
> - The items being filtered are already archived, so information like handle
> URI can be used in the coverpage.
>
> I believe something like this might already be used by one or two DSpace
> repositories but I'm not 100% sure so I don't want to name any names yet
> ;-).
>
> It's definitely something that's on my radar. If I come up with a demo
> plugin I'll be sure to share it with the community.
>
> Cheers!
>
> Kim
>
>
>
> On 21 July 2010 09:48, White, Andrew  wrote:
>
>>  Can anyone suggest a way to bulk add 1 page to every PDF bitsream in a
>> particlar collection, perhaps using export/import or perhaps SWORD?
>>
>>
>>
>> We want to add a coversheet to all existing theses in our DSpace archive,
>> without having to do it one-by-one.
>>
>>
>>
>> Thank
>>
>>
>>
>> *Andrew White*
>>
>> *Information Technology Librarian*
>>
>>
>>
>> *George Forbes Memorial Library*
>>
>> *PO Box 64*
>>
>> *Lincoln University*
>>
>> *Lincoln 7647*
>>
>> *Christchurch, New Zealand*
>>
>>
>>
>> *p* +64 3 321 8542 | *f* +64 3 325 2944
>>
>> *e* andrew.wh...@lincoln.ac.nz | *w* library.lincoln.ac.nz
>>
>>
>>
>> *Lincoln University, Te Whare Wanaka o Aoraki*
>>
>> *New Zealand's Specialist Land Based University*
>>
>>
>>
>>
>>
>>
>> "The contents of this e-mail (including any attachments) may be confidential 
>> and/or subject to copyright. Any unauthorised use,
>>
>> distribution, or copying of the contents is expressly prohibited.  If you 
>> have received this e-mail in error, please advise the sender
>>
>> by return e-mail or telephone and then delete this e-mail together with all 
>> attachments from your system."
>>
>>
>> --
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> 

Re: [Dspace-tech] Bulk editing of PDF bitstreams?

2010-07-20 Thread Kim Shepherd
Hi Andrew,

I've had a few informal discussions with people around this as well, and one
approach we hit on was to create a new media-filter plugin to create "access
versions" of PDFs, with dynamically-generated coverpages attached.

The "media filter" plugins in DSpace are responsible for things like
extraction of full text from PDFs (creating the .pdf.txt bitstreams),
creating thumbnail images (eg. the .jpg.jpg bitstreams), and so on.

Advantages to this approach:

- The plugin would run regularly with the other media-filter plugins, so
there is no manual effort on the part of repository administrators

- The plugin would create a new version of the pdf for public access, so you
can still keep the original archived as a preservation copy rather than
manipulating the only copy in DSpace (and upsetting the checksum checker, as
helix mentioned in their reply)

- The items being filtered are already archived, so information like handle
URI can be used in the coverpage.

I believe something like this might already be used by one or two DSpace
repositories but I'm not 100% sure so I don't want to name any names yet
;-).

It's definitely something that's on my radar. If I come up with a demo
plugin I'll be sure to share it with the community.

Cheers!

Kim



On 21 July 2010 09:48, White, Andrew  wrote:

>  Can anyone suggest a way to bulk add 1 page to every PDF bitsream in a
> particlar collection, perhaps using export/import or perhaps SWORD?
>
>
>
> We want to add a coversheet to all existing theses in our DSpace archive,
> without having to do it one-by-one.
>
>
>
> Thank
>
>
>
> *Andrew White*
>
> *Information Technology Librarian*
>
>
>
> *George Forbes Memorial Library*
>
> *PO Box 64*
>
> *Lincoln University*
>
> *Lincoln 7647*
>
> *Christchurch, New Zealand*
>
>
>
> *p* +64 3 321 8542 | *f* +64 3 325 2944
>
> *e* andrew.wh...@lincoln.ac.nz | *w* library.lincoln.ac.nz
>
>
>
> *Lincoln University, Te Whare Wanaka o Aoraki*
>
> *New Zealand's Specialist Land Based University*
>
>
>
>
>
>
> "The contents of this e-mail (including any attachments) may be confidential 
> and/or subject to copyright. Any unauthorised use,
>
> distribution, or copying of the contents is expressly prohibited.  If you 
> have received this e-mail in error, please advise the sender
>
> by return e-mail or telephone and then delete this e-mail together with all 
> attachments from your system."
>
>
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Bulk editing of PDF bitstreams?

2010-07-20 Thread helix84
On Tue, Jul 20, 2010 at 23:48, White, Andrew  wrote:
> Can anyone suggest a way to bulk add 1 page to every PDF bitsream in a 
> particlar collection, perhaps using export/import or perhaps SWORD?
>
> We want to add a coversheet to all existing theses in our DSpace archive, 
> without having to do it one-by-one.

Hello Andrew,
it seems to me this is a file editing task and has little to do with
DSpace except the files are already stored there. I can recommend
pdftk for splitting and add merging pages in PDF. You would have to
reach to the DSpace database to connect a specific document with its
asset ID, though. Also, documents in the assetstore are checksummed,
so I don't know what will happen if you change the files. You might
have to update the checksums in DB, too, but don't take just my word
for it, something might break.

Regards,
~~helix84

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Bulk editing of PDF bitstreams?

2010-07-20 Thread White, Andrew
Can anyone suggest a way to bulk add 1 page to every PDF bitsream in a 
particlar collection, perhaps using export/import or perhaps SWORD?

We want to add a coversheet to all existing theses in our DSpace archive, 
without having to do it one-by-one.

Thank

Andrew White
Information Technology Librarian

George Forbes Memorial Library
PO Box 64
Lincoln University
Lincoln 7647
Christchurch, New Zealand

p +64 3 321 8542 | f +64 3 325 2944
e andrew.wh...@lincoln.ac.nz | w 
library.lincoln.ac.nz

Lincoln University, Te Whare Wanaka o Aoraki
New Zealand's Specialist Land Based University

"The contents of this e-mail (including any attachments) may be confidential 
and/or subject to copyright. Any unauthorised use, 
distribution, or copying of the contents is expressly prohibited.  If you have 
received this e-mail in error, please advise the sender 
by return e-mail or telephone and then delete this e-mail together with all 
attachments from your system."
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to deploy dspace using glassfish

2010-07-20 Thread MOHIT SHARMA
Hey ,

Relax thats not an error  in your tomcat or it doesnt means that ur tomcat
is not working .
when u click on startup , try checking http://localhost:8080 on ur broswer .
That would tell weather ur tomcat is working or not .

second of statring tomcat is
do "cd" in the terminal till the location of startup.bat folder and type
command  ./.(not sure about second dot) startup.sh, this will show u tomcat
running in ur terminal .
Do tell me the result .. waiting for ur reply :)



Mohit Sharma


On Sun, Jul 18, 2010 at 22:02, Adewole Adewumi  wrote:

> Thanks for your response.
>
> When I double-click on startup.bat in Tomcat's bin directory, the command
> prompt window that should pop up and show that Tomcat has started just
> flashes on my screen and disappears leaving me with no error messages.
>
> --
> *From:* MOHIT SHARMA 
> *To:* Adewole Adewumi 
> *Cc:* dspace-tech 
> *Sent:* Sat, July 17, 2010 8:12:59 AM
> *Subject:* Re: [Dspace-tech] How to deploy dspace using glassfish
>
> May i knw what was the error with the tomcat ?
>
>
>
>
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] stats and crawler count

2010-07-20 Thread Blanco, Jose
Just to make sure that I understand:


(1)Using the spider files, the ips listed in these files are filtered out 
before stats are computed.  So in other words,
This ip:  77.88.25.28 is found in one of these files, so visits from this ip 
are not counted.


(2)Also,  I noticed that some IPs are commented out in some of the spider 
files, so I suppose these are not filtered out.  For example:

# Snap.com
# UA "snap.com beta crawler v0"
# UA "Snapbot/1.0"
# UA "semanticdiscovery/0.2(http://www.semanticdiscovery.com/sd/robot.html)"
# UA "semanticdiscovery/0.4(http://www.semanticdiscovery.com/sd/robot.html";
# 38.98.19.100
# 38.98.19.101
# 38.98.19.102
# 38.98.19.103
# 38.98.19.104
# 38.98.19.105
# 38.98.19.106

Why are thes commented out?


(3)And finally, in some of the spider files, you find things that refer to 
websites, and it is not commented out, for example,

# Yahoo.com URL verifiers
# UA "Mozilla/4.05"
morgue1.corp.yahoo.com
216.145.54.35
hanta.yahoo.com
216.145.50.40

I suppose that the ips are filtered out, but what does the code do with 
morgue1.corp.yahoo.com and hanta.yahoo.com?

Thanks! Jose


From: Bram Luyten [mailto:b...@mire.be]
Sent: Tuesday, July 20, 2010 4:14 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] stats and crawler count

Dear Jose,

here are some relevant excerpts from the documentation at 
http://www.dspace.org/1_6_2Documentation/

if it still leaves you with questions, please elaborate, so we can improve the 
documentation.
5.2. The dspace.cfg Configuration Properties File
5.2.49. DSpace SOLR Statistics Configuration
Property:

solr.log.server

Example Value:

solr.log.server = ${dspace.baseUrl}/solr/statistics

Informational Note:

Is used by the SolrLogger Client class to connect to the SOLR server over http 
and perform updates and queries.



Property:

solr.spidersfile

Example Value:

solr.spidersfile = ${dspace.dir}/config/spiders.txt

Informational Note:

Spiders file is utilized by the SolrLogger, this will be populated by running 
the following command:dsrun org.dspace.statistics.util.SpiderDetector -i 



Property:

solr.dbfile

Example Value:

solr.dbfile = ${dspace.dir}/config/GeoLiteCity.dat

Informational Note:

The following refers to the GeoLiteCity database file utilized by the 
LocationUtils to calculate the location of client requests based on IP address. 
During the Ant build process (both fresh_install and update) this file will be 
downloaded from http://www.maxmind.com/app/geolitecity if a new version has 
been published or it is absent from your [dspace]/config directory.



Property:

useProxies

Example Value:

useProxies = true

Informational Note:

Will cause Statistics logging to look for X-Forward URI to detect clients IP 
that have accessed it through a Proxy service. Allows detection of client IP 
when accessing DSpace.



Property:

statistics.item.authorization.admin

Example Value:

statistics.item.authorization.admin = true

Informational Note:

Enables access control restriction on DSpace Statistics pages, Restrictions are 
based on access rights to Community, Collection and Item Pages. This will 
require the user to sign on to see that statistics. Setting the statistics to 
"false" will make them publicly available.


Chapter 8. DSpace System Documentation: System Administration
8.15. Client Statistics

Table 8.15. Client Statistics Command Table
Command used:

[dspace]/bin/dspace stats-util

Java class:

org.dspace.statistics.util.StatisticsClient

Arguments (short and long forms):

Description

-u or --update-spider-files

Update Spider IP Files from internet into /dspace/config/spiders. Downloads 
Spider files identified in dspace.cfg under property

-f or --delete-spiders-by-flag

Delete Spiders in Solr By isBot Flag. Will prune out all records that have 
isBot:true

-i or --delete-spiders-by-ip

Delete Spiders in Solr By IP Address. Will prune out all records that have IP's 
that match spider IPs.

-m or --mark-spiders

Update isBog Flag in Solr. Marks any records currently stored in statistics 
that have IP addresses matched in spiders files

-h or --help

Calls up this brief help table at CLI.



Notes:

The usage of these options is open for the user to choose, If they want to keep 
spider entires in their repository, they can just mark them using "-m" and they 
will be excluded from statistics queries when 
"solr.statistics.query.filter.isBot = true" in the dspace.cfg.

If they want to keep the spiders out of the solr repository, they can run just 
use the "-i" option and they will be removed immediately.

There are guards in place to control what can be defined as an IP range for a 
bot, in [dspace]/config/spiders, spider IP address ranges have to be at least 3 
subnet sections in length 123.123.123 and IP Ranges can only be on the smallest 
subnet [123.123.123.0 - 123.123.123.255]. If not, loading that row will cause 
exceptions in the dspace logs and exclude that IP entry.
kindest regards,

Br

[Dspace-tech] Report of DSpace RoadMap Discussions at OR10

2010-07-20 Thread Tim Donohue
All,

I wanted to send out a brief report of the DSpace RoadMap as discussed 
at Open Repositories 2010.  There are two main topics to touch on which 
may be of interest to everyone:

1. Upcoming DSpace 1.7 release
2. "DSpace with Fedora Inside" proposal


== DSpace 1.7 - December 2010 ==

The DSpace developers are hard at work planning out the next major 
release (1.7.0) of DSpace Software.  As announced previously, DSpace 1.7 
is scheduled for release in December 2010.  The developers met in person 
before OR10 to discuss what features should be ready for release in 1.7.

An early list of possible features can now be found on the 1.7.0 Release 
Notes page.  This list of features is still subject to change, and it's 
very likely that new features will be added to the list in the coming 
weeks/months:

https://wiki.duraspace.org/display/DSPACE/DSpace+Release+1.7.0+Notes

Also, if you are interested in reading through the meeting notes from 
our DSpace Developer meeting before OR10, those are posted publicly on 
the wiki at:

https://wiki.duraspace.org/display/DSPACE/DevMtg+2010-07-05+-+OR10+Meeting


== "DSpace with Fedora Inside" proposal ==

If you haven't already heard, at OR10, DuraSpace recommended that the 
DSpace and Fedora communities investigate strategies to allow DSpace 
software to run "on top of" the Fedora platform.  This idea is generally 
being called "DSpace with Fedora Inside".

Much more detail on this recommendation can be found at:

* The proposal: 
http://expertvoices.nsdl.org/duraspace/2010/07/08/duraspace-recommends-dspace-fedora-integration-initiative/

* An FAQ around the initiative: 
https://wiki.duraspace.org/display/DSPACE/DSpace-Fedora+Integration+FAQ

* There are also some higher level details in my OR10 DSpace RoadMap 
talk: http://www.slideshare.net/tdonohue/dspace-roadmap-20102011

DuraSpace is seeking feedback on this recommendation, and is also 
looking for any interested volunteers. DuraSpace does not have the 
technical staff to do this work alone, nor would we want to. As with any 
open source development initiative, the commitment and support of the 
broader community will build a better 'end product', than if one 
institution were to implement it on their own. We are currently looking 
for volunteers to help make this initiative happen.

It's also worth noting that we do not want this initiative to hinder the 
current DSpace development process.  DSpace software will continue to 
improve and add new features as this initiative progresses.  We fully 
expect there to be several releases of DSpace software before we would 
be able to release a DSpace with "Fedora Inside".

If you have thoughts on this recommendation, feel free to share them 
publicly on any DSpace listserv (or add comments to the wiki), or 
privately by emailing myself (tdono...@duraspace.org) or Valorie 
Hollister (vhollis...@duraspace.org).

Thanks!

- Tim

-- 
Tim Donohue
Technical Lead for DSpace Project
DuraSpace.org

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Error - xmlui not found

2010-07-20 Thread Tim Donohue
Shashidhar,

Unfortunately, that 404 error message doesn't give us enough information 
to help diagnose the problem.  In order to figure out what the real 
underlying error is, you'll have to look at the DSpace Log files.

Please see the "How to Troubleshoot an Error" page for information about 
finding the error in the log files:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

Once you locate the error in the logs, if you cannot figure out the 
problem, feel free to send the error message to this listserv. Much more 
information is available on the above wiki page.

Good Luck,

- Tim

On 7/20/2010 1:08 AM, shashidhar chaturvedi wrote:
> Dear All,
>
> I am configuring DSpace1.6 on fedora machine. I got jspui page but when
> i call xmlui page it give this error.
>
>
>   HTTP Status 404 - /xmlui/
>
> 
>
> *type* Status report
>
> *message* _/xmlui/_
>
> *description* _The requested resource (/xmlui/) is not available._
>
> 
>
>
>   Apache Tomcat/5.0.28
>
>
> I tried a lot but i am not able to figure out this problem.
> Sir, please help me how can i solve this problem?
>
> Thanks in advance
>
>
> regards
> Shashidhar Chaturvedi
> NIC Trivandrum
>
>
>
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>
>
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Fwd: Anonymous group in Dsapce deleted by mistake

2010-07-20 Thread इन्‍दु भूषण Indu Bhushan
Dear  Andrea Bollini
Problem is almost solved only upload file error is coming when i m trying to
submit to the collection and uploading the files.

>
>> I have seen following lines in log file.
>>
>> 2010-07-20 12:49:11,221 WARN  org.dspace.app.webui.servlet.SubmitServlet @
>>
>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:upload_error
>> :
>> java.io.IOException: No such file or directory
>>
>>
>>> 2010-07-20 12:48:19,359 INFO  org.dspace.eperson.PasswordAuthentication @
>>> anonymous:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:authenticate:attempting
>>> password auth of user=i...@cat.ernet.in
>>> 2010-07-20 12:48:19,361 INFO  org.dspace.eperson.PasswordAuthentication @
>>>
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:authenticate:type=PasswordAuthentication
>>> 2010-07-20 12:48:19,363 INFO
>>> org.dspace.app.webui.servlet.PasswordServlet @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:login:type=explicit
>>> 2010-07-20 12:48:19,378 INFO
>>> org.dspace.app.webui.servlet.CommunityListServlet @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_community_list
>>> :
>>> 2010-07-20 12:48:22,615 INFO  org.dspace.app.webui.servlet.DSpaceServlet
>>> @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_collection:collection_id=1
>>> 2010-07-20 12:48:22,688 INFO
>>> org.dspace.app.webui.servlet.RetrieveServlet @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_bitstream:bitstream_id=3
>>> 2010-07-20 12:48:26,537 INFO  org.dspace.app.webui.servlet.DSpaceServlet
>>> @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_item:handle=123456789/1431
>>> 2010-07-20 12:48:34,439 INFO  org.dspace.app.webui.servlet.DSpaceServlet
>>> @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_community:community_id=1
>>> 2010-07-20 12:48:34,525 INFO
>>> org.dspace.app.webui.servlet.RetrieveServlet @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_bitstream:bitstream_id=2
>>> 2010-07-20 12:48:37,490 INFO  org.dspace.app.webui.servlet.DSpaceServlet
>>> @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_collection:collection_id=1
>>> 2010-07-20 12:48:37,583 INFO
>>> org.dspace.app.webui.servlet.RetrieveServlet @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_bitstream:bitstream_id=3
>>> 2010-07-20 12:48:38,657 INFO  org.dspace.content.Item @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_item:item_id=1681
>>> 2010-07-20 12:48:38,725 INFO  org.dspace.content.Item @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:create_item:item_id=1681
>>> 2010-07-20 12:48:38,836 INFO  org.dspace.content.Item @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_item:item_id=1681
>>> 2010-07-20 12:48:38,910 INFO  org.dspace.content.WorkspaceItem @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:create_workspace_item:workspace_item_id=1720item_id=1681collection_id=1
>>> 2010-07-20 12:48:41,433 INFO  org.dspace.content.WorkspaceItem @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_workspace_item:workspace_item_id=1720
>>> 2010-07-20 12:48:41,506 INFO  org.dspace.content.Item @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_item:item_id=1681
>>> 2010-07-20 12:48:41,604 INFO  org.dspace.content.WorkspaceItem @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_workspace_item:workspace_item_id=1720
>>> 2010-07-20 12:48:41,668 INFO  org.dspace.content.Item @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_item:item_id=1681
>>> 2010-07-20 12:49:01,915 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,915 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,915 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,915 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,916 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,916 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,916 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,916 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,916 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> 

[Dspace-tech] Anonymous group in Dsapce deleted by mistake

2010-07-20 Thread इन्‍दु भूषण Indu Bhushan
Dear  Sir


Problem is almost solved only upload file error is coming when i m trying to
submit to the collection and uploading the files.

>
>> I have seen following lines in log file.
>>
>> 2010-07-20 12:49:11,221 WARN  org.dspace.app.webui.servlet.SubmitServlet @
>>
>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:upload_error
>> :
>> java.io.IOException: No such file or directory
>>
>>
>>> 2010-07-20 12:48:19,359 INFO  org.dspace.eperson.PasswordAuthentication @
>>> anonymous:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:authenticate:attempting
>>> password auth of user=i...@cat.ernet.in
>>> 2010-07-20 12:48:19,361 INFO  org.dspace.eperson.PasswordAuthentication @
>>>
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:authenticate:type=PasswordAuthentication
>>> 2010-07-20 12:48:19,363 INFO
>>> org.dspace.app.webui.servlet.PasswordServlet @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:login:type=explicit
>>> 2010-07-20 12:48:19,378 INFO
>>> org.dspace.app.webui.servlet.CommunityListServlet @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_community_list
>>> :
>>> 2010-07-20 12:48:22,615 INFO  org.dspace.app.webui.servlet.DSpaceServlet
>>> @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_collection:collection_id=1
>>> 2010-07-20 12:48:22,688 INFO
>>> org.dspace.app.webui.servlet.RetrieveServlet @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_bitstream:bitstream_id=3
>>> 2010-07-20 12:48:26,537 INFO  org.dspace.app.webui.servlet.DSpaceServlet
>>> @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_item:handle=123456789/1431
>>> 2010-07-20 12:48:34,439 INFO  org.dspace.app.webui.servlet.DSpaceServlet
>>> @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_community:community_id=1
>>> 2010-07-20 12:48:34,525 INFO
>>> org.dspace.app.webui.servlet.RetrieveServlet @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_bitstream:bitstream_id=2
>>> 2010-07-20 12:48:37,490 INFO  org.dspace.app.webui.servlet.DSpaceServlet
>>> @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_collection:collection_id=1
>>> 2010-07-20 12:48:37,583 INFO
>>> org.dspace.app.webui.servlet.RetrieveServlet @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:view_bitstream:bitstream_id=3
>>> 2010-07-20 12:48:38,657 INFO  org.dspace.content.Item @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_item:item_id=1681
>>> 2010-07-20 12:48:38,725 INFO  org.dspace.content.Item @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:create_item:item_id=1681
>>> 2010-07-20 12:48:38,836 INFO  org.dspace.content.Item @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_item:item_id=1681
>>> 2010-07-20 12:48:38,910 INFO  org.dspace.content.WorkspaceItem @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:create_workspace_item:workspace_item_id=1720item_id=1681collection_id=1
>>> 2010-07-20 12:48:41,433 INFO  org.dspace.content.WorkspaceItem @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_workspace_item:workspace_item_id=1720
>>> 2010-07-20 12:48:41,506 INFO  org.dspace.content.Item @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_item:item_id=1681
>>> 2010-07-20 12:48:41,604 INFO  org.dspace.content.WorkspaceItem @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_workspace_item:workspace_item_id=1720
>>> 2010-07-20 12:48:41,668 INFO  org.dspace.content.Item @
>>> i...@cat.ernet.in:session_id=884B70A0C95B1CE9FB068A1A39948DE7:ip_addr=10.130.2.201:update_item:item_id=1681
>>> 2010-07-20 12:49:01,915 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,915 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,915 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,915 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,916 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,916 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,916 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,916 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner dc
>>> 2010-07-20 12:49:01,916 INFO  org.dspace.app.webui.servlet.SubmitServlet
>>> @   inner

Re: [Dspace-tech] stats and crawler count

2010-07-20 Thread Bram Luyten
Dear Jose,

here are some relevant excerpts from the documentation at
http://www.dspace.org/1_6_2Documentation/

if it still leaves you with questions, please elaborate, so we can improve
the documentation.
5.2. The dspace.cfg Configuration Properties File5.2.49. DSpace SOLR
Statistics Configuration
Property:solr.log.server Example Value:solr.log.server =
${dspace.baseUrl}/solr/statisticsInformational Note:Is used by the
SolrLogger Client class to connect to the SOLR server over http and perform
updates and queries. Property:solr.spidersfileExample Value: solr.spidersfile
= ${dspace.dir}/config/spiders.txtInformational Note:Spiders file is
utilized by the SolrLogger, this will be populated by running the following
command:dsrun org.dspace.statistics.util.SpiderDetector -i 
Property:solr.dbfileExample Value:solr.dbfile =
${dspace.dir}/config/GeoLiteCity.datInformational Note:The following refers
to the GeoLiteCity database file utilized by the LocationUtils to calculate
the location of client requests based on IP address. During the Ant build
process (both fresh_install and update) this file will be downloaded from
http://www.maxmind.com/app/geolitecity if a new version has been published
or it is absent from your [dspace]/config directory.
Property:useProxiesExample
Value:useProxies = trueInformational Note:Will cause Statistics logging to
look for X-Forward URI to detect clients IP that have accessed it through a
Proxy service. Allows detection of client IP when accessing DSpace.
Property:statistics.item.authorization.admin Example
Value:statistics.item.authorization.admin
= trueInformational Note:Enables access control restriction on DSpace
Statistics pages, Restrictions are based on access rights to Community,
Collection and Item Pages. This will require the user to sign on to see that
statistics. Setting the statistics to "false" will make them publicly
available.

Chapter 8. DSpace System Documentation: System Administration
8.15. Client Statistics

*Table 8.15. Client Statistics Command Table*
Command used:*[dspace]*/bin/dspace stats-utilJava class:
org.dspace.statistics.util.StatisticsClientArguments (short and long forms):
Description -u or --update-spider-filesUpdate Spider IP Files from internet
into /dspace/config/spiders. Downloads Spider files identified in
dspace.cfgunder property
-f or --delete-spiders-by-flag Delete Spiders in Solr By isBot Flag. Will
prune out all records that have isBot:true-i or --delete-spiders-by-ipDelete
Spiders in Solr By IP Address. Will prune out all records that have IP's
that match spider IPs.-m or --mark-spidersUpdate isBog Flag in Solr. Marks
any records currently stored in statistics that have IP addresses matched in
spiders files-h or --helpCalls up this brief help table at CLI.

Notes:

The usage of these options is open for the user to choose, If they want to
keep spider entires in their repository, they can just mark them using "-m"
and they will be excluded from statistics queries when
"solr.statistics.query.filter.isBot
= true" in the dspace.cfg.

If they want to keep the spiders out of the solr repository, they can run
just use the "-i" option and they will be removed immediately.

There are guards in place to control what can be defined as an IP range for
a bot, in [dspace]/config/spiders, spider IP address ranges have to be at
least 3 subnet sections in length 123.123.123 and IP Ranges can only be on
the smallest subnet [123.123.123.0 - 123.123.123.255]. If not, loading that
row will cause exceptions in the dspace logs and exclude that IP entry.
kindest regards,

Bram Luyten

@mire - http://www.atmire.com

Technologielaan 9 - 3001 Heverlee - Belgium
533 2nd Street - Encinitas, CA 92024 - USA

http://www.togather.eu - Before getting together, get t...@ther


On Mon, Jul 19, 2010 at 9:52 PM, Mark H. Wood  wrote:

> On Mon, Jul 19, 2010 at 10:52:26AM -0400, Blanco, Jose wrote:
> > I was looking over the dspace stats code to see if it had anything to
> remove counts from crawlers and I don't see anything in there.  I just
> wanted to make sure that is the case.
>
> Would that be the Solr-based stat. code new in 1.6?  In 1.6.0 there is
> a file called config/spiders.txt to contain a list of crawler IP
> addresses.  This was changed in a later point release to use multiple
> files found in config/spiders.  There's also a list of update URLs for
> spider lists configured in dspace.cfg as solr.spiderips.urls.
>
> There isn't much documentation, though.  We need to correct that.
>
> --
> Mark H. Wood, Lead System Programmer   mw...@iupui.edu
> Balance your desire for bells and whistles with the reality that only a
> little more than 2 percent of world population has broadband.
>-- Ledford and Tyler, _Google Analytics 2.0_
>
>
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/spr

Re: [Dspace-tech] Anonymous group in Dsapce deleted by mistake

2010-07-20 Thread Andrea Bollini
you can use the Advanced Policy Manager feature.
Go in the admin menu > Authorization > Advanced /Item Wildcard ...
Chose any collections one for time, content-type: one time item next
time bitstream,  group Anonymous Action Read and click on add policy.
In this way all items in your repository will be made public with the
attached fulltext.
Best,
Andrea

इन्‍दु भूषण Indu Bhushan ha scritto:
> Thanks you all
>  
>  ID to Anonymous group is changed as 0 and i added Anonymous group  in
> communities and collection. The logos are shown.
>  One enty is also shown by - Edit Item - Item's Authorizations:EDIT i
> added anonymous group but in [submit to this collection] when i m
> uploading the files it is showing upload error.
>  
> It will be difficult to add anonymous group in every item by - Edit
> Item - Item's Authorizations:EDIT i added anonymous group .
>  
> So pls let me know how to solve upload error and how to add anonymous
> group in all the items.
>  
> Please reply.
>  
> With Warm Regards
>  
>  
> Indu Bhushan
> RRCAT.GOV.IN 
> Indore MP
>  
>  
>
>  
>
>
> 
>
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> 
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>   


-- 
Dott. Andrea Bollini
Project Manager, IT Architect & Systems Integrator
Sezione Servizi per le Biblioteche e l'Editoria Elettronica
CILEA, http://www.cilea.it
tel. +39 06-59292853
cel. +39 348-8277525

---

Disclaimer: the content of this email is confidential and may be privileged, 
and it must not be disclosed or copied without the sender's consent. If you 
have received this message in error, please notify the sender and remove it 
from your system. The content of this email does not constitute legal advice, 
nor any responsibility is accepted for loss or damage incurred as a result of 
acting upon its contents or attachments. 
The statements and opinions expressed in this email are those of the author and 
do not necessarily reflect those of the employer.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech