[Dspace-tech] Code not Present when deployed

2015-08-25 Thread Keith Jones
Hi,

I am working on upgrading from version 3.2 to version 5.3. In version 3.2 I
created a java class to do a specific task for our repository. When
deployed the compiled class would sit here in the area:

webapps/ROOT/WEB-INF/classes/org/dspace/app/xmlui/aspect/eperson

When I looked for this area in version 5.3, nothing exists in the
webapps/ROOT/WEB-INF/classes folder.

When building version 5.3, I download the source code and build it locally,
but now my custom class is not appearing.

Not sure why I'm not getting this area to appear in the tomcat WEB-INF area.

Thanks
Keith
--
___
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] Front Page Build

2015-08-14 Thread Keith Jones
Thanks Helix84,

Thank did the trick. This exchange definitely helped me get a better
understanding. I really appreciate the help you've given me.

Thanks
Keith

On Thu, Aug 13, 2015 at 4:35 PM, helix84  wrote:

> On Thu, Aug 13, 2015 at 7:21 PM, Keith Jones  wrote:
>
>> Do you think it is causing your code some problems. When I leave you code
>> out this works, but when I have your code in it doesn't.
>>
>
> Most certainly. This is what builds your collection/community structure to
> be styled as collapsible. Replace
> 
> with your
> 
> ...
> 
> and it should work.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
--
___
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] Front Page Build

2015-08-13 Thread Keith Jones
Helix,

After looking over my changes, I did have to add this to the utils.xsl file:


  



ds-artifact-item 


community 


collection 



even
odd






  
  

Do you think it is causing your code some problems. When I leave you code
out this works, but when I have your code in it doesn't.

Thanks
Keith


On Thu, Aug 13, 2015 at 11:01 AM, helix84  wrote:

> The code I sent you tries to be as non-invasive as possible. When you add
> the template, the only the DRI output of the homepage should change but not
> the DRI output of the community-list. Therefore, if your collapse/expand
> widgets are just css/js, they should continue to work. If, however, they do
> any modifications to XSLT, that may change how the community-list DRI is
> rendered and it's possible my snippet interferes with it somehow. Check
> whether there are any differences in community-list DRI between how Mirage
> renders it and your theme renders it.
>
> On Thu, Aug 13, 2015 at 4:25 PM, Keith Jones  wrote:
>
>> Helix,
>>
>> Thanks for the help, the code is working and will remove the list from
>> the home page.
>>
>> Here is my problem.
>> Currently in production we are using collapsible list for the community
>> browse page, which you can see here:
>> http://udspace.udel.edu/community-list. This is in version 3.1 using the
>> XMLUI. I was able to remove the community list from the main page but
>> commenting out the template call in the xslt, I did not use the overriding
>> template method.
>>
>> When I use the code provided, the collapsible list will partly work, but
>> the arrow icons do not appear, when viewing the community list.
>>
>> Thanks
>> Keith
>>
>> On Thu, Aug 13, 2015 at 9:07 AM, helix84  wrote:
>>
>>> Try this:
>>>
>>> >> match="dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser']">
>>> >> test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']/text()">
>>> 
>>> 
>>> 
>>>
>>> It hides the community browser unless the request URI is non-empty (like
>>> "/community-list").
>>>
>>>
>>> Regards,
>>> ~~helix84
>>>
>>> Compulsory reading: DSpace Mailing List Etiquette
>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>>
>>>
>>
>
--
___
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] Front Page Build

2015-08-13 Thread Keith Jones
Helix,

Thanks for the help, the code is working and will remove the list from the
home page.

Here is my problem.
Currently in production we are using collapsible list for the community
browse page, which you can see here:
http://udspace.udel.edu/community-list. This is in version 3.1 using the
XMLUI. I was able to remove the community list from the main page but
commenting out the template call in the xslt, I did not use the overriding
template method.

When I use the code provided, the collapsible list will partly work, but
the arrow icons do not appear, when viewing the community list.

Thanks
Keith

On Thu, Aug 13, 2015 at 9:07 AM, helix84  wrote:

> Try this:
>
>  match="dri:div[@id='aspect.artifactbrowser.CommunityBrowser.div.comunity-browser']">
>  test="/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='request'][@qualifier='URI']/text()">
> 
> 
> 
>
> It hides the community browser unless the request URI is non-empty (like
> "/community-list").
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
--
___
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] Front Page Build

2015-08-13 Thread Keith Jones
Hi Helix84,

I've actually implemented the over-ride suggestion you gave a few years
ago. It works in removing the community list from the front page, but in
doing so, it breaks my changes to the community list page. On the community
list page I'm using CollapsibleList.js to manage the community list. When I
put in the following:



xmlui.dri2xhtml.structural.search-advanced


It works, but now my ColapsibleList no longer works.



On Thu, Aug 13, 2015 at 8:25 AM, helix84  wrote:

> Hi Keith,
>
> XMLUI isn't organized around files but rather around templates, some of
> which are shared among different pages.
>
> You probably already figured out [1]. Now you just need [2] to distinguish
> between the homepage and /community-list (@target).
>
> [1]
> https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-HowdoIremovethesearchboxfromthefrontpageinXMLUI
> ?
> [2]
> https://wiki.duraspace.org/display/DSPACE/TechnicalFAQ#TechnicalFAQ-HowcanIchangewhatisdisplayedinXMLUIforaparticularcollection
> ?
>
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
--
___
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] Front Page Build

2015-08-13 Thread Keith Jones
Hi,

I'm working on Dspace version 5.3 XMLUI and I want to make some changes to
the front page. Which XSLT file should I edit. I'm looking to remove the
community list from the front page. I've tried over-riding it with a custom
process but doing so changes the custom function of expanding list on the
community page.

Thanks
Keith
--
___
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] Fresh Install of DSpace 5.3

2015-08-11 Thread Keith Jones
Kim,

I ran the following command: mvn -U package clean for version 5.3.

I then ran the following command mvn -U package, and it compiled without
error.

Keith

On Mon, Aug 10, 2015 at 6:59 PM, Kim Shepherd 
wrote:

> Hi Keith, could you confirm the maven command(s) you're using to build
> DSpace, and which version of maven you're using?
> It seems like the assembly goal is trying to run before the package goal
> has completed...
>
> Cheers
>
> Kim
>
> M: k...@shepherd.nz
> T: @kimshepherd
> P: +6421883635
>
> 0CCB D957 0C35 F5C1 497E CDCF FC4B ABA3 2A1A FAEC
> https://keybase.io/kshepherd
>
> On 11 August 2015 at 07:18, Keith Jones  wrote:
>
>> Hi,
>>
>> I just downloaded the source code for DSpace 5.3 and went to build it,
>> but got the following error:
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (default) on
>> project dspace: Failed to create assembly: Error adding file
>> 'org.dspace.modules:additions:jar:5.3' to archive:
>> /export/home/putnam/dspace/SOFTWARE/dspace-5.3-src-release/dspace/modules/additions/target/additions-5.3.jar
>> isn't a file. -> [Help 1]
>>
>> Any help will be appreciated.
>>
>> Thanks
>>
>>
>> --
>>
>> ___
>> 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 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] Fresh Install of DSpace 5.3

2015-08-10 Thread Keith Jones
Hi,

I just downloaded the source code for DSpace 5.3 and went to build it, but
got the following error:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single (default) on
project dspace: Failed to create assembly: Error adding file
'org.dspace.modules:additions:jar:5.3' to archive:
/export/home/putnam/dspace/SOFTWARE/dspace-5.3-src-release/dspace/modules/additions/target/additions-5.3.jar
isn't a file. -> [Help 1]

Any help will be appreciated.

Thanks
--
___
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] Javascript disabled on DSpace?

2015-04-02 Thread Keith Jones
I just finish trying it with maven 3.2.5, previously I had 3.2.3 but I'm
still getting the same compile error.

[INFO]
/export/home/putnam/dspace/SOFTWARE/dspace-5.1-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/
node/with_new_path.sh: PATH=$(dirname $(readlink -f
/export/home/putnam/dspace/SOFTWARE/dspace-5.1-src-release/dspace
/modules/xmlui-mirage2/target/themes/Mirage2/node/with_new_path.sh)):.:/usr/local/bin:/usr/local/sbin:/usr/local/samb
a/bin:/usr/local/ant/bin:/usr/local/maven/bin:/usr/sfw/bin:/usr/sbin:/usr/bin:/etc:/usr/etc:/usr/openwin/bin:/usr/ccs
/bin:/usr/local/local:/opt/csw/bin:/export/home/putnam/mark/bin:/export/home/putnam/dspace/lib/postgresql-9.1-901-1.j
dbc4.jar:/export/home/putnam/dspace/.nvm/nvm.sh: is not an identifier
[ERROR] MojoFailureException:
org.apache.maven.plugin.MojoFailureException: Failed to run task
at
com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:45)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at
com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302)
at
com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuild
er.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
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:601)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by:
com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'npm
install --color=false' failed. (e
rror code 1)
at
com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute(NodeTaskExecutor.java:38)
at
com.github.eirslett.maven.plugins.frontend.mojo.NpmMojo.execute(NpmMojo.java:43)
... 24 more
[INFO] -- (Mirage2)
com.github.eirslett:frontend-maven-plugin:0.0.16:grunt
[INFO] Running 'grunt classic_mirage_color_scheme no-compass-prod
--no-color' in /export/home/putnam/dspace/SOFTWARE/
dspace-5.1-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2
[INFO]
/export/home/putnam/dspace/SOFTWARE/dspace-5.1-src-release/dspace/modules/xmlui-mirage2/target/themes/Mirage2/
node/with_new_path.sh: PATH=$(dirname $(readlink -f
/export/home/putnam/dspace/SOFTWARE/dspace-5.1-src-release/dspace
/modules/xmlui-mirage2/target/themes/Mirage2/node/with_new_path.sh)):.:/usr/local/bin:/usr/local/sbin:/usr/local/samb
a/bin:/usr/local/ant/bin:/usr/local/maven/bin:/usr/sfw/bin:/usr/sbin:/usr/bin:/etc:/usr/etc:/usr/openwin/bin:/usr/ccs
/bin:/usr/local/local:/opt/csw/bin:/export/home/putnam/mark/bin:/export/home/putnam/dspace/lib/postgresql-9.1-901-1.j
dbc4.jar:/export/home/putnam/dspace/.nvm/nvm.sh: is not an identifier
[ERROR] MojoFailureException:
org.apache.maven.plugin.MojoFailureException: Failed to run task
at
com.github.eirslett.maven.plugins.frontend.mojo.GruntMojo.execute(GruntMojo.java:36)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at
com.soebes.maven.plugins.iterator.ExecutorMojo.executeMojo(ExecutorMojo.java:302)
at
com.soebes.maven.plugins.iterator.ExecutorMojo.execute(ExecutorMojo.java:235)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
  

[Dspace-tech] Mirage 2

2015-03-27 Thread Keith Jones
Hi All,

I'm in the process of upgrading a test instance of DSPACE from 3.2 to 5.1.
I have it up and running with Mirage but when I re-compiled to use the
Mirage 2 theme the system is up but does not display properly.

Here is the error I'm seeing in the tomcat logs:

Mar 26, 2015 11:39:27 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Mar 26, 2015 11:39:28 AM org.apache.catalina.core.ApplicationContext log
INFO: Apache Cocoon Spring Configurator v1.0.2 is running in mode 'prod'.
Mar 26, 2015 11:39:28 AM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.Conte
xtLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'dspace.eventService' defined in
 ServletContext resource [/WEB-INF/spring/applicationContext.xml]:
Instantiation of bean failed; nested exception is or
g.springframework.beans.factory.BeanDefinitionStoreException: Factory
method [public org.dspace.services.EventService o
rg.dspace.utils.DSpace.getEventService()] threw exception; nested exception
is java.lang.IllegalStateException: DSpace
kernel cannot be null
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResol
ver.java:581)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(A
bstractAutowireCapableBeanFactory.java:1015)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAuto
wireCapableBeanFactory.java:911)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCa
pableBeanFactory.java:485)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapa
bleBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegi
stry.java:225)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListabl
eBeanFactory.java:585)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractAppli
cationContext.java:913)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:38
5)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1114)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1673)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
Factory method [public org.dspace.services.E
ventService org.dspace.utils.DSpace.getEventService()] threw exception;
nested exception is java.lang.IllegalStateExcep
tion: DSpace kernel cannot be null
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrateg
y.java:169)
at
org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResol
ver.java:570)
... 28 more
Caused by: java.lang.IllegalStateException: DSp

Re: [Dspace-tech] Flyway Migration Error

2015-03-17 Thread Keith Jones
nd.DbMigrate$5.doInTransaction(DbMigrate.java:285)
at
org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:7
2)
at
org.flywaydb.core.internal.command.DbMigrate.applyMigration(DbMigrate.java:285)
at
org.flywaydb.core.internal.command.DbMigrate.access$800(DbMigrate.java:46)
at
org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:207)
at
org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:156)
at
org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java
2)
at
org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:156)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:864)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:811)
at org.flywaydb.core.Flyway.execute(Flyway.java:1171)
at org.flywaydb.core.Flyway.migrate(Flyway.java:811)
at
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:419)
... 22 more
Caused by: org.postgresql.util.PSQLException: ERROR: insert or update on
table "metadatavalue" violate
s foreign key constraint "$metadatavalue_item_id_fkey"
  Detail: Key (resource_id)=(38) is not present in table "item".
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:37
4)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)
at
org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at
org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at
org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)
at
org.flywaydb.core.internal.dbsupport.JdbcTemplate.executeStatement(JdbcTemplate.java:235)
at
org.flywaydb.core.internal.dbsupport.SqlScript.execute(SqlScript.java:89)
... 37 more


Something still seems to be off with the metadatavalues. This database goes
all the back to 1.4, I think.

Any additional help will be greatly appreciated.

Thanks
Keith

On Tue, Mar 17, 2015 at 3:59 PM, Brian Freels-Stendel 
wrote:

>  Hi,
>
>
>
> I was wrong in the new name: it should not have a $ in front of it, just
> metadatavalue_item_id_fkey
>
>
>
> In a very old version of SQLManager, this is the SQL it says it's going to
> run:
>
>
>
> ALTER TABLE "public"."metadatavalue"
>
>   DROP CONSTRAINT "$1" RESTRICT;
>
>
>
> ALTER TABLE "public"."metadatavalue"
>
>   ADD CONSTRAINT "metadatavalue_item_id_fkey" FOREIGN KEY ("item_id")
>
> REFERENCES "public"."item"("item_id")
>
> ON DELETE NO ACTION
>
> ON UPDATE NO ACTION
>
> NOT DEFERRABLE;
>
>
>
> Sorry about the typo, and here's hoping!
>
>
>
> B--
>
>
>
> *From:* Keith Jones [mailto:mad...@udel.edu]
> *Sent:* Tuesday, March 17, 2015 1:53 PM
> *To:* Brian Freels-Stendel
> *Cc:* dspace-tech@lists.sourceforge.net
> *Subject:* Re: [Dspace-tech] Flyway Migration Error
>
>
>
> Brian,
>
>
>
> Thanks for the reply.
>
>
>
> UI used both of the lines you provided in and each time postgres said the
> table was altered, but when I ran the migration tool again I was meet with
> the same error.
>
>
>
> Keith
>
>
>
> On Tue, Mar 17, 2015 at 3:38 PM, Brian Freels-Stendel 
> wrote:
>
>  Hi Keith,
>
>
>
> You'll need to update the foreign key constraint.  My bet is that it's
> named "$1" right now, but it needs to be named "metadatavalue_item_id_fkey".
>
>
>
> I think the SQL would be
>
>
>
> "alter table metadatavalue drop constraint '$1';"
>
>
>
> followed by
>
>
>
> "alter table metadatavalue add constraint '$metadatavalue_item_id_fkey'
> foreign key ('item_id') references item ('item_id') on delete no action on
> update no action;"
>
>
>
> *But you'll really want to make a backup first!*
>
>
>
> I think some of us with databases dating back to the early days have
> auto-named constraints, and they're breaking the flyway stuff.
>
>
>
> B--
>
>
>
>
>
>
>
> *From:*

Re: [Dspace-tech] Flyway Migration Error

2015-03-17 Thread Keith Jones
Brian,

Thanks for the reply.

UI used both of the lines you provided in and each time postgres said the
table was altered, but when I ran the migration tool again I was meet with
the same error.

Keith

On Tue, Mar 17, 2015 at 3:38 PM, Brian Freels-Stendel 
wrote:

>  Hi Keith,
>
>
>
> You'll need to update the foreign key constraint.  My bet is that it's
> named "$1" right now, but it needs to be named "metadatavalue_item_id_fkey".
>
>
>
> I think the SQL would be
>
>
>
> "alter table metadatavalue drop constraint '$1';"
>
>
>
> followed by
>
>
>
> "alter table metadatavalue add constraint '$metadatavalue_item_id_fkey'
> foreign key ('item_id') references item ('item_id') on delete no action on
> update no action;"
>
>
>
> *But you'll really want to make a backup first!*
>
>
>
> I think some of us with databases dating back to the early days have
> auto-named constraints, and they're breaking the flyway stuff.
>
>
>
> B--
>
>
>
>
>
>
>
> *From:* Keith Jones [mailto:mad...@udel.edu]
> *Sent:* Tuesday, March 17, 2015 12:56 PM
> *To:* dspace-tech@lists.sourceforge.net
> *Subject:* [Dspace-tech] Flyway Migration Error
>
>
>
> Hi All,
>
>
>
> I'm currently attempting to upgrade from dspace version 3.2 to dspace
> version 5.1 but I'm getting a java.sql.SQLException which is leading to a
> black page:
>
>
>
> Here's what I have installed
>
>
>
> OS : Solaris
>
> Java: 1.7.0_11
>
> Maven: 3.2.3
>
> Ant: 1.8.2
>
> Postgres: 9.4
>
> Tomcat: 7.0.34
>
>
>
> I'm able to both build and compile without error, I've deployed both xmlui
> and solr into the webapps area.
>
>
>
> Here is the error I'm getting in the logfile:
>
>
>
> 2015-03-17 14:03:48,848 ERROR org.dspace.storage.rdbms.DatabaseManager @
> SQL getDataSource Error -
>
> java.sql.SQLException: Flyway migration error occurred
>
> at
> org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:430)
>
> at
> org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:338)
>
> at
> org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1373)
>
> at
> org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:650)
>
> at
> org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:629)
>
> at org.dspace.core.Context.init(Context.java:121)
>
> at org.dspace.core.Context.(Context.java:95)
>
> at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:637)
>
> 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:601)
>
> at
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
>
> at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
>
> Caused by: org.flywaydb.core.api.FlywayException: Migration failed !
>
> at
> org.flywaydb.core.internal.resolver.jdbc.JdbcMigrationExecutor.execute(JdbcMigrationExecuto
>
> r.java:47)
>
> at
> org.flywaydb.core.internal.command.DbMigrate$5.doInTransaction(DbMigrate.java:287)
>
> at
> org.flywaydb.core.internal.command.DbMigrate$5.doInTransaction(DbMigrate.java:285)
>
> at
> org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:7
>
> 2)
>
> at
> org.flywaydb.core.internal.command.DbMigrate.applyMigration(DbMigrate.java:285)
>
> at
> org.flywaydb.core.internal.command.DbMigrate.access$800(DbMigrate.java:46)
>
> at
> org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:207)
>
> at
> org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:156)
>
> at
> org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:7
>
> 2)
>
> at
> org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:156)
>
> at org.flywaydb.core.Flyway$1.execute(Flyway.java:864)
>
> at org.flywaydb.core.Flyway$1.execute(Flyway.java:811)
>
> at org.flywaydb.core.Flyway.execute(Flyway.java:1171)
>
> at or

[Dspace-tech] Flyway Migration Error

2015-03-17 Thread Keith Jones
Hi All,

I'm currently attempting to upgrade from dspace version 3.2 to dspace
version 5.1 but I'm getting a java.sql.SQLException which is leading to a
black page:

Here's what I have installed

OS : Solaris
Java: 1.7.0_11
Maven: 3.2.3
Ant: 1.8.2
Postgres: 9.4
Tomcat: 7.0.34

I'm able to both build and compile without error, I've deployed both xmlui
and solr into the webapps area.

Here is the error I'm getting in the logfile:

2015-03-17 14:03:48,848 ERROR org.dspace.storage.rdbms.DatabaseManager @
SQL getDataSource Error -
java.sql.SQLException: Flyway migration error occurred
at
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:430)
at
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:338)
at
org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1373)
at
org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:650)
at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:629)
at org.dspace.core.Context.init(Context.java:121)
at org.dspace.core.Context.(Context.java:95)
at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:637)
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:601)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)
at
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77)
Caused by: org.flywaydb.core.api.FlywayException: Migration failed !
at
org.flywaydb.core.internal.resolver.jdbc.JdbcMigrationExecutor.execute(JdbcMigrationExecuto
r.java:47)
at
org.flywaydb.core.internal.command.DbMigrate$5.doInTransaction(DbMigrate.java:287)
at
org.flywaydb.core.internal.command.DbMigrate$5.doInTransaction(DbMigrate.java:285)
at
org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:7
2)
at
org.flywaydb.core.internal.command.DbMigrate.applyMigration(DbMigrate.java:285)
at
org.flywaydb.core.internal.command.DbMigrate.access$800(DbMigrate.java:46)
at
org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:207)
at
org.flywaydb.core.internal.command.DbMigrate$2.doInTransaction(DbMigrate.java:156)
at
org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:7
2)
at
org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:156)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:864)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:811)
at org.flywaydb.core.Flyway.execute(Flyway.java:1171)
at org.flywaydb.core.Flyway.migrate(Flyway.java:811)
at
org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:419)
... 13 more
Caused by: org.postgresql.util.PSQLException: ERROR: constraint
"metadatavalue_item_id_fkey" of relati
on "metadatavalue" does not exist
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:38
8)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:381)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.jav
a:172)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.jav
a:172)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.jav
a:172)
at
org.dspace.storage.rdbms.MigrationUtils.dropDBConstraint(MigrationUtils.java:106)
at
org.dspace.storage.rdbms.migration.V5_0_2014_09_25__DS_1582_Metadata_For_All_Objects_drop_c
onstraint.migrate(V5_0_2014_09_25__DS_1582_Metadata_For_All_Objects_drop_constraint.java:61)
at
org.flywaydb.core.internal.resolver.jdbc.JdbcMigrationExecutor.execute(JdbcMigrationExecuto
r.java:45)
... 27 more


Thanks
Keith
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://gop

Re: [Dspace-tech] Solr Shard Not Working

2014-09-23 Thread Keith Jones


Hi Adan,

Right now we are running DSpace vwersion 3.2 in a Tomcat 7.0.34 version.

On Tue, 23 Sep 2014, Adan Roman wrote:


Hi Keith

Have you deployed a DSpace 4.x or higer in a Tomcat 6 or lower?
It seems to be a mismatch between java and libraries from dspace.

Regards


Hi All,

I've been trying to run the following command:
dspace stats-util --shard-solr-index

But the procees produces the following error:

Exception:
org.apache.solr.client.solrj.response.QueryResponse.getFacetRanges()Ljava/util/List;
java.lang.NoSuchMethodError:
org.apache.solr.client.solrj.response.QueryResponse.getFacetRanges()Ljava/util/List;


Has anyone one else experienced this problem?

Thanks


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&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





--



---
Este mensaje no contiene virus ni malware porque la protecci?n de avast! 
Antivirus est? activa.

http://www.avast.com
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&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] Solr Shard Not Working

2014-09-22 Thread Keith Jones

Hi All,

I've been trying to run the following command:
   dspace stats-util --shard-solr-index

But the procees produces the following error:

Exception: 
org.apache.solr.client.solrj.response.QueryResponse.getFacetRanges()Ljava/util/List;
java.lang.NoSuchMethodError: 
org.apache.solr.client.solrj.response.QueryResponse.getFacetRanges()Ljava/util/List;


Has anyone one else experienced this problem?

Thanks

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&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] OAI-PMH not working

2013-10-16 Thread Keith Jones

Hi,

I checked the setting, we had it set for solr, but we are running solr as 
well. I set it to database(Postgres), stopped tomcat and restarted tomcat 
and I'm still not getting results.

Here is our url:

http://udspace.udel.edu/dspace-oai/request?verb=Identify

On Wed, 16 Oct 2013, Kostas Stamatis wrote:

> Hi,
>
> DSpace 3 and above integrates xoai that uses solr indexing to display the 
> items. Are you using solr or Postgres/Oracle?
> In the latter case, keep in mind that in the file 
> {...}/config/modules/oai.cfg the option "storage", at the very beginning, 
> must be equal to "database" and not "solr", which is the default value.
>
> Regards,
>
> Kostas
>
>
>
> On Oct 15, 2013, at 6:39 PM, Keith Jones  wrote:
>
>>
>>
>> We have an installation of DSpace version 3.2, which I recently updated a
>> test server. I'm still not able to get the OAI-PMH interface to work, has
>> anyone been able to use the OAI-PMH?
>> the verb identify will present an response, sets will sow but I'm not able
>> to retrieve records or identifiers.
>>
>> Thanks
>> Keith
>>
>>
>> --
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
>> the latest Intel processors and coprocessors. See abstracts and register >
>> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&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
>
>
> --
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&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
>

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&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] OAI-PMH not working

2013-10-15 Thread Keith Jones


We have an installation of DSpace version 3.2, which I recently updated a 
test server. I'm still not able to get the OAI-PMH interface to work, has 
anyone been able to use the OAI-PMH?
the verb identify will present an response, sets will sow but I'm not able 
to retrieve records or identifiers.

Thanks
Keith


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&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] Edit Item display Issue

2012-08-30 Thread Keith Jones

Helix84,

I've edited other things in the messages.xml and the edited items show up 
correctly. In this instance I did not edit the entries, they are not being 
displayed properly, but the matching entry exist in the file.

On Thu, 30 Aug 2012, helix84 wrote:

> I can't confirm that on 1.8.2, but then I added things to messages.xml
> so it's not a default installation.
> Can anyone here who hasn't edited messages.xml confirm it?
>
> Regards,
> ~~helix84
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Edit Item display Issue

2012-08-30 Thread Keith Jones


On Tue, 28 Aug 2012, helix84 wrote:

> Hi Keith,
> which version are you using? I just checked this on demo.dspace.org
> which runs the latest code (to become 3.0) from git and the problem is
> not present there.

I'm running version 1.8.2. I'm using the new messages.xml. I've checked in 
the deployed webapps area, and the entry is in the deployed messages.xml 
file.


>
> I had the same problem when I copied over a customized messages.xml
> file from 1.7 to 1.8 (reordering was a new feature in 1.8) and the
> messages were missing there (obviously). You're saying that they are
> in your messages.xml now. Could you 1) clean your Cocoon cache [1] and
> 2) restart Tomcat and check if the problem still persists?


Followed the procedure to clear the cache through the new interface 
option. Then I shutdown Tomcat and restarted, but the problem still 
persists.

Thanks

Keith

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Edit Item display Issue

2012-08-28 Thread Keith Jones


Hi All,

I'm not sure if this problem is a reported problem.

When I edit and Item and then choose the Item Bitstreams tab the message 
property items xmlui.administrative.item.EditItemBitstreamsForm.order_up 
and xmlui.administrative.item.EditItemBitstreamsForm.order_down are not 
being displayed. I've checked the message properties file and they are 
listed but still not displayed.

Anyone else seeing this issue.

Thanks
Keith

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with New Config file structure

2012-08-13 Thread Keith Jones

Yes I tried it and it worked. I was trying to follow the new 
authentication
model, but putting it in the dspace.cfg did the trick.

On Fri, 10 Aug 2012, helix84 wrote:

> Hi Keith, based on that source line I think it should simply go to
> dspace.cfg as cas.server.url, not to modules. Did you try that?
>
> Regards,
> ~~helix84
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with New Config file structure

2012-08-10 Thread Keith Jones

Hi All,

I'm in the process of trying to configure my CAS module to run with DSpace 
1.8.2. I'm currently running into a problem where the CAS class is unable 
to find the cas.server.url, and is getting a 
java.lang.NullPointerException when it is trying to read the configuration 
parameter.

This is the line of code:

final String authServer = 
ConfigurationManager.getProperty("cas.server.url");

With the new structure of the dspace.cfg, which separates the 
authentication  parameters, I'm having a difficult time trying to figure 
out how the build the configuration paramaters for CAS.

Thanks
Keith

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] CAS Authentication and DSpace version 1.8.2

2012-08-07 Thread Keith Jones

Hello,

I'm currently upgrading from dspace 1.7.2 to 1.8.2. I've been using CAS 
Authentication in 1.7.2, and I'm having trouble getting CAS to compile in 
1.8.2. When doing mvn package, the cas client jar is not downloading. 
Also, with the new changes in the config file structure, their is not a 
default config file for CAS, so I'm not sure what to name the file so that 
it will be recognized during the build process.

Thanks
Keith


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Upgrade Problems

2012-08-06 Thread Keith Jones

Hi All,

I currently running DSpace 1.7.2 in production. I've implemented a few 
changes for the installation. I currently have a customized xmlui with a 
added aspect, which is used to display rss links in the navigation. I'm 
currently trying to upgrade the installation from 1.7.2 to 1.8.2 but I'm 
running into a few problems. In my current code base I implemented the 
custom theme in the following code location of: 
dspace-src/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/. The 
first problem I encountered was that when I created the new webapps area, 
my custom theme was not moved into the build output. Then I moved the new 
theme into the module area which did make the theme show up in the build 
output. Then I ran into the problem where my deployed webapp is not able 
to find the sitemap for my custom aspect. This aspect is working in 1.7.2 
but not in 1.8.2. The aspect code is locate here: 
dspace-src/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects, and 
the aspect sitemap is located here: 
dspace-src/dspace-xmlui/dspace-xmlui-api/src/main/resources/aspects/Extra.

When I deploy my new xmlui, I'm getting the following error:
org.apache.excalibur.source.SourceNotFoundException: 
resource://aspects/Extra/sitemap.xmap

I could really use some help on trying to figure out why the system is not 
able to find the sitemap for my aspect.

Thanks
Keith

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] RSS Feeds and XMLUI

2011-04-14 Thread Keith Jones

Hello,

I was wondering if anyone has added links for RSS feeds in the XMLUI? 
I've been working this in DSpace version 1.6.2, using the Reference theme, 
but am running into a white screen problem. The system will run, but will 
eventually lead to a blank screen, and the need to restart the tomcat 
engine.

Thanks
Keith


--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Cas Authentication

2010-08-03 Thread Keith Jones

Has anyone succesfully tied in CAS authentication method with their DSpace 
instance?  I'm trying to get this working for DSpace 1.6.2 within the 
XMLUI.

Thanks


--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] CAS Authentication and Dspace (fwd)

2010-08-02 Thread Keith Jones


Hi,

I'm trying to tie our CAS authentication into our Dspace instance.  I've added 
the CAS java class and updated the config file to point to the Central 
authentication server.  When I click on the login link I'm redirected to the 
CAS login page, but when I enter the login method the page just reloads the 
login screen.  I'm not being sent back to the Dspace server to resume login. 
When returning to control to dspace what class will process the CAS server 
return call?

I'm using the 1.6.2 code base for Dspace and I'm using the fix listed for 
DSpace 1.4 at the following url:
http://sourceforge.net/tracker/index.php?func=detail&aid=1601221&group_id=19984&atid=319984

I went through the patch changes outlined by changing the dspace.cfg 
entries.

cas.server.url=Points to the login page on our CAS server
cas.validate.url=Not sure where the ticket is suppose to be validate
cas.logout.url=Again not clear as to what the log off url should be.



Thanks

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] CAS Authentication and Dspace

2010-07-26 Thread Keith Jones

Hi,

I'm trying to tie our CAS authentication into our Dspace instance.  I've 
added the CAS java class and updated the config file to point to the 
Central authentication server.  When I click on the login link I'm 
redirected to the CAS login page, but when I enter the login method the 
page just reloads the login screen.  I'm not being sent back to the Dspace 
server to resume login. When returning to control to dspace what class 
will process the CAS server return call?

Thanks

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace and Manakin

2009-03-04 Thread Keith Jones


Hello,

I have downloaded dspace 1.5.1 source code.  After installing the jspui to 
run in tomcat, I'm trying to run the xmlui interface.  When I try to run 
the xml interface, the default aspects are not there.

I've run the following commands:

cd [dspace-source]/dspace
maven package
cd [dspace-source]/dspace/target/dspace-1.5.1-build.dir
ant update

I've looked in the xmlui/aspects folder, but it only contains the 
following files:

aspects.xmap
protodocument.xml


I'm using dspace-1.5.1-src-release, downloaded from the sourceforge 
website.

Thanks
Keith


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Feedback form error

2008-09-05 Thread Keith Jones


We are running a 1.5 dspace install and I've just come across the 
following error.

When the feedback form is used a Null pointer Exception is thrown. I've 
checked that an email is currently set and the mail server setting is fine 
as well.  I am notified that an error is being reported but I'm not 
getting a message from the feedback form.

 null
=
java.lang.NullPointerException
at 
javax.mail.internet.InternetAddress.parse(InternetAddress.java:595)
at 
javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)
at 
javax.mail.internet.InternetAddress.(InternetAddress.java:91)
at org.dspace.core.Email.send(Email.java:310)
at 
org.dspace.app.webui.servlet.FeedbackServlet.doDSGet(FeedbackServlet.java:157)
at 
org.dspace.app.webui.servlet.FeedbackServlet.doDSPost(FeedbackServlet.java:188)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Heap out of Memory

2008-07-21 Thread Keith Jones

Hello,

We have recently upgraded to Dspace 1.5, when I went to index the database 
it failed due to out of memory error.  I check the tech list, found the 
information that identifies the problem.  I added the two new dspace cfg 
settings, pdffilter.largepdfs = true and 
pdffilter.skiponmemoryexception=true and put both in the dspace.cfg file. 
I then shutdown tomcat and restarted the servlet engine, but the error 
still happens.  Have these new settings worked for other installations?


Keith


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Error in the JDOM

2008-07-14 Thread Keith Jones

Hello,

We have recently upgraded to Dspace version 1.5, running on a Solaris 
machine using Tomcat 5.5 and Postgres 8.1.  After the upgraded I'm now 
getting the following internal error:

Exception:
org.jdom.IllegalDataException: The data "Text from the item ." is not 
legal for a JDOM attribute: 0x15 is not a legal XML character.
 at org.jdom.Attribute.setValue(Attribute.java:486)
 at org.jdom.Attribute.(Attribute.java:229)
 at org.jdom.Attribute.(Attribute.java:252)
 at org.jdom.Element.setAttribute(Element.java:1109)
 at
org.dspace.content.crosswalk.XHTMLHeadDisseminationCrosswalk.disseminateList
(XHTMLHeadDisseminationCrosswalk.java:243)
.


Has anyone come across this error.

Thanks
Keith Jones

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Item Removal Problem

2008-05-28 Thread Keith Jones


Hello,

We currently are running and instance of Dspace 1.4.2, with a Postgres 
database.

We recently ran into the following problem.

Person A has submitted an item, which is sent to Work Flow Step 2

Person B initially rejected the submission and sent it back to Person A.

Person A made changes, and re-submitted the item.

Person B approved the submission and a entry was made available to the 
public.

But a funny thing happened, Person A still has a the listed item stuck in 
their submission queue and are unable to delete the item.  They actually 
have 2 copies of the same record listed in their workflow.

Has anyone experienced this problem.

Question 2:
I can download Dspace 1.5 source without Maven, but can you compile the 
source without the source being downloaded via Maven?


Thanks
Keith

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] License Change

2007-07-09 Thread Keith Jones

Thanks James,

What I'm faced with is typo type error and wanting to correct the problem 
with out changing the underlying handles through a re-submission of items.


On Mon, 9 Jul 2007, James Rutherford wrote:

> On Mon, Jul 09, 2007 at 11:22:03AM -0400, Keith Jones wrote:
>> If I wanted to change the license on a dspace installation I know this
>> does not change the license for items that have previously been submitted.
>> Is there a way to change the license for previously submitted items.
>
> This might not be a good thing to do en-masse. If your authors have
> granted a license, you probably can't go and change it without having
> them grant the new one, surely? Unless it's a typo or something...
>
> cheers,
>
> Jim
>
> -- 
> James Rutherford  |  Hewlett-Packard Limited registered Office:
> Research Engineer |  Cain Road,
> HP Labs   |  Bracknell,
> Bristol, UK   |  Berks
> +44 117 312 7066  |  RG12 1HN.
> [EMAIL PROTECTED]   |  Registered No: 690597 England
>
> The contents of this message and any attachments to it are confidential and
> may be legally privileged. If you have received this message in error, you
> should delete it from your system immediately and advise the sender. To any
> recipient of this message within HP, unless otherwise stated you should
> consider this message and attachments as "HP CONFIDENTIAL".
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] License Change

2007-07-09 Thread Keith Jones

Hello Everyone,

If I wanted to change the license on a dspace installation I know this 
does not change the license for items that have previously been submitted. 
Is there a way to change the license for previously submitted items.


Thanks
Keith



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Bad Dublin Core Error

2007-06-19 Thread Keith Jones


Hello,

I getting the following internal error when going through the submission 
process:

An internal server error occurred on http://carr...

Date:   6/19/07 2:39 PM
Session ID: 3BA707EDF93EB7BB8840E174D77C68EB

-- URL Was: http://.../dspace/submit
-- Method: POST
-- Parameters were:
-- dc_identifier_value_0: ""
-- step: "2"
-- dc_identifier_qualifier_0: "issn"
-- dc_relation_ispartofseries_1: ""
-- dc_relation_ispartofseries_0: ""
-- dc_contributor_author_last_0: "Jones"
-- dc_language_iso: ""
-- submit_next: "Next >"
-- dc_title: "Basketball"
-- dc_contributor_author_first_0: "Keith"
-- workspace_item_id: "1"

Exception:
java.sql.SQLException: bad_dublin_core SchemaID=1, contributor author
 at org.dspace.content.Item.update(Item.java:1443)
 at org.dspace.content.WorkspaceItem.update(WorkspaceItem.java:473)
 at
org.dspace.app.webui.servlet.SubmitServlet.userHasReached(SubmitServlet.java:
2206)
 at
org.dspace.app.webui.servlet.SubmitServlet.processEditMetadata(SubmitServlet.
java:960)
 at
org.dspace.app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java:382)
 at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:
147)
 at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)


I've checked that the input-forms.xml file doesn't have a problem.
The database is a fresh install.  I'm able to create a community and a 
collection without a problem.  When I attempt to add a item, I'm unable to 
proceed to step 2.

Thanks
Keith

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Keith Jones


Hi Graham,

I in agreement that the code is working as specified.  My problem occured 
when I tried to register my Dspace instance with the official Open 
Archives registry.  The registry send a listIdentifiers request with no 
from date specified. As such my dspace instance has failed to pass the 
registration test.  I'm trying to determine if this is a configuration 
problem, or could there be bad data that is effecting the data pull.




On Wed, 6 Jun 2007, Graham Triggs wrote:


Not really. The badArgument is valid when you don't specify a
metadataPrefix, and the noRecordsMatch error is valid when there are no
records that match the date range specified.

If you simply include a from timestamp, eg:

http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers&metadataPrefix=oai_dc&from=2001-01-01T00:00:00Z

then it works. I don't think there is anything wrong with the harvesting
code per se, it just looks like it is incorrectly interpreting a from
date when you don't specify one.

Although according to the oaicat.properties below, the earliestDatestamp
is set to 2001-01-01T00:00:00Z - exactly what I'm passing in the above
url, and which works!

G

On Tue, 2007-06-05 at 22:37 -0400, Jodi Schneider wrote:

Forwarding this back out to the list for better answers to Keith's
questions.

http://sourceforge.net/tracker/index.php?func=detail&aid=1688523&group_id=19984&atid=319984
mentions the TimeStamp function of *Oracle*. Is the bug also
applicable to Postgres?

http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers&from=2007-04-01&until=2007-05-15&metadataPrefix=oai_dc
works beautifully.

However this request returns error code="badArgument".
http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers

Can anyone tell Keith how to fix this? Is upgrade to 1.4.2 the answer?
Or...?

-Jodi

PS-Keith, what happens if you change granularity?
i.e. in oaicat.properties change
AbstractCatalog.granularity=-MM-DDThh:mm:ssZ
to
AbstractCatalog.granularity=-MM-DD
-- Forwarded message --
From: Keith Jones <[EMAIL PROTECTED]>
Date: Jun 5, 2007 3:41 PM
Subject: Re: [Dspace-tech] Problem with Data Provider Validation
To: Jodi Schneider <[EMAIL PROTECTED]>


Hi Jodi,

Thanks for the help.

At my institution we are using Postgres, would this have any effect on
the
date granularity?

Are you saying that the harvester will not work, unless you are at
version
1.4.2?

I've been able to get subsets if the listidentifiers working, atleast
it
will work when I put in a from date but will not work if no date is
specified.  I'm still getting the following error:

Code=noRecordsMatch, Description="The combination of the values of the
from, until, set, and metadataPrefix arguments results in an empty
list."

With the http request of:

http://dspace.udel.edu:8080/dspace-oai/request, verb=ListIdentifiers,
metadataPrefix=oai_dc

But I can get results with the following http request
http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers&from=2007-04-01&metadataPrefix=oai_dc

Thanks
Keith

-- Forwarded message --
From: Jodi Schneider <[EMAIL PROTECTED]>
Date: Jun 5, 2007 9:19 AM
Subject: [Dspace-tech] Problem with Data Provider Validation
To: Dspace Tech 

Keith,

It looks like your repository is still having this problem. I think
you will need to upgrade to 1.4.2 or change timestamp granularity.

It looks like 1.4.2 fixed a bug regarding  OAI timestamps:
"The oracleTimeStampFunction did not correctly account for 20
character
length timestamps (-MM-DDTHH:mm:ssZ), incorrectly treating them as
'-MM-DDTHH:mm:ss.FFZ'."

http://sourceforge.net/tracker/index.php?func=detail&aid=1688523&group_id=19984&atid=319984
---
I compared the file you mention to my default oaicat.properties and it
looks like one block is duplicated. I wouldn't expect this to harm
anything.

AbstractCatalog.oaiCatalogClassName=org.dspace.app.oai.DSpaceOAICatalog
AbstractCatalog.recordFactoryClassName=org.dspace.app.oai.DSpaceRecordFactory
AbstractCatalog.secondsToLive=3600


AbstractCatalog.granularity=-MM-DDThh:mm:ssZ

Best luck, and apologies it took so long to figure this out!

-Jodi
Portable Citations for DSpace

On 5/29/07, Keith Jones < [EMAIL PROTECTED]> wrote:

I did not chnage anything in the oaicat.properties.

Here is my properties file:


###
# REMEMBER: ONLY UPDATE THE VERSION IN
dspace/config/templates
# AND THEN RUN dspace/bin/install-configs!
# DO NOT EDIT THE 'LIVE' VERSION!

###

# OAICat Configuration file - see OAICat documentation for
details

# Text surrou

Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Keith Jones


On Wed, 6 Jun 2007, Jodi Schneider wrote:

>> > PS-Keith, what happens if you change granularity?
>> > i.e. in oaicat.properties change
>> > AbstractCatalog.granularity=-MM-DDThh:mm:ssZ
>> > to
>> > AbstractCatalog.granularity=-MM-DD


Hi Jodi,

I did make the change suggested above, but the result was the same.

Thanks for all the help you have been providing.

Am I correct in understanding that your Dspace instance is not exhibiting 
the same problem?

Keith

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Fwd: Problem with Data Provider Validation

2007-06-06 Thread Keith Jones

Thanks for the additional input.  I turned on debug and here is what 
output I am getting in the log file.

2007-06-06 14:47:48,393 INFO  org.dspace.app.oai.DSpaceOAICatalog @ 
anonymous:no
_context:oai_request:verb=listIdentifiers,from=0001-01-01T00:00:00Z,until=-1
2-31T23:59:59Z,set=null,metadataPrefix=oai_dc
2007-06-06 14:47:49,008 DEBUG org.dspace.search.Harvest @ 
anonymous::harvest SQL
:SELECT handle.handle, handle.resource_id, item.withdrawn, 
item.last_modified FR
OM handle, item WHERE handle.resource_type_id=2 AND 
handle.resource_id=item.item
_id  AND item.last_modified >= ?  AND item.last_modified <= ?  ORDER BY 
handle.r
esource_id
2007-06-06 14:47:49,009 DEBUG org.dspace.storage.rdbms.DatabaseManager @ 
Running
  query "SELECT handle.handle, handle.resource_id, item.withdrawn, 
item.last_modi
fied FROM handle, item WHERE handle.resource_type_id=2 AND 
handle.resource_id=it
em.item_id  AND item.last_modified >= ?  AND item.last_modified <= ? 
ORDER BY h
andle.resource_id"
2007-06-06 14:47:49,782 INFO  org.dspace.app.oai.DSpaceOAICatalog @ 
anonymous:no
_context:oai_error:no_items_match



On Wed, 6 Jun 2007, Stuart Lewis [sdl] wrote:

> Hi Jodi / Keith,
>
>> However this request returns error code="badArgument".
>> http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers
>
> The 'badArgument' occurs because you need to specify which format you want
> the metadata in.
>
> So the following works:
>
> http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers&metadata
> Prefix=oai_dc
>
> However This still suffers from the problem of no records being returned
> when no dates are specified.
>
> As you have noticed, if you add a 'from' records are returned. (Not so if
> you just add a 'to').
>
> What should be happening, is OAICat passes a 'null' for 'to' and 'from' to
> org.dspace.search.Harvest.java If it receives null values, it should not do
> any date filtering on the select query. Something must be going wrong here.
> To debug this, we need to see what queries are being run.
>
> Can you:
>
> 1) Upgrade your logging output to DEBUG (change 'INFO' to 'DEBUG' in
> [dspace]/conf/log4j.properties an then restart tomcat).
>
> 2) Watch you [dspace]/log/dspace.log file as you call the ListIdentifiers
> URL which is returning an empty result set.
>
> The debug output should show the output that OAICat is passing to
> Harvest.java, and should show the corresponding query that Harvest.java
> calls.
>
> If you can send these to the list, we can look into the problem further.
>
> Thanks,
>
>
> Stuart
> _
>
> Datblygydd Cymwysiadau'r WeWeb Applications Developer
> Gwasanaethau Gwybodaeth  Information Services
> Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth
>
>E-bost / E-mail: [EMAIL PROTECTED]
> Ffon / Tel: (01970) 622860
> _
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with Data Provider Validation

2007-05-29 Thread Keith Jones


I did a search in dspace.log and I'm not seeing any instances of 
verb=listIdentifiers in the log file. Currently in log4j.properties the 
log4j.rootCategory is set to INFO.  Am I correct in changing info to DEBUG 
will change the log reporting?


Thanks

On Tue, 29 May 2007, Claudia Jürgen wrote:


Hi Keith,

what does your dspace log files say?
Search for
verb=listIdentifiers

This should be
verb=listIdentifiers,from=0001-01-01T00:00:00Z,until=-12
-31T23:59:59Z,set=null,metadataPrefix=oai_dc

if no date range was given

Claudia


Keith Jones schrieb:


I initial tried using both tools.
Seems like I've made progress, and have passed the first 2 test but now the 
test has failed on the following:

request?verb=ListIdentifiers&metadataPrefix=oai_dc



On Tue, 29 May 2007, Claudia J�rgen wrote:


Hi Keith,

did you use the OAI Validation tool:
http://www.openarchives.org/Register/ValidateSite

or the repository explorer http://re.cs.uct.ac.za/ ?

Claudia


Keith Jones schrieb:

Hello,

   We are running DSpace version 1.4.1, and we want to register our
repository as a OAI data provider.  I went to register but am unable to
because of the following error:

Malformed response: mismatched tag at line 11, column 62, byte 1114

We are sending back malformed XML when requests are being made.

Any help with this would be appreciated.

Thanks
Keith

- 
This SF.net email is sponsored by DB2 Express

Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with Data Provider Validation

2007-05-29 Thread Keith Jones


I did not chnage anything in the oaicat.properties.

Here is my properties file:

###
# REMEMBER: ONLY UPDATE THE VERSION IN dspace/config/templates
# AND THEN RUN dspace/bin/install-configs!
# DO NOT EDIT THE 'LIVE' VERSION!
###

# OAICat Configuration file - see OAICat documentation for details

# Text surrounded by two '@' symbols is replaced with the corresponding
# property from dspace.cfg.  For example:
#
# http://dspace.udel.edu:8080/dspace
#
# would be replaced with the dspace.url property in dspace.cfg.
# When /dspace/bin/install-configs is run, this file will be installed in 
the

# location specified by the property: config.template.oaicat.properties

AbstractCatalog.oaiCatalogClassName=org.dspace.app.oai.DSpaceOAICatalog
AbstractCatalog.recordFactoryClassName=org.dspace.app.oai.DSpaceRecordFactory
AbstractCatalog.secondsToLive=3600

AbstractCatalog.granularity=-MM-DDThh:mm:ssZ
AbstractCatalog.oaiCatalogClassName=org.dspace.app.oai.DSpaceOAICatalog
AbstractCatalog.recordFactoryClassName=org.dspace.app.oai.DSpaceRecordFactory
AbstractCatalog.secondsToLive=3600

AbstractCatalog.granularity=-MM-DDThh:mm:ssZ

# Custom Identify response values
Identify.repositoryName=DSpace at UD
[EMAIL PROTECTED]
Identify.earliestDatestamp=2001-01-01T00:00:00Z
Identify.deletedRecord=persistent

# List the supported metadataPrefixes along with the class that performs 
the ass

ociated crosswalk
#Crosswalks.didl=org.dspace.app.oai.DIDLCrosswalk
#Crosswalks.mets=org.dspace.app.oai.METSCrosswalk
Crosswalks.oai_dc=org.dspace.app.oai.OAIDCCrosswalk
# OAI crosswalks that use crosswalk plugins.  The
# metadataPrefixes must match the name of the plugin
# for interface org.dspace.content.crosswalk.DisseminationCrosswalk
# Crosswalks.mods=org.dspace.app.oai.PluginCrosswalk
# Crosswalks.mets=org.dspace.app.oai.PluginCrosswalk
# Crosswalks.qdc=org.dspace.app.oai.PluginCrosswalk


On Tue, 29 May 2007, Claudia Jürgen wrote:


Hi Keith,

this error occurs if the date argument is wrong

e.g.
http://dspace.udel.edu:8080/dspace-oai/request?verb=ListIdentifiers&from=2007-05-02&until=2006-05-02&metadataPrefix=oai_dc

having from > until

did you change any basic settings, e.g. oaicat.properties

Claudia


Keith Jones schrieb:


Hi Stuart,

Thanks for the help. Currently my initial problem originated because I
did not specify the correct base url.  Since correcting that problem the
repository is not pass the ListIdentifiers test.

The base url is:
http://dspace.udel.edu:8080/dspace-oai/request



On Tue, 29 May 2007, Stuart Lewis [sdl] wrote:


Hi Keith,

Can we see the repository, to see what errors it gives us?

Thanks,


Stuart
_

Datblygydd Cymwysiadau'r WeWeb Applications Developer
Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

   E-bost / E-mail: [EMAIL PROTECTED]
Ffon / Tel: (01970) 622860
_____



On 29/5/07 16:20, "Keith Jones" <[EMAIL PROTECTED]> wrote:



Hi Claudia,

Yes,

I used both sites and both are reporting and error in the XML returned.

The VlaidateSite failed on the return of the ?verb=Identify call.

And the explorer site returned and error for all the test.



On Tue, 29 May 2007, Claudia Jürgen wrote:


Hi Keith,

did you use the OAI Validation tool:
http://www.openarchives.org/Register/ValidateSite

or the repository explorer http://re.cs.uct.ac.za/ ?

Claudia


Keith Jones schrieb:

Hello,

   We are running DSpace version 1.4.1, and we want to register our
repository as a OAI data provider.  I went to register but am
unable to
because of the following error:

Malformed response: mismatched tag at line 11, column 62, byte 1114

We are sending back malformed XML when requests are being made.

Any help with this would be appreciated.

Thanks
Keith

-

This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech





-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@l

Re: [Dspace-tech] Problem with Data Provider Validation

2007-05-29 Thread Keith Jones


Hi Stuart,

Thanks for the help. Currently my initial problem originated because I did 
not specify the correct base url.  Since correcting that problem the 
repository is not pass the ListIdentifiers test.


The base url is:
http://dspace.udel.edu:8080/dspace-oai/request



On Tue, 29 May 2007, Stuart Lewis [sdl] wrote:


Hi Keith,

Can we see the repository, to see what errors it gives us?

Thanks,


Stuart
_

Datblygydd Cymwysiadau'r WeWeb Applications Developer
Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

   E-bost / E-mail: [EMAIL PROTECTED]
Ffon / Tel: (01970) 622860
_



On 29/5/07 16:20, "Keith Jones" <[EMAIL PROTECTED]> wrote:



Hi Claudia,

Yes,

I used both sites and both are reporting and error in the XML returned.

The VlaidateSite failed on the return of the ?verb=Identify call.

And the explorer site returned and error for all the test.



On Tue, 29 May 2007, Claudia Jürgen wrote:


Hi Keith,

did you use the OAI Validation tool:
http://www.openarchives.org/Register/ValidateSite

or the repository explorer http://re.cs.uct.ac.za/ ?

Claudia


Keith Jones schrieb:

Hello,

   We are running DSpace version 1.4.1, and we want to register our
repository as a OAI data provider.  I went to register but am unable to
because of the following error:

Malformed response: mismatched tag at line 11, column 62, byte 1114

We are sending back malformed XML when requests are being made.

Any help with this would be appreciated.

Thanks
Keith

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech





-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with Data Provider Validation

2007-05-29 Thread Keith Jones


I initial tried using both tools.
Seems like I've made progress, and have passed the first 2 test but now 
the test has failed on the following:

request?verb=ListIdentifiers&metadataPrefix=oai_dc



On Tue, 29 May 2007, Claudia J?rgen wrote:


Hi Keith,

did you use the OAI Validation tool:
http://www.openarchives.org/Register/ValidateSite

or the repository explorer http://re.cs.uct.ac.za/ ?

Claudia


Keith Jones schrieb:

Hello,

   We are running DSpace version 1.4.1, and we want to register our
repository as a OAI data provider.  I went to register but am unable to
because of the following error:

Malformed response: mismatched tag at line 11, column 62, byte 1114

We are sending back malformed XML when requests are being made.

Any help with this would be appreciated.

Thanks
Keith

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem with Data Provider Validation

2007-05-29 Thread Keith Jones


Hi Claudia,

Yes,

I used both sites and both are reporting and error in the XML returned.

The VlaidateSite failed on the return of the ?verb=Identify call.

And the explorer site returned and error for all the test.



On Tue, 29 May 2007, Claudia Jürgen wrote:


Hi Keith,

did you use the OAI Validation tool:
http://www.openarchives.org/Register/ValidateSite

or the repository explorer http://re.cs.uct.ac.za/ ?

Claudia


Keith Jones schrieb:

Hello,

   We are running DSpace version 1.4.1, and we want to register our 
repository as a OAI data provider.  I went to register but am unable to 
because of the following error:


Malformed response: mismatched tag at line 11, column 62, byte 1114

We are sending back malformed XML when requests are being made.

Any help with this would be appreciated.

Thanks
Keith

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with Data Provider Validation

2007-05-29 Thread Keith Jones

Hello,

   We are running DSpace version 1.4.1, and we want to register our 
repository as a OAI data provider.  I went to register but am unable to 
because of the following error:

Malformed response: mismatched tag at line 11, column 62, byte 1114

We are sending back malformed XML when requests are being made.

Any help with this would be appreciated.

Thanks
Keith

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Duplicate Key Exists

2007-04-13 Thread Keith Jones

Hi,

I'm running into the following problem.  I am getting a duplicate exist 
error when I try to create a submitters group through the edit collection 
page.  When the edit collection page is displayed it shows a "create" 
button for submitters or admins, but when you click the create button an 
internal error is generated.  Have others had this problem?  We recently 
upgraded an existing Dspace 1.2 install to a 1.4.1 version.

Here is a error report:

An internal server error occurred on http://dspace.udel.edu:8080/dspace:

Date:   4/12/07 1:46 PM
Session ID: A69E39DD55189A05F5519E4B1D3AFF5C

-- URL Was: http://dspace.udel.edu:8080/dspace/tools/edit-communities
-- Method: POST
-- Parameters were:
-- action: "9"
-- community_id: "29"
-- submit_submitters_create: "Create..."
-- create: "false"
-- introductory_text: ""
-- name: "Publications"
-- introductory_text: ""
-- name: "Publications"
-- copyright_text: ""
-- short_description: ""
-- collection_id: "48"
-- license: ""
-- side_bar_text: ""
-- provenance_description: ""


Exception:
java.sql.SQLException: ERROR:  Cannot insert a duplicate key into unique
index epersongroup_name_key

.


Any help would be welcomed.

Thank You
K Jones

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
DSpace-tech mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dspace-tech