Re: [Dspace-tech] Handle URL

2009-08-31 Thread sowmyamoturi

Thanks everyone for your http://www.nabble.com/file/p25230813/config.dct
config.dct  help till now.
I have a question about the handle server:

I restarted my handle server but it failed. error log has:

2009/08/31 05:05:32 EDT 25 Started new run.
Saving global values to: /home/csta1/.handle/root_info
javax.crypto.
BadPaddingException: Given final block not properly padded
at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA12275)
at javax.crypto.Cipher.doFinal(DashoA12275)
at
net.handle.security.provider.GenericProvider.decrypt_DES_ECB_PKCS5(GenericProvider.java:146)
at net.handle.hdllib.Util.decrypt(Util.java:1020)
at net.handle.server.HandleServer.init(HandleServer.java:306)
at net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
at net.handle.server.Main.initialize(Main.java:152)
at net.handle.server.Main.main(Main.java:75)
Unable to initialize server signature object: java.lang.Exception: Incorrect
passphrase
java.lang.Exception: Incorrect passphrase
at net.handle.hdllib.Util.decrypt(Util.java:1025)
at net.handle.server.HandleServer.init(HandleServer.java:306)
at net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
at net.handle.server.Main.initialize(Main.java:152)
at net.handle.server.Main.main(Main.java:75)
java.lang.Exception: Incorrect passphrase
at net.handle.hdllib.Util.decrypt(Util.java:1025)
at net.handle.server.HandleServer.init(HandleServer.java:306)
at net.handle.server.AbstractServer.getInstance(AbstractServer.java:72)
at net.handle.server.Main.initialize(Main.java:152)
at net.handle.server.Main.main(Main.java:75)
Shutting down...


The IP address is same as the IP registered with Handle.net..

I don't know y it failed. I am checking everything and trying out all the
possible changes but still not able to make it work. I am attaching the
config.dct file. Kindly have a look at it.

By looking at the error log if u know the reason please let me know.

Thanks for all your help.

Regards,
Sowmya.
-- 
View this message in context: 
http://www.nabble.com/Handle-URL-tp25140011p25230813.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Handle URL

2009-08-27 Thread Van Ly

On 27/08/2009, at 3:12 PM, sowmyamoturi wrote:


 ...8

 Our handle server is
 not working now


 ...8

 ps -ef | grep handle-server i got nothing.

 -bash-3.00$ ps -ef | grep handle-server
csta1 13598 13593   0 00:43:43 pts/1   0:00 grep handle-server
 -bash-3.00$



That confirms it.

You could look for the startup script in the likely place by

  find /etc -name '*hand*' -type f

When it is running it should appear under

  netstat -pan | fgrep 2641

Restarting the host might do it, if it was configure to start the  
service automatically.

Best wishes,


Van Ly
vly at usyd dot edu dot au





--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Handle URL

2009-08-26 Thread fr . teodoro
Have you bought a handle prefix? Is the handle prefix configured right
in dspace.cfg?

I have a question on this too: If I don't have a handle prefix, how can
I get the citation link to point to my repository instead of handle.net?

I'm using jspui, one way is to change the jsps I think, but there is
another better way of doing this?

TIA

On Tue, Aug 25, 2009 at 09:55:00PM -0700, sunilstudent wrote:
 
 We use dspace in our web repository to store the materials.
 When i submit a item to the repository, it shows up and is archived but the
 only problem is the handle link does not work. For example one of the items
 has been assigned the following identifier
 http://hdl.handle.net/10117/8494 link which has to cite the item which i
 submitted but it does not work.
 
 Is the URL wrong? how can i make the url cite the actual item?
 
 Error - Cannot Connect to Server
 
 The handle you requested --
 
 2378/341
 
 -- cannot be found.
 
 Can you please help?
 
 Thanks in advance
 -- 
 View this message in context: 
 http://www.nabble.com/Handle-URL-tp25140011p25140011.html
 Sent from the DSpace - Tech mailing list archive at Nabble.com.
 
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

-- 
happiness is a bash prompt
Fábio Roberto Teodoro
http://identi.ca/frt

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Handle URL

2009-08-26 Thread Sean Carte
2009/8/26  fr.teod...@gmail.com:

 I have a question on this too: If I don't have a handle prefix, how can
 I get the citation link to point to my repository instead of handle.net?

 I'm using jspui, one way is to change the jsps I think, but there is
 another better way of doing this?

This was discussed recently. Van Ly's solution was the following:

# in dspace.cfg for handle.canonical.prefix parameter in Handle settings section

# to change
# CNRI Handle prefix
handle.prefix = 123456789

# to change to
# CNRI Handle prefix
handle.prefix = 123456789
handle.canonical.prefix = http://your.dspace.server.url/handle/


However, there is a message in the archive
http://www.nabble.com/forum/ViewPost.jtp?post=23230629framed=y,
which suggests that you also need to set

webui.feed.localresolve =  true

and that the handle.canonical.prefix setting will only apply to new
items; existing items will have to be modified manually.

But I don't know if this is true, and if so, where one would modify
the existing items.

Sean
-- 
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Handle URL

2009-08-26 Thread sowmyamoturi


yes this worked previously and were assigned prefix by handle.net. But now
the URI is not working when we are using that prefix. Our handle server is
not working now and what is that i have to do now in unix to restart it as
it already worked once? 

Do i just have to run any start up script which already is existing and any
other things?
Can you please guide me?

Thanks a lot for your help till now.


ps -ef | grep handle-server i got nothing.

-bash-3.00$ ps -ef | grep handle-server
   csta1 13598 13593   0 00:43:43 pts/1   0:00 grep handle-server
-bash-3.00$ 


Sean Carte wrote:
 
 2009/8/26 sunilstudent sowmyamot...@gmail.com:
 We use dspace in our web repository to store the materials.
 When i submit a item to the repository, it shows up and is archived but
 the
 only problem is the handle link does not work. For example one of the
 items
 has been assigned the following identifier
 http://hdl.handle.net/10117/8494 link which has to cite the item which i
 submitted but it does not work.

 Is the URL wrong? how can i make the url cite the actual item?

 Error - Cannot Connect to Server

 The handle you requested --

 2378/341

 -- cannot be found.
 
 I'm assuming this was working previously and that you have registered
 with handle.net and were assigned that prefix.
 
 Is your handled server running? If on Linux, try the following as root:
 
 ps -ef | grep handle-server
 
 You should get lines similar to the following if it's running:
 
 dspace6193 1  0 Aug18 ?00:00:00 /bin/sh
 /dspace/bin/dsrun -Ddspace.log.init.disable=true
 -Dlog4j.configuration=log4j-handle-plugin.properties
 net.handle.server.Main /dspace/handle-server
 dspace6199  6193  0 Aug18 ?00:00:15 java -Xmx256m
 -classpath
 :/dspace/lib/activation-1.1.jar:/dspace/lib/bcmail-jdk14-136.jar:/dspace/lib/bcprov-jdk14-136.jar:/dspace/lib/commons-cli-1.0.jar:/dspace/lib/commons-codec-1.3.jar:/dspace/lib/commons-collections-3.2.jar:/dspace/lib/commons-dbcp-1.2.2.jar:/dspace/lib/commons-fileupload-1.2.1.jar:/dspace/lib/commons-io-1.4.jar:/dspace/lib/commons-lang-2.2.jar:/dspace/lib/commons-logging-1.0.4.jar:/dspace/lib/commons-logging-1.0.jar:/dspace/lib/commons-pool-1.4.jar:/dspace/lib/dom4j-1.6.1.jar:/dspace/lib/dspace-api-1.5.3-20090716.011317-5.jar:/dspace/lib/dspace-api-1.5.3-SNAPSHOT.jar:/dspace/lib/dspace-api-lang-1.5.2.1.jar:/dspace/lib/embargo-api-1.0.3.jar:/dspace/lib/embargo-dspace-1.0.3.jar:/dspace/lib/fontbox-0.1.0.jar:/dspace/lib/handle-5.3.4.jar:/dspace/lib/icu4j-3.4.4.jar:/dspace/lib/jargon-1.4.25.jar:/dspace/lib/jaxen-1.1.jar:/dspace/lib/jdom-1.0.jar:/dspace/lib/jempbox-0.2.0.jar:/dspace/lib/log4j-1.2.14.jar:/dspace/lib/lucene-analyzers-2.3.0.jar:/dspace/lib/lucene-core-2.3.0.jar:/dspace/lib/mail-1.4.jar:/dspace/lib/mets-1.5.2.jar:/dspace/lib/oro-2.0.8.jar:/dspace/lib/pdfbox-0.7.3.jar:/dspace/lib/poi-2.5.1-final-20040804.jar:/dspace/lib/postgresql-8.1-408.jdbc3.jar:/dspace/lib/rome-0.8.jar:/dspace/lib/tm-extractors-0.4.jar:/dspace/lib/xalan-2.7.0.jar:/dspace/lib/xercesImpl-2.8.1.jar:/dspace/lib/xml-apis-1.3.02.jar:/dspace/lib/xmlParserAPIs-2.0.2.jar:/dspace/config
 -Dd
 
 Otherwise you'll have to start it, e.g., on Ubuntu: /etc/init.d/handled
 start
 
 And check the handle-server.log (/dspace/log/handle-server.log) to
 make sure that its running.
 
 Sean
 -- 
 Sean Carte
 esAL Library Systems Manager
 +27 72 898 8775
 +27 31 373 2490
 fax: 0866741254
 http://esal.dut.ac.za/
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day 
 trial. Simplify your report design, integration and deployment - and focus
 on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 

-- 
View this message in context: 
http://www.nabble.com/Handle-URL-tp25140011p25166303.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Handle URL

2009-08-26 Thread Sean Carte
2009/8/27 sowmyamoturi sowmyamot...@gmail.com:
 yes this worked previously and were assigned prefix by handle.net. But now
 the URI is not working when we are using that prefix. Our handle server is
 not working now and what is that i have to do now in unix to restart it as
 it already worked once?

 Do i just have to run any start up script which already is existing and any
 other things?
 Can you please guide me?

 Thanks a lot for your help till now.


 ps -ef | grep handle-server i got nothing.

The handle server is started by running:

/dspace/bin/start-handle-server

Last year Gary Browne shared his handled startup script, which I've
attached. The details of installing it depend on your distro, shout if
you need help with this. (Otherwise you'll have to manually start the
handle server every time you restart the server.)

Sean
-- 
Sean Carte
esAL Library Systems Manager
+27 72 898 8775
+27 31 373 2490
fax: 0866741254
http://esal.dut.ac.za/


handled
Description: Binary data
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech