Re: [Dspace-tech] Two problems in installation

2012-02-21 Thread इन्‍दु भूषण Indu Bhushan
Dear Sir,

Please check that tools.jar is exist at following location or not
 /usr/local/java/jre1.7.0_03/lib/tools.jar
Then check what path you given for java.

Please check dspace.cfg for database password you have given for dspace
postgres database.

With regards

Indu Bhushan
Library, RRCAT
Indore

On Tue, Feb 21, 2012 at 10:44 PM, Adam Fullerton  wrote:

> I am running into 2 problems that may or may not be related while trying
> to install Dspace on a Ubuntu OS laptop. I am following the directions on
> https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu
>
> 1) I am running the command "sudo ant fresh_install" and getting the
> following 2 errors.
>
> Unable to locate tools.jar. Expected to find it in
> /usr/local/java/jre1.7.0_03/lib/tools.jar
>
> And the second error,
>
> Error:
> - org.postgresql.util.PSQLException: FATAL: password authentication failed
> for user "dspace"
>
> I went into the dspace.cfg file and changed the default password to the
> password I set when setting up. I restarted tomcat and postgresql and the
> whole machine but I am still getting a return of the password for the
> default "dspace" password. I look back in the config file and it has the
> correct password there.
>
> I would really appreciate some help on these two issues. Thank you!
>
> Adam Fullerton, MLIS
> Electronic/Technical Services Librarian &
> Assistant Professor
> Morningside College
> 1501 Morningside Ave
> Sioux City, IA 51106
>
> Phone: 712-274-5247
> Fax: 712-274-5224 attn: Fullerton
> Email: fullert...@morningside.edu
>
> Being a librarian is not a job...it's a lifestyle.
>
>
>
>
>
> --
> Keep Your Developer Skills Current with LearnDevNow!
> 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-d2d
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to restrict all bitstream for open/download in bulk

2012-02-21 Thread इन्‍दु भूषण Indu Bhushan
Dear Atul

Please let us know which plateform and Dspace version u r using, read the
following and let us know if you find any difficulies in implimenting
authentication.

https://wiki.duraspace.org/display/DSDOC18/Authentication+Plugins

With regards

Indu bhushan


On Wed, Feb 22, 2012 at 11:33 AM, atul jaiswal wrote:

> Hi all ,my problem is How to restrict all bitstream for open/download in
> bulk, only privilige group read/download permission.plz help me.
>
> with regards
> atul jaiswal
>
>
> --
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] Filter media error when create PDF Thumbnail

2012-02-21 Thread इन्‍दु भूषण Indu Bhushan
Dear Sir,


As per  my knowledge it take the bitstreams in the order we enter in the
DSpace.


With regards

Indu Bhushan
2012/2/20 Nguyen Hung Thanh 

> Thanks Bhushan,
> I run command and skip 33 Item*, *but DSpace stop in this line*
>SKIP-LIST: skipped bitstreams within identifier *.
> *Do you know the program run in what order?*
>
>
>
> 2012/2/19 इन्‍दु भूषण Indu Bhushan 
>
>> Dear Sir,
>>
>> You can add mutlimple item using comma.
>> Now run command like following
>>
>>  @library root]$ /dspace/bin/dspace filter-media -s 123456789/11,*
>> 123456789/17*
>> With regards
>>
>> Indu Bhushan
>> Library, RRCAT
>>
>>
>> -
>>  2012/2/18 Nguyen Hung Thanh 
>>
>>> Dear   Bhushan,
>>> When run command  [dspace@library root]$ /dspace/bin/dspace
>>> filter-media -s 123456789/11
>>> DSpace stop in this line
>>>
>>> *SKIPPED: bitstream 24 (item: 123456789/17) because '1997_1.pdf.jpg'
>>> already exists
>>> *
>>> *SKIP-LIST: skipped bitstreams within identifier 123456789/11*
>>>
>>> I think the item before item  *123456789/11* error. But I don't know
>>> what identifier error.
>>>
>>> Thanks for your help.
>>>
>>>
>>> 2012/2/17 इन्‍दु भूषण Indu Bhushan 
>>>
 Dear Sir
 Dspace run but it pause after 33 item. The last line you see at screen
 is following then it got paused.
  SKIPPED: bitstream 11 (item: 123456789/11) because '3.pdf.jpg'
 already exists
  means 33 or next item/file is protected or big in size so skip these
 item.

 then you should run command like this.
 [dspace@library root]$ /dspace/bin/dspace filter-media -s 123456789/11


 With regards

 Indu Bhushan
 Library, RRCAT

 
  2012/2/17 Nguyen Hung Thanh 

> Dear Bhushan,
>
> I don't know when run command *dspace filter-media*,  DSpace running
> in what order? *Alphabet *or* Identifier*?
> I don't know the identity of document after 33.
>
> This is log file when run command *dspace filter-media -v*
> ---
> Using DSpace installation in: F:\dspace
> The following MediaFilters are enabled:
> Full Filter Name: org.dspace.app.mediafilter.XPDF2Thumbnail
> org.dspace.app.mediafilter.XPDF2Thumbnail
> SKIPPED: bitstream 46635 (item: 123456789/17591) because
> '00CVv209S012007002.pdf.jpg' already exists
> SKIPPED: bitstream 3399 (item: 123456789/1961) because 'Nash. Compact
> numerical methods (2ed., 1990)(288s).pdf.jpg' already exists
> SKIPPED: bitstream 63025 (item: 123456789/25572) because 'Food,
> consumers and food industry.pdf.jpg' already exists
> SKIPPED: bitstream 46643 (item: 123456789/17595) because
> '00CVv209S092006003.pdf.jpg' already exists
> SKIPPED: bitstream 46637 (item: 123456789/17592) because
> '00CVv209S082009058.pdf.jpg' already exists
> SKIPPED: bitstream 9 (item: 123456789/10) because '2.pdf.jpg' already
> exists
> SKIPPED: bitstream 63011 (item: 123456789/25565) because 'Food
> phytates.pdf.jpg' already exists
> SKIPPED: bitstream 62968 (item: 123456789/25527) because 'Food plant
> sanitation.pdf.jpg' already exists
> SKIPPED: bitstream 46645 (item: 123456789/17596) because
> '00CVv209S092006010.pdf.jpg' already exists
> SKIPPED: bitstream 46655 (item: 123456789/17601) because
> '00CVv209S092006034.pdf.jpg' already exists
> SKIPPED: bitstream 46721 (item: 123456789/17634) because
> '00CVv209S102006027.pdf.jpg' already exists
> SKIPPED: bitstream 32 (item: 123456789/21) because '1998_4.pdf.jpg'
> already exists
> SKIPPED: bitstream 24 (item: 123456789/17) because '1997_1.pdf.jpg'
> already exists
> SKIPPED: bitstream 11 (item: 123456789/11) because '3.pdf.jpg' already
> exists
>
>
>
>
> 2012/2/17 इन्‍दु भूषण Indu Bhushan 
>
>> Dear Sir
>>
>> Dspace run but it pause after 33 item, means  33 or next  item/file
>> is protected or big in size so skip these item.
>>
>> for example
>>
>> [dspace@library root]$ /diglib/dspace/bin/dspace filter-media -s
>> 123456789/1612,123456789/1590
>> With regards
>> Indu Bhushan
>> Library, RRCAT
>> Indore
>>
>>
>>
>> 2012/2/17 Nguyen Hung Thanh 
>>
>>> Hi Bhushan,
>>> Thanks for your email. I don't know I will skip what identifiers. I
>>> don't know the files are missing.
>>>
>>> Thanks
>>> Nguyen
>>>
>>>
>>>
>>> 2012/2/17 इन्‍दु भूषण Indu Bhushan 
>>>
 Dear Sir,

 May be that perticular file is protected or big in size. With my
 little experience i only can say you use fiter-media with skip mode.

 With best wishes

 Indu Bhushan
 Library, RRCAT
 Indore



>>>

[Dspace-tech] How to restrict all bitstream for open/download in bulk

2012-02-21 Thread atul jaiswal
Hi all ,my problem is How to restrict all bitstream for open/download in
bulk, only privilige group read/download permission.plz help me.

with regards
atul jaiswal
--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Two problems in installation

2012-02-21 Thread Tim Donohue

Adam,


On 2/21/2012 11:14 AM, Adam Fullerton wrote:
> I am running into 2 problems that may or may not be related while trying
> to install Dspace on a Ubuntu OS laptop. I am following the directions
> on https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu
>
> 1) I am running the command "sudo ant fresh_install" and getting the
> following 2 errors.
>
> Unable to locate tools.jar. Expected to find it in
> /usr/local/java/jre1.7.0_03/lib/tools.jar

This first error looks related to your earlier email about JAVA_HOME 
issues?  It's looking for 'tools.jar' which exists in the JDK (but it's 
trying to find it in the JRE).


> And the second error,
>
> Error:
> - org.postgresql.util.PSQLException: FATAL: password authentication
> failed for user "dspace"
>
> I went into the dspace.cfg file and changed the default password to the
> password I set when setting up. I restarted tomcat and postgresql and
> the whole machine but I am still getting a return of the password for
> the default "dspace" password. I look back in the config file and it has
> the correct password there.

Are you editing the correct dspace.cfg file?  By default, when running 
'ant fresh_install', the 'ant' command is always going to use the 
dspace.cfg settings in the /target/dspace-[version]-build/config/dspace.cfg

Another option is that you can tell 'ant' exactly which dspace.cfg you 
want it to use.  For example:

sudo ant -Dconfig=[full-path-to-dspace.cfg] fresh_install

This command tells 'ant' you specifically want it to use the settings in 
that given dspace.cfg file.

- Tim

--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Maven and Java

2012-02-21 Thread Tim Donohue

Adam,

Correct, you should be pointing JAVA_HOME at the JDK rather than the JRE.

One way to do this is to modify your ~/.profile settings (for the user 
under which DSpace is installed) and add:

#Base path of Java
export JAVA_HOME="/usr/lib/jvm/java-6-sun"

(Of course, the path above may vary -- this is an older path based on 
Java 6 + Ubuntu 10.04)

After saving that file, run:

source ~/.profile

This will reload that file with the new setting for JAVA_HOME.

- Tim


On 2/20/2012 8:41 PM, Adam Fullerton wrote:
> Good Evening All,
>
> I now have the correct version of Java on my Ubuntu Laptop. When I run
> Java -version I get this response:
>
> java version 1.7.0_03
> Java(TM) SE Runtime Environment (build 1.7.0_03-b04)
> Java HotSpot(TM) Server VM (build 22.1-b02, mixed mode)
>
> Now when I run the command "mvn -U package" as it says too in this
> document
> https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu I
> get t his error:
> Error: JAVA_HOME is not defined correctly.
> We cannot execute /usr/local/java/jre1.7.0/bin/java
>
> It is to my understanding that the problem is that I need to be
> directing Java Home  to the JDK file which I do have...I have install
> both JRE and JDK. How do I do this?
>
> Thank you for your time
>
> Adam Fullerton, MLIS
> Electronic/Technical Services Librarian &
> Assistant Professor
> Morningside College
> 1501 Morningside Ave
> Sioux City, IA 51106
>
> Phone: 712-274-5247
> Fax: 712-274-5224 attn: Fullerton
> Email: fullert...@morningside.edu 
>
> Being a librarian is not a job...it's a lifestyle.
>
>
>
>
>
> --
> Keep Your Developer Skills Current with LearnDevNow!
> 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-d2d
>
>
>
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Two problems in installation

2012-02-21 Thread Adam Fullerton
I am running into 2 problems that may or may not be related while trying to
install Dspace on a Ubuntu OS laptop. I am following the directions on
https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu

1) I am running the command "sudo ant fresh_install" and getting the
following 2 errors.

Unable to locate tools.jar. Expected to find it in
/usr/local/java/jre1.7.0_03/lib/tools.jar

And the second error,

Error:
- org.postgresql.util.PSQLException: FATAL: password authentication failed
for user "dspace"

I went into the dspace.cfg file and changed the default password to the
password I set when setting up. I restarted tomcat and postgresql and the
whole machine but I am still getting a return of the password for the
default "dspace" password. I look back in the config file and it has the
correct password there.

I would really appreciate some help on these two issues. Thank you!

Adam Fullerton, MLIS
Electronic/Technical Services Librarian &
Assistant Professor
Morningside College
1501 Morningside Ave
Sioux City, IA 51106

Phone: 712-274-5247
Fax: 712-274-5224 attn: Fullerton
Email: fullert...@morningside.edu

Being a librarian is not a job...it's a lifestyle.
--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] SOLR STATS

2012-02-21 Thread Lewatle Phaladi
Hi All



I am not sure if my questions are too difficult for you guys as I never
got reply on several issues posted, please if that is a case email me
and I will be glad to explain where possible. Back to current issue, I
want to add date field so when I click on view statistics date can also
be shown on the results as to when does the item viewed, even if it can
show year only, the only problem I have with this STATS is that it shows
total analysis not break it according to year in which it occurs or days
etc, see the following example:



Top country views

Views
Year 2011

South Africa84   month
if possible

Japan 8
or year

China 7

United States of America6

United Kingdom  5

Netherlands 5

Italy3

Uganda 3

Senegal 2

India   1







Thanks,

Lewatle


This communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary.
--
Keep Your Developer Skills Current with LearnDevNow!
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-d2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech