[Dspace-tech] R: Re: Unable to change Handle Server IP Address

2013-07-28 Thread Andrea Bollini
The handle configuration is make by the bin/make-handle-config
that execute a CNRI java class supplying standard answers to configuration 
options some coming from the dspace.cfg config file (dspace name, host etc.).
Take a look to the make-handle-config script, is needed execute the CNRI setup 
java class manually suppling the appropriate answers. If you do so, remember to 
manually update the handle config files replacing your handle prefix and 
specifing the dspace dbms storage lookup for the handle resolution.
Hope this help,
Andrea




Inviato da Tablet SamsungIkechukwu Nkisi-Orji maili...@gmail.com ha scritto:I 
removed the entire DSpace installation and did a fresh installation of DSpace 
3.2.  Handle Server installation still doesn't ask for any configuration. 
Please pointer as to where it gets the configuration from will be helpful. 
Thanks.


On Fri, Jul 26, 2013 at 11:41 PM, Ikechukwu Nkisi-Orji maili...@gmail.com 
wrote:
I successfully installed DSpace 3.1 and setup the Handle-Server on Amazon Web 
Service EC2 Instance. However, I used the web server’s internal IP address 
instead of the external in the configuration while setting up the Handle 
Server. As a result, the Handle Server could not be accessed externally (this 
was confirmed by CNRI) even when it was running. Here is the log:

2013/07/20 07:27:43 UTC 25 Rotating log files
UDP handle Request Listener:
   address: /172.31.34.81
  port: 2641
 
   address: /172.31.34.81
  port: 2641
Starting TCP request handlers: .HTTP handle Request Listener:
   address: /172.31.34.81
  port: 8000
Starting HTTP request handlers: ...
..DONE
..
 

I have tried running the setup for Handle Server again so that I can change the 
IP address but each time I try, it does not ask for any configuration 
information. Even when I delete the handle-server directory in the DSpace 
installation directory, it simply creates another one with my previous 
configuration. Are there any files/directories that I should remove/edit before 
re-installing the Handle Server?

Thank you.

Rick


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] R: Re: Re: Unable to change Handle Server IP Address

2013-07-28 Thread Andrea Bollini
Yes, it is.
dsrun was removed in 1.8 (maybe 1.7). To execute java classes using the dspace 
classpath and properly start the kernel (spring context) just use

dspace dsrun javaclassfullname
Andrea





Inviato da Tablet SamsungIkechukwu Nkisi-Orji maili...@gmail.com ha 
scritto:Thanks Andrea. I was trying to run it manually by executing 
/dspace/bin/dsrun net.handle.server.SimpleSetup /dspace/handle-server as 
described in several documentations that I saw online. I actually didn't expect 
it to work because I didn't see dsrun script in /dspace/bin. However, the 
make-handle-config showed that the command should be /dspace/bin/dspace dsrun 
net.handle.server.SimpleSetup /dspace/handle-server instead.




On Sun, Jul 28, 2013 at 11:19 AM, Andrea Bollini a.boll...@cineca.it wrote:
The handle configuration is make by the bin/make-handle-config
that execute a CNRI java class supplying standard answers to configuration 
options some coming from the dspace.cfg config file (dspace name, host etc.).
Take a look to the make-handle-config script, is needed execute the CNRI setup 
java class manually suppling the appropriate answers. If you do so, remember to 
manually update the handle config files replacing your handle prefix and 
specifing the dspace dbms storage lookup for the handle resolution.
Hope this help,
Andrea




Inviato da Tablet Samsung

Ikechukwu Nkisi-Orji maili...@gmail.com ha scritto:

I removed the entire DSpace installation and did a fresh installation of DSpace 
3.2.  Handle Server installation still doesn't ask for any configuration. 
Please pointer as to where it gets the configuration from will be helpful. 
Thanks.


On Fri, Jul 26, 2013 at 11:41 PM, Ikechukwu Nkisi-Orji maili...@gmail.com 
wrote:
I successfully installed DSpace 3.1 and setup the Handle-Server on Amazon Web 
Service EC2 Instance. However, I used the web server’s internal IP address 
instead of the external in the configuration while setting up the Handle 
Server. As a result, the Handle Server could not be accessed externally (this 
was confirmed by CNRI) even when it was running. Here is the log:

2013/07/20 07:27:43 UTC 25 Rotating log files
UDP handle Request Listener:
   address: /172.31.34.81
  port: 2641
 
   address: /172.31.34.81
  port: 2641
Starting TCP request handlers: .HTTP handle Request Listener:
   address: /172.31.34.81
  port: 8000
Starting HTTP request handlers: ...
..DONE
..
 

I have tried running the setup for Handle Server again so that I can change the 
IP address but each time I try, it does not ask for any configuration 
information. Even when I delete the handle-server directory in the DSpace 
installation directory, it simply creates another one with my previous 
configuration. Are there any files/directories that I should remove/edit before 
re-installing the Handle Server?

Thank you.

Rick



--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Doubs..

2013-07-28 Thread helix84
On Fri, Jul 26, 2013 at 9:45 PM, Jimena Quiroga jim...@gmail.com wrote:
 About the language, maybe I did not explain you correctly. I`m sending you
 the screens in a word file, I think is not about the browser.

Yes, your screenshots confirm this is about the browser. My first
answer still applies.

 About the another point, I`m very confused .. in many manuals says (i.e.):
 Edit [dspace-source]/config/dspace.cfg
 I was editing theC:\dspace-3.1-src-release\dspace\config\dspace.cfg file

 Am I wrong?  Do I have to edit the C:\dspace\config\dspace.cfg file?

My second answer also applies, as a general rule. In case of
configuration, you may want to make an exception (edit configuration
directly in [dspace]), but please be aware of the consequences (if you
fail to keep your changes to [dspace] in sync with [dspace-source],
you may have some ugly surprises during your next rebuild or upgrade).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] DSpace LDAP authentication problem

2013-07-28 Thread helix84
On Sat, Jul 27, 2013 at 12:51 AM, Keir Vaughan-Taylor k...@usyd.edu.au wrote:
 Okay thanks for that.
 I have written an LDAPAuthentication module that does do the mapping to
 group by LDAP field and we have been using it for some years.

 When I saw the group feature and (misunderstood its workings) I thought
 great! Every time a new version of DSpace comes out I have to step
 through the new LDAP code and merge my  code into the new changes in the
 LDAPAuthenictation module which is time consuming and never works the
 first time.

 I have in the past sent the code to the DSpace development group but I
 understand there is a lot going on and it was forgotten.  If anyone in
 the development team is interested I would be glad to supply the code
 again and hopefully they would include it in  future releases and save
 me this regular task.

You're right about that keeping customizations up-to-date with latest
code can be a bother. In fact, this is the main reason why most people
become DSpace contributors (and later commiters) - to move the
maintenance burden away from yourself or your institution and simply
receive them as part of the upstream DSpace package.

I'm sorry to hear that your contribution was ignored in the past. It's
a manpower problem - there are too few people reviewing patches. While
this is primarily the responsibility of commiters (there are quite few
of us, too), you can help by testing patches other people sent to Jira
and submitting your review to Jira comments. Asking us to put reviewed
changes into DSpace is much better than waiting for us to review them.

I'll be happy to review this particular feature you're proposing. What
was the old Jira issue number? If you're going to port it to the
latest code (git master branch), please make sure it is configurable
in the same way as the new login.groupmap.* feature. They do the same
thing, so they should look the same to the user. I suggest calling it
login.groupmap-attr.*. We'll have the 4.0 feature freeze coming up in
a few weeks, so please submit it as soon as possible.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] RV: Problen send to repository

2013-07-28 Thread helix84
On Fri, Jul 26, 2013 at 10:10 PM, Luis Rojas C. (CATIE) 
luisro...@catie.ac.cr wrote:
 Helix, review all data base updates and all was applied, but the problem
persist.

What I wrote still applies. I think you did apply the updates, but under a
different database role, so your dspace role doesn't see them.

To verify this, log in as user postgres, then run psql [dspace] (where
[dspace] is your database name) and run the \z command. You should see
something like this:

postgres@test:~$ psql dspace
psql (8.4.17)
Type help for help.

dspace=# \z
   Access privileges
 Schema |  Name  |   Type   |   Access privileges
| Column access privileges
++--+---+--
 public | bi_2_dis   | table|
|
 public | bi_2_dis_seq   | sequence |
|
 public | bi_2_dmap  | table|
|
 public | bi_2_dmap_seq  | sequence |
|
 public | bi_3_dis   | table|
|
 public | bi_3_dis_seq   | sequence |
|
 public | bi_3_dmap  | table|
|
 public | bi_3_dmap_seq  | sequence |
|
 public | bi_5_dis   | table|
|
 public | bi_5_dis_seq   | sequence |
|
 public | bi_5_dmap  | table|
|
 public | bi_5_dmap_seq  | sequence |
|
 public | bi_6_dis   | table|
|
 public | bi_6_dis_seq   | sequence |
|
 public | bi_6_dmap  | table|
|
 public | bi_6_dmap_seq  | sequence |
|
 public | bi_7_dis   | table|
|
 public | bi_7_dis_seq   | sequence |
|
 public | bi_7_dmap  | table|
|
 public | bi_7_dmap_seq  | sequence |
|
 public | bi_item| table|
|
 public | bi_item_seq| sequence |
|
 public | bi_withdrawn   | table|
|
 public | bi_withdrawn_seq   | sequence |
|
 public | bitstream  | table| dspace=arwdDxt/dspace
|
 public | bitstream_seq  | sequence |
|
 public | bitstreamformatregistry| table| dspace=arwdDxt/dspace
|
 public | bitstreamformatregistry_seq| sequence |
|
 public | bundle | table| dspace=arwdDxt/dspace
|
 public | bundle2bitstream   | table| dspace=arwdDxt/dspace
|
...


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] problem of sorting order of sub-community...

2013-07-28 Thread ggxky
Hi all
i am using dspace 3.1 and i want to reverse the sorting order of
sub-communities.
for example
EX2009/2010
EX2010/2011
EX2011/2012
EX2012/2013
to
EX2012/2013
EX2011/2012
EX2010/2011
EX2009/2010

i have tried this code
http://dspace.2283337.n4.nabble.com/file/n4665993/QQ%E6%88%AA%E5%9B%BE20130729103315.jpg
 


inserted to my community-home.jsp
http://dspace.2283337.n4.nabble.com/file/n4665993/as.jpg 


But when i clicked on any community or collection.it will show me error
http://dspace.2283337.n4.nabble.com/file/n4665993/error.jpg 

Please help me...THANKS!



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/problem-of-sorting-order-of-sub-community-tp4665993.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] DSpace LDAP authentication problem

2013-07-28 Thread Keir Vaughan-Taylor

Today I started debugging why the ldap fields are not populating in
version DSpace 3.1. and why the email address get assigned the netid
with the letters null appended.

Inserting debug lines and recompiling the LDAPAuthentication module I
have found that the routine ldap.getDNOfUser in the SpeakerToLDAP is not
being executed. This routine contains the code to assign ldap variables
such as phone, first name, last name  are not populating the ldap
instance variables.   ldap.getDNOfUser was previously called
ldapAuthenticate.

The routine is only executed when a user is an admin user or if the
config allows anonymous search. LDAP servers mostly use a challenge
response system where information for a person is supplied from a netid
(user name) and a correct password. That is; you can get you own
information but no-one else's.

The ldapAuthenticate used to verify if the user was legitimate but now
replaced with getDNOfUser it no longer seems to do that. 

I think this is a bug rather than a feature and hopefully we can get it
corrected.

For the time being we cannot update to this new version.




On Mon, 2013-07-29 at 00:59 +0200, helix84 wrote:
 On Sat, Jul 27, 2013 at 12:51 AM, Keir Vaughan-Taylor k...@usyd.edu.au 
 wrote:
  Okay thanks for that.
  I have written an LDAPAuthentication module that does do the mapping to
  group by LDAP field and we have been using it for some years.
 
  When I saw the group feature and (misunderstood its workings) I thought
  great! Every time a new version of DSpace comes out I have to step
  through the new LDAP code and merge my  code into the new changes in the
  LDAPAuthenictation module which is time consuming and never works the
  first time.
 
  I have in the past sent the code to the DSpace development group but I
  understand there is a lot going on and it was forgotten.  If anyone in
  the development team is interested I would be glad to supply the code
  again and hopefully they would include it in  future releases and save
  me this regular task.
 
 You're right about that keeping customizations up-to-date with latest
 code can be a bother. In fact, this is the main reason why most people
 become DSpace contributors (and later commiters) - to move the
 maintenance burden away from yourself or your institution and simply
 receive them as part of the upstream DSpace package.
 
 I'm sorry to hear that your contribution was ignored in the past. It's
 a manpower problem - there are too few people reviewing patches. While
 this is primarily the responsibility of commiters (there are quite few
 of us, too), you can help by testing patches other people sent to Jira
 and submitting your review to Jira comments. Asking us to put reviewed
 changes into DSpace is much better than waiting for us to review them.
 
 I'll be happy to review this particular feature you're proposing. What
 was the old Jira issue number? If you're going to port it to the
 latest code (git master branch), please make sure it is configurable
 in the same way as the new login.groupmap.* feature. They do the same
 thing, so they should look the same to the user. I suggest calling it
 login.groupmap-attr.*. We'll have the 4.0 feature freeze coming up in
 a few weeks, so please submit it as soon as possible.
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Federating DSpace instances

2013-07-28 Thread Gary Browne
Hello all,

I can't seem to find much info on this topic. I'm interested in federating a 
couple of our DSpace instances and am not sure what/who/where to ask about it.

I'm looking at having one interface for a couple of DSpace instances where 
people can search and even go to items and bitstreams using this single 
interface (perhaps using REST API). I probably would not want to replicate 
objects but just harvest all metadata into one instance. How would 
authentication and authorisation work with a federated interface? And what 
would be the best method to achieve the federation itself? I probably have lots 
more questions, but just want to get an idea of whether I'm on the right track 
and where some resources for this might be available at this stage.

Thanks,
Gary

GARY BROWNE | Development Programmer 
Library IT Services | Fisher Library F03    

THE UNIVERSITY OF SYDNEY

T +61 2 9351 5946  | M +61 405 647 868  
E gary.bro...@sydney.edu.au  | W http://sydney.edu.au 
Sent from my plain old desktop computer.

CRICOS 00026A
This email plus any attachments to it are confidential. Any unauthorised use is 
strictly prohibited. If you receive this email in error, please delete it and 
any attachments.
Please think of our environment and only print this e-mail if necessary.



--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette