[Dspace-tech] HandlePlugin ClassNotFoundException

2009-07-15 Thread Scott, Jon
Hello - I am still getting the following error when attempting to start
the handle-server here at wsu:

2009/07/15 01:26:15 PDT 25 Started new run.
java.lang.ClassNotFoundException: org.dspace.handle.HandlePlugin
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at
net.handle.server.HandleStorageFactory.getStorage(HandleStorageFacto
y.java:52)

I have tried all that I could think of an am no closer to solving - ANY
ideas or suggestions are greatly welcomed and thank you in advance for
taking a look at this - jon.scott


Jon Scott 
WSU Libraries Systems
Washington State University
Pullman, WA




--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Unable to complete upgrade - cannot find dspace.cfg ? RESOLVED

2009-05-15 Thread Scott, Jon
 
Exception in thread main java.lang.RuntimeException: Cannot find
dspace.cfg problem is now resolved ...

thinking I was being clever, I put a copy of dspace-api-1.5.2.jar in the
jre/lib/ext/ dir ! 
= turns out this is a very bad idea = removed old jar, ant updated, 

Ran the test again:

dsrun org.dspace.core.ConfigurationManager -property db.driver

And all is working as expected now ... hope posting this saves anybody
else just a little of their time if they run into the same exception. 

*jon.scott


-Original Message-
From: Scott, Jon [mailto:jon_sc...@wsu.edu] 
Sent: Thursday, May 14, 2009 3:26 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Unable to complete upgrade - cannot find
dspace.cfg ?

Hello dspace-techs - everything was going great for our upgrade here at
wsu until I tried to run index-init,etc., now I get the following (type
of) error when I run any command out of [dspace]/bin/ :

==

Exception in thread main java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Cannot find dspace.cfg
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.jav
a:594)
at
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.ja
va:135)
at org.dspace.search.DSIndexer.clinit(DSIndexer.java:143)

--

Just to test, I ran the following : 

dsrun org.dspace.core.ConfigurationManager -property db.driver

And got a similar result:

Exception in thread main java.lang.RuntimeException: Cannot find
dspace.cfg
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.jav
a:594)
at
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.ja
va:135)
at
org.dspace.core.ConfigurationManager.main(ConfigurationManager.java:805)

---

Yarg - not sure what to do - have been trying any ideas I could find
while googling but am stuck - any help/ideas from the experts would be
greatly appreciated - jon.scott


Jon Scott - jon_sc...@wsu.edu
IT Specialist 3
WSU Libraries Systems
Washington State University
Pullman, WA 99164-5610
Ph: 509.335.5713

www.wsulibs.wsu.edu | www.systems.wsu.edu




--
Crystal Reports - New Free Runtime and 30 Day Trial Check out the new
simplified licensing option that enables unlimited royalty-free
distribution of the report engine for externally facing server and web
deployment. 
http://p.sf.net/sfu/businessobjects
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Unable to complete upgrade - cannot find dspace.cfg ?

2009-05-14 Thread Scott, Jon
Hello dspace-techs - everything was going great for our upgrade here at
wsu until I tried to run index-init,etc., now I get the following (type
of) error when I run any command out of [dspace]/bin/ :

==

Exception in thread main java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Cannot find dspace.cfg
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.jav
a:594)
at
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.ja
va:135)
at org.dspace.search.DSIndexer.clinit(DSIndexer.java:143)

--

Just to test, I ran the following : 

dsrun org.dspace.core.ConfigurationManager -property db.driver

And got a similar result:

Exception in thread main java.lang.RuntimeException: Cannot find
dspace.cfg
at
org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.jav
a:594)
at
org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.ja
va:135)
at
org.dspace.core.ConfigurationManager.main(ConfigurationManager.java:805)

---

Yarg - not sure what to do - have been trying any ideas I could find
while googling but am stuck - any help/ideas from the experts would be
greatly appreciated - jon.scott


Jon Scott - jon_sc...@wsu.edu
IT Specialist 3
WSU Libraries Systems
Washington State University
Pullman, WA 99164-5610
Ph: 509.335.5713

www.wsulibs.wsu.edu | www.systems.wsu.edu



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Enumerating memberOf LDAP/AD field : request for help/advice

2008-12-11 Thread Scott, Jon
Good Morning Dspace-Tech!

We are trying out some ways to automate collection and group creation
steps on a development dspace (1.5.1) server here at WSU and have
recently been able to grab the first group that a user in Active
Directory is a memberOf.  Since Java is not my native tongue, I was
hoping a member of this list has already figured out how to enumerate
and return all groups that a user is a member of or can point me in the
right direction on how to accomplish this request using java (I have
read about (SearchResult)answer.next() and answer.hasMore() but have had
no luck getting all groups to be returned properly).  

Here is an example of prototype code starting at approximately line 330
of the LDAPServlet.java file :

if (attlist[4]!=null) // fifth element of attribute list is set
to memberOf property
{
att = atts.get(attlist[4]);
if (att != null)
{
ldapResult.memberof = (String)att.get(); 
String[] a = ldapResult.memberof.split(,); // split up
the returned memberOf attribute, we just want cn.
(String).get(cn).get() did not work
if (a[0]!=null) ldapResult.memberof =
a[0].substring(3,a[0].length()); // trim off just the cn= attribute
and remove the cn= key
else ldapResult.memberof = failed!;
}
}

Thank you in advance for any help or advice you can provide.  We are
very happy to share our experience (and code) with anyone interested in
doing the same type of modification/automation within Dspace.

- jon.scott


Jon Scott - [EMAIL PROTECTED]
IT Specialist 3
WSU Libraries Systems
Washington State University
Pullman, WA 99164-5610
Ph: 509.335.5713

www.wsulibs.wsu.edu | www.systems.wsu.edu



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech