[Dspace-tech] Mesage properties on Dspace 1.5.2

2010-03-09 Thread Carlos Palop
Hi all!

I'm using DSpace 1.5.2 and I can't find where Mesage properties file is
located. Anyone could help me?
When I installed Dspace long time ago, it was translated to spanish without
changing that file.

Thanks.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Mesage properties on Dspace 1.5.2

2010-03-09 Thread Hilton Gibson
Hi Carlos

Try: 
http://ir.sun.ac.za/wiki/index.php/Asset_Presentation#Apply_custom_text_messages

Cheers

hg.

On Tue, Mar 9, 2010 at 11:24 AM, Carlos Palop cpa...@gmail.com wrote:
 Hi all!

 I'm using DSpace 1.5.2 and I can't find where Mesage properties file is
 located. Anyone could help me?
 When I installed Dspace long time ago, it was translated to spanish without
 changing that file.

 Thanks.

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech





-- 
Systems Administrator
Library and Information Services
Stellenbosch University

http://www.sun.ac.za
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ubuntu.sun.ac.za

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Manakin Theme - Heading Font Sizes (XSL)

2010-03-09 Thread Teresa Burón

Hi Patrick,

Font sizes are also defined in the style.css 
file. I've also had a problem with the font sizes 
because there was some span labels which didn't close properly.


At 21:55 08/03/2010, you wrote:

DSpace Users,

I'm attempting to modify font sizes for the page 
headings (ie - h1/ tags etc). There is a 
utility programmed into the structural.xsl 
stylesheet which purports to build these tags at 
appropriate sizes based on content (see template).


(code from DSpace 1.5.2)
xsl:template match=dri:div/dri:head priority=3
xsl:variable name=head_count select=count(ancestor::dri:div)/
!-- with the help of the font-sizing 
variable, the font-size of our header text is 
made continuously variable based on the character count --
xsl:variable name=font-sizing 
select=365 - $head_count * 80 - string-length(current())/xsl:variable

xsl:element name=h{$head_count}
!-- in case the chosen size is 
less than 120%, don't let it go below. Shrinking stops at 120% --

xsl:choose
xsl:when test=$font-sizing lt; 120
xsl:attribute 
name=stylefont-size: 120%;/xsl:attribute

/xsl:when
xsl:otherwise
xsl:attribute 
name=stylefont-size: xsl:value-of select=$font-sizing/%;/xsl:attribute

/xsl:otherwise
/xsl:choose
xsl:call-template name=standardAttributes
xsl:with-param name=classds-div-head/xsl:with-param
/xsl:call-template
xsl:apply-templates /
/xsl:element
/xsl:template

The problem I'm having is that regardless of 
edits I do to this template, the font sizes 
always come out to 252%. The mystifying part is 
that the resulting html tags contain a 
ds-div-head class and looking this class up in 
the xsl yields only one result. Specifically the 
reference contained in the above template. My 
question is, if the above template is the only 
source for a ds-div-head class, and the template 
is commented out altogether, but the style still 
comes out as a font-size of 252%, from where is 
this styling directive coming? Or if I've 
somehow missed the actual source of the 252% 
font-sizing, where else might it be coming from?


 - Patrick E.

---
Patrick K. Étienne
Systems Analyst
Library and Information Center
Georgia Institute of Technology
email: 
mailto:patrick.etie...@library.gatech.edupatrick.etie...@library.gatech.edu

phone: 404.385.8121

Mediocre Writers Borrow; Great Writers Steal - T.S. Eliot

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Teresa Burón Álvarez

Servicio de Informática y Comunicaciones
Universidad de León
Correo-e.: teresa.bu...@unileon.es
Tel.: +34 987291901
Fax.: +34 987291158
CRAI-TIC, segunda planta
Campus de Vegazana, S/N
24071 - León
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] Manakin Theme - Heading Font Sizes (XSL)

2010-03-09 Thread Patrick Etienne

Many Thanks for the references!

 - Patrick E.
---
Patrick K. Étienne
Systems Analyst
Library and Information Center
Georgia Institute of Technology
email: patrick.etie...@library.gatech.edu
phone: 404.385.8121

Mediocre Writers Borrow; Great Writers Steal - T.S. Eliot

On Mar 9, 2010, at 1:29 AM, Hilton Gibson wrote:


PS: See: http://scholar.sun.ac.za/

On Mon, Mar 8, 2010 at 10:55 PM, Patrick Etienne
patrick.etie...@library.gatech.edu wrote:

DSpace Users,
I'm attempting to modify font sizes for the page headings (ie - h1/ 
 tags
etc). There is a utility programmed into the structural.xsl  
stylesheet which
purports to build these tags at appropriate sizes based on content  
(see

template).
(code from DSpace 1.5.2)
xsl:template match=dri:div/dri:head priority=3
xsl:variable name=head_count  
select=count(ancestor::dri:div)/
!-- with the help of the font-sizing variable, the font- 
size of our
header text is made continuously variable based on the character  
count --
xsl:variable name=font-sizing select=365 - $head_count  
* 80 -

string-length(current())/xsl:variable
xsl:element name=h{$head_count}
!-- in case the chosen size is less than 120%, don't  
let it go

below. Shrinking stops at 120% --
xsl:choose
xsl:when test=$font-sizing lt; 120
xsl:attribute name=stylefont-size:
120%;/xsl:attribute
/xsl:when
xsl:otherwise

  xsl:attribute name=stylefont-size: xsl:value-of  
select=$font-sizing/%;/xsl:attribute

/xsl:otherwise
/xsl:choose
xsl:call-template name=standardAttributes
xsl:with-param name=classds-div-head/xsl:with- 
param

/xsl:call-template
xsl:apply-templates /
/xsl:element
/xsl:template
The problem I'm having is that regardless of edits I do to this  
template,
the font sizes always come out to 252%. The mystifying part is that  
the
resulting html tags contain a ds-div-head class and looking this  
class up
in the xsl yields only one result. Specifically the reference  
contained in
the above template. My question is, if the above template is the  
only source
for a ds-div-head class, and the template is commented out  
altogether, but
the style still comes out as a font-size of 252%, from where is  
this styling
directive coming? Or if I've somehow missed the actual source of  
the 252%

font-sizing, where else might it be coming from?
 - Patrick E.
---
Patrick K. Étienne
Systems Analyst
Library and Information Center
Georgia Institute of Technology
email: patrick.etie...@library.gatech.edu
phone: 404.385.8121
Mediocre Writers Borrow; Great Writers Steal - T.S. Eliot

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Dspace-general mailing list
dspace-gene...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-general






--
Systems Administrator
Library and Information Services
Stellenbosch University

http://www.sun.ac.za
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ubuntu.sun.ac.za


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] LDAP testing

2010-03-09 Thread Hossein Hamam
Dear Stuart, 
Thank you for your reply.

Inside the ou=AllUsers, we have many sub OUs in which different users
reside.
Does this require turning on Hierarchical LDAP?
Could the problem be due to the password used by the user to search the
active directory having special characters?

Below are my ldap settings

ldap.enable = true
ldap.provider_url = ldap://win2k.aub.edu.lb ldap.id_field = uid
ldap.object_context = ou=AllUsers,o=win2k.aub.edu.lb ldap.search_context =
ou=AllUsers,o=win2k.aub.edu.lb ldap.email_field = mail ldap.surname_field =
sn ldap.givenname_field = givenName ldap.phone_field = telephoneNumber
webui.ldap.autoregister = true

# Hierarchical LDAP Settings 
ldap.search_scope = 2
ldap.search.user = cn=dspace,ou=Special Users,ou=AllUsers,o=win2k.aub.edu.lb
ldap.search.password =  x...@!=



Below are my logs before and after enabling Hierarchical LDAP.
What should i understand from the logs returning result=2 and
result=4

Before enabling Hierarchical LDAP:
2010-03-09 10:54:37,146 INFO  org.dspace.authenticate.PasswordAuthentication
@
anonymous:session_id=220F7A268A56898250A143DD431C7428:ip_addr=192.168.12.21:
authenticate:attempting
password auth of user=amerh
2010-03-09 10:54:37,166 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil
@
anonymous:session_id=220F7A268A56898250A143DD431C7428:ip_addr=192.168.12.21:
failed_login:email=amerh,
realm=null, result=4


After enabling Hierarchical LDAP:
2010-03-09 12:38:18,878 INFO
org.dspace.authenticate.LDAPHierarchicalAuthentication @
anonymous:session_id=27C51B3169D422438A3CB10F585196C0:ip_addr=192.168.12.21:
failed_login:no
DN found for user amerh
2010-03-09 12:38:18,878 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil
@
anonymous:session_id=27C51B3169D422438A3CB10F585196C0:ip_addr=192.168.12.21:
failed_login:email=amerh,
realm=null, result=2
2010-03-09 12:38:54,479 INFO
org.dspace.authenticate.LDAPHierarchicalAuthentication @
anonymous:session_id=27C51B3169D422438A3CB10F585196C0:ip_addr=192.168.12.21:
auth:attempting
trivial auth of user=am...@aub.edu.lb
2010-03-09 12:38:54,492 WARN
org.dspace.authenticate.LDAPHierarchicalAuthentication @
anonymous:session_id=27C51B3169D422438A3CB10F585196C0:ip_addr=192.168.12.21:
ldap_authentication:type=failed_auth
javax.naming.AuthenticationException\colon; [LDAP\colon; error code 49 -
80090308\colon; LdapErr\colon; DSID-0C090334, comment\colon;
AcceptSecurityContext error, data 525, vece]


Thanks for your time and have a great day!

Hossein

-Original Message-
From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] 
Sent: Monday, March 08, 2010 11:10 PM
To: Hossein Hamam
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] LDAP testing

Hi Hossein,

 I installed Dspace 1.6 and everything is up and running.
  
 Dspace is still up and running with no problems. I tried to log in with a
user name and password,
 I am getting that the username and password are not valid. Is there a
log page where I can see
 the errors that are occurring? how can I test if LDAP is working? Is there
any other update or
 change that I should do before it works

Take a look in [dspace]/log/dsapce.log[.datestamp] and watch that log file
as you try to log in. Hopefully it will tell you is wrong.

Which LDAP authenticator did you use, and does it match your LDAP structure?
Use LDAPAuthentication is all your users are in one OU (or branch) of your
LDAP tree, or use LDAPHierarchicalAuthentication if your users are spread
across different branches of your LDAP tree.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace Plugins List

2010-03-09 Thread AMJAD USMAN

Hello everybody,

 

Can anyone tell me how i get the list of plugins that dspace uses.

just tell me the link. i will check it.



From:
Amjad


  
_
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] Dspace Plugins List

2010-03-09 Thread Hilton Gibson
On Tue, Mar 9, 2010 at 4:06 PM, AMJAD USMAN amjad...@hotmail.com wrote:
 Hello everybody,

 Can anyone tell me how i get the list of plugins that dspace uses.
 just tell me the link. i will check it.
Here it is: http://www.dspace.org/add-ons-and-extensions/addons/



 From:
 Amjad



 
 Hotmail: Trusted email with powerful SPAM protection. Sign up now.
 --
 Download Intel® Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Dspace-general mailing list
 dspace-gene...@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-general





-- 
Systems Administrator
Library and Information Services
Stellenbosch University

http://www.sun.ac.za
http://library.sun.ac.za
http://scholar.sun.ac.za
http://ubuntu.sun.ac.za

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Mesage properties on Dspace 1.5.2

2010-03-09 Thread Claudia Jürgen

Hello Carlos,

the Messages.properties (message catalogue for the api and jspui) is in
[dspace-src]/dspace-api/src/main/resources

One usually keeps customized versions in
[dspace-src]/dspace/modules/jspui/...
The available translations are in the lib dspace-api-lang.jar

Hope that helps

Claudia Jürgen



Am 09.03.2010 10:24, schrieb Carlos Palop:

Hi all!

I'm using DSpace 1.5.2 and I can't find where Mesage properties file is
located. Anyone could help me?
When I installed Dspace long time ago, it was translated to spanish without
changing that file.

Thanks.




--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev



___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
attachment: Claudia_Juergen.vcf--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Handles are not generated for items (but are for collections)

2010-03-09 Thread Jizba, Richard
Hello,

Problem:
When we submit items to a collection, nothing appears when we click on
submissions and often we get an error: java.lang.NullPointerException.

When I go into the Items function and search for something by just
putting in a 1 or 2 or 3 I do see the items we have submitted, but there
is no handle. I would expect to see the default 123456789/# but it does
not exist.
So it looks like the problem is related to something that generates the
handle for an item.
I am able to create collections and they do receive handles.

Background:
We have set-up a test server with 1.5.2 and postgres. I did not set up
the server, someone else set it up for me (did the linux, postgres, and
DSpace install). Unfortunately I know DSpace basics and they know linux
and postgres.

Request:
Can someone give some hints about what might be wrong?

Richard
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Viewing Dspace 1.6 solr statistics

2010-03-09 Thread Poulter, Dale
We have successfully installed 1.6 and imported our old statistics logs into 
solr (thanks Stuart!). However, we do not seem to be able to view the 
statistics on our site :8080/solr .  When we attempt to access the site we get 
a 403 (access denied).  However I cannot see any problem in the logs.  Our 
settings are below.  Any suggestions?

in dspace.cfg

solr.log.server = http://127.0.0.1:8080/solr/statistics
solr.dbfile = ${dspace.dir}/config/GeoLiteCity.dat
statistics.item.authorization.admin = false
~

in server.xml

Context path=/solr docBase=/dspace/webapps/solr debug=0
reloadable=true cachingAllowed=false
allowLinking=true/




--Dale

---
Dale Poulter
Automation Coordinator
Library Information Technology Services
Vanderbilt University
Suite 700
110 21st Avenue South
Nashville, TN  37240
(615)343-5388
(615)343-8834 (fax)
(615)207-9705 (cell)
dale.poul...@vanderbilt.edumailto:dale.poul...@vanderbilt.edu

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Viewing Dspace 1.6 solr statistics

2010-03-09 Thread Stuart Lewis
Hi Dale,

The solr statistics are displayed with the jspui / xmlui rather than via the 
solr webapp. The solr webapp is just there to provide the data to the xmlui / 
jspui, and is not  normally access directly.

You should see a new 'View statistics' menu item in the XMLUI when viewing 
collections / communities / items, or on the similar pages in the JSPUI.

The /solr webapp returns 'access denied' because we have restricted access to 
it only to 'localhost' so that only the DSpace application can make queries to 
it. This can be opened up if required so that you can perform report generation 
functions if you wished. See the web.xml settings and mentions of the localhost 
filter for this.

I hope this helps,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


On 10/03/2010, at 9:38 AM, Poulter, Dale wrote:

 We have successfully installed 1.6 and imported our old statistics logs into 
 solr (thanks Stuart!). However, we do not seem to be able to view the 
 statistics on our site :8080/solr .  When we attempt to access the site we 
 get a 403 (access denied).  However I cannot see any problem in the logs.  
 Our settings are below.  Any suggestions?
  
 in dspace.cfg
  
 solr.log.server = http://127.0.0.1:8080/solr/statistics
 solr.dbfile = ${dspace.dir}/config/GeoLiteCity.dat
 statistics.item.authorization.admin = false
 ~
  
 in server.xml
  
 Context path=/solr docBase=/dspace/webapps/solr debug=0
 reloadable=true cachingAllowed=false
 allowLinking=true/
  
  
  
  
 --Dale
  
 ---
 Dale Poulter
 Automation Coordinator
 Library Information Technology Services
 Vanderbilt University
 Suite 700
 110 21st Avenue South
 Nashville, TN  37240
 (615)343-5388
 (615)343-8834 (fax)
 (615)207-9705 (cell)
 dale.poul...@vanderbilt.edu
  
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace 1.6 Webapp Deployment Problem

2010-03-09 Thread Rusty Earl
Hello,

I've run into an odd problem getting 1.6 working I can't figure out.
Basically I've got it built and installed properly but when I go to
deploy the webapp portion it will not work.

Here are some specifics of the environment:
Solaris 10 OS setup in a Zone architecture (basically everything runs in
a series of virtual machines)
Sun Java Application Server 9.1
Other apps running in the App Server include a couple Dspace 1.3.2
repositories and a Solr app

I've got the server logs and it seems to be something related to log4j.
When I googled a couple of the exceptions I found alot about class
loading issues and such but nothing obviously useful.  

The really odd thing is I can get the same exact install working with
the version Sun App Server but on another zone (virtual machine) without
a problem.  I just can't get it working on the zone its supposed to live
in when we move it to production.  I've tried both the xmlui and the
jspui and they throw the same errors.  

I also tried updating all the log4j libs in the older repositories to
the version Maven grabbed to use with 1.6 hoping it might be some shared
library issue but that didn't solve it.  

I'd appreciate any help/suggestions anyone might have.

Thanks,
Rusty Earl
Digital Library Initiatives
NCSU Libraries


Here is the relevant part of the server log for an attempted deployment
of the xmlui:

[#|2010-03-09T16:11:15.681-0500|SEVERE|sun-appserver9.1|
javax.enterprise.system.container.web|
_ThreadID=152;_ThreadName=Thread-640;_RequestID=95fa8815-d3a3-4faa-a49d-4b2b40604b5b;|WebModule[/xmlui]PWC1257:
 Error configuring application listener of class 
org.springframework.web.context.request.RequestContextListener
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@b67377 for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by
org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;@b67377 for
org.apache.commons.logging.impl.Log4JLogger (Caused by
java.lang.NoClassDefFoundError: org/apache/log4j/Category))
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at
org.springframework.web.context.request.RequestContextListener.init(RequestContextListener.java:55)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4459)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:5176)
at com.sun.enterprise.web.WebModule.start(WebModule.java:327)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1581)
at
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222)
at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
at
com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:974)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464)
at
com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176)
at
com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
at
com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226)
at
com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
at

Re: [Dspace-tech] LDAP testing

2010-03-09 Thread Stuart Lewis
Hi Hossein,

 Inside the ou=AllUsers, we have many sub OUs in which different users
 reside.
 Does this require turning on Hierarchical LDAP?

Yes.

 Could the problem be due to the password used by the user to search the
 active directory having special characters?

I don't think so - see below.

 2010-03-09 12:38:18,878 INFO
 org.dspace.authenticate.LDAPHierarchicalAuthentication @
 anonymous:session_id=27C51B3169D422438A3CB10F585196C0:ip_addr=192.168.12.21:
 failed_login:no
 DN found for user amerh

That looks good - as it means it has used your admin username and password, 
connected to the server and retrieved the DN for the user.

Next, it should try to re-bind to the server using that DN, and the user's 
password...

 2010-03-09 12:38:18,878 INFO  org.dspace.app.xmlui.utils.AuthenticationUtil
 @
 anonymous:session_id=27C51B3169D422438A3CB10F585196C0:ip_addr=192.168.12.21:
 failed_login:email=amerh,
 realm=null, result=2
 2010-03-09 12:38:54,479 INFO
 org.dspace.authenticate.LDAPHierarchicalAuthentication @
 anonymous:session_id=27C51B3169D422438A3CB10F585196C0:ip_addr=192.168.12.21:
 auth:attempting
 trivial auth of user=am...@aub.edu.lb
 2010-03-09 12:38:54,492 WARN
 org.dspace.authenticate.LDAPHierarchicalAuthentication @
 anonymous:session_id=27C51B3169D422438A3CB10F585196C0:ip_addr=192.168.12.21:
 ldap_authentication:type=failed_auth
 javax.naming.AuthenticationException\colon; [LDAP\colon; error code 49 -
 80090308\colon; LdapErr\colon; DSID-0C090334, comment\colon;
 AcceptSecurityContext error, data 525, vece]

...which looks like it is failing. We need to know what DN it is retrieving for 
the user. It should be possible to see this if you enable DEBUG level logging:

 - See 
http://wiki.dspace.org/index.php/TechnicalFaq#Setting_logging_level_up_to_DEBUG

because there is a line in the code that says:

log.debug(LogManager.getHeader(context, got DN, resultDN));

Seeing the DN, and checking it is correct, will be the next step.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Tracking of Issues locked by people

2010-03-09 Thread AMJAD USMAN

Hello everybody,

can anyone tell me how i track the people whom have locked the current issues 
of dspace for development purposes.
Especially in the filed of Semantic searching in dspace

waiting for your replies...

From:
Amjad


  
_
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problems with URL XMLUI

2010-03-09 Thread Pablo Olivares
Hi

I have problems with my url, i using Linux, Resin and Dspace 1.5

if i put this url:

http://miserver.com:8080/xmlui/

works!

But if i put (i.e without last slash)


 http://miserver.com:8080/xmlui

 crash!

and i see the following error:
 500 Servlet Exception

[show] javascript:show(); java.lang.NullPointerException
java.lang.NullPointerException
at 
org.apache.cocoon.servletservice.DynamicProxyRequestHandler.invoke(DynamicProxyRequestHandler.java:86)
at $Proxy24.getPathInfo(Unknown Source)
at 
org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.invoke(ServletFactoryBean.java:262)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy23.service(Unknown Source)
at 
org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:106)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
at 
com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
at 
org.dspace.app.xmlui.cocoon.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:142)
at 
com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at 
org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter.doFilter(DSpaceCocoonServletFilter.java:244)
at 
com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at 
org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilter.java:131)
at 
com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
at 
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
at 
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
at 
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743)
at
com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662)
at java.lang.Thread.run(Thread.java:619)




What is wrong? i missing some configuration?

Thanks for your help

El Pablo.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech