Re: [Dspace-tech] [KE1019161] Embargo settings on item import

2013-03-11 Thread marco . weiss
Hi all,

i now tested i again in 3.1 and its the same as in 3.0
I placed a Jira issue https://jira.duraspace.org/browse/DS-1514 like 
helix advice a few mails ago.


Regards, Marco


Am 28.01.2013 09:43, schrieb helix84:
 On Mon, Jan 28, 2013 at 8:29 AM,  marco.we...@kesslernetworks.de 
 wrote:
 Am 18.01.2013 12:52, schrieb helix84:
 On Fri, Jan 18, 2013 at 11:36 AM,  marco.we...@kesslernetworks.de 
 wrote:
 Now what have i done. I created an item and imported it in OAI 
 Solr
 search.

 What do you mean OAI Solr search? I assume you mean the oai Solr
 core? search is a different Solr core, used for Discovery.

 With OAI Solr search i meant i imported the items in Solr so that a 
 query on
 OAI can deliver the data getting it from the Solr ... hope i'm right 
 here.

 Yes, that is the oai Solr core and you've done well.

 The simple archive and the csv file shows no difference between 
 the two
 states except of the dc.description.provenance.
 The unpacked AIP shows a difference between the two mets.xml 
 files.
 That tells me, that only over AIP i can handle the embargo 
 settings, or?

 Yes, as I wrote in my previous email.
 Old embargo = bitstream authorizations + embargo terms in metadata 
 (so
 SAF import should recognize it)
 3.0 embargo = bitstream resource policies (so probably only AIP 
 would
 recognize it - it's part of METS)

 Ok so the old embargo should work, but what is SAF ? Can't find 
 something in
 the documentation.
 Unfortunately i don't have enough time to test it because it was 
 just nice
 to have and not must have criteria.
 Maybe in a later step i will get back to this. The step is planed 
 but i can
 not tell when.

 Sorry, SAF is just a name for the format used in the original 
 importer
 ([dspace]/bin/dspace import/export).

 So i had the idea now to restore/replace it with the AIP i created 
 as the
 item was in not private state and it have to be in that state 
 after
 replacing it.
 Unfortunately it replaces the item but the not private state was 
 not
 applied to the item.
 I set the not private state in XMLUI manually and imported the 
 AIP i
 created as the item was in the private state and this works in 
 parts.
 In parts means the item is withdrawn but in not private state 
 after
 that.
 That means replacing an item that is in not private state with 
 the
 private state item works the other way round not.
 To see the difference between the withdrawn item that is in not 
 private
 state i put it manually in private state, exported it as AIP, 
 unzipped,
 and diff the two mets.xml ... no changes that shows me what i have 
 to set
 so
 get the item in privatestate.


 Thanks for the testing, you may have found a bug. I didn't try it
 myself (exporting/importing items with embargo via AIP), so I can't
 explain it. If noone else answers in the next few days, you should
 file a Jira issue to make sure it's addressed (either explained if
 it's supposed to work that way, or fixed if it's not).


 Ok no one had answered to this mail so i will file a Jira issue.


 org.dspace.authorize.AuthorizeException: To withdraw item must be
 COLLECTION_ADMIN or have REMOVE authorization on owning Collection


 This sounds pretty straightforward - did you use a correct value 
 for
 the -e flag? E.g. a site admin eperson?


 Yes, sure i only have one account the site admin i created following 
 the
 installation documentation.
 And yes i used the -e flag but in long version
  --eperson=my.m...@adress.de

 Sorry, I can't think of anything else that could have gone wrong 
 there.

 Ok, i hope i can find a bit spare time to place a Jira issue the 
 next day
 for that and i'll post the link to that.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
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] [KE1019161] Submitted item with relay resolve error not deletable

2013-03-11 Thread marco . weiss
Am 07.02.2013 15:52, schrieb helix84:
 On Thu, Feb 7, 2013 at 3:49 PM, Marco Weiß
 marco.we...@kesslernetworks.de wrote:
 java.security.AccessControlException: access denied 
 (java.net.SocketPermission relay.rz-sued.bayern.de resolve)

 Can you please attach the _full_ stack trace to the Jira issue? And
 your suggestion, too. Thanks.

 Regards,
 ~~helix84

Hi Helix,

i tried to reproducing that error for the full stack trace you 
requested for jira but i can't...

So i'll close the jira issue with a comment

Regards, Marco

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
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] [KE1019161] Submitted item with relay resolve error not deletable

2013-03-11 Thread marco . weiss
Am 11.03.2013 09:32, schrieb helix84:
 On Mon, Mar 11, 2013 at 9:23 AM,  marco.we...@kesslernetworks.de 
 wrote:
 i tried to reproducing that error for the full stack trace you 
 requested for
 jira but i can't...

 Hi Marco,

 what if you just search your logs and send the old stacktrace from 
 from there?

Sorry, the logs are still rotated and now in backup ...

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
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] [KE1019161] Import/Editing Items in DSpace and evaluating the existence with an other value then the internal document ID

2013-03-04 Thread marco . weiss
Hi Helix,

;) if i can use a answare in the type of a developer as admin ... we 
will see

Today i use the Batch Metadata Editing method dspace import but if my 
use case can be solved by one of the other two methods dspace packager 
or dpsace metadata-import i can change my process of import.
But till today i found no information that this is possible in the 
other two ways


Regards Marco


Am 04.03.2013 10:08, schrieb helix84:
 On Mon, Mar 4, 2013 at 3:29 AM, João Melo jm...@lyncode.com wrote:
 Hi Marco,

 this functionality isn't implemented.


 Hi João,

 I think Marco would welcome some pointers on how to do that (the
 dspace-devel type of answer).

 Marco, you should specify which importer you're using
 ([dspace]/bin/dspace import or [dspace]/bin/dspace packager or
 [dspace]/bin/dspace metadata-import).


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
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] [KE1019161] Import/Editing Items in DSpace and evaluating the existence with an other value then the internal document ID

2013-03-03 Thread marco . weiss
 

Hi Joao, 

ok so do you think it will be implemented the next time?


Regards Marco 

Am 04.03.2013 03:29, schrieb João Melo: 

 Hi Marco,

 
 this functionality isn't implemented. 
 
 On 1 March 2013 14:43,
marco.we...@kesslernetworks.de wrote:
 
 Hi all,
 
 is there a
way to import or edit items in dspace and check it the item
 exists on
a value like that is not the internal document id?
 
 A bit more to
explain what i will do...
 I have a database which will be filled from
to external sources.
 At the the one of the sources writing new data
to this database, the
 database will export the new or changed data
into a CSV file.
 In this CSV there is a column called UUID which will
be imported as
 dc.identfier.uuid field in dspace.
 Now what can i
do to dont import every changed data as new item?
 I wish to check if
a item in dspace exists with that UUID because i
 don't know the
internal document ID nor the handle.
 
 Is that possible with an
import function of dspace or do i have to
 write a script that do this
kind of check against the database?
 
 Best regards, Marco
 

--

Everyone hates slow websites. So do we.
 Make your web apps faster
with AppDynamics
 Download AppDynamics Lite for free today:

http://p.sf.net/sfu/appdyn_d2d_feb [1]

___
 DSpace-tech mailing
list
 DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech [2]
 List
Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette [3]


 -- 
 
 Thanks, João Melo (My Portfolio [4])
 DSpace Department

LYNCODE: Official website [5] 
 [6] 
 [7]

 

Links:
--
[1]
http://p.sf.net/sfu/appdyn_d2d_feb
[2]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
[3]
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[4]
http://www.lyncode.com/m/jmelo/
[5]
http://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Famp;sa=Damp;sntz=1amp;usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[6]
http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodeamp;sa=Damp;sntz=1amp;usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
[7]
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodeamp;sa=Damp;sntz=1amp;usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb___
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] [KE1019161] Import/Editing Items in DSpace and evaluating the existence with an other value then the internal document ID

2013-03-01 Thread marco . weiss
Hi all,

is there a way to import or edit items in dspace and check it the item 
exists on a value like that is not the internal document id?

A bit more to explain what i will do...
I have a database which will be filled from to external sources.
At the the one of the sources writing new data to this database, the 
database will export the new or changed data into a CSV file.
In this CSV there is a column called UUID which will be imported as 
dc.identfier.uuid field in dspace.
Now what can i do to dont import every changed data as new item?
I wish to check if a item in dspace exists with that UUID because i 
don't know the internal document ID nor the handle.

Is that possible with an import function of dspace or do i have to 
write a script that do this kind of check against the database?


Best regards, Marco

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
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] [KE1019161] datestamp in UTC for OAI

2013-02-22 Thread marco . weiss
Hi all,

i need to get the datestamp in the XML header of a OAI request in UTC, 
can you tell me how to do that?


Best regards
Marco

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
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] [KE1019161] datestamp in UTC for OAI

2013-02-22 Thread marco . weiss
Hi Helix,

i have DSpace 3.0 running here.
The code you linked seems to add the functionality to convert the 
timetzone to UTC.
Was that a bug in 3.0 and that is the fix?
Hm it a month ago, that could be the fix but i have to recompile 
something or?


Regards Marco

Am 22.02.2013 09:55, schrieb helix84:
 On Fri, Feb 22, 2013 at 9:38 AM,  marco.we...@kesslernetworks.de 
 wrote:
 i need to get the datestamp in the XML header of a OAI request in 
 UTC,
 can you tell me how to do that?

 Hi Marco,

 which version are you running exactly?

 Is this of any use to you?
 
 https://github.com/lyncode/DSpace/commit/8415c4b41dc7d725a0b39d33bc50f4ada4bc5de9


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
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] [KE1019161] datestamp in UTC for OAI

2013-02-22 Thread marco . weiss
Am 22.02.2013 10:30, schrieb helix84:
 Actually, it was an attempted fix to another issue reported by 
 Christos here:
 https://jira.duraspace.org/browse/DS-1311
 https://jira.duraspace.org/browse/DS-1445

 but it was never merged, as you can see in the later comments. I'm 
 not
 sure how to help you, maybe João will chime in.

 Meanwhile, you can try 3.1, there have been a few fixes to OAI there,
 but I'm not sure if anything was timezone-related.

Hi Helix,

sorry i forgot i update to 3.1 a few days ago, so dspace 3.1 is already 
running.
I downloaded the src now too. I modified the code to include the 
attempted fix from 
https://github.com/lyncode/DSpace/commit/8415c4b41dc7d725a0b39d33bc50f4ada4bc5de9

After mvn package the files DateUntilFilter.class DateUtils.class 
dont't differ to the installed one tested vie md5sum.
I copied over the two files, restarted tomcat, imported all items with 
creating new index and cleaning up the oai cache.
After that the item requesting the item over the OAI i recognized that 
nothing had changed.

I saw that the item it self has the right time value in the field 
dc.date.accessioned maybe i can use that value in the XSL?
Next question, which XSL is building the header?


Best regards, Marco


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
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] [KE1019161] datestamp in UTC for OAI

2013-02-22 Thread marco . weiss
 

Hi Joao, 

sorry but i can't connect to git from this network here
;) 

Can i use the zip provided there https://github.com/lyncode/xoai ?


I think that is the same or? 

Does it matter where i unpack that zip?


Can you shortly explain what happen by executing mvn install? 

Thank
you, Marco 

Am 22.02.2013 12:44, schrieb João Melo: 

 This issue is
solved. I'm currently waiting for some review in order to publish a new
version of the XOAI library. Marco, if you're available to test it,
please, make the following steps: 
 
 $ git clone
https://github.com/lyncode/xoai.git [5]
 $ cd xoai
 $ mvn install 


 Then build your dspace after applying this change
(https://github.com/lyncode/DSpace/commit/8415c4b41dc7d725a0b39d33bc50f4ada4bc5de9
[6]). 
 
 On 22 February 2013 11:39, helix84 heli...@centrum.sk
wrote:
 
 On Fri, Feb 22, 2013 at 11:39 AM,
marco.we...@kesslernetworks.de wrote:
  I saw that the item it self
has the right time value in the field
  dc.date.accessioned maybe i
can use that value in the XSL?
  Next question, which XSL is building
the header?
 
 The header is not built using XSLT, it's produced by
the xoai library:
 
 https://github.com/lyncode/xoai [1]
 
 This
is so to prevent you from accidentally breaking conformance to
 the
OAI-PMH specification.
 
 Sorry I couldn't be of more immediate
help.
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace
Mailing List Etiquette

https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette [2]



--

Everyone hates slow websites. So do we.
 Make your web apps faster
with AppDynamics
 Download AppDynamics Lite for free today:

http://p.sf.net/sfu/appdyn_d2d_feb [3]

___
 DSpace-tech mailing
list
 DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech [4]
 List
Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette [2]


 -- 
 
 Thanks, João Melo (My Portfolio [7])
 DSpace Department

LYNCODE: Official website [8] 
 [9] 
 [10]

 

Links:
--
[1]
https://github.com/lyncode/xoai
[2]
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[3]
http://p.sf.net/sfu/appdyn_d2d_feb
[4]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
[5]
https://github.com/lyncode/xoai.git
[6]
https://github.com/lyncode/DSpace/commit/8415c4b41dc7d725a0b39d33bc50f4ada4bc5de9
[7]
http://www.lyncode.com/m/jmelo/
[8]
http://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Famp;sa=Damp;sntz=1amp;usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[9]
http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodeamp;sa=Damp;sntz=1amp;usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
[10]
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodeamp;sa=Damp;sntz=1amp;usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb___
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] [KE1019161] datestamp in UTC for OAI

2013-02-22 Thread marco . weiss
 

Hi Joao, Ivan and Helix, 

thank you very much for that amazing
support you giving to us! 

It works, i unzipped the xoai, did a mvn
install, than mvn -U clean package, an ant upate, copied back my
configurations and now i get the item with that time i expected! 

Thats
all done on my development server, and after verifying it i copied it
over to my production system and there it works too. 

I'll now give
these system to the DNB (German national bibliothec) and i hope they now
will accept my OAI interface. 

Thank you, Marco 

Am 22.02.2013 13:28,
schrieb João Melo: 

 Hi Marco, 
 
 zip attached. 
 
 I'm not
completely sure, but you might need to update the xoai version
 in
dspace-oai/pom.xml to correspond to the one you'll have built. 
 
 You
don't need to modify the pom.xml 
 
 On 22 February 2013 12:22,
helix84 heli...@centrum.sk wrote:
 
 On Fri, Feb 22, 2013 at 1:17
PM, marco.we...@kesslernetworks.de wrote:
  sorry but i can't
connect to git from this network here ;)
 
 You can also use http,
https is not necessary.
 
  Can i use the zip provided there
https://github.com/lyncode/xoai [1] ?
 
  I think that is the same
or?
 
 Yes. It's the same.
 
  Does it matter where i unpack
that zip?
 
 Not at all, it's just source.
 
  Can you shortly
explain what happen by executing mvn install?
 
 You build the
source and create a .jar. This is the the xoai library,
 which is a
dependency of the oai module in DSpace. It will be stored
 in your
local maven repository in ~/.m2 and the new version will be
 used when
you rebuild DSpace.
 
 I'm not completely sure, but you might need
to update the xoai version
 in dspace-oai/pom.xml to correspond to the
one you'll have built.
 
 Regards,
 ~~helix84
 
 Compulsory
reading: DSpace Mailing List Etiquette

https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette [2]


 -- 
 
 Thanks, João Melo (My Portfolio [3])
 DSpace Department

LYNCODE: Official website [4] 
 [5] 
 [6]

 

Links:
--
[1]
https://github.com/lyncode/xoai
[2]
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[3]
http://www.lyncode.com/m/jmelo/
[4]
http://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Famp;sa=Damp;sntz=1amp;usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[5]
http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodeamp;sa=Damp;sntz=1amp;usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
[6]
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodeamp;sa=Damp;sntz=1amp;usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb___
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] [KE1019161] Submitted item with relay resolve error not deletable

2013-02-06 Thread marco . weiss
Hi all,

i submitted an new item and got the error that my mail relay is not 
resolvable.
I fixed this resolving and now it works.
But the item submitted with the error is now not deletable for me.
The worse is i can't open the item by clicking it in the XMLUI it will 
not be shown.
Strange is, the item has the link to the page item viewed by date 
issued
http://dspace.myserver.de/xmlui/browse?type=dateissued

The item seems to have no handle and it appears not in withdrawn or 
private overview.
I found it with luck over the item page, i remembered the last item id 
before and search the next higher number.
I thought i can delete it now over the edit view, but after delete it 
appears again and was not deleted.
index-init, import and clean-cache having no effect.
What can i do to get this item out of dspace?


Regards Marco

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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] [KE1019161] Running DSpace 3.1 in Tomcat with unpackWARs=false

2013-02-05 Thread marco . weiss
Hi Völker,

thank you for your answer i can't get that working till now with 
unpackedWARs=false
I decided to get the data center to configure the tomcat with 
unpackedWARs=true.
After that it works partial, i had the issue written on the mailing 
list that my OAI tells me that the given id does not exists but the solr 
interface get me the information by querying it manually.

Now the following way works for me. I requested direct database access 
from my LAN to the data center.
After that i changed the build.properties with all values i need on the 
data center.
Did an ant fresh_install and the database is filled up with the needed 
data.
The applications are written locally to my test environment, i copied 
them over, fired up tomcat, and it works!


Thanks for support here
Regards
Marco


Am 01.02.2013 16:41, schrieb Christian Völker:
 Hello,

 Am 31.01.2013 um 11:30 schrieb marco.we...@kesslernetworks.de:

 today i'm trying to get DSpace running with unpackWARs=false setting 
 in Tomcat.
 Dspace XMLUI is running but i't looks very ugly because i think it 
 is not loading the values for the links etc.
 I attached a screen shot for you.

 The Screenshot shows clearly that the messages.xml cannot be found.
 So you do something seriously wrong.
 But that can be in many places, hard to point you to a specific
 change that causes this.

 Acutally, I dont know when I had to use automatic unpacking the last 
 time.
 I am using DSpace 1.8.x and the build process places the complete
 directory structure
 without packing in the webapps directory. All you do is restart 
 tomcat.
 (Sometimes, there are issues with caching, though, then you have to
 clean out the work
 directory betwenn stopping and starting tomcat again.)

 Try to make sure that there is no interference with elder versions.
 Maybe you dont see the output of your latest build?
 Clean out the webapps dir completely before rebuilding.
 Get rid of unnessecary backups produced by the update process
 in your dspace working directory and your dspace config directory.
 For me, these copies are confusing at times.

 The OAI it self can'f find the style.xsl and that caused because the 
 file is not there if running as an unpacked war.

 Try to fix the basic issue first. I am confident that this will solve
 subsequent issues.

 Bye, Christian

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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] [KE1019161] Upgrading DSpace 3.0 to 3.1

2013-01-31 Thread marco . weiss
Hi all,

i updated from version 3.0 to version 3.1 successfully, i think ;)
I followed the instruction here 
https://wiki.duraspace.org/display/DSDOC3x/Upgrading+From+3.0+to+3.x
The only question left over is how can i really be sure that i now 
using 3.1?
Is there something in xmlui where i can find the version number?


Regards, Marco

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] [KE1019161] Running DSpace 3.1 in Tomcat with unpackWARs=false

2013-01-31 Thread marco . weiss

Hi all again,

today i'm trying to get DSpace running with unpackWARs=false setting in 
Tomcat.
Dspace XMLUI is running but i't looks very ugly because i think it is 
not loading the values for the links etc.

I attached a screen shot for you.

The OAI it self can'f find the style.xsl and that caused because the 
file is not there if running as an unpacked war.


XML-Verarbeitungsfehler: Kein Element gefunden
Adresse: http://10.2.46.252:8080/oai/static/style.xsl
Zeile Nr. 1, Spalte 1:

java.lang.NullPointerException
at java.io.File.init(File.java:222)
at org.dspace.xoai.util.FileServlet.doGet(FileServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

at java.lang.Thread.run(Thread.java:662)


Is there a easy way to get this working?


Regards Marco
attachment: screenshot.JPG--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
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] [KE1019161] Upgrading DSpace 3.0 to 3.1

2013-01-31 Thread marco . weiss
Hi Claudia,

merci! I found it in the tab DSpace Configuration in the control panel.
It's 3.1.


Thank you


Am 31.01.2013 11:59, schrieb Claudia Jürgen:
 Hello Marco,

 the information is part of the control panel provided in the xmlui.
 Log in as admin - Control Panel - DSpace Configuration

 Hope this helps

 Claudia Jürgen


 Am 31.01.2013 11:22, schrieb marco.we...@kesslernetworks.de:
 Hi all,

 i updated from version 3.0 to version 3.1 successfully, i think ;)
 I followed the instruction here
 https://wiki.duraspace.org/display/DSDOC3x/Upgrading+From+3.0+to+3.x
 The only question left over is how can i really be sure that i now
 using 3.1?
 Is there something in xmlui where i can find the version number?


 Regards, Marco

 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 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


 --
 Claudia Juergen
 Universitaetsbibliothek Dortmund
 Eldorado
 0231/755-4043
 https://eldorado.tu-dortmund.de/

 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 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

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] [KE1019161] After transfering DSpace from test to live OAI can't find items

2013-01-31 Thread marco . weiss
Hi all,

i have the following nice working testsetup

- DSpace 3.1
- Tomcat 6 on Port 8080
- DB Connection over JNDI
- started Tomcat
- imported one item with medatada-import
- XMLUI login is ok
- Solr search is ok
- OAI request is ok

Now i tried to transfer this to my live server

- Stopped Tomcat
- I created WAR archives an copied on the live server
- Copied the dspace directory for configuration files, binary and 
scripts
- I changed all Hostnames from testsrv1.test.de:8080 to dspace.url.de 
because tomcat is now running on port 80
- DB Connection over JNDI
- I started tomcat
- imported one item with medatada-import
- oai import -c -v is ok with one item
- oai clean-cache is ok
- Login in XMLUI with dpsace.url.de/xmlui is ok
- Solr search on dspace.url.de/solr/oai/ is ok

OAI request every times fails with The given id does not exist
I think the OAI app can not connect to Solr to get the results. Maybe i 
forgot to change it but can't find anything ...
Turned on Debug for DSpace but i get no error that tells me what went 
wrong.

How can i get more information what is wrong to fix this on my live 
server?


Regards Marco


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] [KE1019161] After transfering DSpace from test to live OAI can't find items

2013-01-31 Thread marco . weiss
Hi Helix,

value is

solr.url=http://dspace.url.de/solr/oai


Am 31.01.2013 18:36, schrieb helix84:
 What's your value of solr.url in [dspace]/config/modules/oai.cfg?


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
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] [KE1019161] Embargo settings on item import

2013-01-27 Thread marco . weiss
Hi Helix,

it's a bit late my answer but here is it.

Am 18.01.2013 12:52, schrieb helix84:
 On Fri, Jan 18, 2013 at 11:36 AM,  marco.we...@kesslernetworks.de 
 wrote:
 Now what have i done. I created an item and imported it in OAI Solr 
 search.

 What do you mean OAI Solr search? I assume you mean the oai Solr
 core? search is a different Solr core, used for Discovery.

With OAI Solr search i meant i imported the items in Solr so that a 
query on OAI can deliver the data getting it from the Solr ... hope i'm 
right here.

 The simple archive and the csv file shows no difference between the 
 two
 states except of the dc.description.provenance.
 The unpacked AIP shows a difference between the two mets.xml files.
 That tells me, that only over AIP i can handle the embargo settings, 
 or?

 Yes, as I wrote in my previous email.
 Old embargo = bitstream authorizations + embargo terms in metadata 
 (so
 SAF import should recognize it)
 3.0 embargo = bitstream resource policies (so probably only AIP would
 recognize it - it's part of METS)

Ok so the old embargo should work, but what is SAF ? Can't find 
something in the documentation.
Unfortunately i don't have enough time to test it because it was just 
nice to have and not must have criteria.
Maybe in a later step i will get back to this. The step is planed but i 
can not tell when.

 So i had the idea now to restore/replace it with the AIP i created 
 as the
 item was in not private state and it have to be in that state 
 after
 replacing it.
 Unfortunately it replaces the item but the not private state was 
 not
 applied to the item.
 I set the not private state in XMLUI manually and imported the AIP 
 i
 created as the item was in the private state and this works in 
 parts.
 In parts means the item is withdrawn but in not private state 
 after that.
 That means replacing an item that is in not private state with the
 private state item works the other way round not.
 To see the difference between the withdrawn item that is in not 
 private
 state i put it manually in private state, exported it as AIP, 
 unzipped,
 and diff the two mets.xml ... no changes that shows me what i have 
 to set so
 get the item in privatestate.

 Thanks for the testing, you may have found a bug. I didn't try it
 myself (exporting/importing items with embargo via AIP), so I can't
 explain it. If noone else answers in the next few days, you should
 file a Jira issue to make sure it's addressed (either explained if
 it's supposed to work that way, or fixed if it's not).

Ok no one had answered to this mail so i will file a Jira issue.

 org.dspace.authorize.AuthorizeException: To withdraw item must be
 COLLECTION_ADMIN or have REMOVE authorization on owning Collection

 This sounds pretty straightforward - did you use a correct value for
 the -e flag? E.g. a site admin eperson?

Yes, sure i only have one account the site admin i created following 
the installation documentation.
And yes i used the -e flag but in long version
  --eperson=my.m...@adress.de

Ok, i hope i can find a bit spare time to place a Jira issue the next 
day for that and i'll post the link to that.

Regards Marco


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
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] [KE1019161] Get record from OAI with a individual identifier

2013-01-23 Thread marco . weiss
Hi Helix,

thank you for remembering! My brain lost that information somewhere...
I now using the solr and it works well.
I deactivated the localhost restriction in web.xml
and did my first search.

http://10.2.46.252:8080/solr/oai/select?q=metadata.dc.identifier.uuid:955a3c1d-921b-4522-a452-672b4fe86d09fl=item.handle

@Joao thanks for the link to the REST information but i will use the 
Solr.


Regards, Marco


Am 22.01.2013 09:05, schrieb helix84:
 On Tue, Jan 22, 2013 at 9:01 AM, marco.we...@kesslernetworks.de 
 wrote:
 Other idea, is it possible to use the solr search server to get what 
 i
 want?

 Yes! Please, read my first email.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
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] [KE1019161] Get record from OAI with a individual identifier

2013-01-22 Thread marco . weiss
 

Hi Joao, 

thank you for answering! Ok REST would be nice but i see
there is not documentation of such a implementation. 

I found these
instructions


https://jspace.atlassian.net/wiki/display/DSPACEAPI/DSpace+REST+API+Home


https://jspace.atlassian.net/wiki/display/DSPACEAPI/API+Documentation


https://wiki.duraspace.org/display/DSPACE/REST+API 

It seems to be in
beta status, or? 

Other idea, is it possible to use the solr search
server to get what i want? 

Regards Marco 

Am 22.01.2013 03:44,
schrieb João Melo: 

 Hi Marco, 
 
 sorry for the delay.
Unfortunately i've misunderstood, as helix said, it requires code
changes. 
 But, i would strongly disencourage you, OAI-PMH protocol is
not meant to be used for custom query purposes, you could use some
rest-api instead (we are using and it works fine). 
 
 If you have any
further questions (about OAI/rest-api), please, feel free to question.

 
 On 18 January 2013 15:12, marco.we...@kesslernetworks.de
wrote:
 
 Hi Helix,
 
 thank you for that link. I now new which
direction Joao and you are thinking of but i can't find a documentation
what i have to do.
 Just with the configuration file and the note OAI
2.0 allows you to configure following advanced options ... filters i
can't understand what to do.
 Maybe i'm to stupid to get my gyrus
around that, and googling the half day doesn't solve it ;)
 
 Maybe
Joao can you explain it to me or give me a hint?
 
 Regards,
Marco
 
 Am 17.01.2013 13:35, schrieb helix84: 
 
 On Thu, Jan
17, 2013 at 1:18 PM, marco.we...@kesslernetworks.de wrote:
 

yes we are using DSpace 3.0. Can you provide me a hint where i can find
a documentation of these filters?
 
 The filters Joao meant are
defined and used here:
 

https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace/config/crosswalks/oai/xoai.xml
[1]
 
 I don't know how they allow you to change what identifiers
are
 _accepted_ by oai without writing Java code, but of course Joao
knows
 better, he wrote the code.
 
 Regards,
 ~~helix84


 Compulsory reading: DSpace Mailing List Etiquette

https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette [2]


 -- 
 
 Thanks, João Melo (My Portfolio [3])
 DSpace Department

LYNCODE: Official website [4] 
 [5] 
 [6]

 

Links:
--
[1]
https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace/config/crosswalks/oai/xoai.xml
[2]
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[3]
http://www.lyncode.com/m/jmelo/
[4]
http://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Famp;sa=Damp;sntz=1amp;usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[5]
http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodeamp;sa=Damp;sntz=1amp;usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
[6]
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodeamp;sa=Damp;sntz=1amp;usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d___
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] [KE1019161] Deploy DSpace as WAR

2013-01-21 Thread marco . weiss
Hi all,

is there a documentation how to get DSpace deployed as WAR?
I think the only thing i have to do is to copy the WAR files after mvn 
package to Tomcat webapps directory?
I have done this but after Tomcat had unpacked the WAR the applications 
can not find the dspace.cfg.
I took a look inside the web.xml and saw that the path variable was not 
replaces by /var/lib/tomcat/dspace...

Do i forgot a step to get these information in there?


Best regards, Marco


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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] [KE1019161] Deploy DSpace as WAR

2013-01-21 Thread marco . weiss
Hi Helix,

hm Mark is talking about a JAR there and not a WAR, is that just a 
typo?
However, i think that is the problem that the configuration have to be 
modified manually...

No i don't ran ant because i can't execute this command on an Tomcat 
hosting farm ...
I have to deploy it as a WAR.

I think the problem is that after the mvn clean package the files in 
the ware doesn't contain the configuration files with replaced 
variables. If the replacing happen by executing ant fresh_install i 
can't use the maven produced WAR's.


Regards, Marco


Am 21.01.2013 10:22, schrieb helix84:
 On Mon, Jan 21, 2013 at 10:12 AM,  marco.we...@kesslernetworks.de 
 wrote:
 is there a documentation how to get DSpace deployed as WAR?

 Hi Marco,

 I never tried it. Here's what I'd consider an authoritative answer (I
 don't believe anything changed since then):
 
 http://dspace.2283337.n4.nabble.com/DSpace-1-8-2-war-file-tp4654142p4654616.html

 Do i forgot a step to get these information in there?

 Did you run ant update/fresh_install at any stage?


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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] [KE1019161] Deploy DSpace as WAR

2013-01-21 Thread marco . weiss
Am 21.01.2013 10:46, schrieb helix84:
 On Mon, Jan 21, 2013 at 10:42 AM,  marco.we...@kesslernetworks.de 
 wrote:
 hm Mark is talking about a JAR there and not a WAR, is that just a 
 typo?

 I think WAR, what would be the use for such a JAR?

Ok, it have to be a WAR, but jar is war is zip. You have to create a 
jar with jar cvf ../myfile.war ./
./ is the application directory


 However, i think that is the problem that the configuration have to 
 be
 modified manually...

 No i don't ran ant because i can't execute this command on an Tomcat 
 hosting
 farm ...
 I have to deploy it as a WAR.

 I think the problem is that after the mvn clean package the files in 
 the
 ware doesn't contain the configuration files with replaced 
 variables. If the
 replacing happen by executing ant fresh_install i can't use the 
 maven
 produced WAR's.

 Yes, it's ant's responsibility to do the replacement of placeholders
 (filtering). So you may need to find a substitute for all ant's
 functions if you want to make it work. Did you consider installing
 DSpace locally and then creating the war(s) manually from the
 installed (filtered) webapps?

Hm ok ant is not possible here. Building a war from the installed 
application had the same problem
I now changed the path in all known configuration files. I created the 
database, restored the schema manually and started up tomcat.
Now it works.

Thank you again Helix for that amazing support you are doing here!




 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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] [KE1019161] Deploy DSpace as WAR

2013-01-21 Thread marco . weiss
Am 21.01.2013 14:14, schrieb helix84:
 On Mon, Jan 21, 2013 at 1:40 PM,  marco.we...@kesslernetworks.de 
 wrote:
 I now changed the path in all known configuration files. I created 
 the
 database, restored the schema manually and started up tomcat.
 Now it works.

 Glad to hear that. If you didn't do that already, don't forget to 
 also
 replace the rest of the placeholders:

 grep -R '${.*}' [dspace-source]/dspace/config/*

Not necessary in my case, because i used the local installed 
application and created a WAR
Before i created the WAR i only did a grep -R '/opt/dspace/' 
/opt/dspace/webapps/
And i had to replace the path just in the web.xml of every application 
(xmlui, jspui, solr ... )


Regards Marco

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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] [KE1019161] Embargo settings on item import

2013-01-18 Thread marco . weiss
Hi Helix,

it tooks a time but now i tested the embargo and the different methods 
to import that settings.
In short till now it wont work.
Now what have i done. I created an item and imported it in OAI Solr 
search. Searched by the OAI and got the expected output.
I exported it as a simple archive by item exporter, as a csv with batch 
metadata editor (-a option) and an AIP by packager.
In DSpace it self the item was searchable and browsable.
After checking that i put the item into private state via XMLUI. 
Deleting the Solr search index, recreating the search index and clearing 
the cache and the item was no longer browsable or getable by OAI.
I exported it again as a simple archive by item exporter, as a csv with 
batch metadata editor (-a option) and an AIP by packager.
Now i did a diff between the two states for the three different ways of 
export.
The simple archive and the csv file shows no difference between the two 
states except of the dc.description.provenance.
The unpacked AIP shows a difference between the two mets.xml files.
That tells me, that only over AIP i can handle the embargo settings, 
or?

So i had the idea now to restore/replace it with the AIP i created as 
the item was in not private state and it have to be in that state 
after replacing it.
Unfortunately it replaces the item but the not private state was not 
applied to the item.
I set the not private state in XMLUI manually and imported the AIP i 
created as the item was in the private state and this works in parts.
In parts means the item is withdrawn but in not private state after 
that.
That means replacing an item that is in not private state with the 
private state item works the other way round not.
To see the difference between the withdrawn item that is in not 
private state i put it manually in private state, exported it as AIP, 
unzipped, and diff the two mets.xml ... no changes that shows me what i 
have to set so get the item in privatestate.

Importing an item with AIP and withdraw options will cause an error 
like this.

Replacing DSpace object(s) with package located at aip24.zip
org.dspace.authorize.AuthorizeException: To withdraw item must be 
COLLECTION_ADMIN or have REMOVE authorization on owning Collection
 at 
org.dspace.app.util.AuthorizeUtil.authorizeWithdrawItem(AuthorizeUtil.java:574)
 at org.dspace.content.Item.withdraw(Item.java:1870)
 at 
org.dspace.content.crosswalk.AIPTechMDCrosswalk.ingest(AIPTechMDCrosswalk.java:452)
 at 
org.dspace.content.crosswalk.AIPTechMDCrosswalk.ingest(AIPTechMDCrosswalk.java:350)
 at 
org.dspace.content.packager.METSManifest.crosswalkXmd(METSManifest.java:1151)
 at 
org.dspace.content.packager.METSManifest.crosswalkObjectSourceMD(METSManifest.java:1093)
 at 
org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:456)
 at 
org.dspace.content.packager.AbstractMETSIngester.replace(AbstractMETSIngester.java:1134)
 at org.dspace.app.packager.Packager.replace(Packager.java:766)
 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:601)
 at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)
org.dspace.authorize.AuthorizeException: To withdraw item must be 
COLLECTION_ADMIN or have REMOVE authorization on owning Collection


Puh so, till now i have no way to import items in private state.
I can import it and, replace it afterwards to get it withdrawn but not 
in state private

Can you please confirm if i'm right here or enlighten me ;)



Best regards, Marco


On Thu, Jan 3, 2013 at 2:23 PM, Marco Weiß 
marco.we...@kesslernetworks.de wrote:
 at the moment i tested the item import but as my system is not 
 productive today i don't mind if i have to use another method.

If you mean the old importer ([dspace]/bin/dspace import), this type of 
package (Simple Archive Format) does not support storing the embargo 
information (resource policies) [1]. I think the AIP format does 
preserve it [2] [3]. I recommend you to create a testing item manually 
from the admin interface with embargo, then export it to AIP and examine 
the AIP contents manualy. There should be resource policies in the METS 
file. I'm not completely sure about embargo terms, but I didn't hear 
that the new embargo would not be compatible with AIP. For the old 
embargo, that's not a problem because it doesn't use any special fields 
(it uses standard metadata fields and custom setter/lifter code).

 I think I have to use the 3.0 embargo because my DSpace are 3.0 or?

In DSpace 3.0 both are supported. The new embargo is easier to use for 
common use cases (e.g. 

Re: [Dspace-tech] [KE1019161] Get record from OAI with a individual identifier

2013-01-18 Thread marco . weiss
Hi Helix,

thank you for that link. I now new which direction Joao and you are 
thinking of but i can't find a documentation what i have to do.
Just with the configuration file and the note OAI 2.0 allows you to 
configure following advanced options ... filters i can't understand 
what to do.
Maybe i'm to stupid to get my gyrus around that, and googling the half 
day doesn't solve it ;)

Maybe Joao can you explain it to me or give me a hint?


Regards, Marco


Am 17.01.2013 13:35, schrieb helix84:
 On Thu, Jan 17, 2013 at 1:18 PM, marco.we...@kesslernetworks.de 
 wrote:
 yes we are using DSpace 3.0. Can you provide me a hint where i can 
 find a documentation of these filters?

 The filters Joao meant are defined and used here:

 
 https://github.com/DSpace/DSpace/blob/dspace-3.0/dspace/config/crosswalks/oai/xoai.xml

 I don't know how they allow you to change what identifiers are
 _accepted_ by oai without writing Java code, but of course Joao knows
 better, he wrote the code.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
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] [KE1019161] Get record from OAI with a individual identifier

2013-01-17 Thread marco . weiss
Hi all,

is it possible to perform an get request on the OAI interface and  
using not the handle as identifier?
Can i use a field from the metadata scheme like dc.contributor.author?

For example that is a working request

http://10.2.46.252:8080/oai/request?verb=GetRecordmetadataPrefix=oai_dcidentifier=oai:urntest:123456789/7

and i want to do a search like

http://10.2.46.252:8080/oai/request?verb=GetRecordmetadataPrefix=oai_dcidentifier=oai:urntest:dc.contributor.author=Goethe


Maybe it is possible to tell DSpace what field of the metadata is used  
for identify the record?


Regards Marco



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
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] [KE1019161] Get record from OAI with a individual identifier

2013-01-17 Thread marco . weiss
Hi Helix,

ok dc.contributor.author was a bad example. In this case we have a  
UUID that is unique and i can import it in a field named  
dc.identifier.uuid.
So how can i modify DSpace to allow multiple identifier?

I asked this because i had only this idea to get the record i need.  
Maybe if i explain to you what i'd like to do, you have an other idea  
i don't thought about.

I'd like to get the meta data record from a system/website that knows  
nothing from the handles in DSpace.
But the systems knows the UUID!
So if i maintain the UUID in DSpace as dc.identifier.uuid too both  
systems know about the UUID and can match the entries.


Regards, Marco




Zitat von helix84 heli...@centrum.sk:

 On Thu, Jan 17, 2013 at 9:37 AM,  marco.we...@kesslernetworks.de wrote:
 is it possible to perform an get request on the OAI interface and
 using not the handle as identifier?
 Can i use a field from the metadata scheme like dc.contributor.author?

 I'm reading the Unique Identifier chapter of the OAI-PMH specification
 and it I don't think it explicitly says that there couldn't be
 multiple unique identifiers pointing to the same record. But they do
 have to be unique, so dc.contributor.author is out of the question.
 The OAI in DSpace probably could be adapted to allow multiple
 identifier schemas is you really wanted to, but I don't think it's a
 good idea at all.

 OTOH, if you don't need to conform to OAI-PMH, you just need a search
 interface, you can just search for any metadata via Solr [1], which
 uses really a simple, XML-based protocol (among other options). Of
 course, that way by searching for a value of a metadata field (like
 author) you can find the handles and still use OAI-PMH to access those
 handles, if you wish. Yet another alternative is SRU/SRW, but I don't
 recommend it at this time because it's implemented as an addon (i.e.
 not part of standard DSpace) and it's SQL-, not Solr-based (i.e.
 relatively slow).

 [1] https://wiki.duraspace.org/display/DSPACE/Solr


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
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] [KE1019161] Get record from OAI with a individual identifier

2013-01-17 Thread marco . weiss
Hope i understand you the right way...
The only way to get this working is to expand the code?

Regards, Marco


Zitat von helix84 heli...@centrum.sk:

 That sounds like a valid use case. I think it might be easy:

 https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-oai/src/main/java/org/dspace/xoai/data/DSpaceItem.java#L67


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
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] [KE1019161] Get record from OAI with a individual identifier

2013-01-17 Thread marco . weiss
 

Hi Joao, 

yes we are using DSpace 3.0. Can you provide me a hint
where i can find a documentation of these filters? 

Or do you mean the
media filters? 

Regards, Marco 

Am 17.01.2013 12:40, schrieb João
Melo: 

 Hi marco, 
 
 if you are using DSpace 3.0, it's also
possible do the same with filters which don't require code changes, only
configuration changes. 
 
 On 17 January 2013 10:05,
marco.we...@kesslernetworks.de wrote:
 
 Hope i understand you the
right way...
 The only way to get this working is to expand the
code?
 
 Regards, Marco
 
 Zitat von helix84
heli...@centrum.sk:
 
 That sounds like a valid use case. I think
it might be easy:
 
 
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-oai/src/main/java/org/dspace/xoai/data/DSpaceItem.java#L67
[1]
 
 
  Regards,
  ~~helix84
 
  Compulsory
reading: DSpace Mailing List Etiquette
 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette [2]



--

Master Visual Studio, SharePoint, SQL, ASP.NET [3], C# 2012, HTML5,
CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills
current
 with LearnDevNow - 3,200 step-by-step video tutorials by
Microsoft
 MVPs and experts. ON SALE this month only -- learn more
at:
 http://p.sf.net/sfu/learnmore_122712 [4]

___
 DSpace-tech mailing
list
 DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech [5]
 List
Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette [2]


 -- 
 
 Thanks, João Melo (My Portfolio [6])
 DSpace Department

LYNCODE: Official website [7] 
 [8] 
 [9]

 

Links:
--
[1]
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-oai/src/main/java/org/dspace/xoai/data/DSpaceItem.java#L67
[2]
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[3]
http://ASP.NET
[4] http://p.sf.net/sfu/learnmore_122712
[5]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
[6]
http://www.lyncode.com/m/jmelo/
[7]
http://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Famp;sa=Damp;sntz=1amp;usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
[8]
http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodeamp;sa=Damp;sntz=1amp;usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
[9]
http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodeamp;sa=Damp;sntz=1amp;usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712___
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] [KE1019161] Embargo settings on item import

2013-01-03 Thread marco . weiss
Hi all,

is it possible to set embergo settings during the import?
The aim is, getting items metadata into DSpace 3.0 not accessable  
through the OAI and update the access state later through a second  
import or batch modification.

Any ideas?

Regards Marco



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
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] [KE1019161] Change Handle Suffix

2012-12-21 Thread marco . weiss
Hi all,

is it possible to change the handle suffix that ist generated by  
dspace via import to a value that i had generated bevore?
For example today the dspace gives me a handle

12345678/6

and i want to have as handle.

12345678/urn:nbn:de:stab-955a3c1d-921b-4522-a452-672b4fe86d09

Is it possible to get that working?


Best regards
Marco



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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] [KE1019161] OAI XML output not well formated

2012-12-14 Thread marco . weiss
Hi Helix,

sorry wont work, the header is well formated but the rest not.
Looks like this now.

?xml version=1.0 encoding=UTF-8??xml-stylesheet type=text/xsl  
href=static/style.xsl?OAI-PMH  
xmlns=http://www.openarchives.org/OAI/2.0/;  
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
xsi:schemaLocation=http://www.openarchives.org/OAI/2.0/  
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd;responseDate2012-12-14T10:32:19Z/responseDate
 request identifier=oai:urntest:123456789/5  
metadataPrefix=oai_dc  
verb=GetRecordhttp://urntest.hsta.int:8080/oai/request/request
 GetRecord
 record
 header
 identifieroai:urntest:123456789/5/identifier
 datestamp2012-12-13T10:15:18Z/datestamp
 setSpeccom_123456789_1/setSpec
 setSpeccol_123456789_2/setSpec
 /header
 metadata
 oai_dc:dc xmlns:dc=http://purl.org/dc/elements/1.1/;  
xmlns:doc=http://www.lyncode.com/xoai;  
xmlns:oai_dc=http://www.openarchives.org/OAI/2.0/oai_dc/;  
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;  
xsi:schemaLocation=http://www.openarchives.org/OAI/2.0/oai_dc/  
http://www.openarchives.org/OAI/2.0/oai_dc.xsd;
dc:titledfasfasf/dc:title
dc:creatorVorname, Nachname/dc:creator
dc:descriptionZusammengetragen und in Auftrag gegeben von der  
Äbtissin Katherina Nussperger, geschrieben von Hermann Sack  
(s.f.61v)/dc:description
dc:descriptionEnthält: f.2-3v Geschichte des Klosters mit  
Beschreibung der Reformation des Klosters 1480 (dt.). f.4-5v: Notizen  
zur Geschichte des Klosters und anderen Ereignissen (lat.). f.6-11v:  
Angaben über Schenkungen. f.12-61v: Totenbuch. Mit vielen Namen der  
Klosterangehörigen./dc:description
dc:date2012-12-13T09:14:01Z/dc:date
dc:date2012-12-13T09:14:01Z/dc:date
dc:date2012-12-13/dc:date
dc:typeBook/dc:type
dc:identifierhttp://www.gda.bayern.de/findmittel/ead/index.php?fb=415/dc:identifier
dc:identifierhttp://hdl.handle.net/123456789/5/dc:identifier
dc:identifierurn:nbn:de:stab-6cbfa16d-a865-4dc3-bd31-e9d4f7c12e4f/dc:identifier
dc:languagede/dc:language
/oai_dc:dc
/metadata
 /record
 /GetRecord
/OAI-PMH


Zitat von helix84 heli...@centrum.sk:

 On Fri, Dec 14, 2012 at 8:42 AM,  marco.we...@kesslernetworks.de wrote:
 if i send a request to the OAI interface with my browser i get an XML
 back that have all lines on the left side without indentation.
 Can you tell me how i can create a output that is much better readable
 for humans?

 Hi Marco,
 in [dspace]/config/crosswalks/oai/xoai.xml set the identation
 attribute of Configuration to true.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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] [KE1019161] OAI XML output not well formated

2012-12-14 Thread marco . weiss
Hi Helix,

ok possibly i have a solution. I changed the indent from yes to true  
see following line in my xsl and now i get well formated XML.

   xsl:output omit-xml-declaration=yes method=xml indent=true /

But this only works if identation=true is set in the  
config/crosswalks/oai/xoai.xml
If identation=false is set in config/crosswalks/oai/xoai.xml i get  
just one line for all elements from my epicur xml.

But strange is if i change this in the oai_dc.xsl it wont work for  
oai_dc here i get all on the left side furthermore.


Regards
Marco


Zitat von helix84 heli...@centrum.sk:

 I see, that's strage, it should be indented:

 https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace/config/crosswalks/oai/metadataFormats/oai_dc.xsl#L19

 Probably a bug, I'll see what I can do.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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] [KE1019161] OAI XML output not well formated

2012-12-14 Thread marco . weiss
Hi,

ok that explain it to me why it works with true ;)
If you put indent=true it's like you did set nothing because its wrong
Now after deleting indent=true from my xsl and setting  
identation=true in xoai.xml it works

Doing the same in oai_dc.xsl, deleting indent=yes it, works there too!
Setting indent=no in oai_dc.xsl gives you furthermore a well  
formatted XML so the xoai.xml overwrites the setting, or?
Setting indent=yes in oai_dc.xsl gives you bad formatted XML and  
thats strange because if xoai.xml overwrites the xsl setting i'll  
expect a well formatted XML.
Setting indent=yes in oai_dc.xsl an deleteing identation=true in  
xoai.xml gives you a bad formatted XML.

So my knowledge in XML is too insufficient to work out what is wrong.  
For me it works with that solution above.

The question is, should i open a bug report for that for dspace?


Best regards Marco


Zitat von helix84 heli...@centrum.sk:

 On Fri, Dec 14, 2012 at 12:01 PM,  marco.we...@kesslernetworks.de wrote:
 ok possibly i have a solution. I changed the indent from yes to true see
 following line in my xsl and now i get well formated XML.

 That's strange.

 http://www.w3.org/XML/2000/04schema-hacking/xslt.xsd

 attribute name=indent type=xsl:yesno/

 simpleType name=yesno base=NMTOKEN
 enumeration value=yes/
 enumeration value=no/
 /simpleType


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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] [KE1019161] OAI XML output not well formated

2012-12-14 Thread marco . weiss
Hi Joao,

yes every time i restart my tomcat and cleaning the oai cache like it  
is written in the documentation.
No, no exception is being thrown during the start of tomcat or cache  
cleaning or oai request ...


Zitat von João Melo jm...@lyncode.com:

 Hi Marco,

 that's strange, XOAI.xml indentation is applied to the final XML result. So
 if the output coming from the XSL is indented or not doesn't matter.

 Are you cleaning OAI cache? Is there any exception being thrown?


 On 14 December 2012 12:34, marco.we...@kesslernetworks.de wrote:

 Hi,

 ok that explain it to me why it works with true ;)
 If you put indent=true it's like you did set nothing because its wrong
 Now after deleting indent=true from my xsl and setting
 identation=true in xoai.xml it works

 Doing the same in oai_dc.xsl, deleting indent=yes it, works there too!
 Setting indent=no in oai_dc.xsl gives you furthermore a well
 formatted XML so the xoai.xml overwrites the setting, or?
 Setting indent=yes in oai_dc.xsl gives you bad formatted XML and
 thats strange because if xoai.xml overwrites the xsl setting i'll
 expect a well formatted XML.
 Setting indent=yes in oai_dc.xsl an deleteing identation=true in
 xoai.xml gives you a bad formatted XML.

 So my knowledge in XML is too insufficient to work out what is wrong.
 For me it works with that solution above.

 The question is, should i open a bug report for that for dspace?


 Best regards Marco


 Zitat von helix84 heli...@centrum.sk:

  On Fri, Dec 14, 2012 at 12:01 PM,  marco.we...@kesslernetworks.de
 wrote:
  ok possibly i have a solution. I changed the indent from yes to true see
  following line in my xsl and now i get well formated XML.
 
  That's strange.
 
  http://www.w3.org/XML/2000/04schema-hacking/xslt.xsd
 
  attribute name=indent type=xsl:yesno/
 
  simpleType name=yesno base=NMTOKEN
  enumeration value=yes/
  enumeration value=no/
  /simpleType
 
 
  Regards,
  ~~helix84
 
  Compulsory reading: DSpace Mailing List Etiquette
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette





 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 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, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
 DSpace Department
 *Lyncode*: Official
 websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ
 [image: Follow us on
 Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q
 http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww




--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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] [KE1019161] Adding new metadata formats to OAI interface

2012-12-13 Thread marco . weiss
=doc:metadata/doc:element[@name='dc']/doc:element[@name='title']/doc:element/doc:field[@name='value']
 titlexsl:value-of select=. //title
 /xsl:for-each
 /xsl:template
/xsl:stylesheet


Mit freundlichen Grüßen
Marco Weiss


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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 Importing UTF-8 encoded file (some Chinese Characters)..

2012-12-13 Thread marco . weiss
Hi Helix,

thank you for your answare. I found the failure in the meanwhile. I  
forgot an xmlns ;)
But maybe you can tell me how i can get only the handle ID like  
123456789/123 without the http://hdl.handle.net printed in my XML.


Regards,
Marco



Zitat von helix84 heli...@centrum.sk:

 On Thu, Dec 13, 2012 at 2:24 AM, brian.t brian88mail-l...@yahoo.com wrote:
 So, if the metadata content does have the special characters such as '' (or
 symbols) it will have to be enclosed in quotes or use HTML code, e.g. amp;
 for ''. Is that correct?

 That has really nothing to do with DSpace, but with XML. You can't use
 quotes, you have to properly encode these characters (called
 entities), so yes,  would be encoded as amp;. DSpace will get back
 . You can use standard XML tools to check for XML validity, for
 example xmllint.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

 --
 LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
 Remotely access PCs and mobile devices and provide instant support
 Improve your efficiency, and focus on delivering more value-add services
 Discover what IT Professionals Know. Rescue delivers
 http://p.sf.net/sfu/logmein_12329d2d
 ___
 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




--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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] [KE1019161] Adding new metadata formats to OAI interface

2012-12-13 Thread marco . weiss
Hi Helix,

i'm very in the XML world but i think you mean something like this  
(the xsd and the xsl) do you need to include it in DSpace?

xsi:schemaLocation=urn:nbn:de:-2004033116  
http://www.persistent-identifier.de/xepicur/version1.0/xepicur.xsd;

Yes after finishing and validating it with the DNB i will send it to  
you for including it in DSpace.

Thank you for support!
Marco


Zitat von helix84 heli...@centrum.sk:

 On Thu, Dec 13, 2012 at 10:36 AM,  marco.we...@kesslernetworks.de wrote:
 thank you for your answare. I found the failure in the meanwhile. I
 forgot an xmlns ;)

 Hi Marco,

 my email actually wasn't a response to your question about an OAI
 crosswalk (which I didn't try yet), but to Brian's question about
 ItemImporter.

 But maybe you can tell me how i can get only the handle ID like
 123456789/123 without the http://hdl.handle.net printed in my XML.

 Something like this should help (I didn't test it, though):

 xsl:value-of select=substring(dim:field[@mdschema='dc' and
 @element='identifier' and @qualifier='uri'], 22) /

 22 is length of this string: http://hdl.handle.net/;


 When you have your crosswalk finished, we could include it DSpace,
 provided that you have a schema describing it. Just file a Jira issue
 and include your stylesheet as an attachment.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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] [KE1019161] URN in DSpace

2012-10-31 Thread marco . weiss
Good morning,

thank you helix for all these informations but i think now it takes us  
a bit to far away from the subject.
I think it is good to know that URN's may be supported in 4.0.
I can import items with outside generated URN's
Storage is separated from DSpace.
But the needed URN generation is not implemented yet.

And yes, i think it should be, as you say, implemented properly.
I'm not a fan of patching an application to get a core feature working.


Again, thank you for that amazing support!
Marco



Zitat von helix84 heli...@centrum.sk:

 On Tue, Oct 30, 2012 at 3:18 PM,  marco.we...@kesslernetworks.de wrote:
 how we will submit items is not clear today because i evaluating different
 applications to get a basis of information for discussion which system are
 possible the best matching one.

 I see, so you're not using DSpace yet.
 After that i have to work out a process and it depends on the
 interconnection between, where is the storage, how can i access the storage,
 do we need an integration of an image server ... and if i can answer all
 these question i can tell you what we will use or both.

 Storage is simple, at least from the DSpace point of view, because
 it's just a directory (or a set of directories) on the local
 filesystem. How you mount them is another problem out of scope of
 DSpace.

 But you're probably talking about deciding whether to store large
 files in DSpace or link to them from DSpace metadata.

 In any case, that doesn't have much bearing on deciding between import
 vs. submit.

 Ok i extract that if i use, for example the batch import, i can generate the
 URN before and put it in DSpace during the import?

 Right, that would be my suggestion if you didn't use the submission
 process, like me. It wouldn't require any changes in DSpace.

 Yes i think it will be useful for more institutions in Germany as well in
 other countries.

 I thought I'd advise you how to change XMLUI or JSPUI to accomodate
 the identifiers during submission, but if it would be a widely used
 change, it should be implemented properly in the dspace-api underlying
 all the interfaces. There's actually a service for identifiers, but
 only handles are currently first-class citizens and more developments
 in this area are expected. Unfortunately, I'm not very familiar with
 this part of the codebase. It would be best to contact @mire and ask
 about their unfinished work in this area (External Identifier
 Services).

 https://github.com/DSpace/DSpace/tree/master/dspace-api/src/main/java/org/dspace/identifier


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [KE1019161] URN in DSpace

2012-10-30 Thread marco . weiss
Hi Helix,

the URN should be in the following format

urn:nbn:de:[library network]*:[library seal]-[unique production  
number][check digit]

Example urn:nbn:de:bvb:m333:sab-089-3321752945

Now let me explain the different parts of it.

urn:nbn:de is fix and given by the national library
bvb is the identification number of the greater institution
m333 is the seal of our library actually we are a archive
sab is free chosen and stands for our library name
089-332175294 is the filename or resource name
5 is the calculated check digit

OK now you want to know how the check digit is generated, do you?

The string 089-332175294 will be converted to a string by replacing  
every sign with the one given in the following table

0=1 J=25
1=2 K=42
2=3 L=26
3=4 M=27
4=5 N=13
5=6 O=28
6=7 P=29
7=8 Q=31
8=9 R=12
9=41S=32
A=18T=33
B=14U=11
C=19V=34
D=15W=35
E=16X=36
F=21Y=37
G=22Z=38
H=23+=49
I=24:=17
_=43-=39
.=47/=45

After converting you get this

1112131713141317151617221434171941394432863415

Now every sign is multiplied, the first sign with 1, the second with  
2, the third with 3 and so on... for every sign you had multiplied you  
increase the multiplier with 1
So the calculation looks like this

Sum = 1*1 + 2*1 + 3*1 + 4*2 + 5*1 + 6*3 ... n*m
sum = 4027

now you take the last number (5) of the converted sting above  
(1112131713141317151617221434171941394432863415)
and divide the Sum by 5 so you get the quotient

quotient = sum / lastnumber
quotient = 4017 / 5
quotient = 805,4

Now the check digit is the number before the comma in

check digit = 5

The result is the URN + check digit

urn:nbn:de:bvb:m333:sab-089-3321752945


Do you think we get this working without a patch?


Hope i have explained all right, the informations taken from  
http://www.persistent-identifier.de/?link=316

And you wrote that @mire planing to integrate such a feature in 4.0,  
hm i think thats to much time to waiting for.


Thank you for you information in the second mail about the discussion.
Anette was asking this in 2003 but i saw that she is located in  
germany too and i got her contacts from her website and maybe she can  
tell me if they had implemented it in such a way


Thanks a lot Helix
Marco



Zitat von helix84 heli...@centrum.sk:

 On Mon, Oct 29, 2012 at 4:51 PM,  marco.we...@kesslernetworks.de wrote:
 is it possible to generate URN with DSpace? If not, is it planed to
 implement this in the next releases? In 3.0 ;-) ?

 Hi Marco,

 how exactly are these URNs generated? Maybe you can do it without any patch.

 Regarding the planned External Identifier Services feature by @mire,
 this is one that they didn't yet have ready for 3.0, so 4.0 would be
 my guess.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [KE1019161] URN in DSpace

2012-10-30 Thread marco . weiss
Hi Helix,

how we will submit items is not clear today because i evaluating  
different applications to get a basis of information for discussion  
which system are possible the best matching one.
After that i have to work out a process and it depends on the   
interconnection between, where is the storage, how can i access the  
storage, do we need an integration of an image server ... and if i can  
answer all these question i can tell you what we will use or both.

Ok i extract that if i use, for example the batch import, i can  
generate the URN before and put it in DSpace during the import?

Yes i think it will be useful for more institutions in Germany as well  
in other countries.
These is based on my gut feeling after reading different RFC's.
They write something like Some national libraries, including the  
national libraries of Finland, Norway and Sweden, are
already assigning NBN-based URNs for electronic resources.
Along, they write that this system can be used from every library all  
over the world.
And i think if the IETF had worked out such a system it will be useful  
for more institutions.

;) ok so others who are reading this without German language skills  
can understand it too :)


Regards,
Marco


Zitat von helix84 heli...@centrum.sk:

 Are you using JSPUI or XMLUI?

 Are you submitting new items using the submission process, using some
 batch import or both?

 DSpace can't do it without some new code, but either we can add this
 or it can be pre-generated outside of DSpace, depending on how you're
 submitting new items to DSpace.

 Do you think this would be generally useful for more institutions,
 even if only within Germany?

 Thanks for the explanation, I actually can read German, though, so the
 link would have been enough :)

 Regards,
 ~~helix84




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] [KE1019161] DSpace installation problems with solr dependecies through a web proxy

2012-10-29 Thread marco . weiss

Hi all,

i'm new to DSpace and trying to install DSpace 1.8.2 source on Ubuntu  
12.04 LTS x86_64.
I followed the instruction of the DSpace Main PDF and installed all  
dependencies for DSpace.
Now running sudo mvn package exits with an Connection time out error.
I think this appears because our proxy (McAfee) can not serve the solr  
WAR file fast enough.
The error output is attached below.

After getting this error i tried to add the solr manually but now luck.
I think i have to install it like it is described on the following  
documentation but when to do and what to do after that is not written  
there.
http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
So i downloaded the solr WAR manually and executed the following  
command before.

sudo mvn install:install-file -Dfile=/home/mw/solr-3.3.0.war  
-DgroupId=org.apache.solr -DartifactId=solr-parent -Dversion=3.3.0  
-Dpackaging=war

After that a sudo mvn package will fail again.

Can please someone tell me how can i install these dependencies  
manually and go further on?


Best regards
Marco

[INFO]  

[INFO] Building DSpace SOLR :: Web Application 1.8.2
[INFO]  

Downloading:  
http://repo.maven.apache.org/maven2/org/apache/solr/solr/3.3.0/solr-3.3.0.war
[INFO]  

[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Addon Modules .. SUCCESS [2.308s]
[INFO] DSpace XML-UI (Manakin) :: Web Application  SUCCESS [11.487s]
[INFO] DSpace LNI :: Web Application . SUCCESS [2.983s]
[INFO] DSpace OAI :: Web Application . SUCCESS [2.620s]
[INFO] DSpace JSP-UI :: Web Application .. SUCCESS [4.133s]
[INFO] DSpace SWORD :: Web Application ... SUCCESS [4.071s]
[INFO] DSpace SWORDv2 :: Web Application . SUCCESS [3.832s]
[INFO] DSpace SOLR :: Web Application  FAILURE [1:00.642s]
[INFO] DSpace Assembly and Configuration . SKIPPED
[INFO]  

[INFO] BUILD FAILURE
[INFO]  

[INFO] Total time: 1:34.085s
[INFO] Finished at: Mon Oct 29 10:13:45 CET 2012
[INFO] Final Memory: 14M/59M
[INFO]  

[ERROR] Failed to execute goal on project solr: Could not resolve  
dependencies for project org.dspace.modules:solr:war:1.8.2: Could not  
transfer artifact org.apache.solr:solr:war:3.3.0 from/to central  
(http://repo.maven.apache.org/maven2): Read timed out - [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 goals -rf :solr


--
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [SPAM] Re: [KE1019161] DSpace installation problems with solr dependecies through a web proxy

2012-10-29 Thread marco . weiss
Hi Helix,

thank you, thank you and thank you!
I should first learn googling ;)
Adding a higher timeout is the solution. After adding the following in  
my settings.xml maven build it with success.

   servers
 server
   idcentral/id
   configuration
 timeout60/timeout
   /configuration
 /server


I hope other having the same problem will help this too.


Best regards,
Marco


Zitat von helix84 heli...@centrum.sk:

 Some more notes:

 Here's how you can set Maven's connection timeout:

 http://brettporter.wordpress.com/2009/06/16/configuring-maven-http-connections/

 And you shouldn't really use sudo to build dspace. You will want to
 have all the files in both [dspace-src] and [dspace] owned by the same
 user Tomcut is running as (probably user tomcat6, group tomcat6).

 Regards,
 ~~helix84




--
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [KE1019161] DSpace installation problems with solr dependecies through a web proxy

2012-10-29 Thread marco . weiss
Thank you Hilton for your answer but the time out solved my problem.


Zitat von Hilton Gibson hilton.gib...@gmail.com:

 Perhaps this will help:
 http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S04


 On 29 October 2012 14:21, marco.we...@kesslernetworks.de wrote:


 Hi all,

 i'm new to DSpace and trying to install DSpace 1.8.2 source on Ubuntu
 12.04 LTS x86_64.
 I followed the instruction of the DSpace Main PDF and installed all
 dependencies for DSpace.
 Now running sudo mvn package exits with an Connection time out error.
 I think this appears because our proxy (McAfee) can not serve the solr
 WAR file fast enough.
 The error output is attached below.

 After getting this error i tried to add the solr manually but now luck.
 I think i have to install it like it is described on the following
 documentation but when to do and what to do after that is not written
 there.
 http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
 So i downloaded the solr WAR manually and executed the following
 command before.

 sudo mvn install:install-file -Dfile=/home/mw/solr-3.3.0.war
 -DgroupId=org.apache.solr -DartifactId=solr-parent -Dversion=3.3.0
 -Dpackaging=war

 After that a sudo mvn package will fail again.

 Can please someone tell me how can i install these dependencies
 manually and go further on?


 Best regards
 Marco

 [INFO]
 
 [INFO] Building DSpace SOLR :: Web Application 1.8.2
 [INFO]
 
 Downloading:

 http://repo.maven.apache.org/maven2/org/apache/solr/solr/3.3.0/solr-3.3.0.war
 [INFO]
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] DSpace Addon Modules .. SUCCESS [2.308s]
 [INFO] DSpace XML-UI (Manakin) :: Web Application  SUCCESS
 [11.487s]
 [INFO] DSpace LNI :: Web Application . SUCCESS [2.983s]
 [INFO] DSpace OAI :: Web Application . SUCCESS [2.620s]
 [INFO] DSpace JSP-UI :: Web Application .. SUCCESS [4.133s]
 [INFO] DSpace SWORD :: Web Application ... SUCCESS [4.071s]
 [INFO] DSpace SWORDv2 :: Web Application . SUCCESS [3.832s]
 [INFO] DSpace SOLR :: Web Application  FAILURE
 [1:00.642s]
 [INFO] DSpace Assembly and Configuration . SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 1:34.085s
 [INFO] Finished at: Mon Oct 29 10:13:45 CET 2012
 [INFO] Final Memory: 14M/59M
 [INFO]
 
 [ERROR] Failed to execute goal on project solr: Could not resolve
 dependencies for project org.dspace.modules:solr:war:1.8.2: Could not
 transfer artifact org.apache.solr:solr:war:3.3.0 from/to central
 (http://repo.maven.apache.org/maven2): Read timed out - [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 goals -rf :solr



 --
 The Windows 8 Center - In partnership with Sourceforge
 Your idea - your app - 30 days.
 Get started!
 http://windows8center.sourceforge.net/
 what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




 --
 *Hilton Gibson*
 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://scholar.sun.ac.za




--
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] URN in DSpace

2012-10-29 Thread marco . weiss
Hi all,

is it possible to generate URN with DSpace? If not, is it planed to  
implement this in the next releases? In 3.0 ;-) ?


Thanks for informations on this topic
Marco



--
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech