[Dspace-tech] Unable to update text on JSP page

2013-11-26 Thread Shazia Sathar
Hello,

I am trying to update text on Home page by making updates to
Messages.Properties file. Here are the steps I followed:

1) Copy Message.properties file from
[dspace-src]\dspace-api\src\main\resources to
[dspace-src]\dspace\modules\jspui\src\main\resources
2) Edit the file in [dspace-src]\dspace\modules\jspui\src\main\resources

jsp.home.com1  = Communities in My DSpace
jsp.home.title  = ABC Home

3) go to [dspace-src]\dspace

Run  "mvn package"

4) Go to [dspace-src]\dspace\target\dspace-3.3-build\

Run 'ant -Dconfig=C:\dspace\config\dspace.cfg update

5) XCOPY C:\dspace\webapps\* C:\apache-tomcat-8.0.0-RC5\webapps /s/i
6) Restart Tomcat

I do not see my changes on the Home page. Am I missing something here? I am
using Dspace version 3.2 and running on Windows platform

Regards,
Shazia
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/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] Unable to update text on JSP page in v3.2

2013-11-27 Thread Shazia Sathar
Some more info:
I went through the FAQ section regarding updates to Messages.properties
without doing a build. This is what I noticed for my build.

1) Unzipped  [dspace]/webapps/jspui/WEB-INF/lib/dspace-api-3.2.jar to
external folder
2) The Message.properties does *not* contain the modifications  from
[dspace-src]\dspace\modules\jspui\src\main\resources
4) The Message.properties file in [dspace]/webapps/jspui/WEB-INF/classes/
has the modifications present.
5) restarted servlet container

The changes are *not* visible on the home page. Is there any way I can
verify if the custom files placed under
[dspace-src]\dspace\modules\jspui\src\main\resources
is actually being used in the build process?

On Tue, Nov 26, 2013 at 10:19 AM, Shazia Sathar  wrote:

> Hello,
>
> I am trying to update text on Home page by making updates to
> Messages.Properties file. Here are the steps I followed:
>
> 1) Copy Message.properties file from
> [dspace-src]\dspace-api\src\main\resources to
> [dspace-src]\dspace\modules\jspui\src\main\resources
> 2) Edit the file in [dspace-src]\dspace\modules\jspui\src\main\resources
>
> jsp.home.com1  = Communities in My DSpace
> jsp.home.title  = ABC Home
>
> 3) go to [dspace-src]\dspace
>
> Run  "mvn package"
>
> 4) Go to [dspace-src]\dspace\target\dspace-3.3-build\
>
> Run 'ant -Dconfig=C:\dspace\config\dspace.cfg update
>
> 5) XCOPY C:\dspace\webapps\* C:\apache-tomcat-8.0.0-RC5\webapps /s/i
> 6) Restart Tomcat
>
> I do not see my changes on the Home page. Am I missing something here? I
> am using Dspace version 3.2 and running on Windows platform
>
> Regards,
> Shazia
>
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/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] modification to Messages.properties not visible

2013-12-03 Thread Shazia Sathar
Hello All,

I am trying to update text on JSP page by modifying Messages.properties and
have tried all methods posted in documentation and FAQs and still no luck.
In the Bugs fixed section for release 3.2 I see "DSpace's .gitignore
wrongly ignores all *.properties
files<https://jira.duraspace.org/browse/DS-1540>".
I was wondering if this fix is available in the latest version of release
3.2. If not, how can I go about and incorporate this fix in my installation.

Thanks for the help

Regards

-- Forwarded message ------
From: Shazia Sathar 
Date: Wed, Nov 27, 2013 at 1:32 PM
Subject: Re: Unable to update text on JSP page in v3.2
To: dspace-tech@lists.sourceforge.net


Some more info:
I went through the FAQ section regarding updates to Messages.properties
without doing a build. This is what I noticed for my build.

1) Unzipped  [dspace]/webapps/jspui/WEB-INF/lib/dspace-api-3.2.jar to
external folder
2) The Message.properties does *not* contain the modifications  from
[dspace-src]\dspace\modules\jspui\src\main\resources
4) The Message.properties file in [dspace]/webapps/jspui/WEB-INF/classes/
has the modifications present.
5) restarted servlet container

The changes are *not* visible on the home page. Is there any way I can
verify if the custom files placed under
[dspace-src]\dspace\modules\jspui\src\main\resources
is actually being used in the build process?

On Tue, Nov 26, 2013 at 10:19 AM, Shazia Sathar  wrote:

> Hello,
>
> I am trying to update text on Home page by making updates to
> Messages.Properties file. Here are the steps I followed:
>
> 1) Copy Message.properties file from
> [dspace-src]\dspace-api\src\main\resources to
> [dspace-src]\dspace\modules\jspui\src\main\resources
> 2) Edit the file in [dspace-src]\dspace\modules\jspui\src\main\resources
>
> jsp.home.com1  = Communities in My DSpace
> jsp.home.title  = ABC Home
>
> 3) go to [dspace-src]\dspace
>
> Run  "mvn package"
>
> 4) Go to [dspace-src]\dspace\target\dspace-3.3-build\
>
> Run 'ant -Dconfig=C:\dspace\config\dspace.cfg update
>
> 5) XCOPY C:\dspace\webapps\* C:\apache-tomcat-8.0.0-RC5\webapps /s/i
> 6) Restart Tomcat
>
> I do not see my changes on the Home page. Am I missing something here? I
> am using Dspace version 3.2 and running on Windows platform
>
> Regards,
>  Shazia
>
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/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] Unable to update text on JSP page in v3.2

2013-12-05 Thread Shazia Sathar
-
> [image: logo]
> *Bram Luyten* *@mire*
> *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> www.atmire.com<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
>
>
> On Wed, Nov 27, 2013 at 8:32 PM, Shazia Sathar  wrote:
>
>> Some more info:
>> I went through the FAQ section regarding updates to Messages.properties
>> without doing a build. This is what I noticed for my build.
>>
>> 1) Unzipped  [dspace]/webapps/jspui/WEB-INF/lib/dspace-api-3.2.jar to
>> external folder
>> 2) The Message.properties does *not* contain the modifications  from
>> [dspace-src]\dspace\modules\jspui\src\main\resources
>> 4) The Message.properties file in [dspace]/webapps/jspui/WEB-INF/classes/
>> has the modifications present.
>> 5) restarted servlet container
>>
>> The changes are *not* visible on the home page. Is there any way I can
>> verify if the custom files placed under 
>> [dspace-src]\dspace\modules\jspui\src\main\resources
>> is actually being used in the build process?
>>
>> On Tue, Nov 26, 2013 at 10:19 AM, Shazia Sathar  wrote:
>>
>>> Hello,
>>>
>>> I am trying to update text on Home page by making updates to
>>> Messages.Properties file. Here are the steps I followed:
>>>
>>> 1) Copy Message.properties file from
>>> [dspace-src]\dspace-api\src\main\resources to
>>> [dspace-src]\dspace\modules\jspui\src\main\resources
>>> 2) Edit the file in [dspace-src]\dspace\modules\jspui\src\main\resources
>>>
>>> jsp.home.com1  = Communities in My DSpace
>>> jsp.home.title  = ABC Home
>>>
>>> 3) go to [dspace-src]\dspace
>>>
>>> Run  "mvn package"
>>>
>>> 4) Go to [dspace-src]\dspace\target\dspace-3.3-build\
>>>
>>> Run 'ant -Dconfig=C:\dspace\config\dspace.cfg update
>>>
>>> 5) XCOPY C:\dspace\webapps\* C:\apache-tomcat-8.0.0-RC5\webapps /s/i
>>> 6) Restart Tomcat
>>>
>>> I do not see my changes on the Home page. Am I missing something here? I
>>> am using Dspace version 3.2 and running on Windows platform
>>>
>>> Regards,
>>>  Shazia
>>>
>>
>>
>>
>> --
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/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
>>
>
>
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/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] Unable to update text on JSP page in v3.2

2013-12-05 Thread Shazia Sathar
I just tried placing the custom Message.properties file in
[dspace-src]\dspace\modules\jspui\src\test\resources. Here is the build
output:

[INFO]

[INFO] Building DSpace JSP-UI :: Local Customizations
[INFO]task-segment: [package]
[INFO]

[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] No sources to compile
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
*[INFO] Copying 1 resource*
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO] Assembling webapp [jspui] in
[C:\dspace-3.2-src-release\dspace\modules\js
pui\target\jspui-3.2]
[INFO] Processing war project
[INFO] Copying webapp webResources
[C:\dspace-3.2-src-release\dspace\modules\jsp
ui/src/main/webapp] to
[C:\dspace-3.2-src-release\dspace\modules\jspui\target\js
pui-3.2]
[INFO] Copying webapp resources
[C:\dspace-3.2-src-release\dspace\modules\jspui\
src\main\webapp]
[INFO] Processing overlay [ id org.dspace:dspace-jspui]
[INFO] Webapp assembled in [28358 msecs]

Looks like it picked up the custom file but I do not see any updates on the
webpage. I checked a few files under  [tomcat]\webapps
1) Unpacked [tomcat]\webapps\\jspui\WEB-INF\lib\dspace-api-3.2 - Not the
custom Message.properties file
2)  [tomcat]\webapps\\jspui\WEB-INF\classes - Custom file present here
3) [tomcat]webapps - not custom Message.properties file

Any pointers on how to proceed? I see this problem only with custom
Message.properties. The custom JSP files show up fine.

Thanks!

Regards,
Shazia


On Thu, Dec 5, 2013 at 9:17 AM, Shazia Sathar  wrote:

> Hi Bram,
>
> Thanks much for getting back to me. Here is the maven build output for the
> JSPUI part
>
> [INFO]
> 
> [INFO] Building DSpace JSP-UI :: Local Customizations
> [INFO]task-segment: [package]
> [INFO]
> 
> [INFO] [enforcer:enforce {execution: enforce-maven}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] No sources to compile
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [*INFO] skip non existing resourceDirectory
> C:\dspace-3.2-src-release\dspace\modules\jspui\src\test\resources*
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [war:war {execution: default-war}]
> [INFO] Packaging webapp
> [INFO] Assembling webapp [jspui] in
> [C:\dspace-3.2-src-release\dspace\modules\jspui\target\jspui-3.2]
> [INFO] Processing war project
> [INFO] Copying webapp webResources
> [C:\dspace-3.2-src-release\dspace\modules\jspui/src/main/webapp] to
> [C:\dspace-3.2-src-release\dspace\modules\jspui\target\jspui-3.2]
> [INFO] Copying webapp resources
> [C:\dspace-3.2-src-release\dspace\modules\jspui\src\main\webapp]
> [INFO] Processing overlay [ id org.dspace:dspace-jspui]
>
> Do you notice anything unsual here?
> I have placed my custom Messsage.properties file
> in [dspace-src]\dspace\modules\jspui\src\main\resources. I don't see it
> getting picked up from this location. I will try again by placing it in
> [dspace-src]\dspace\modules\jspui\src\test\resources
>
>
> Thanks again for looking into this.
>
> Regards,
> Shazia
>
>
> On Thu, Dec 5, 2013 at 5:02 AM, Bram Luyten  wrote:
>
>> Hi Shazia,
>>
>> *snip*
>> Is there any way I can verify if the custom files placed under 
>> [dspace-src]\dspace\modules\jspui\src\main\resources
>> is actually being used in the build process?
>> *snip*
>>
>> I believe this should be clear form your maven build output. You should
>> see something like this:
>> The "skip" lines here clearly indicate that maven looks for custom files,
>> but can't find the folder they are supposed to be in:
>>
>> [INFO]
>> 

Re: [Dspace-tech] Unable to update text on JSP page in v3.2

2013-12-05 Thread Shazia Sathar
Yes I execute *ant update* after the mvn build step. I have observed the
line you pointed out in the build output before but not sure why the
modifications are not showing up on the webpage. I have tried clearing
cache and restarting tomcat but no luck. Infact, the timestamps on the
folders in webapp directories do not show that any of the folders have been
updated.
In the changes history for v3.2 I noticed DSpace's .gitignore wrongly
ignores all *.properties files <https://jira.duraspace.org/browse/DS-1540>.
 Not sure if this bug is affecting me. The .gitignore file in
[dspace-src]\dspace\modules\jspui\src\main\webapp is empty. Should this
file be present there?



On Thu, Dec 5, 2013 at 10:00 AM, Bram Luyten  wrote:

> Shazia,
>
> I think the line already makes it clear that the files are found and
> copied.
>
> *[INFO] Using 'UTF-8' encoding to copy filtered resources.*
> *[INFO] Copying 2 resources*
>
> Sorry if you stated this before, but can you confirm that you have
> executed *ant update*? This should take care of copying your files from
> the target directories in the right webapps folders.
>
> best regards,
>
> Bram
>
> --
> [image: logo]
> *Bram Luyten* *@mire*
> *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> www.atmire.com<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
>
>
> On Thu, Dec 5, 2013 at 4:41 PM, Shazia Sathar  wrote:
>
>> I just tried placing the custom Message.properties file in
>> [dspace-src]\dspace\modules\jspui\src\test\resources. Here is the build
>> output:
>>
>> [INFO]
>> 
>> [INFO] Building DSpace JSP-UI :: Local Customizations
>> [INFO]task-segment: [package]
>> [INFO]
>> 
>> [INFO] [enforcer:enforce {execution: enforce-maven}]
>> [INFO] [resources:resources {execution: default-resources}]
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] Copying 2 resources
>> [INFO] [compiler:compile {execution: default-compile}]
>> [INFO] No sources to compile
>> [INFO] [resources:testResources {execution: default-testResources}]
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> *[INFO] Copying 1 resource*
>> [INFO] [compiler:testCompile {execution: default-testCompile}]
>> [INFO] Not compiling test sources
>> [INFO] [surefire:test {execution: default-test}]
>> [INFO] Tests are skipped.
>> [INFO] [war:war {execution: default-war}]
>> [INFO] Packaging webapp
>> [INFO] Assembling webapp [jspui] in
>> [C:\dspace-3.2-src-release\dspace\modules\js
>> pui\target\jspui-3.2]
>> [INFO] Processing war project
>> [INFO] Copying webapp webResources
>> [C:\dspace-3.2-src-release\dspace\modules\jsp
>> ui/src/main/webapp] to
>> [C:\dspace-3.2-src-release\dspace\modules\jspui\target\js
>> pui-3.2]
>> [INFO] Copying webapp resources
>> [C:\dspace-3.2-src-release\dspace\modules\jspui\
>> src\main\webapp]
>> [INFO] Processing overlay [ id org.dspace:dspace-jspui]
>> [INFO] Webapp assembled in [28358 msecs]
>>
>> Looks like it picked up the custom file but I do not see any updates on
>> the webpage. I checked a few files under  [tomcat]\webapps
>> 1) Unpacked [tomcat]\webapps\\jspui\WEB-INF\lib\dspace-api-3.2 - Not the
>> custom Message.properties file
>> 2)  [tomcat]\webapps\\jspui\WEB-INF\classes - Custom file present here
>> 3) [tomcat]webapps - not custom Message.properties file
>>
>> Any pointers on how to proceed? I see this problem only with custom
>> Message.properties. The custom JSP files show up fine.
>>
>> Thanks!
>>
>> Regards,
>>  Shazia
>>
>>
>> On Thu, Dec 5, 2013 at 9:17 AM, Shazia Sathar  wrote:
>>
>>> Hi Bram,
>>>
>>> Thanks much for getting back to me. Here is the maven build output for
>>> the JSPUI part
>>>
>>> [INFO]
>>> 
>>> [INFO] Building DSpace JSP-UI :: Local Customizations
>>> [INFO]task-segment: [package]
>>> [INFO]
>>> 
>>> [INFO] [enforcer:enforce {execution: enforce-maven}]
>>> [INFO] [resources:resources {execution: default-resources}]
>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>> [INFO] Copying

Re: [Dspace-tech] Unable to update text on JSP page in v3.2

2013-12-06 Thread Shazia Sathar
I am able to edit the JSP files and see those changes.
I just edited build.properties and [dspace-src] and ran mvn clean package
and ant update. The changed DSpace name showed up on home page and the
title.
So looks like it is only changes to the the Message.properties file that do
no show up. I did try one other thing.

Unpack dspace-api-3.2 in [tomcat]\webapp\WEB-INF\lib
Update Message.properties
create new dspace-api-3.2.jar file with modified Message.properties
Place it back in [tomcat]\webapp\WEB-INF\lib

Now the updates show up on the webpage. I am using this as a workaround
till I find a better (and clean) solution.


Regards,
Shazia


On Thu, Dec 5, 2013 at 12:17 PM, Bram Luyten  wrote:

> Shazia,
>
> are you able to update other files and see those changes in the interface?
> If you want to try this out, can you change dspace.name in
> build.properties, and see if after mvn clean package and ant update, the
> changed DSpace name would show up on the homepage?
>
> This way, you can determine whether you can't get any changes in place at
> all, or just the ones in messages.properties.
>
> best regards,
>
> Bram Luyten
>
>
> --
> [image: logo]
> *Bram Luyten* *@mire*
> *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
> *Esperantolaan 4, Heverlee 3001, Belgium*
> www.atmire.com<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
>
>
> On Thu, Dec 5, 2013 at 5:30 PM, Shazia Sathar  wrote:
>
>> Yes I execute *ant update* after the mvn build step. I have observed the
>> line you pointed out in the build output before but not sure why the
>> modifications are not showing up on the webpage. I have tried clearing
>> cache and restarting tomcat but no luck. Infact, the timestamps on the
>> folders in webapp directories do not show that any of the folders have been
>> updated.
>> In the changes history for v3.2 I noticed DSpace's .gitignore wrongly
>> ignores all *.properties files<https://jira.duraspace.org/browse/DS-1540>.
>>  Not sure if this bug is affecting me. The .gitignore file in
>> [dspace-src]\dspace\modules\jspui\src\main\webapp is empty. Should this
>> file be present there?
>>
>>
>>
>> On Thu, Dec 5, 2013 at 10:00 AM, Bram Luyten  wrote:
>>
>>> Shazia,
>>>
>>> I think the line already makes it clear that the files are found and
>>> copied.
>>>
>>> *[INFO] Using 'UTF-8' encoding to copy filtered resources.*
>>> *[INFO] Copying 2 resources*
>>>
>>> Sorry if you stated this before, but can you confirm that you have
>>> executed *ant update*? This should take care of copying your files from
>>> the target directories in the right webapps folders.
>>>
>>> best regards,
>>>
>>> Bram
>>>
>>> --
>>>  [image: logo]
>>> *Bram Luyten* *@mire*
>>> *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
>>> *Esperantolaan 4, Heverlee 3001, Belgium*
>>> www.atmire.com<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
>>>
>>>
>>> On Thu, Dec 5, 2013 at 4:41 PM, Shazia Sathar  wrote:
>>>
>>>> I just tried placing the custom Message.properties file in
>>>> [dspace-src]\dspace\modules\jspui\src\test\resources. Here is the
>>>> build output:
>>>>
>>>> [INFO]
>>>> 
>>>> [INFO] Building DSpace JSP-UI :: Local Customizations
>>>> [INFO]task-segment: [package]
>>>> [INFO]
>>>> 
>>>> [INFO] [enforcer:enforce {execution: enforce-maven}]
>>>> [INFO] [resources:resources {execution: default-resources}]
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] Copying 2 resources
>>>> [INFO] [compiler:compile {execution: default-compile}]
>>>> [INFO] No sources to compile
>>>> [INFO] [resources:testResources {execution: default-testResources}]
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> *[INFO] Copying 1 resource*
>>>> [INFO] [compiler:testCompile {execution: default-testCompile}]
>>>> [INFO] Not compiling test sources
>>>> [INFO] [surefire:test {execution: default-test}]
>>>> [INFO] Tests are skipped.
>>>> [INFO] [war:war {execution: default-war}]
>>>> [INF

[Dspace-tech] Error on creating Community and collections

2013-12-11 Thread Shazia Sathar
Hello All,
I am new to DSpace and I am trying to set it up for my university so that
the Principal Investigators have all their projects and data grouped
together in once space and also to be able to share the data. The hierarchy
I have in mind is
 Principal Investigator (Community) -> Projects (Sub-community) -> Proj
Folders like Data/Meeting Notes/Analysis (Collections)

I have a few questions:
1) Is it possible that a set of Collections get automatically created for
every sub-community that is created? For example whenever a new project is
created in DSpace, then the project folders for Data, Analysis, etc get
automatically created?

2)
I am trying to create a Community and Collection on my DSpace 3.2 install
and it gives me an error page. Surprisingly, the community and collection
do get created. But on trying to submit an Item to a collection I get the
error again.

Any pointers?



Servlet execution threw an exception
=
javax.servlet.ServletException: Servlet execution threw an exception
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.dspace.search.DSIndexer
at org.dspace.search.SearchConsumer.end(SearchConsumer.java:181)
at org.dspace.event.BasicDispatcher.dispatch(BasicDispatcher.java:147)
at org.dspace.core.Context.commit(Context.java:331)
at
org.dspace.submit.step.SelectCollectionStep.doProcessing(SelectCollectionStep.java:110)
at
org.dspace.app.webui.submit.JSPStepManager.doStepStart(JSPStepManager.java:301)
at
org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:246)
at
org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:382)
at
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:285)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
... 21 more
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/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] Error on creating Community and collections

2013-12-12 Thread Shazia Sathar
Thanks! You were right about the indexes. I was finally able to resolve the
issue. The problem was with the solr.server property in build.properties
file. I had set it to http://lucene.apache.ord/solr. Now, I have modified
that to:
solr.server=http://localhost:8080/solr

Regarding my second query, any ideas on how I can go about creating a set
of Collections for every sub-community that is created? I am unsure as to
what files to modify or even look at to begin with. Thanks!

Regards,
Shazia



On Thu, Dec 12, 2013 at 1:38 AM, Hilton Gibson wrote:

>
> On 11 December 2013 19:49, Shazia Sathar  wrote:
>
>> Caused by: java.lang.NoClassDefFoundError: Could not initialize class
>> org.dspace.search.DSIndexer
>>
>
> Hi Shazia
>
> This "Caused by: java.lang.NoClassDefFoundError: Could not initialize
> class org.dspace.search.DSIndexer" leads me to think something is not right
> with the "indexes".
> Perhaps this will help:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes
>
> Cheers
>
> hg
>
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> JS Gericke Library
> Room 1025C
> Stellenbosch University
> Private Bag X5036
> Stellenbosch
> 7599
> South Africa
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
> http://library.sun.ac.za
> http://za.linkedin.com/in/hiltongibson
>
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/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] Authentication in DSapce 3.2

2013-12-16 Thread Shazia Sathar
Hello All,

Does anyone know of some documentation regarding Authentication and
roles/permissions in DSapce. I did look in the manual for version 3.2 but
was wondering if there is something more detailed.
Also, can someone tell me how the Add E-person functionality works? After I
add an e-person, what credentials can the user use to login?

Thanks

Shazia
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/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] Item level versioning with JSPUI

2013-12-17 Thread Shazia Sathar
Hello All,

Just wanted to check if item level versioning is available with release 4.0
or not.
If yes, is it still restricted to administrators and collection/community
administrators submitting new versions?

Regards,
Shazia
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/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] Item level versioning with JSPUI

2013-12-17 Thread Shazia Sathar
Thanks Andrea for your quick response. Appreciate it!

Regards,
Shazia



On Tue, Dec 17, 2013 at 11:21 AM, Andrea Bollini wrote:

>  Yes it is.
> Only administrators and collection/community administrators can submit new
> versions as in XMLUI.
> Andrea
>
> Il 17/12/2013 17.55, Shazia Sathar ha scritto:
>
> Hello All,
>
>  Just wanted to check if item level versioning is available with release
> 4.0 or not.
> If yes, is it still restricted to administrators and collection/community
> administrators submitting new versions?
>
>  Regards,
> Shazia
>
>
> --
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics 
> Pro!http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>
>
>
> ___
> DSpace-tech mailing 
> listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>
> --
> Andrea Bollini
> Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria
> Divisione Ricerca
>
> Via dei Tizii, 6
> 00185 Roma, Italy
> tel. +39 06 44 486 087 - mob. +39 348 82 77 525http://www.cineca.it
>
>
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/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 upgrade to 4 from 3.2

2013-12-19 Thread Shazia Sathar
Hello All,

I have been trying to upgrade from 3.2 to 4 as well and all goes well with
the build. But not able to access the web page. It says "Requested resource
not available". I have copied the web application to tomcat/webapps.  I
even tried to deploy from Tomcat manager but no luck there as well.
Any pointers?

Regards,
Shazia


On Thu, Dec 19, 2013 at 10:57 AM, Andrea Bollini wrote:

>  Have you deployed the new webapps?
> see point 8 of the linked documentation
>
>
>1.
>
>*Deploy Web Applications*. If necessary, copy the web applications
>files from your [dspace]/webapps directory to the subdirectory of your
>servlet container (e.g. Tomcat):
> cp -R [dspace]/webapps/* [tomcat]/webapps/
>
>See the installation 
> guide
> for full details.
>
>
> Andrea
>
>
> Il 19/12/2013 06.35, ribin.jo...@niist.res.in ha scritto:
>
> I am running dspace 3.2 in Ubuntu..Now I want to upgrade to dspace 4. I used 
> the below howto for the upgrade:
> https://wiki.duraspace.org/display/DSDOC4x/Upgrading+From+3.x+to+4.0
>
>
> Build and everything was fine. I did appropriate changes in the dspace 4 
> dspace.cfg file.
>
> Now after the [dspace-source]/dspace/etc/postgres/database_schema_3-4.sql 
> command, I restarted tomcat and postgres. Still I get my dspace 3.2 web page 
> while browsing my dspace url. Is there anything specific we need to tell to 
> take the new dspace.cfg or anything else?
>
> Any help is very much appreciated.
>
> Regards,
>
> Ribin Jones
>
> --
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics 
> Pro!http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> ___
> DSpace-tech mailing 
> listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
>
> --
> Andrea Bollini
> Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria
> Divisione Ricerca
>
> Via dei Tizii, 6
> 00185 Roma, Italy
> tel. +39 06 44 486 087 - mob. +39 348 82 77 525http://www.cineca.it
>
>
>
> --
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/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
>
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/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 upgrade to 4 from 3.2

2013-12-19 Thread Shazia Sathar
re.
> Andrea
>
>
>
> Inviato da Samsung Mobile
>
>
>  Messaggio originale 
> Da: Shazia Sathar
> Data:19/12/2013 19:08 (GMT+01:00)
> A: Andrea Bollini
> Cc: ribin.jo...@niist.res.in,dspace-tech
> Oggetto: Re: [Dspace-tech] Dspace upgrade to 4 from 3.2
>
> Hello All,
>
> I have been trying to upgrade from 3.2 to 4 as well and all goes well with
> the build. But not able to access the web page. It says "Requested resource
> not available". I have copied the web application to tomcat/webapps.  I
> even tried to deploy from Tomcat manager but no luck there as well.
> Any pointers?
>
> Regards,
> Shazia
>
>
> On Thu, Dec 19, 2013 at 10:57 AM, Andrea Bollini wrote:
>
>>  Have you deployed the new webapps?
>> see point 8 of the linked documentation
>>
>>
>>1.
>>
>>*Deploy Web Applications*. If necessary, copy the web applications
>>files from your [dspace]/webapps directory to the subdirectory of
>>your servlet container (e.g. Tomcat):
>> cp -R [dspace]/webapps/* [tomcat]/webapps/
>>
>>See the installation 
>> guide<https://wiki.duraspace.org/display/DSDOC4x/Installing+DSpace#InstallingDSpace-deployment>
>> for full details.
>>
>>
>> Andrea
>>
>>
>> Il 19/12/2013 06.35, ribin.jo...@niist.res.in ha scritto:
>>
>> I am running dspace 3.2 in Ubuntu..Now I want to upgrade to dspace 4. I used 
>> the below howto for the upgrade:
>> https://wiki.duraspace.org/display/DSDOC4x/Upgrading+From+3.x+to+4.0
>>
>>
>> Build and everything was fine. I did appropriate changes in the dspace 4 
>> dspace.cfg file.
>>
>> Now after the [dspace-source]/dspace/etc/postgres/database_schema_3-4.sql 
>> command, I restarted tomcat and postgres. Still I get my dspace 3.2 web page 
>> while browsing my dspace url. Is there anything specific we need to tell to 
>> take the new dspace.cfg or anything else?
>>
>> Any help is very much appreciated.
>>
>> Regards,
>>
>> Ribin Jones
>>
>> --
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics 
>> Pro!http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>> ___
>> DSpace-tech mailing 
>> listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette: 
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>>
>>
>> --
>> Andrea Bollini
>> Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria
>> Divisione Ricerca
>>
>> Via dei Tizii, 6
>> 00185 Roma, Italy
>> tel. +39 06 44 486 087 - mob. +39 348 82 77 525http://www.cineca.it
>>
>>
>>
>> --
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/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
>>
>
>
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/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] Configuring Shibboleth for DSpace 4

2014-01-09 Thread Shazia Sathar
Hello All,

I am trying to configure Authentication in DSpace 4 and not sure how to
proceed. The scenario I am trying to implement is to have two ways to
authenticate users to the DSpace site.

1) If a staff/student at my university wishes to login then they click on a
link that routes them to the university authentication page. After they are
successfully authenticated, they are returned to DSpace site to access
resources based on their access rights. My university uses Shibboleth. I am
just not sure how to link it to DSpace though.

2) For all other users it would be the default password-based
authentication.

Is it possible to do this? Any pointers would be appreciated. I have gone
through the documentation but I am not sure where to start. I have
addded org.dspace.authenticate.ShibAuthentication
to authentication.cfg.

Thanks in advance for your help.

Regards,
Shazia
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/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] Configuring Shibboleth for DSpace 4

2014-01-13 Thread Shazia Sathar
Thanks for the explanation. I will try this and keep the group posted on
how it goes!

Regards,
Shazia


On Fri, Jan 10, 2014 at 8:10 AM, helix84  wrote:

> On Thu, Jan 9, 2014 at 7:34 PM, Shazia Sathar  wrote:
> > 2) For all other users it would be the default password-based
> > authentication.
>
> Hi Shazia,
>
> yes, DSpace uses stackable authentication, so multiple authentication
> modules can be used in parallel. Here's what you need for
> authentication.cfg:
>
> plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \
> org.dspace.authenticate.ShibAuthentication, \
> org.dspace.authenticate.PasswordAuthentication
>
> Of course, now you should set up authentication-password.cfg (usually
> not necessary) and authentication-shibboleth.cfg.
>
>
> > Is it possible to do this? Any pointers would be appreciated. I have gone
> > through the documentation but I am not sure where to start. I have addded
> > org.dspace.authenticate.ShibAuthentication to authentication.cfg.
>
> The details for DSpace 1.8.2 and newer are here:
>
>
> https://wiki.duraspace.org/display/DSDOC4x/Authentication+Plugins#AuthenticationPlugins-ConfiguringShibbolethAuthentication(DSpace1.8.2+)
>
> In the supported setup, you need to run Apache HTTPD as a front-end to
> DSpace. You have to install the Shibboleth Service Provider (SP) and
> load it as a module to Apache (mod_shib).
>
> Then you have to configure the details of your particular Shibboleth
> environment in authentication-shibboleth.cfg.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/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] JSPUI Customizations in DSpace 4

2014-01-13 Thread Shazia Sathar
Hello All,

I am trying to customize fonts and colors in the home page. Looks like the
stylesheet styles.css is not used anymore for the DSpace 4 pages. Could
someone please point me to location of the .css file?
I found these .css files:

\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap.css
\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap-theme.css
\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap.min.css
\dspace-jspui\src\main\webapp\static\css\bootstrap\bootstrap-theme.min.css


I followed the usual steps to modify files and rebuild but the changes do
not reflect on the page. Also bootstrap.css and bootstrap.min.css seem to
be the same file but formatted differently. I am not sure which one to
modify.
Is there something different we need to do in DSpace 4 to customize JSPUI?

Regards,
Shazia
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/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] Customizing Dspace 4.0 jspui and registering new users.

2014-01-22 Thread Shazia Sathar
Eric,
Quick ques- Have you configured your mail server in build.properties and/or
dspace.cfg.
If you could provide stack trace and dspace logs that would help debug the
issue.

Regards,
Shazia


On Wed, Jan 22, 2014 at 5:22 AM, Hilton Gibson wrote:

>
> On 22 January 2014 13:04, Eric Martyns  wrote:
>
>> 1.How do i customize the jspui interface to my uni specs
>
>
> Hi Eric
>
> Here is some regarding JSPUI cusomisation:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/JSPUI_Theme
>
> Regards
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> JS Gericke Library
> Room 1025D
> Stellenbosch University
> Private Bag X5036
> Stellenbosch
> 7599
> South Africa
>
> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
> http://library.sun.ac.za
> http://za.linkedin.com/in/hiltongibson
>
>
> --
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/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
>
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/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] Editing the Community and Collection creation pages

2014-01-29 Thread Shazia Sathar
Hello All,

I am trying to remove sections from the community and collection creation
wizard that does not apply to our implementation. I am running DSpace 4 and
use the JSPUI version. Here is what I tried to do

*edit-community,jsp*
Comment out sections for Copyright and sidebar text

*edit-collection.jsp*
Comment out sections for Harvesting settings
Remove Item Template and Collection curations from the Collection's settings

When I did the above I got an Internal Server Error. Any suggestions on how
I can remove the above sections from the JSP files? Is there any parameter
for Harvest settings in the config files that I can disable (similar to
disabling RSS feeds)?

Thanks in advance for the help!

Following is the stacktrace:
--

Jan 29, 2014 10:40:04 AM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet [edit-communities] in context with
path [/jspuiv4] threw exception [java.lang.NullPointerException] with root
cause
java.lang.NullPointerException
at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCommunity(EditCommunitiesServlet.java:525)
at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:206)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

--

Regards,
Shazia
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/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] Fwd: Editing the Community and Collection creation pages

2014-01-30 Thread Shazia Sathar
I was able to resolve this issue. Instead of commenting out the sections, I
edited the fields for Copyright, Sidebar, etc to hidden fields so that they
do not show up on the page.

Regards,
Shazia

-- Forwarded message --
From: Shazia Sathar 
Date: Wed, Jan 29, 2014 at 12:07 PM
Subject: Editing the Community and Collection creation pages
To: DSpace Tech 


Hello All,

I am trying to remove sections from the community and collection creation
wizard that does not apply to our implementation. I am running DSpace 4 and
use the JSPUI version. Here is what I tried to do

*edit-community,jsp*
Comment out sections for Copyright and sidebar text

*edit-collection.jsp*
Comment out sections for Harvesting settings
Remove Item Template and Collection curations from the Collection's settings

When I did the above I got an Internal Server Error. Any suggestions on how
I can remove the above sections from the JSP files? Is there any parameter
for Harvest settings in the config files that I can disable (similar to
disabling RSS feeds)?

Thanks in advance for the help!

Following is the stacktrace:
--

Jan 29, 2014 10:40:04 AM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet [edit-communities] in context with
path [/jspuiv4] threw exception [java.lang.NullPointerException] with root
cause
java.lang.NullPointerException
at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCommunity(EditCommunitiesServlet.java:525)
 at
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:206)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
 at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
 at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
 at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

--

Regards,
Shazia
--
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/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] Text alignment in browse table

2014-02-21 Thread Shazia Sathar
Hello All,

I would like to make a few changes to the text alignment in the Browse
table. Looks like the dspace tag "dspace:browselist" is used to display the
items. I tried to align the date field to left. Here is what I did.

I modified
\dspace-jspui\src\main\java\org\dspace\app\webui\jsptag\BrowseListTag.java
as below:
 if (isDate[colIdx])
 {
 extras = "nowrap=\"nowrap\" align=\"left\"";
  }

and placed the new version in
\dspace\modules\jspui\src\main\java\org\dspace\app\webui\jsptag

When I tried to build DSpace by running "mvn clean package" I get
compilation errors:
..
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project jspui: Compilation failure:
Compilation
 failure:
[ERROR]
\dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
rg\dspace\app\webui\jsptag\BrowseListTag.java:[30,24] package
javax.servlet.jsp
does not exist
[ERROR]
\dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
rg\dspace\app\webui\jsptag\BrowseListTag.java:[31,24] package
javax.servlet.jsp
does not exist
[ERROR]
\dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
rg\dspace\app\webui\jsptag\BrowseListTag.java:[33,31] package
javax.servlet.jsp.
tagext does not exist
[ERROR]
\dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
rg\dspace\app\webui\jsptag\BrowseListTag.java:[49,35] cannot find symbol
[ERROR] symbol: class TagSupport
[ERROR] public class BrowseListTag extends TagSupport
[ERROR]
\dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
rg\dspace\app\webui\jsptag\BrowseListTag.java:[141,35] cannot find symbol
[ERROR] symbol  : class JspException
[ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
[ERROR]
\dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
rg\dspace\app\webui\jsptag\BrowseListTag.java:[800,19] cannot find symbol
[ERROR] symbol  : class JspException
[ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
[ERROR]
\dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
rg\dspace\app\webui\jsptag\BrowseListTag.java:[859,19] cannot find symbol
[ERROR] symbol  : class JspException
[ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
[ERROR]
\dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
rg\dspace\app\webui\jsptag\BrowseListTag.java:[143,8] cannot find symbol
[ERROR] symbol  : class JspWriter
[ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
[ERROR]
\dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
rg\dspace\app\webui\jsptag\BrowseListTag.java:[143,24] cannot find symbol
[ERROR] symbol  : variable pageContext
...

Any ideas on how I can proceed with setting the alignment to left? I am
using DSpace v4 and run JSPUI version on Windows. I have attached a
screenshot of how it looks now.

Thanks in advance for your help!

Regards,
Shazia
<>--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/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] Text alignment in browse table

2014-02-24 Thread Shazia Sathar
Thanks for your response Keiji Suzuki.
I tried your suggestion and got the following error:
...
[ERROR] Failed to execute goal on project jspui: Could not resolve
dependencies for project org.dspace.modules:jspui:war:4.0: Could not find
artifact javax.servlet:jsp-api:jar:2.5 in sonatype-releases (
http://oss.sonatype.org/content/repositories/releases/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn  -rf :jspui


Any ideas on how to proceed? Thanks again!

Regards,
Shazia


On Fri, Feb 21, 2014 at 6:47 PM, SUZUKI Keiji  wrote:

> Hi Shazia,
>
> Add the following lines under the  element in
>  [dspace-src]/dspace/modules/jspui/pom.xml
>
> -- form here 
> 
>javax.servlet
>jsp-api
>2.5
>provided
> 
> --- end --
>
> Regards,
> Keiji Suzuki
>
>
> 2014-02-22 3:36 GMT+09:00 Shazia Sathar :
> > Hello All,
> >
> > I would like to make a few changes to the text alignment in the Browse
> > table. Looks like the dspace tag "dspace:browselist" is used to display
> the
> > items. I tried to align the date field to left. Here is what I did.
> >
> > I modified
> >
> \dspace-jspui\src\main\java\org\dspace\app\webui\jsptag\BrowseListTag.java
> > as below:
> >  if (isDate[colIdx])
> >  {
> >  extras = "nowrap=\"nowrap\" align=\"left\"";
> >   }
> >
> > and placed the new version in
> >
> \dspace\modules\jspui\src\main\java\org\dspace\app\webui\jsptag
> >
> > When I tried to build DSpace by running "mvn clean package" I get
> > compilation errors:
> > ..
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:2.
> > 3.2:compile (default-compile) on project jspui: Compilation failure:
> > Compilation
> >  failure:
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[30,24] package
> > javax.servlet.jsp
> > does not exist
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[31,24] package
> > javax.servlet.jsp
> > does not exist
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[33,31] package
> > javax.servlet.jsp.
> > tagext does not exist
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[49,35] cannot find symbol
> > [ERROR] symbol: class TagSupport
> > [ERROR] public class BrowseListTag extends TagSupport
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[141,35] cannot find symbol
> > [ERROR] symbol  : class JspException
> > [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[800,19] cannot find symbol
> > [ERROR] symbol  : class JspException
> > [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[859,19] cannot find symbol
> > [ERROR] symbol  : class JspException
> > [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[143,8] cannot find symbol
> > [ERROR] symbol  : class JspWriter
> > [ERROR] location: class org.dspace.app.webui.jsptag.BrowseListTag
> > [ERROR]
> > \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[143,24] cannot find symbol
> > [ERROR] symbol  : variable pageContext
> > ...
> >
> > Any ideas on how I

Re: [Dspace-tech] Text alignment in browse table

2014-02-25 Thread Shazia Sathar
That worked like a charm. Thank you very much!

Regards,
Shazia


On Mon, Feb 24, 2014 at 6:58 PM, SUZUKI Keiji  wrote:

> Hi Shazia,
>
> I am sorry but I wrote the wrong version number.
> Please change the value of  element form "2.5"
> to "2.0"
>
> Regards,
> Keiji Suzuki
>
>
> 2014-02-25 0:41 GMT+09:00 Shazia Sathar :
> > Thanks for your response Keiji Suzuki.
> > I tried your suggestion and got the following error:
> > ...
> > [ERROR] Failed to execute goal on project jspui: Could not resolve
> > dependencies for project org.dspace.modules:jspui:war:4.0: Could not find
> > artifact javax.servlet:jsp-api:jar:2.5 in sonatype-releases
> > (http://oss.sonatype.org/content/repositories/releases/) -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e
> > switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> please
> > read the following articles:
> > [ERROR] [Help 1]
> >
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> >
> > [ERROR]   mvn  -rf :jspui
> > 
> >
> > Any ideas on how to proceed? Thanks again!
> >
> > Regards,
> > Shazia
> >
> >
> > On Fri, Feb 21, 2014 at 6:47 PM, SUZUKI Keiji 
> wrote:
> >>
> >> Hi Shazia,
> >>
> >> Add the following lines under the  element in
> >>  [dspace-src]/dspace/modules/jspui/pom.xml
> >>
> >> -- form here 
> >> 
> >>javax.servlet
> >>jsp-api
> >>2.5
> >>provided
> >> 
> >> --- end --
> >>
> >> Regards,
> >> Keiji Suzuki
> >>
> >>
> >> 2014-02-22 3:36 GMT+09:00 Shazia Sathar :
> >> > Hello All,
> >> >
> >> > I would like to make a few changes to the text alignment in the Browse
> >> > table. Looks like the dspace tag "dspace:browselist" is used to
> display
> >> > the
> >> > items. I tried to align the date field to left. Here is what I did.
> >> >
> >> > I modified
> >> >
> >> >
> \dspace-jspui\src\main\java\org\dspace\app\webui\jsptag\BrowseListTag.java
> >> > as below:
> >> >  if (isDate[colIdx])
> >> >  {
> >> >  extras = "nowrap=\"nowrap\" align=\"left\"";
> >> >   }
> >> >
> >> > and placed the new version in
> >> >
> >> >
> \dspace\modules\jspui\src\main\java\org\dspace\app\webui\jsptag
> >> >
> >> > When I tried to build DSpace by running "mvn clean package" I get
> >> > compilation errors:
> >> > ..
> >> > [ERROR] Failed to execute goal
> >> > org.apache.maven.plugins:maven-compiler-plugin:2.
> >> > 3.2:compile (default-compile) on project jspui: Compilation failure:
> >> > Compilation
> >> >  failure:
> >> > [ERROR]
> >> >
> \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> >> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[30,24] package
> >> > javax.servlet.jsp
> >> > does not exist
> >> > [ERROR]
> >> >
> \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> >> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[31,24] package
> >> > javax.servlet.jsp
> >> > does not exist
> >> > [ERROR]
> >> >
> \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> >> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[33,31] package
> >> > javax.servlet.jsp.
> >> > tagext does not exist
> >> > [ERROR]
> >> >
> \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> >> > rg\dspace\app\webui\jsptag\BrowseListTag.java:[49,35] cannot find
> symbol
> >> > [ERROR] symbol: class TagSupport
> >> > [ERROR] public class BrowseListTag extends TagSupport
> >> > [ERROR]
> >> >
> \dspace4_dac\dspace-4.0-src-release\dspace\modules\jspui\src\main\java\o
> >> > rg\dspace\app\webui\j

[Dspace-tech] DSpace security-related questions

2014-03-17 Thread Shazia Sathar
Hello All,

The DSpace instance I am working on will be used to facilitate data sharing
of very sensitive information, for example, identifiable health-related
information. Hence, there is a need to make it a very secure application. I
am in the process of obtaining information on what needs to be done in
order to make it secure- server configurations, application configuration,
database security, etc.

Currently,  I have setup the application on one server and the database on
another. Upon reading the dspace documentation, however, I figured that the
assetstore directory contains the uploaded data.

1.  Any ideas on how I can secure this directory? Is it possible to
retrieve the item if the directory gets compromised or does the database
have some key which is required to retrieve the item?

2. Does it make more sense to move the assetstore directory to a secure
location? If yes, how can I go about doing this? Since the database will
have login credentials for all registered users, and the fact that
registered users have access to the protected information, should I
consider keeping the assetstore directory and database separated from where
the application resides?

3. Any configuration settings on Apache httpd and tomcat other than making
dspace run on https?

4. How can I perform an audit on the system? For example, get a list of
users who downloaded a particular item.

I would greatly any help and insights into making the dspace application a
very secure one. I would also be more than happy to document all the steps
(once I have it all figured out and tried and tested) for the benefit of
anyone interested.

Regards,
Shazia
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] error in User Registration

2014-03-19 Thread Shazia Sathar
You can check internet connectivity on your machine. I have experienced a
similar issue in the recent past only to find out that the issue was with
the network connection.

Regards,
Shazia


On Wed, Mar 19, 2014 at 12:15 PM, Abhishek Raval wrote:

> Hello All,
>
> I have installed dspace-4.0 and using JSPUI. I have done changes in
> dspace.cfg as below for Email Settings.
>
>
> mail.server =smtp.gmail.com
> mail.ssl.enable = true
>
> mail.server.username = *@gmail.com
> mail.server.password = *
>
> mail.server.port = 465
>
>
> During user registration i am getting internal system error.
>
> 2014-03-19 17:46:53,934 INFO  org.dspace.app.webui.servlet.RegisterServlet
> @anonymous:session_id=521614CF3CB4EA526F362F039B4EF4B9:ip_addr=127.0.0.1:
> error_emailing:email=*@gmail.com
> javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com ;
>   nested exception is:
> java.net.UnknownHostException: smtp.gmail.com
> at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280)
> at
> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
> at javax.mail.Service.connect(Service.java:297)
> at javax.mail.Service.connect(Service.java:156)
> at javax.mail.Service.connect(Service.java:105)
> at javax.mail.Transport.send0(Transport.java:168)
> at javax.mail.Transport.send(Transport.java:98)
> at org.dspace.core.Email.send(Email.java:359)
> at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:262)
>
>  Do I need to change anything more?
>
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> 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
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] error in User Registration

2014-03-20 Thread Shazia Sathar
Abhishek,

Can you try this on your command prompt
telnet smtp.gmail.com 465

If the screen blanks out then it means that the connection was successful.
In that case, it is probably some issue with the configuration settings in
dspace.cfg. Also try with port 587.

Regards,
Shazia



On Thu, Mar 20, 2014 at 6:32 AM, Abhishek Raval wrote:

> Hello Shazia,
>
> Thanks for your valuable suggestion, But my internet connectivity is all
> good...i think there is a problem with smtp ...any other suggestions guys?
>
>
> On Wed, Mar 19, 2014 at 11:56 PM, Shazia Sathar  wrote:
>
>> You can check internet connectivity on your machine. I have experienced a
>> similar issue in the recent past only to find out that the issue was with
>> the network connection.
>>
>> Regards,
>> Shazia
>>
>>
>> On Wed, Mar 19, 2014 at 12:15 PM, Abhishek Raval 
>> wrote:
>>
>>> Hello All,
>>>
>>> I have installed dspace-4.0 and using JSPUI. I have done changes in
>>> dspace.cfg as below for Email Settings.
>>>
>>>
>>> mail.server =smtp.gmail.com
>>> mail.ssl.enable = true
>>>
>>> mail.server.username = *@gmail.com
>>> mail.server.password = *
>>>
>>> mail.server.port = 465
>>>
>>>
>>> During user registration i am getting internal system error.
>>>
>>> 2014-03-19 17:46:53,934 INFO
>>> org.dspace.app.webui.servlet.RegisterServlet
>>> @anonymous:session_id=521614CF3CB4EA526F362F039B4EF4B9:ip_addr=127.0.0.1:
>>> error_emailing:email=*@gmail.com
>>> javax.mail.MessagingException: Unknown SMTP host: smtp.gmail.com ;
>>>   nested exception is:
>>> java.net.UnknownHostException: smtp.gmail.com
>>> at
>>> com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280)
>>> at
>>> com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
>>> at javax.mail.Service.connect(Service.java:297)
>>> at javax.mail.Service.connect(Service.java:156)
>>> at javax.mail.Service.connect(Service.java:105)
>>> at javax.mail.Transport.send0(Transport.java:168)
>>> at javax.mail.Transport.send(Transport.java:98)
>>> at org.dspace.core.Email.send(Email.java:359)
>>> at
>>> org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:262)
>>>
>>>  Do I need to change anything more?
>>>
>>>
>>>
>>> --
>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> "Graph Databases" is the definitive new guide to graph databases and
>>> their
>>> applications. Written by three acclaimed leaders in the field,
>>> this first edition is now available. Download your free book today!
>>> http://p.sf.net/sfu/13534_NeoTech
>>> ___
>>> 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
>>>
>>
>>
>
>
> --
> Thanks n Regards
> Abhishek Raval
> Software Engg.
> Webinito Networks
> Ph no.-+919601077584
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
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] AIP import error

2014-05-30 Thread Shazia Sathar
Hello Tim,
Thank you for the detailed response. I tried the manual migration route and was 
able to get everything working! 
Thanks again!

Regards,
Shazia



> On May 29, 2014, at 11:04 AM, Tim Donohue  wrote:
> 
> Hello Shazia,
> 
> The error is reporting that one of your items has no "dc.title" metadata 
> field. DSpace requires that all items have a "dc.title" when they are 
> imported. My only guess here is that it was somehow removed from your 
> existing DSpace.
> 
> So, a few possible options:
> 
> 1) Attempt to determine *which* item is missing the "dc.title". Add that 
> "dc.title" field and re-export and re-import. This older thread describes how 
> you can find the item which failed cause it was missing a "dc.title":
> 
> http://dspace.2283337.n4.nabble.com/AIP-Restore-error-td4650376.html#a4652023
> 
> 2) Another option is to just migrate your Database and Assetstore directory 
> manually. You don't *have* to use the AIP tools to do a migration. Instead, 
> you can just export your database, move it over. Then move over the config 
> files & "assetstore" folder & reindex. This general process is described in 
> this thread (the thread also describes upgrading the DSpace DB prior to the 
> migration, but you can ignore that as long as you plan to stay on DSpace 3.2):
> 
> http://dspace.2283337.n4.nabble.com/Problems-with-AIP-restore-td4673152.html#a4673166
>  
> 
> - Tim
> 
>> On 5/28/2014 9:44 PM, Shaz UIC wrote:
>> Hello All,
>> 
>> I am in the process of migrating  the DSpace instance installed on a
>> Windows machine to Linux server. I have the DSpace website up and
>> running on the new Linux server. In order to get the database,
>> communities, collections, assetstore all migrated, I attempted  to do
>> the AIP full-site export and then import to the Linux server. The export
>> generated a set of zip files in the [dspace] dir. I copied these files
>> to the Linux server and attempted to do an import which resulted in the
>> following error:
>> 
>> Will replace existing DSpace SITE [ hdl=123456789 /0 ]
>> org.dspace.content.packager.PackageValidationException: Item cannot be
>> created without the required "title" DC metadata.
>> at
>> org.dspace.content.packager.PackageUtils.checkItemMetadata(PackageUtils.java:135)
>> at
>> org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:469)
>> at
>> org.dspace.content.packager.AbstractMETSIngester.replace(AbstractMETSIngester.java:1134)
>> at
>> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:241)
>> at
>> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:271)
>> at
>> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:271)
>> at
>> org.dspace.content.packager.AbstractPackageIngester.replaceAll(AbstractPackageIngester.java:271)
>> at org.dspace.app.packager.Packager.replace(Packager.java:727)
>> at org.dspace.app.packager.Packager.main(Packager.java:373)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
>> org.dspace.content.packager.PackageValidationException: Item cannot be
>> created without the required "title" DC metadata.
>> 
>> I noticed from the logs that some users have been created and also the
>> assetstore directory has some data. But all this does not show on the
>> website. Any pointers on what could be wrong? Am I missing some step
>> before the import? I appreciate any ideas on how I can fully migrate the
>> dspace site to the Linux server. Thanks in advance!
>> Here are details on OS and dspace versions:
>> Old server:
>> OS: Windows 2008 R2
>> Dspace version: 3.2
>> DB version: PostgreSQL 9.1.12
>> 
>> New server
>> OS: RHEL
>> DSpace version: 3.2
>> DB version: PostgreSQL 9.3
>> 
>> Regards
>> Shazia
>> 
>> 
>> --
>> Time is money. Stop wasting it! Get your web API in 5 minutes.
>> www.restlet.com/download
>> http://p.sf.net/sfu/restlet
>> 
>> 
>> 
>> ___
>> 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
>> 

--
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
___
DSpace-tech

[Dspace-tech] Navigate to index page after user login

2014-07-11 Thread Shazia Sathar
Hello All,

I have a requirement wherin an authorized user should be taken to the index
page as opposed to the mydspace page. Any ideas on what changes to the code
I would have to make?
I am using DSpace 4.1 JSPUI interface.
Any help is much appreciated!

Regards,
Shazia
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
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] Display error msg on Collections page when user is not authorized to view Items

2014-07-16 Thread Shazia Sathar
Hello All,

I am working on a request for change in my DSpace installation. The
requirement is that an error message like "Access Denied" be displayed on
the Collections page when a logged-in user tries to access a Collection
that he/she is not authorized to access.
The default behavior is that no Items are displayed and is there a way to
change this and add an error msg?

Here is what I tried:
In *HandleServlet.java*, I modified the code and added:
collectionHome()
{
 ...
if (AuthorizeManager.authorizeActionBoolean(context, community,
Constants.DEFAULT_ITEM_READ))
{
// set a variable to indicate read access and hence display
the community heorarchy
request.setAttribute("read.access", Boolean.TRUE);
}
else
{
request.setAttribute("read.access",
Boolean.FALSE);
}

..
}

*collection-home.jsp*
...
Boolean readAccess =(Boolean)request.getAttribute("read.access");
boolean read_access = (readAccess== null ? false :
readAccess.booleanValue());
...
<% if(!read_access) { %>
 Access Denied 
<% }

In he UI, I have  a Collection C1 with the following policies:
C1:
DEFAULT_ITEM_READ  : Group (COLLECTION_25_DEFAULT_ITEM_READ)
DEFAULT_BITSTREAM_READ: Group (COLLECTION_25_DEFAULT_ITEM_READ)

The only member in group COLLECTION_25_DEFAULT_ITEM_READ is user A.

When I log in as user A, I get the "Access Denied" error message on all
Collections including C1. I'm not sure what I'm missing here? I'm not sure
if I am looking at the right permissions.

Does anyone know of an alternate approach- from the CollectionItemList.java
perhaps?


Regards,
Shazia
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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] Fwd: Display error msg on Collections page when user is not authorized to view Items

2014-07-25 Thread Shazia Sathar
Just checking to see if anyone has any ideas to share?  Basically, I would
like that an error message be shown if a user is not authorized to view a
particular collection. By default, an empty collection page is shown which
gives the impression of an "empty collection"
I am using DSpace version 4.1, jspui version.

Please let me know if you need any additional information.

Regards,
Shazia

-- Forwarded message ------
From: Shazia Sathar 
Date: Wed, Jul 16, 2014 at 1:20 PM
Subject: Display error msg on Collections page when user is not authorized
to view Items
To: DSpace Tech 


Hello All,

I am working on a request for change in my DSpace installation. The
requirement is that an error message like "Access Denied" be displayed on
the Collections page when a logged-in user tries to access a Collection
that he/she is not authorized to access.
The default behavior is that no Items are displayed and is there a way to
change this and add an error msg?

Here is what I tried:
In *HandleServlet.java*, I modified the code and added:
collectionHome()
{
 ...
if (AuthorizeManager.authorizeActionBoolean(context, community,
Constants.DEFAULT_ITEM_READ))
{
// set a variable to indicate read access and hence display
the community heorarchy
request.setAttribute("read.access", Boolean.TRUE);
}
 else
{
request.setAttribute("read.access",
Boolean.FALSE);
}

..
}

*collection-home.jsp*
...
Boolean readAccess =(Boolean)request.getAttribute("read.access");
boolean read_access = (readAccess== null ? false :
readAccess.booleanValue());
...
<% if(!read_access) { %>
 Access Denied 
<% }

In he UI, I have  a Collection C1 with the following policies:
C1:
DEFAULT_ITEM_READ  : Group (COLLECTION_25_DEFAULT_ITEM_READ)
DEFAULT_BITSTREAM_READ: Group (COLLECTION_25_DEFAULT_ITEM_READ)

The only member in group COLLECTION_25_DEFAULT_ITEM_READ is user A.

When I log in as user A, I get the "Access Denied" error message on all
Collections including C1. I'm not sure what I'm missing here? I'm not sure
if I am looking at the right permissions.

Does anyone know of an alternate approach- from the CollectionItemList.java
perhaps?


Regards,
Shazia
--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
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