Re: [Dspace-tech] custom embargo setter question

2013-05-01 Thread Thornton, Susan M. (LARC-B702)[LITES]
You've likely already checked this, but make sure your custom setter (which I'm 
assuming is a Java class) has a package statement in it, like:

package org.dspace.embargo;

Good luck!
Sue


Sue Walker-Thornton
(w):  (757) 864-2368
(m):  (757) 506-9903

-Original Message-
From: Shawn M. Kiewel [mailto:smkie...@gmail.com] 
Sent: Wednesday, May 01, 2013 2:19 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] custom embargo setter question

I apologize in advance for what is likely me overlooking something brain-dead 
simple; I'm very new to DSpace and have inherited the application (the original 
developer who wrote the custom class has left). I have just upgraded my DSpace 
installation to 3.1 from 1.6 and have run into an issue with the embargo 
setter. We are using a custom setter because we wish to limit by IP as well, 
and this was working perfectly under 1.6. Now, however, I am getting a 
ClassNotFound exception when I try to add an item to the repo. I have copied 
the source file over to 
[dspace-src]/dspace-api/src/main/java/org/dspace/embargo. I did not see any 
errors running mvn or ant, though I may have missed them. Any ideas of where to 
look to hunt down why my class isn't being found?

Thanks for your assistance,
Shawn
--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 
100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead Download 
for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
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

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
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] custom embargo setter question

2013-05-01 Thread George Stanley Kozak
Shawn:

I'm not sure if this is your problem, but I had a similar situation when I 
upgraded last (from DSpace 1.7.1 to DSpace 1.8.2).  
I need to do the maven command  (mvn -U clean package) from:
/dspace/dspace-1.8.2-src-release/

instead of:
/dspace/dspace/dspace-1.8.2-src-release/dspace/

If I executed the maven command from the second path, it missed the additional 
code that I had added to my site.

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924


-Original Message-
From: Shawn M. Kiewel [mailto:smkie...@gmail.com] 
Sent: Wednesday, May 01, 2013 2:19 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] custom embargo setter question

I apologize in advance for what is likely me overlooking something brain-dead 
simple; I'm very new to DSpace and have inherited the application (the original 
developer who wrote the custom class has left). I have just upgraded my DSpace 
installation to 3.1 from 1.6 and have run into an issue with the embargo 
setter. We are using a custom setter because we wish to limit by IP as well, 
and this was working perfectly under 1.6. Now, however, I am getting a 
ClassNotFound exception when I try to add an item to the repo. I have copied 
the source file over to 
[dspace-src]/dspace-api/src/main/java/org/dspace/embargo. I did not see any 
errors running mvn or ant, though I may have missed them. Any ideas of where to 
look to hunt down why my class isn't being found?

Thanks for your assistance,
Shawn
--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 
100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead Download 
for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
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



--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
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] custom embargo setter question

2013-05-01 Thread Shawn M. Kiewel
Many, many thank yous to you! That was it exactly. I would have never figured 
that out myself. 

Thanks!
Shawn


On May 1, 2013, at 3:12 PM, George Stanley Kozak g...@cornell.edu wrote:

 Shawn:
 
 I'm not sure if this is your problem, but I had a similar situation when I 
 upgraded last (from DSpace 1.7.1 to DSpace 1.8.2).  
 I need to do the maven command  (mvn -U clean package) from:
 /dspace/dspace-1.8.2-src-release/
 
 instead of:
 /dspace/dspace/dspace-1.8.2-src-release/dspace/
 
 If I executed the maven command from the second path, it missed the 
 additional code that I had added to my site.
 
 George Kozak
 Digital Library Specialist
 Cornell University Library Information Technologies (CUL-IT)
 218 Olin Library
 Cornell University
 Ithaca, NY 14853
 607-255-8924
 
 
 -Original Message-
 From: Shawn M. Kiewel [mailto:smkie...@gmail.com] 
 Sent: Wednesday, May 01, 2013 2:19 PM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] custom embargo setter question
 
 I apologize in advance for what is likely me overlooking something brain-dead 
 simple; I'm very new to DSpace and have inherited the application (the 
 original developer who wrote the custom class has left). I have just upgraded 
 my DSpace installation to 3.1 from 1.6 and have run into an issue with the 
 embargo setter. We are using a custom setter because we wish to limit by IP 
 as well, and this was working perfectly under 1.6. Now, however, I am getting 
 a ClassNotFound exception when I try to add an item to the repo. I have 
 copied the source file over to 
 [dspace-src]/dspace-api/src/main/java/org/dspace/embargo. I did not see any 
 errors running mvn or ant, though I may have missed them. Any ideas of where 
 to look to hunt down why my class isn't being found?
 
 Thanks for your assistance,
 Shawn
 --
 Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 
 100% visibility into your production application - at no cost.
 Code-level diagnostics for performance bottlenecks with 2% overhead Download 
 for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap1
 ___
 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
 
 


--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
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