Re: [Dspace-tech] http status 500

2010-02-22 Thread Fabien COMBERNOUS
akhrz wrote:

 help, I'm getting the following error, any ideas where the problem lies?
 I'm not quite sure what has happened, I haven't changed any configs, 
 only perhaps someone inadvertently deleted or modified a few files

 many thanks!

Hi,

I'm not a dspace specialist, just a user. But, if you want to receive 
any help, you should provide at least contextual information.
If someone find a solution only with this kind of report, you can 
consider yourself as lucky.

Best regards,

-- 
*Fabien COMBERNOUS*
/unix system engineer/
www.kezia.com http://www.kezia.com/
*Tel: +33 (0) 467 992 986*
Kezia Group

--
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] add new atribute to 'edit profile'

2010-02-22 Thread Vinsenso

hmm...thanks claudia,
I have read it, but i'm still confusing...what should I use in my case...???

i need information about 'student code'...
so I can identify...the email that do registration is student in my
university...
then...
if he / she is a student in my university...I will input he / she to group
'read bitstream'...

so...any idea...??? what should I use / do...??


Note: I have a tricky way with change the text 'contact number' with text
'student code' in form edit-profile...but I will use it if I don't know what
to do anymore...hehe ^^
-- 
View this message in context: 
http://old.nabble.com/add-new-atribute-to-%27edit-profile%27-tp27648603p27684411.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
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] LDAP with DSpace 1.5.2

2010-02-22 Thread Rajshekhar Pandey
Hello to all,

I want to enable LDAP with my DSpace.

My dns is ldap.example.com
Domain Controller is WEBINITO
I have created an organisational unit named staffs
I have created an user under staffs
Display Name as Rajshekhar Pandey
logon id as rajshekhar
password as 123Admin
I have changed following setting in my dspace.cfg file

ldap.enable = true
ldap.provider_url = ldap://webinito.ldap.example.com:389/
ldap.id_field = cn
ldap.object_context = ou=staffs,dc=ldap,dc=example,dc=com
ldap.search_context = ou=staffs,dc=ldap,dc=example,dc=com
ldap.email_field = mail
ldap.surname_field = sn
ldap.givenname_field =NAME
ldap.phone_field = 1234567890

webui.ldap.autoregister = true

ldap.login.specialgroup = java


plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
org.dspace.authenticate.LDAPHierarchicalAuthentication
ldap.search_scope = 2
ldap.search.user = cn=Administrator,ou=Users,o=ldap.example.com
ldap.search.password = admin

ldap.netid_email_domain = @ldap.example.com


when I tried to login with the username as rajshekhar and password
as 123Admin it gives me following error in log file

2010-02-22 15:34:24,937 INFO
org.dspace.authenticate.LDAPHierarchicalAuthentication @
anonymous:session_id=7CE232A35C70C8EE03AF7148F658F61B:ip_addr=127.0.0.1:auth:attempting
trivial auth of user=rajshekhar
2010-02-22 15:34:24,953 WARN
org.dspace.authenticate.LDAPHierarchicalAuthentication @
anonymous:session_id=7CE232A35C70C8EE03AF7148F658F61B:ip_addr=127.0.0.1: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 ]
2010-02-22 15:34:24,953 INFO
org.dspace.authenticate.LDAPHierarchicalAuthentication @
anonymous:session_id=7CE232A35C70C8EE03AF7148F658F61B:ip_addr=127.0.0.1:failed_login:no
DN found for user rajshekhar
2010-02-22 15:34:24,953 INFO  org.dspace.app.webui.servlet.LDAPServlet
@ 
anonymous:session_id=7CE232A35C70C8EE03AF7148F658F61B:ip_addr=127.0.0.1:failed_login:netid=rajshekhar,
result=2

Thanks
-- 
Regards,
Rajshekhar Pandey
Jr. Software Engineer
Webinito Networks.

--
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] Creating private communities and collections

2010-02-22 Thread Fabien COMBERNOUS
Jamil Haddad wrote:
 Hello,

 I would like to know if it's possible to create private communities and 
 collections in DSpace. I need to create communities and collections that 
 must only be displayed to and accessible by authorized users.
   

I don't think so.
And i created a bug about this :

http://jira.dspace.org/jira/browse/DS-476

If you need this kind of possibility, vote about it.



-- 
*Fabien COMBERNOUS*
/unix system engineer/
www.kezia.com http://www.kezia.com/
*Tel: +33 (0) 467 992 986*
Kezia Group

--
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] http status 500

2010-02-22 Thread Peter Dietz
This kind of looks like a file permissions issue with Tomcat.

I've run into it on a development box where I must have accidentally touched
some files as the wrong user, and then tomcat could no longer run any .jsp
files for my dspace webapps.


To solve it, (on the development box),  I chown'ed all the files in /dspace
to the user that runs tomcat, and chmod'ed files to 775, check out the
dspace installation guide for your os to make sure you have/had everything
installed correctly.

I had a look at this guide http://readthefuckingmanual.net/error/1526/, I
think its close enough.



On Feb 20, 2010 9:50 AM, akhrz ak...@yahoo.com wrote:


help, I'm getting the following error, any ideas where the problem lies?
I'm not quite sure what has happened, I haven't changed any configs, only
perhaps someone inadvertently deleted or modified a few files

many thanks!

HTTP Status 500 -
--

*type* Exception report

*message*

*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*

*exception*

org.apache.jasper.JasperException: Unable to load class for JSP

org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:620)

org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)



org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

*root cause*

java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:188)


org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)

org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:618)



org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

*note* *The full stack trace of the root cause is available in the Apache
Tomcat/6.0.20 logs.*



*AND ALSO:*


HTTP Status 500 -
--

*type* Exception report

*message*

*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*

*exception*

java.io.FileNotFoundException:
/var/lib/tomcat6/work/Catalina/localhost/jspui/org/apache/jsp/index_jsp.java
(No such file or directory)


java.io.FileOutputStream.open(Native Method)
java.io.FileOutputStream.init(FileOutputStream.java:179)

java.io.FileOutputStream.init(FileOutputStream.java:70)

org.apache.jasper.compiler.Compiler.setupContextWriter(Compiler.java:276)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:215)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)


org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)


org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

*note* *The full stack trace of the root cause is available in the Apache
Tomcat/6.0.20 logs.*


--
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-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 

Re: [Dspace-tech] [Dspace-general] Creating private communities and collections

2010-02-22 Thread Peter Dietz
Fabien,

I'm wondering if the extension / add-on Masking
http://wiki.dspace.org/index.php/User:Emetsger:15xFeatureBranches might be
somewhat in the direction of what you're needing.
 Masking

   - Prevents items, collections, or communities from being viewed,
   downloaded, or otherwise discovered (e.g excluded from RSS feeds, OAI-PMH,
   search indexes)
   - Only administrators can view and manage masked items.


http://wiki.dspace.org/index.php/User:Emetsger:15xFeatureBranches

On Mon, Feb 22, 2010 at 5:40 AM, Fabien COMBERNOUS fcombern...@kezia.comwrote:

 Jamil Haddad wrote:
  Hello,
 
  I would like to know if it's possible to create private communities and
  collections in DSpace. I need to create communities and collections that
  must only be displayed to and accessible by authorized users.
 

 I don't think so.
 And i created a bug about this :

 http://jira.dspace.org/jira/browse/DS-476

 If you need this kind of possibility, vote about it.



 --
 *Fabien COMBERNOUS*
 /unix system engineer/
 www.kezia.com http://www.kezia.com/
 *Tel: +33 (0) 467 992 986*
 Kezia Group


 --
 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




-- 
Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries
--
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.5.1 + restoring + no Communities and Collections

2010-02-22 Thread Zico
Hi, I have just installed 1.5.1 in a new machine just to check my database
and other configuration. And i followed the below steps. But, I cannot find
my previous Communities and Collections list in my new server.

1. Newly installed dspace 1.5.1
2. Copied assetstore from previous one to current
/usr/local/dspace/assetstore
3. Copied config from previous one to current /usr/local/dspace/config/
4. Restored my database with:  psql -h 127.0.0.1 -U dspace dspace  dump.sql

5. Update database with: psql -U dspace -f
/opt/src/dspace-1.5.1/dspace/etc/database_schema_14-15.sql dspace
6. Copied webapps from previous one to current /usr/local/dspace/webapps
7. Update DSpace with:  ant -Dconfig=/usr/local/config/dspace.cfg update
8. Updated Metadata Registry with:  /usr/local/dspace/bin/dsrun
org.dspace.administer.MetadataImporter -f
/usr/local/dspace/config/registries/sword-metadata.xml

9.Rebuild browse and search index: /usr/local/dspace/bin/index-init
10. Restarted tomcat

It will be really helpful if you can help me a bit.
-- 
Best,
Zico
--
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] Creating private communities and collections

2010-02-22 Thread Peter Dietz
I also found another similar one.
http://wiki.dspace.org/index.php/Hide_Community_or_Collection_from_list

Here's the background:

At Leiden University, The Netherlands, we wanted to hide some collections
and communities from the Communities and Collections page. This is because
we have a special community for all our harvest collections (that include a
subset of items from our normal collections), but we did not want to show
them to the normal user.

Also, we have a community for a special group within our University, and we
wanted to be able to show this community only to people working at this
special group.
 http://wiki.dspace.org/index.php/Hide_Community_or_Collection_from_list

On Mon, Feb 22, 2010 at 12:06 PM, Peter Dietz dietz...@osu.edu wrote:

 Fabien,

 I'm wondering if the extension / add-on Masking
 http://wiki.dspace.org/index.php/User:Emetsger:15xFeatureBranches might be
 somewhat in the direction of what you're needing.
  Masking

- Prevents items, collections, or communities from being viewed,
downloaded, or otherwise discovered (e.g excluded from RSS feeds, OAI-PMH,
search indexes)
- Only administrators can view and manage masked items.


 http://wiki.dspace.org/index.php/User:Emetsger:15xFeatureBranches

 On Mon, Feb 22, 2010 at 5:40 AM, Fabien COMBERNOUS 
 fcombern...@kezia.comwrote:

 Jamil Haddad wrote:
  Hello,
 
  I would like to know if it's possible to create private communities and
  collections in DSpace. I need to create communities and collections that
  must only be displayed to and accessible by authorized users.
 

 I don't think so.
 And i created a bug about this :

 http://jira.dspace.org/jira/browse/DS-476

 If you need this kind of possibility, vote about it.



 --
 *Fabien COMBERNOUS*
 /unix system engineer/
 www.kezia.com http://www.kezia.com/
 *Tel: +33 (0) 467 992 986*
 Kezia Group


 --
 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




 --
 Peter Dietz
 Systems Developer/Engineer
 Ohio State University Libraries




-- 
Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries
--
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