Re: [Dspace-tech] How to enable OAI-PMH?

2011-08-30 Thread Stan Orlov
Hi Alvaro,

We have a file named DSpaceOAICatalog.class in
C:\dspace-1.6.2-src-release\dspace-1.6.2-src-release\dspace-oai\dspace-oai-api\target\classes\org\dspace\app\oai.

And we have a file name dspace-oai-api-1.6.2.jar in
C:\DSpace\webapps\oai\WEB-INF\lib.

Cheers,
Stan


On Mon, Aug 29, 2011 at 6:12 PM, Alvaro Sandoval alsando...@bcn.cl wrote:

 **
 Stan:

 Do you have
 [dspace-source]/dspace-oai/dspace-oai-api/target/classes/org/dspace/app/oai/DSpaceOAICatalog.class?

 The jar that includes that class should be at:
 [dspace]/webapps/oai/WEB-INF/lib/dspace-oai-api-1.x.x.jar, where 1.x.x is
 your dspace installed version.

 Alvaro

 El 29/08/11 17:50, Stan Orlov escribió:

 Thank you, Alonso.  I have tried the url with a verb, but it gives me:

 HTTP Status 500 - type Exception report
 description The server encountered an internal error () that prevented it
 from fulfilling this request.
 exception
 javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
 ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)

 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)

 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 java.lang.Thread.run(Unknown Source)

 note The full stack trace of the root cause is available in the Apache
 Tomcat/6.0.18 logs.

 I looked at Tomcat logs and found this:

 stdout.log:
 java.lang.ClassNotFoundException: org.dspace.app.oai.DSpaceOAICatalog
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Unknown Source)
 at
 ORG.oclc.oai.server.catalog.AbstractCatalog.factory(AbstractCatalog.java:384)
 at ORG.oclc.oai.server.OAIHandler.getAttributes(OAIHandler.java:160)
 at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:121)
 at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
 at
 org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 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:286)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
 at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Unknown Source)

 localhost.log:
 Aug 29, 2011 5:26:21 PM org.apache.catalina.core.StandardWrapperValve
 invoke
 SEVERE: Allocate exception for servlet oai-handler
 javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
 at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)
 at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
 at
 org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 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:286)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
 at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Unknown Source)

 How should I interpret this.  Maybe I need to rebuild Dspace?  Or maybe
 there are some files missing in my oai directory?

 Cheers,
 Stan



 On Mon, Aug 29, 2011 at 4:21 PM, Alvaro Sandoval alsando...@bcn.clwrote:

  Hi Stan:

 The OAI service is expecting a verb.
 Try this url instead:

 http://localhost:8080/oai/request?verb=ListMetadataFormats

 Regards,
 Alvaro


  El 29/08/11 12:58, Stan Orlov escribió:

 Hi Alvaro

Re: [Dspace-tech] How to enable OAI-PMH?

2011-08-29 Thread Stan Orlov
Hi Alvaro,

Thank you for your instructions.  I followed them and added the following
line:

Context path=/oai docBase=C:\dspace\webapps\oai debug=0
reloadable=true cachingAllowed=false allowLinking=true/

right after the context path for xmlui in server.xml.   Restarted Tomcat.
However, when I go to http://localhost:8080/oai, I get error 404 - The
requested resource (/oai/) is not available.  There is a folder oai in
[dspace]\webapps, containing META-INF and WEB-INF directories.  Is there
something else I could try?

Thanks and cheers,
Stan


On Fri, Aug 26, 2011 at 5:29 PM, Alvaro Sandoval alsando...@bcn.cl wrote:

 **
 Stan:

 Try this url in your server, after following below instructions:

 http://localhost:8080/oai/request?verb=ListMetadataFormats

 Regards,
 Alvaro

 El 26/08/11 17:16, Alvaro Sandoval escribió:

 Hi Stan:

 You can just copy [dspace]/webapps/oai  directory under [tomcat]/webapps
 directory.
 I prefer to include that directory into [tomcat]/conf/server.xml, under
 Host tag. Here is an example of how to define it in server.xml:

 Context path=/oai docBase=/dspace/webapps/oai/ debug=0
 reloadable=true cachingAllowed=false allowLinking=true/

 You should replace /dspace/webapps/oai/ with your oai directory.

 Then, restart tomcat and you should be able to ask:
 http://localhost:8080/oai, assuming tomcat is running on 8080 port.

 Cheers,
 Alvaro Sandoval


 El 26/08/11 16:35, Stan Orlov escribió:

 Greetings!

 We have an instance of DSpace that works fine: http://dc.msvu.ca.  It is
 version 1.6.2, running on Windows 2003.  I would like to enable OAI-PMH, but
 can't figure out what exactly to do.  I looked at
 https://wiki.duraspace.org/display/DSPACE/Use+the+OAI-PMH+interface, but
 the instructions didn't seem to work for me.  If you could point me in the
 right direction, I would be most grateful.

  Cheers,
 Stan
 
 Stanislav Orlov, MEd, MISt
 Systems Librarian
 Mount Saint Vincent University
 166 Bedford Hwy
 Halifax, NS, B3M 2J6
 - Tel:  902-457-6212
 - Fax: 902-457-6445
 stan.or...@msvu.ca


 --
 EMC VNX: the world's simplest storage, starting under $10K
 The only unified storage solution that offers unified management
 Up to 160% more powerful than alternatives and 25% more efficient.
 Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev


 ___
 DSpace-tech mailing 
 listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech



 --
 Álvaro Sandoval Pizarro

 BCN, Biblioteca del Congreso Nacional de Chile
 Ingeniería y Desarrollo
 Fono (5632) 226 3981
 http://www.bcn.cl/



 --
 Álvaro Sandoval Pizarro

 BCN, Biblioteca del Congreso Nacional de Chile
 Ingeniería y Desarrollo
 Fono (5632) 226 3981
 http://www.bcn.cl/


--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to enable OAI-PMH?

2011-08-29 Thread Stan Orlov
Thank you, Alonso.  I have tried the url with a verb, but it gives me:

HTTP Status 500 - type Exception report
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Unknown Source)

note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.18 logs.

I looked at Tomcat logs and found this:

stdout.log:
java.lang.ClassNotFoundException: org.dspace.app.oai.DSpaceOAICatalog
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
ORG.oclc.oai.server.catalog.AbstractCatalog.factory(AbstractCatalog.java:384)
at ORG.oclc.oai.server.OAIHandler.getAttributes(OAIHandler.java:160)
at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:121)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
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:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)

localhost.log:
Aug 29, 2011 5:26:21 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet oai-handler
javax.servlet.ServletException: org.dspace.app.oai.DSpaceOAICatalog
at ORG.oclc.oai.server.OAIHandler.init(OAIHandler.java:134)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:808)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
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:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)

How should I interpret this.  Maybe I need to rebuild Dspace?  Or maybe
there are some files missing in my oai directory?

Cheers,
Stan



On Mon, Aug 29, 2011 at 4:21 PM, Alvaro Sandoval alsando...@bcn.cl wrote:

 **
 Hi Stan:

 The OAI service is expecting a verb.
 Try this url instead:

 http://localhost:8080/oai/request?verb=ListMetadataFormats

 Regards,
 Alvaro


 El 29/08/11 12:58, Stan Orlov escribió:

 Hi Alvaro,

 Thank you for your instructions.  I followed them and added the following
 line:

 Context path=/oai docBase=C:\dspace\webapps\oai debug=0
 reloadable=true cachingAllowed=false allowLinking=true/

 right after the context path for xmlui in server.xml.   Restarted Tomcat.
 However, when I go to http://localhost:8080/oai, I get error 404 - The
 requested resource (/oai/) is not available.  There is a folder oai in
 [dspace]\webapps, containing META-INF and WEB-INF directories.  Is there
 something else I could try?

 Thanks and cheers,
 Stan


 On Fri, Aug 26, 2011 at 5:29 PM, Alvaro Sandoval alsando...@bcn.clwrote:

  Stan:

 Try this url in your server, after following below instructions:

 http://localhost:8080/oai/request?verb=ListMetadataFormats

[Dspace-tech] How to enable OAI-PMH?

2011-08-26 Thread Stan Orlov
Greetings!

We have an instance of DSpace that works fine: http://dc.msvu.ca.  It is
version 1.6.2, running on Windows 2003.  I would like to enable OAI-PMH, but
can't figure out what exactly to do.  I looked at
https://wiki.duraspace.org/display/DSPACE/Use+the+OAI-PMH+interface, but the
instructions didn't seem to work for me.  If you could point me in the right
direction, I would be most grateful.

 Cheers,
Stan

Stanislav Orlov, MEd, MISt
Systems Librarian
Mount Saint Vincent University
166 Bedford Hwy
Halifax, NS, B3M 2J6
- Tel:  902-457-6212
- Fax: 902-457-6445
stan.or...@msvu.ca
--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Problem launching Handle Server in Dspace 1.6.1

2011-07-21 Thread Stan Orlov
Thanks a lot, Helix 84!

I have restarted the computer and the Handle server started working!

Cheers,
Stan



On Wed, Jul 20, 2011 at 3:25 PM, helix84 heli...@centrum.sk wrote:

 On Wed, Jul 20, 2011 at 19:49, Stan Orlov stan.or...@msvu.ca wrote:
  2011/07/20 02:27:33 ADT 100 class net.handle.server.HdlUdpInterface:
 Error
  setting up server socket: java.net.BindException: Address already in use:
  Cannot bind

 That means that a program is already listening on the port you're
 trying to bind. Usually you're trying to run another instance of the
 same application (possibly the first one is hung and needs to be
 killed).

 You can either restart the computer to get rid of the old processes, or
 you can find them using the netstat command and looking at listening
 services at ports 2641 and 8000 (which handle server uses, IIRC),
 then kill them manually and restart the service.

 Regards,
 ~~helix84

--
5 Ways to Improve  Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem launching Handle Server in Dspace 1.6.1

2011-07-20 Thread Stan Orlov
Greetings,

We have Dspace 1.6.2 running on Windows 2003 server and suddenly, our Handle
server stopped running after a couple years of working fine.  When I try to
launch it as a Windows service, which is how we would normally run it, it
launches and Windows Services show it as started.  However, it doesn't do
anything when I click on items in a browser.  I tried to launch it in
command prompt from C:\Dspace\bin:

dsrun -Ddspace.log.init.disable=true
-Dlog4j.configuration=log4j-handle-plugin.properties net.handle.server.Main
C:\DSpace\handle-server

but at no avail.  C:\DSpace\handle-server\error.log shows this:


2011/07/20 02:27:33 ADT 25 Started new run.
Saving global values to: C:\Documents and
Settings\Administrator\.handle\root_info
log4j:WARN No appenders could be found for logger
(org.dspace.handle.HandlePlugin).
log4j:WARN Please initialize the log4j system properly.
2011/07/20 02:27:33 ADT 50 unspecified max_handlers count, using default:
200
2011/07/20 02:27:33 ADT 50 unspecified max_handlers count, using default:
200
2011/07/20 02:27:33 ADT 50 unspecified max_handlers count, using default:
200
2011/07/20 02:27:33 ADT 100 class net.handle.server.HdlUdpInterface: Error
setting up server socket: java.net.BindException: Address already in use:
Cannot bind
2011/07/20 02:27:33 ADT 100 class net.handle.server.HdlUdpInterface: Error
setting up server socket: java.net.BindException: Address already in use:
Cannot bind
2011/07/20 02:27:33 ADT 100 class net.handle.server.HdlHttpInterface:
Error setting up server socket: java.net.BindException: Address already in
use: JVM_Bind
2011/07/20 02:27:33 ADT 100 class net.handle.server.HdlHttpInterface:
Error setting up server socket: java.net.BindException: Address already in
use: JVM_Bind
2011/07/20 02:27:33 ADT 100 class net.handle.server.HdlTcpInterface: Error
setting up server socket: java.net.BindException: Address already in use:
JVM_Bind
2011/07/20 02:27:33 ADT 100 class net.handle.server.HdlTcpInterface: Error
setting up server socket: java.net.BindException: Address already in use:
JVM_Bind

Your suggestions will be most welcome!

Cheers,
Stan
--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Help with non-running DSpace scripts

2010-09-20 Thread Stan Orlov
Hi Stuart,

In 1.5.1, we used to launch the handle server using:

dsrun -Ddspace.log.init.disable=true
-Dlog4j.configuration=log4j-handle-plugin.properties net.handle.server.Main
C:\DSpace\handle-server

I used your suggestion and set up the DSpace Handle Server as a Windows
server.  Now, when I start this service in Windows Services, it shows as
running and I can restart it there w/o any problems, but when I click on a
handle link in DSpace records, I have Error - Cannot Connect to Server.

On the other hand, even when the DSpace Handle Server service is not started
in the Services window, I can just run:

dspace-handle.bat

in the command prompt and the handle server starts just fine, asks me for
the passphrase and then I can resolve handles w/o any problem until I Ctrl+C
out of the command prompt.

So, it looks like the Windows service I set up is not launching the server,
or at least not what dspace-handle.bat is launching.  I think I should
change some settings somewhere, but I am not sure which ones.  Any advice is
most welcome!

Cheers,
Stan



On Sun, Sep 19, 2010 at 12:47 AM, Stuart Lewis s.le...@auckland.ac.nzwrote:

 Hi Stan,

  I've update 1.5.1 to 1.6.2 on a Windows 2003 server and it is running.
  However, when I try to start the handle server, I got an error.  It depends
 on what I use - dspace or dsrun:
 
  C:\DSpace\bindspace start-handle-server
  Using DSpace installation in: C:\DSpace
  Command not found: start-handle-server
 
  C:\DSpace\bindsrun start-handle-server
  Using DSpace installation in: C:\DSpace
  Error in launcher.xml: Invalid class name: start-handle-server

 How did you do this in 1.5.1?  I think that most people using Windows tend
 to use this approach:

  -
 https://wiki.duraspace.org/display/DSPACE/Handle+Server+Setup+as+Windows+Service+%28using+Tanuki%29

 This allows you to set it up as a Windows Service, so that it starts up
 automatically when the machines boots up.

 Thanks,


 Stuart Lewis
 IT Innovations Analyst and Developer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: +64 (0)9 373 7599 x81928


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Help with non-running DSpace scripts

2010-09-18 Thread Stan Orlov
Greetings!

I've update 1.5.1 to 1.6.2 on a Windows 2003 server and it is running.
However, when I try to start the handle server, I got an error.  It depends
on what I use - dspace or dsrun:

C:\DSpace\bindspace start-handle-server
Using DSpace installation in: C:\DSpace
Command not found: start-handle-server

C:\DSpace\bindsrun start-handle-server
Using DSpace installation in: C:\DSpace
Error in launcher.xml: Invalid class name: start-handle-server

Could you help me figure it out?

Thanks and cheers,
Stan Orlov
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Help with a Cocoon error

2010-07-05 Thread Stan Orlov
Greetings,

We are receiving the following error while trying to upload a file during
the submission process:



Problem in creating the Request

Message: null

Description: No details available.

Sender: org.dspace.app.xmlui.cocoon.DSpaceCocoonServlet

Source: Cocoon Servlet

cause

null

request-uri

/xmlui/handle/10587/66/submit/30076f3f4b36396b496a2d343e192d2e264d715f.continue

Apache Cocoon 2.1.9



Could someone suggest what to do?  If you need logs, I will be happy to
provide those.

Many thanks in advance!

Stan
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] How to get rid of Google cached URLs with generic 123456789 handle?

2010-02-02 Thread Stan Orlov
Greetings,

We have recently registered with Handle.net and changed our 123456789 prefix
to 10587 for all existing and new items.  However, we are now in the
situation where Google has indexed all our older items with the prefix of
123456789 and they don't resolve anymore when you click on a Google search
result.  We've tried to manually add them in Google's Webmaster Tools
one-by-one or as a directory, but the cached URLs are in a form
dc.myuniversity.ca:8080/xmlui/handle/[handle-prefix]/[item number], while
Webmaster tools only allow to remove cached URLs that start with 
dc.myuniversity.ca/.

What can we do to get rid of the old cached URLs so Google only shows the
updated urls?

Cheers,
Stan
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Help with non-running DSpace scripts

2010-01-25 Thread Stan Orlov
Dear colleagues,

We hope someone on this list can help us understand why some scripts in the
DSpace/bin directory on Windows run while some others don't.

We've installed the handle server and edited the config files.  We run
DSpace 1.5.1 on Win 2003 server.  However, when we try to run any handle
server related scripts from DSpace\bin, we have the following messages:

C:\DSpace\binupdate-handle-prefix 123456789 10587
'update-handle-prefix' is not recognized as an internal or external command,
operable program or batch file.

C:\DSpace\binstart-handle-server
'start-handle-server' is not recognized as an internal or external command,
operable program or batch file.

At the same time, dsrun in the same bin directory runs just fine.  What
should we do to make handle scripts work?

Your help is really appreciated!

Cheers,
Stan Orlov
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Help with non-running DSpace scripts

2010-01-25 Thread Stan Orlov
Thank you, Tim!

Worked like a charm!  Looking forward to 1.6.0 now :)

Cheers,
Stan



On Mon, Jan 25, 2010 at 2:18 PM, Tim Donohue tdono...@duraspace.org wrote:

 Stan,

 The reason for the problems that you see are that most scripts (all
 those without file extensions) in that [dspace]/bin directory are
 actually Linux Bourne Shell scripts.

 In DSpace 1.5.x only the 'dsrun.bat' script works on Windows (it's a
 Windows/MS-DOS batch file).

 In DSpace 1.5.x, if you want to run one of the other scripts on Windows,
 you'd need to open up the script file (e.g. update-handle-prefix) and
 type in the class name which appears after the $BINDIR/dsrun.

 So, as an example, instead of running update-handle-prefix on Windows,
 you'd run:
 dsrun org.dspace.handle.UpdateHandlePrefix

 As another example, instead of running start-handle-server on Windows,
 you'd run:

 dsrun -Ddspace.log.init.disable=true
 -Dlog4j.configuration=log4j-handle-plugin.properties
 net.handle.server.Main [handle-dir]  [path to handle server log file]

 Obviously, this is not ideal, and makes it difficult to run commands on
 Windows.  So, in DSpace 1.6.0 (to be released in Feb), we've reworked
 this, so that all commands (on Linux or Windows) can be run from a
 common dspace script.  So, in DSpace 1.6.0, you'd just run
 '[dspace]/bin/dspace update-handle-prefix' on either Linux, Mac or Windows.

 - Tim

 On 1/25/2010 11:39 AM, Stan Orlov wrote:
  Dear colleagues,
 
  We hope someone on this list can help us understand why some scripts in
  the DSpace/bin directory on Windows run while some others don't.
 
  We've installed the handle server and edited the config files.  We run
  DSpace 1.5.1 on Win 2003 server.  However, when we try to run any handle
  server related scripts from DSpace\bin, we have the following messages:
 
  C:\DSpace\binupdate-handle-prefix 123456789 10587
  'update-handle-prefix' is not recognized as an internal or external
  command, operable program or batch file.
 
  C:\DSpace\binstart-handle-server
  'start-handle-server' is not recognized as an internal or external
  command, operable program or batch file.
 
  At the same time, dsrun in the same bin directory runs just fine.  What
  should we do to make handle scripts work?
 
  Your help is really appreciated!
 
  Cheers,
  Stan Orlov
 
 
 
 
 --
  Throughout its 18-year history, RSA Conference consistently attracts the
  world's best and brightest in the field, creating opportunities for
 Conference
  attendees to learn about information security's most important issues
 through
  interactions with peers, luminaries and emerging and established
 companies.
  http://p.sf.net/sfu/rsaconf-dev2dev
 
 
 
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech


 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for
 Conference
 attendees to learn about information security's most important issues
 through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] handle server related scripts not recognized

2010-01-21 Thread Stan Orlov
Greetings!

We've installed the handle server and edited the config files.  We run
DSpace 1.5.1 on Win 2003 server.  However, when we try to run any handle
server related scripts from DSpace\bin, we have the following messages:

C:\DSpace\binupdate-handle-prefix 123456789 10587
'update-handle-prefix' is not recognized as an internal or external command,
operable program or batch file.

C:\DSpace\binstart-handle-server
'start-handle-server' is not recognized as an internal or external command,
operable program or batch file.

At the same time, dsrun in the same bin directory runs just fine.  What
should we do to make handle scripts work?


Cheers,
Stan
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] How to install the Handle server?

2009-12-14 Thread Stan Orlov
Greetings!

We are trying to make the Handle server run on Win 2K3, DSpace 1.5.1 and
have a problem.  We downloaded and installed the software from handle.net,
generated a sitebnld.zip file, paid and got our handle prefix.  However, we
can't figure out how to start using it.  Our C:\DSpace\handle-server
directory is empty.  We tried to populate it and read documentation from
DSpace and Handle:

http://wiki.dspace.org/index.php/Handle_Server_Setup_as_Windows_Service_(using_Tanuki)http://wiki.dspace.org/index.php/Handle_Server_Setup_as_Windows_Service_%28using_Tanuki%29
http://www.handle.net/hs_manual_18jan02/server_manual_2.html

but we're still lost.  DSpace documentation also says this:

http://www.dspace.org/1_5_1Documentation/ch03.html#N10AA9
The Handle server code is included with the DSpace code in
[dspace-source]/lib/handle.jar
. *Note:* The latest version of the handle.jar file is not included in the
release due to licensing conditions changing between the provided version
and later versions. It is recommended you read the new license
conditionshttp://www.handle.net/upgrade_6-2_DSpace.htmland decide
whether you wish to update your installation's
handle.jar. If you decide to update, you should replace the existing
handle.jar in *[dspace-source]*/lib with the new version and rebuild your
war files.

In our
C:\downloads\dspace-1.5.1-src-release\dspace\target\dspace-1.5.1-build.dir\lib
directory we have handle-5.3.4.jar.  Shall we use this file or download a
new version from hande.net and in either case - what shall we do with it?
Your advice is very much appreciated!

Cheers,
Stan

Stanislav Orlov, MEd, MISt
Systems Librarian
Mount Saint Vincent University
Halifax, NS, B3M 2J6
- Tel:  902-457-6212
- Fax: 902-457-6445
stan.or...@msvu.ca
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] DSpace registration URL change?

2009-08-07 Thread Stan Orlov
Greetings,

We have DSpace 1.5.1 on Windows 2003.  When a user registers, they receive
the following email:

===

To complete registration for a DSpace account, please click the link
below:


http://localhost:8080/jspui/register?token=987b0108249d84cf400cca9263aad1c3

If you need assistance with your account, please email
dspace-h...@myu.edu or call us at xxx-555-.

The DSpace Team
===

I found where to change some parts of this email - in
C:\DSpace\config\emails\register.  But where could I change the URL to point
to the official URL (as opposed to localhost).  I understand that this:

# Parameters: {0} is expanded to a special registration URL

should be accessible somewhere, right?

Thank you in advance!

Cheers,
Stan

Stanislav Orlov, MEd, MISt
Systems Librarian
Mount Saint Vincent University
Halifax, NS, B3M 2J6
- Tel:  902-457-6212
- Fax: 902-457-6445
stan.orlov at msvu.ca stan.or...@msvu.ca
--
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] DSpace registration URL change?

2009-08-07 Thread Stan Orlov
Thank you Gabriela and Claudia,

Worked like a charm!

Cheers,
Stan


On Fri, Aug 7, 2009 at 3:19 PM, Claudia Juergen 
claudia.juer...@ub.uni-dortmund.de wrote:

 Hi Stan,

 this comes from the dspace.url in [dspace-source]/dspace/config/dspace.cfg

 Check the following section:

 # DSpace base URL.  Include port number etc., but NOT trailing slash
 # Change to xmlui if you wish to use the xmlui as the default, or remove
 # /jspui and set webapp of your choice as the ROOT webapp in
 # the servlet engine.
 dspace.url = http://localhost:8080/jspui

 # DSpace host name - should match base URL.  Do not include port number
 dspace.hostname = localhost


 Hope that helps

 Claudia Jürgen


  Greetings,
 
  We have DSpace 1.5.1 on Windows 2003.  When a user registers, they
 receive
  the following email:
 
  ===
 
  To complete registration for a DSpace account, please click the link
  below:
 
 
 
 http://localhost:8080/jspui/register?token=987b0108249d84cf400cca9263aad1c3
 
  If you need assistance with your account, please email
  dspace-h...@myu.edu or call us at xxx-555-.
 
  The DSpace Team
  ===
 
  I found where to change some parts of this email - in
  C:\DSpace\config\emails\register.  But where could I change the URL to
  point
  to the official URL (as opposed to localhost).  I understand that
  this:
 
  # Parameters: {0} is expanded to a special registration URL
 
  should be accessible somewhere, right?
 
  Thank you in advance!
 
  Cheers,
  Stan
  
  Stanislav Orlov, MEd, MISt
  Systems Librarian
  Mount Saint Vincent University
  Halifax, NS, B3M 2J6
  - Tel:  902-457-6212
  - Fax: 902-457-6445
  stan.orlov at msvu.ca stan.or...@msvu.ca
 
 --
  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
 



 This communication, including any attached documentation, is intended only
 for the person or entity to which it is addressed, and may contain
 confidential, personal, and/or privileged information. Any unauthorized
 disclosure, copying, or taking action on the contents is strictly
 prohibited. If you have received this message in error, please contact us
 immediately so we may correct our records.
 Please then delete or destroy the original transmission and any subsequent
 reply.
 Thank you.


--
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


[Dspace-tech] Internal System Error while re-requesting password

2009-03-31 Thread Stan Orlov
Greetings!

I have an e-person registered with my DSpace (1.5.1 on Win 2003).  When I
enter his email, say, john@msvu.ca, at
http://localhost:8080/jspui/forgot and click on the I forgot my password
button, I have an error:

Internal System Error.  The system has experienced an internal error.

From what I saw in previous postings about the similar error, I understand
that it should be related to email.  I made sure that my email address is
entered in every email field in dspace.cfg and restarted Tomcat, but the
error persists.  I am including below the excerpt from dspace.log.  Should I
contact our IT people to maybe ask for username and password for the SMTP
server or is there something I should be doing at my end?

Cheers,
Stanislav Orlov

2009-03-31 21:31:37,939 INFO  org.dspace.app.webui.servlet.RegisterServlet @
anonymous:session_id=F8DBB055825157747D8B8508427624FF:ip_addr=127.0.0.1:
error_emailing:email=john@msvu.ca
javax.mail.MessagingException: Could not connect to SMTP host: mail.msvu.ca,
port: 25;
  nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)
at javax.mail.Service.connect(Service.java:105)
at javax.mail.Transport.send0(Transport.java:168)
at javax.mail.Transport.send(Transport.java:98)
at org.dspace.core.Email.send(Email.java:362)
at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:296)
at org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:256)
at
org.dspace.eperson.AccountManager.sendForgotPasswordInfo(AccountManager.java:121)
at
org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:399)
at
org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:202)
at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
at
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
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:128)
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:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Internal System Error while re-requesting password

2009-03-31 Thread Stan Orlov
Thank you for the advice, Stuart.  I've tried it with serf.msvu.ca but no
joy (same error).  Will bug my IT folks and make sure SMTP is working from
the DSpace box.

Cheers,
Stan



On Tue, Mar 31, 2009 at 10:21 PM, Stuart Lewis s.le...@auckland.ac.nzwrote:

  Hi Stan,



 The stack trace indicates that DSpace is unable to connect to mail.msvu.ca.
 Your IT people should be able to tell you the correct mail server to connect
 to.



 (Have you tried serf.msvu.ca as this seems to be a MSVU SMTP server that I
 can connect to?)



 Cheers,





 Stuart Lewis

 Digital Services Programmer

 Te Tumu Herenga The University of Auckland Library

 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand

 Ph: 64 9 373-7599 x81928

 *http://www.library.auckland.ac.nz/*











 *From:* Stan Orlov [mailto:stan.or...@msvu.ca]
 *Sent:* Wednesday, 1 April 2009 1:45 p.m.
 *To:* Dspace Tech
 *Subject:* [Dspace-tech] Internal System Error while re-requesting
 password



 Greetings!

 I have an e-person registered with my DSpace (1.5.1 on Win 2003).  When I
 enter his email, say, john@msvu.ca, at
 http://localhost:8080/jspui/forgot and click on the I forgot my password
 button, I have an error:

 Internal System Error.  The system has experienced an internal error.

 From what I saw in previous postings about the similar error, I understand
 that it should be related to email.  I made sure that my email address is
 entered in every email field in dspace.cfg and restarted Tomcat, but the
 error persists.  I am including below the excerpt from dspace.log.  Should I
 contact our IT people to maybe ask for username and password for the SMTP
 server or is there something I should be doing at my end?

 Cheers,
 Stanislav Orlov

 2009-03-31 21:31:37,939 INFO  org.dspace.app.webui.servlet.RegisterServlet
 @
 anonymous:session_id=F8DBB055825157747D8B8508427624FF:ip_addr=127.0.01:error_emailing:email=
 john@msvu.ca
 javax.mail.MessagingException: Could not connect to SMTP host:
 mail.msvu.ca, port: 25;
   nested exception is:
 java.net.ConnectException: Connection refused: connect
 at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
 at
 com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
 at javax.mail.Service.connect(Service.java:275)
 at javax.mail.Service.connect(Service.java:156)
 at javax.mail.Service.connect(Service.java:105)
 at javax.mail.Transport.send0(Transport.java:168)
 at javax.mail.Transport.send(Transport.java:98)
 at org.dspace.core.Email.send(Email.java:362)
 at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:296)
 at org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:256)
 at
 org.dspace.eperson.AccountManager.sendForgotPasswordInfo(AccountManager.java:121)
 at
 org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:399)
 at
 org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:202)
 at
 org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
 at
 org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 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(StandardWrapperValvejava:233)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValvejava:191)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 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:286)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
 at
 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at
 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Unknown Source)
 Caused by: java.net.ConnectException: Connection refused: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(Unknown Source)
 at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
 at java.net.PlainSocketImpl.connect(Unknown Source)
 at java.net.SocksSocketImpl.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at java.net.Socket.connect(Unknown Source)
 at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
 at com.sun.mail.util.SocketFetcher.getSocket

[Dspace-tech] Exporting/importing the PostgreSQL database?

2009-03-19 Thread Stan Orlov
Greetings!

I have DSpace running on a Windows XP machine and am migrating it to a
Windows 2003 server with the same structure.  Installation went smoothly,
jspui is accessible, but I can't properly transfer the PostgreSQL database.
I tried to dump it using command line, backup using pgAdmin III, backup
using Navicat for PostgreSQL and also used export Wizard in PostgreSQL.
However, I can't import it properly using the same tools on the new
machine.  I have different errors depending on the tool used and can post
them if that would help, but the root of the problem is probably in me
missing some step somewhere.

Since you probably have done this a million times, is there a bulletproof
PostgreSQL export/import command or utility you could recommend?

Cheers,
Stanislav Orlov
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Exporting/importing the PostgreSQL database?

2009-03-19 Thread Stan Orlov
Forgot to mention - I am running the latest versions of DSpace (1.5.1) and
PostgreSQL (8.3) on both machines.  And also the latest Apache and Tomcat 6.


On Thu, Mar 19, 2009 at 6:26 AM, Stan Orlov stan.or...@msvu.ca wrote:

 Greetings!

 I have DSpace running on a Windows XP machine and am migrating it to a
 Windows 2003 server with the same structure.  Installation went smoothly,
 jspui is accessible, but I can't properly transfer the PostgreSQL database.
 I tried to dump it using command line, backup using pgAdmin III, backup
 using Navicat for PostgreSQL and also used export Wizard in PostgreSQL.
 However, I can't import it properly using the same tools on the new
 machine.  I have different errors depending on the tool used and can post
 them if that would help, but the root of the problem is probably in me
 missing some step somewhere.

 Since you probably have done this a million times, is there a bulletproof
 PostgreSQL export/import command or utility you could recommend?

 Cheers,
 Stanislav Orlov


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Exporting/importing the PostgreSQL database?

2009-03-19 Thread Stan Orlov
Hi Allen,

Thank you for the suggestion.  I just would like to confirm whether it
applies to the situation where dspace version hasn't changed?  I have dspace
1.5.1 on both machines.  Postgres versions are slightly different (8.3.5-1
on the old and 8.3.6-2 on the new), but it probably isn't a significant
difference?

Dspace notwithstanding, I am trying to figure out how any postgres database
(in this case: dspace) could be flawlessly exported to another machine with
pretty much the same software version.

Cheers,
Stan



On Thu, Mar 19, 2009 at 12:05 PM, Allen Lam allen.dsp...@gmail.com wrote:

 The db schema is changed while dspace version is changed. You errors may be
 caused by version mismatch between dspace and db.

 I suggest you re-create the old version db on the new machine, then run the
 upgrade scripts provided by dspace to upgrade the db schema upto 1.5.1

 Hope this helps.

 Regards,
 Allen Lam.
 HKU Hub Administrator, http://hub.hku.hk


 Stan Orlov wrote:

 Forgot to mention - I am running the latest versions of DSpace (1.5.1) and
 PostgreSQL (8.3) on both machines.  And also the latest Apache and Tomcat 6.


 On Thu, Mar 19, 2009 at 6:26 AM, Stan Orlov stan.or...@msvu.ca mailto:
 stan.or...@msvu.ca wrote:

Greetings!

I have DSpace running on a Windows XP machine and am migrating it
to a Windows 2003 server with the same structure.  Installation
went smoothly, jspui is accessible, but I can't properly transfer
the PostgreSQL database.  I tried to dump it using command line,
backup using pgAdmin III, backup using Navicat for PostgreSQL and
also used export Wizard in PostgreSQL.  However, I can't import it
properly using the same tools on the new machine.  I have
different errors depending on the tool used and can post them if
that would help, but the root of the problem is probably in me
missing some step somewhere.

Since you probably have done this a million times, is there a
bulletproof PostgreSQL export/import command or utility you could
recommend?

Cheers,
Stanislav Orlov




 This communication, including any attached documentation, is intended only
 for the person or entity to which it is addressed, and may contain
 confidential, personal, and/or privileged information. Any unauthorized
 disclosure, copying, or taking action on the contents is strictly
 prohibited. If you have received this message in error, please contact us
 immediately so we may correct our records. Please then delete or destroy the
 original transmission and any subsequent reply. Thank you.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Exporting/importing the PostgreSQL database?

2009-03-19 Thread Stan Orlov
Another crisis averted :)  I tried to export the database via Navicat's MS
Access format and it imported vi Navicat on the new box just fine (although
I'll have to re-assign primary keys, apparently).  Before, I was trying to
export in a text delimited format, but it would mess up field lengths and
primary/foreign keys. So, it seems to be working.  Thanks for your advice!

Cheers,
Stan


On Thu, Mar 19, 2009 at 3:52 PM, Stan Orlov stan.or...@msvu.ca wrote:

 Hi Allen,

 Thank you for the suggestion.  I just would like to confirm whether it
 applies to the situation where dspace version hasn't changed?  I have dspace
 1.5.1 on both machines.  Postgres versions are slightly different (8.3.5-1
 on the old and 8.3.6-2 on the new), but it probably isn't a significant
 difference?

 Dspace notwithstanding, I am trying to figure out how any postgres database
 (in this case: dspace) could be flawlessly exported to another machine with
 pretty much the same software version.

 Cheers,
 Stan




 On Thu, Mar 19, 2009 at 12:05 PM, Allen Lam allen.dsp...@gmail.comwrote:

 The db schema is changed while dspace version is changed. You errors may
 be caused by version mismatch between dspace and db.

 I suggest you re-create the old version db on the new machine, then run
 the upgrade scripts provided by dspace to upgrade the db schema upto 1.5.1

 Hope this helps.

 Regards,
 Allen Lam.
 HKU Hub Administrator, http://hub.hku.hk


 Stan Orlov wrote:

 Forgot to mention - I am running the latest versions of DSpace (1.5.1)
 and PostgreSQL (8.3) on both machines.  And also the latest Apache and
 Tomcat 6.


 On Thu, Mar 19, 2009 at 6:26 AM, Stan Orlov stan.or...@msvu.ca mailto:
 stan.or...@msvu.ca wrote:

Greetings!

I have DSpace running on a Windows XP machine and am migrating it
to a Windows 2003 server with the same structure.  Installation
went smoothly, jspui is accessible, but I can't properly transfer
the PostgreSQL database.  I tried to dump it using command line,
backup using pgAdmin III, backup using Navicat for PostgreSQL and
also used export Wizard in PostgreSQL.  However, I can't import it
properly using the same tools on the new machine.  I have
different errors depending on the tool used and can post them if
that would help, but the root of the problem is probably in me
missing some step somewhere.

Since you probably have done this a million times, is there a
bulletproof PostgreSQL export/import command or utility you could
recommend?

Cheers,
Stanislav Orlov




 This communication, including any attached documentation, is intended only
 for the person or entity to which it is addressed, and may contain
 confidential, personal, and/or privileged information. Any unauthorized
 disclosure, copying, or taking action on the contents is strictly
 prohibited. If you have received this message in error, please contact us
 immediately so we may correct our records. Please then delete or destroy the
 original transmission and any subsequent reply. Thank you.



--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] A clickable URL in abstract or description?

2009-03-06 Thread Stan Orlov
Greeetings!

When I submit an item in jspui or xmlui, would it be possible to have a
clickable url in the abstract (or description) field?  I tried to include it
in a form of:

http://www.someurl.com
and
a href=http://www.someurl.com;http://www.someurl.com/a

but both times it just shows whatever I entered w/o converting it into a
clickable hyperlink.  Could something be done to allow this?

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


[Dspace-tech] What to do with a new xmlui theme

2009-02-12 Thread Stan Orlov
Greetings,

I am trying to create a new theme for myself, as described in
http://wiki.dspace.org/index.php/Manakin_theme_tutorial.  I read it a few
times, but I'm not sure whether the new theme directory (and the files like
sitemap etc.) should stay in
[dspace-source]/dspace/modules/dspace-xmlui/src/main/webbapp/themes/ or will
be moved to the C:/dspace at a certain point.  Then again, maybe I am not
reading too carefully and am missing something.

Cheers,
Stan Orlov
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Unique look and feel for individual communities in Manakin?

2009-02-10 Thread Stan Orlov
Greetings,

It was certainly asked before, but I would like to confirm whether it is
possible to have a completely different (from the rest of the IR) look and
feel for an individual community and its collections.  I have v.1.5.1 on
Windows and want to use Manakin.  And if yes, what is the best way for a
novice to start modifying it?  I read some posts and the Wiki, but maybe
there are some good introductory how-to(s) that I am missing?

Cheers,
Stanislav Orlov
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Unique look and feel for individual communities in Manakin?

2009-02-10 Thread Stan Orlov
Thanks a lot, Dorothea!

I will try to apply the document you are suggesting and will probably be
back with more questions.

Cheers,
Stan



On Tue, Feb 10, 2009 at 5:04 PM, Dorothea Salo ds...@library.wisc.eduwrote:

 On Tue, Feb 10, 2009 at 2:50 PM, Stan Orlov stan.or...@msvu.ca wrote:
  Greetings,
 
  It was certainly asked before, but I would like to confirm whether it is
  possible to have a completely different (from the rest of the IR) look
 and
  feel for an individual community and its collections.  I have v.1.5.1 on
  Windows and want to use Manakin.

 The answer is that it is *mostly* possible. People who get to an item
 through its community or collection page will only ever see the one
 Manakin theme. Anyone else -- and that's many users; I would say
 *most* users who don't just land on an item page, grab what they want,
 and go -- will almost certainly see more than one theme, e.g. when
 searching or browsing across the entire repository. (I've also noticed
 some mildly odd behavior around admin screens and themes -- e.g. when
 trying to log in from a page with a non-default theme, it shoots me
 back to the default theme briefly, then back to the non-default theme
 for the submit screens.)

 There's no good way to fix this that I can think of; it's an
 indeterminate problem. But for public-relations (we want our own
 branding) purposes, Manakin is pretty much good enough, because
 communities/collections can look completely different, and even (to
 some extent) behave differently. Compare the front page of the UW
 repository http://minds.wisconsin.edu/ (default theme) with the
 community page for the Madison campus
 http://minds.wisconsin.edu/handle/1793/8334. This is Manakin atop
 1.5.1.

   And if yes, what is the best way for a
  novice to start modifying it?  I read some posts and the Wiki, but maybe
  there are some good introductory how-to(s) that I am missing?

 http://wiki.dspace.org/index.php/Manakin_theme_tutorial should get
 you started.

 Dorothea

 --
 Dorothea Salods...@library.wisc.edu
 Digital Repository Librarian  AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493


 --
 Create and Deploy Rich Internet Apps outside the browser with
 Adobe(R)AIR(TM)
 software. With Adobe AIR, Ajax developers can use existing skills and code
 to
 build responsive, highly engaging applications that combine the power of
 local
 resources and data with the reach of the web. Download the Adobe AIR SDK
 and
 Ajax docs to start building applications today-
 http://p.sf.net/sfu/adobe-com
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


 This communication, including any attached documentation, is intended only
 for the person or entity to which it is addressed, and may contain
 confidential, personal, and/or privileged information. Any unauthorized
 disclosure, copying, or taking action on the contents is strictly
 prohibited. If you have received this message in error, please contact us
 immediately so we may correct our records.
 Please then delete or destroy the original transmission and any subsequent
 reply.
 Thank you.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Error 404 and Tomcat configuration

2009-02-02 Thread Stan Orlov
Hi Susan,

I edited the files as suggested, so now I have the following lines:

in /usr/local/dspace/config/dspace.cfg:
log.init.config = ${dspace.dir}/config/log4j.xml
log.dir = ${dspace.dir}/log


in /usr/local/dspace/config/log4j.xml:
param name=File value=/usr/local/dspace/log/dspace.log /

in /usr/local/dspace/config/log4j.properties:
log4j.appender.A1.File=/usr/local/dspace/log/dspace.log
log4j.appender.A2.File=/usr/local/dspace/log/checker.log

Restarted Catalina and have the same problem.  Tomcat is running, but Dspace
is not listed as an application and xmlui and jspui give me 404 errors.
Shall I rebuild dspace or are there some more things to try first?

Cheers,
Stan
P.S. I'm attaching two log files just in case.  There isn't much in the
dspace.cfg though.


On Tue, Jan 27, 2009 at 1:32 PM, Susan M. (LARC-B702)[NCI INFORMATION
SYSTEMS] Thornton susan.m.thorn...@nasa.gov wrote:

  Hi Stan,

  You can put the dspace.log and checker.log files wherever you want
 them.  We have ours in /export/home/dspace/log/….Just make sure they are
 fully qualified and don't use the ${log.dir} symbolic in the log4j files.  I
 did leave the symbolics in our dspace.cfg files as follows:

 # Logging configuration #

 # These settings are currently NOT used by the XMLUI.

 # The XMLUI writes its logs to the '[dspace-xmlui]/WEB-INF/logs/'

 # in the actual XMLUI web application.



 # Override default log4j configuration

 # you may provide your own configuration here, existing

 # alternatives are:

 log.init.config = ${dspace.dir}/config/log4j.xml



 # Where to put the logs (used in configuration only)

 log.dir = ${dspace.dir}/log



 And it wouldn't hurt to create the log directory where you want it, because
 I do believe it will create the files, but don't think it can create the
 directory.



 Let me know if you have any further problems!

 Good luck,

 Sue



catalina.out
Description: Binary data
2008-11-18 20:35:41,884 INFO  org.dspace.core.ConfigurationManager @ Loading from classloader: file:/usr/local/dspace/config/dspace.cfg
2008-11-18 20:35:41,934 INFO  org.dspace.core.ConfigurationManager @ Using dspace provided log configuration (log.init.config)
2008-11-18 20:35:41,934 INFO  org.dspace.core.ConfigurationManager @ Loading: /usr/local/dspace/config/log4j.properties
2008-11-18 20:36:09,910 INFO  org.dspace.eperson.EPerson @ anonymous::create_eperson:eperson_id=1
2008-11-18 20:36:09,928 INFO  org.dspace.eperson.EPerson @ anonymous::update_eperson:eperson_id=1
2008-11-18 20:36:09,941 INFO  org.dspace.eperson.Group @ anonymous::update_group:group_id=1
2008-11-18 20:36:09,944 INFO  org.dspace.event.EventManager @ 
--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Error 404 and Tomcat configuration

2009-01-25 Thread Stan Orlov
Greetings!

I installed Dspace 1.5 and Tomcat 6 on Linux SUSE 10.1 on an internal server
and got jspui working.  Then, after restarting Tomcat, I had error 404 on
accessing both http://localhost:8080/jspui and http://localhost:8080/xmlui.
At the same time, http://localhost:8080 shows the tomcat screen, but when I
login into Tomcat Manager, I don't have jspui or xmlui in the list of
applications.  I am almost sure I saw them there before.

Thanks to Mark, I understand that I'll need to check that Tomcat is starting
with the appropriate server.xml and webapps configuration.  If you could
suggest what to look for (and where), I would be most obliged.  If it helps,
I can attach the file(s) in question.

Cheers,
Stan

Stanislav Orlov, MEd, MISt
Systems Librarian
Mount Saint Vincent University
Halifax, NS, B3M 2J6
- Tel:  902-457-6212
- Fax: 902-457-6445
stan.or...@msvu.ca
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Fwd: [Dspace-general] Strange duplication in Manakin/XMLUI

2009-01-15 Thread Stan Orlov
Thanks a lot, Mark!

I am sure that your suggestion will work, I just can't see the results yet,
because after restarting the tomcat I have error 404 on accessing both
http://localhost:8080/jspui and http://localhost:8080/xmlui.  At the same
time, http://localhost:8080 shows the tomcat screen, but when I login into
Tomcat Manager, I don't have jspui or xmlui in the list of applications.  I
am almost sure I had them there before.

What would be the first thing to check in such situation?  Should I look at
logs or configuration files or is there something else to pay attention to?

Cheers,
Stan



On Thu, Jan 15, 2009 at 11:27 AM, Diggory Mark mdigg...@gmail.com wrote:

 It is a caching error in the cocoon pipeline that happens when the
 webapplication is reloaded.  I encounter it generally when working on the
 xmlui in development, but I've never isolated why it happens. I find that if
 I completely shut down tomcat and restart it, that the issue goes away.
  Sorry theres no clearer solution.

 Mark


 On Jan 15, 2009, at 7:07 AM, Dorothea Salo wrote:

  Forwarding to dspace-tech... I have never seen anything like this myself.


 -- Forwarded message --
 From: Stan Orlov stan.or...@msvu.ca
 Date: 2009/1/15
 Subject: [Dspace-general] Strange duplication in Manakin/XMLUI
 To: dspace-gene...@mit.edu


 Greetings!

 I installed Dspace 1.5 on Linux SUSE 10.1 and while the jspui
 interface looks fine, the xmlui one looks strange.  It does have
 almost all elements showing 4 times (see screenshot attached).  When I
 installed it for a test on a Windows machine (which was so much easier
 than on Linux, btw), both interfaces looked great.  What should I do
 to remove this multiplication?

 Cheers,
 Stan
 
 Stanislav Orlov, MEd, MISt
 Systems Librarian
 Mount Saint Vincent University
 Halifax, NS, B3M 2J6
 - Tel:  902-457-6212
 - Fax: 902-457-6445
 stan.or...@msvu.ca

 ___
 Dspace-general mailing list
 dspace-gene...@mit.edu
 http://mailman.mit.edu/mailman/listinfo/dspace-general




 --
 Dorothea Salods...@library.wisc.edu
 Digital Repository Librarian  AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493
 manakin
 duplication.png--
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.

 http://p.sf.net/sfu/sf-spreadtheword___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


 ~
 Mark R. Diggory
 http://purl.org/net/mdiggory/homepage






 This communication, including any attached documentation, is intended only
 for the person or entity to which it is addressed, and may contain
 confidential, personal, and/or privileged information. Any unauthorized
 disclosure, copying, or taking action on the contents is strictly
 prohibited. If you have received this message in error, please contact us
 immediately so we may correct our records.Please then delete or destroy the
 original transmission and any subsequent reply.Thank you.

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech