Re: [Dspace-tech] email updates

2009-03-31 Thread Richard Jones
Hi,

 hi all

 I've installed dspace v. 1.4.1beta but when somebody wants to subscribe to a 
 collection sow Internal error what can I do?
   

You may want to start with upgrading to a stable release rather than a 
beta, either 1.4.2 or 1.5.1.  Otherwise, please post to this list the 
Java stack trace which can be found in the HTML page source (in your 
browser look for View Page Source).

Cheers,

Richard

-- 
Richard Jones
Head Repository Systems Architect, Symplectic Limited
e: rich...@symplectic.co.uk
t: 0845 026 4755
t: +44 (0)207 7334036
w: http://www.symplectic.co.uk/


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


Re: [Dspace-tech] Minho Statistics Add-on v2.1 for DSpace

2009-03-31 Thread Angelo Miranda
The stats-aggregate script isn’t a call to PostgresSQL. It is a Java Class
now.
Call using:
dsrun org.dspace.app.stats.StatsAggregator


If you would like to call stats-aggregate there is an error on the script.
Change the last lines of the script to
...
echo Aggregating stats
$BINDIR/dsrun org.dspace.app.stats.StatsAggregator $@

Angelo Miranda
Universidade do Minho
Gabinete de Sistemas de Informação
Campus de Gualtar
4710-057 Braga
---
tel: +351 253601424 / fax: +351 253601419 / e-mail:
amira...@reitoria.uminho.pt  / http: www.uminho.pt




-Original Message-
From: mikan.d.dspace listmail [mailto:mikan.dsp...@gmail.com] 
Sent: segunda-feira, 30 de Março de 2009 14:35
To: DSpace
Subject: [Dspace-tech] Minho Statistics Add-on v2.1 for DSpace

Has anyone tried Minho Statistics Add-on v2.1 for DSpace? With DSpace
1.5.1 I had the following errors:

1) When running [pgsql bin]/psql -f [dspace]/bin/stats-aggregate -c -a
ERROR:  syntax error at or near - at character 1
LINE 1: -a

2) When trying to see the webapp in browser:

An error has occured
java.lang.ClassNotFoundException: org.dspace.app.stats.UsageEventJDBCLogger
(Full stack trace below)

Has anyone encountered / managed to solve these?

Thanks,
Mika




 An error has occured

java.lang.ClassNotFoundException: org.dspace.app.stats.UsageEventJDBCLogger

Cocoon stacktrace [show]

*Failed to process pipeline*
context:/file:/home/dspace/tds/dspace/webapps/dikk/aspects/aspects.xmap -
126:31
/map:serialize type=xml/
context:/file:/home/dspace/tds/dspace/webapps/dikk/aspects/aspects.xmap -
125:55
/map:generate type=file/
context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 219:35
/map:serialize type=xml/
context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 218:47
/map:transform type=CommunityViewer/
context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 104:38
/map:transform type=Navigation/
context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 92:19
/map:generate/
context:/resource://aspects/Administrative/sitemap.xmap - 824:31
/map:serialize type=xml/
context:/resource://aspects/Administrative/sitemap.xmap - 269:38
/map:transform type=Navigation/
context:/resource://aspects/Administrative/sitemap.xmap - 268:44
/map:transform type=SystemwideAlerts/
context:/resource://aspects/Administrative/sitemap.xmap - 266:19
/map:generate/
context:/resource://aspects/EPerson/sitemap.xmap - 331:31
/map:serialize type=xml/
context:/resource://aspects/EPerson/sitemap.xmap - 136:38
/map:transform type=Navigation/
context:/resource://aspects/EPerson/sitemap.xmap - 125:19
/map:generate/
context:/resource://aspects/Submission/sitemap.xmap - 330:27
/map:serialize/
context:/resource://aspects/Submission/sitemap.xmap - 306:26
/map:generate/
context:/file:/home/dspace/tds/dspace/webapps/dikk/aspects/aspects.xmap -
115:34
/map:serialize type=xml/
context:/file:/home/dspace/tds/dspace/webapps/dikk/aspects/aspects.xmap -
114:43
/map:transform type=PageNotFound/
context:/file:/home/dspace/tds/dspace/webapps/dikk/aspects/aspects.xmap -
113:22
/map:generate/
context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.
xmap
- 184:34
/map:serialize type=xhtml/
context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.
xmap
- 181:84
/map:transform type=NamespaceFilter/
context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.
xmap
- 180:78
/map:transform type=NamespaceFilter/
context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.
xmap
- 174:33
/map:transform type=i18n/
context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.
xmap
- 170:44
/map:transform/
context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.
xmap
- 155:45
/map:transform type=IncludePageMeta/
context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.
xmap
- 131:55
/map:generate type=file/
context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/themes.xmap -
63:45
/map:mount/
context:/file:/home/dspace/tds/dspace/webapps/dikk/sitemap.xmap - 345:73
/map:mount/


Java stacktrace [hide]

java.lang.ClassNotFoundException: org.dspace.app.stats.UsageEventJDBCLogger
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1233)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at
org.dspace.core.PluginManager.getAnonymousPlugin(PluginManager.java:220)
at org.dspace.core.PluginManager.getSinglePlugin(PluginManager.java:158)
at org.dspace.app.xmlui.utils.UsageEvent.init(UsageEvent.java:71)
at

Re: [Dspace-tech] Incorrect DSpace subscription links

2009-03-31 Thread Claudia Jürgen
Hi Brett,

unless you are using the source release (which you aren't) you can not 
apply this patch.

Claudia Jürgen


Brett, Hamish schrieb:
 Hi Claudia
 
 I went to do as you instructed; however it appears I do not have the *.java 
 files on my instance. Are they meant to be downloaded through Maven?
 
 It looks to me I just get the required *.jar files during installation and 
 redeployment.
 
 Can you please clarify what is required here
 
 Thanks
 
 Hamish
 
 -Original Message-
 From: Claudia Jürgen [mailto:claudia.juer...@ub.uni-dortmund.de] 
 Sent: Tuesday, 24 March 2009 5:42 PM
 To: Brett, Hamish
 Subject: Re: [Dspace-tech] Incorrect DSpace subscription links
 
 P. S. then you got to rebuild and redeploy your application
 
 Brett, Hamish schrieb:
 Thanks Claudia I will give that a go

 Hamish

 -Original Message-
 From: Claudia Jürgen [mailto:claudia.juer...@ub.uni-dortmund.de]
 Sent: Monday, 23 March 2009 5:21 PM
 To: Brett, Hamish
 Subject: Re: [Dspace-tech] Incorrect DSpace subscription links

 Hi Brett,

 you apply a patch by using the patch command patch -p0  
 /path/to/the/patch

 Claudia


 Brett, Hamish schrieb:
 Thanks Claudia,

 This might be a silly question but how do I apply the pathc.

 Thanks

 hamish

 -Original Message-
 From: Claudia Jürgen [mailto:claudia.juer...@ub.uni-dortmund.de]
 Sent: Friday, 20 March 2009 8:14 PM
 To: Brett, Hamish
 Cc: DSpace Tech
 Subject: Re: [Dspace-tech] Incorrect DSpace subscription links

 Hi Hamish,

 blanks have been added between label and text in subscription email in 
 1.5.x. Attached is a patch which you can use on your 1.5.1 instance.

 Hope that helps

 Claudia Jürgen


 Brett, Hamish schrieb:
 Hi

 we are using version 1.5.1 and since using this version we have had 
 issues with the subscription emails.

 The embedded links are not clickable as they have the prefix ID: 
 (see example below)

 
 ID:http://dspace-dsto.dsto.defence.gov.au/dspace/handle/dsto/6711

 this does not occur in other emails like registration and password 
 changes

  

 any ideas

 thanks

 hamish


 IMPORTANT: This email remains the property of the Australian Defence 
 Organisation and is subject to the jurisdiction of section 70 of the 
 CRIMES ACT 1914.  If you have received this email in error, you are 
 requested to contact the sender and delete the email.





 
 -
 -
 --

 
 -
 -
  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
 
 IMPORTANT: This email remains the property of the Australian Defence 
 Organisation and is subject to the jurisdiction of section 70 of the CRIMES 
 ACT 1914.  If you have received this email in error, you are requested to 
 contact the sender and delete the email.
 
 
 

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


Re: [Dspace-tech] Minho Statistics Add-on v2.1 for DSpace

2009-03-31 Thread Tim Donohue
Mika,

It's also worth noting that the Minho Statistics Add-on v. 2.1 does not 
seem to come with an XMLUI interface.  It looks like (based on the 
Cocoon stacktrace) that you are attempting to run it using the XMLUI. 
But, as far as I can tell, it looks like the Statistics Add-on only 
works with the DSpace 1.5.1 JSPUI.

- Tim

mikan.d.dspace listmail wrote:
 Has anyone tried Minho Statistics Add-on v2.1 for DSpace? With DSpace
 1.5.1 I had the following errors:
 
 1) When running [pgsql bin]/psql -f [dspace]/bin/stats-aggregate -c -a
 ERROR:  syntax error at or near - at character 1
 LINE 1: -a
 
 2) When trying to see the webapp in browser:
 
 An error has occured
 java.lang.ClassNotFoundException: org.dspace.app.stats.UsageEventJDBCLogger
 (Full stack trace below)
 
 Has anyone encountered / managed to solve these?
 
 Thanks,
 Mika
 
 
 
 
  An error has occured
 
 java.lang.ClassNotFoundException: org.dspace.app.stats.UsageEventJDBCLogger
 
 Cocoon stacktrace [show]
 
 *Failed to process pipeline*
 context:/file:/home/dspace/tds/dspace/webapps/dikk/aspects/aspects.xmap - 
 126:31
 /map:serialize type=xml/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/aspects/aspects.xmap - 
 125:55
 /map:generate type=file/
 context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 219:35
 /map:serialize type=xml/
 context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 218:47
 /map:transform type=CommunityViewer/
 context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 104:38
 /map:transform type=Navigation/
 context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 92:19
 /map:generate/
 context:/resource://aspects/Administrative/sitemap.xmap - 824:31
 /map:serialize type=xml/
 context:/resource://aspects/Administrative/sitemap.xmap - 269:38
 /map:transform type=Navigation/
 context:/resource://aspects/Administrative/sitemap.xmap - 268:44
 /map:transform type=SystemwideAlerts/
 context:/resource://aspects/Administrative/sitemap.xmap - 266:19
 /map:generate/
 context:/resource://aspects/EPerson/sitemap.xmap - 331:31
 /map:serialize type=xml/
 context:/resource://aspects/EPerson/sitemap.xmap - 136:38
 /map:transform type=Navigation/
 context:/resource://aspects/EPerson/sitemap.xmap - 125:19
 /map:generate/
 context:/resource://aspects/Submission/sitemap.xmap - 330:27
 /map:serialize/
 context:/resource://aspects/Submission/sitemap.xmap - 306:26
 /map:generate/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/aspects/aspects.xmap - 
 115:34
 /map:serialize type=xml/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/aspects/aspects.xmap - 
 114:43
 /map:transform type=PageNotFound/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/aspects/aspects.xmap - 
 113:22
 /map:generate/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.xmap
 - 184:34
 /map:serialize type=xhtml/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.xmap
 - 181:84
 /map:transform type=NamespaceFilter/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.xmap
 - 180:78
 /map:transform type=NamespaceFilter/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.xmap
 - 174:33
 /map:transform type=i18n/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.xmap
 - 170:44
 /map:transform/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.xmap
 - 155:45
 /map:transform type=IncludePageMeta/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/Reference/sitemap.xmap
 - 131:55
 /map:generate type=file/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/themes/themes.xmap - 63:45
 /map:mount/
 context:/file:/home/dspace/tds/dspace/webapps/dikk/sitemap.xmap - 345:73
 /map:mount/
 
 
 Java stacktrace [hide]
 
 java.lang.ClassNotFoundException: org.dspace.app.stats.UsageEventJDBCLogger
 at 
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
 at 
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:164)
 at 
 org.dspace.core.PluginManager.getAnonymousPlugin(PluginManager.java:220)
 at org.dspace.core.PluginManager.getSinglePlugin(PluginManager.java:158)
 at org.dspace.app.xmlui.utils.UsageEvent.init(UsageEvent.java:71)
 at 
 org.dspace.app.xmlui.aspect.artifactbrowser.CommunityViewer.addBody(CommunityViewer.java:278)
 at 
 org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:256)
 at 
 org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94)
 at 
 org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:271)
 at 
 

Re: [Dspace-tech] Fault of authentication

2009-03-31 Thread Mark H. Wood
Since you are using Ident authentication, I need to ask the silly
question first:  is the host running a properly configured Ident server?

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Friends don't let friends publish revisable-form documents.


pgpF8aRjDLf8v.pgp
Description: PGP signature
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Install dspace unsucessful

2009-03-31 Thread Panyarak Ngamsritragul

Hi,

I have been stuggling in installing dspace on Ubuntu 8.10 with 
dspace-1.5.1, PostgreSQL8.3, Apache Ant version 1.7.1, 
apache-maven-2.0.10, apache-tomcat-6.0.18 with no luck.

I notice in many instruction mention that after installing PostgreSQL, 
created a Unix user (name it dspace).  One needs to create a database user 
and database.  In this step, one has to become 'postgres' and issue a 
command to create a user:
   createuser -U postgres -d -A -P dspace
This could be done with no problem and I answer 'no' when asked:
   Shall the new role be allowed to create more new roles? (y/n)

As postgres, I tried to create a database:
   createdb -U dspace -E UNICODE dspace

But the command returned an error message:
createdb: could not connect to database postgres: FATAL:  Ident 
authentication failed for user dspace

It is possible to create the database when I 'sudo su dspace'.  This can 
even be done without specifying '-U dspace' in the command line.

Is there anything wrong in this step ?  I did do further to install the 
package, but finally failed.

--
Panyarak

On Fri, 27 Mar 2009, Ma, Wenling wrote:

 Hello everyone,
 I have successfully installed DSpace(version dspace-1.5.1, 
PostgreSQL8.3, apache-ant-1.7.1, apache-maven-2.0.10, apache-tomcat-6.0.18).

-- 
This message has been scanned for viruses and
dangerous content by MailScanner.


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


Re: [Dspace-tech] Install dspace unsucessful

2009-03-31 Thread Mark H. Wood
On Tue, Mar 31, 2009 at 10:07:47PM +0700, Panyarak Ngamsritragul wrote:
 As postgres, I tried to create a database:
createdb -U dspace -E UNICODE dspace
 
 But the command returned an error message:
 createdb: could not connect to database postgres: FATAL:  Ident 
 authentication failed for user dspace

Rightly so.  Your user process is owned by 'postgres', not 'dspace',
and that is what the Ident daemon will report to PostgreSQL.  Your
user and database credentials do not match, and that match is required
for Ident authentication.

 It is possible to create the database when I 'sudo su dspace'.  This can 
 even be done without specifying '-U dspace' in the command line.

Yes.  Since the database/user pair in question is authenticated with
Ident, the matching usernames are sufficient.

 Is there anything wrong in this step ?  I did do further to install the 
 package, but finally failed.

Well, I think that the command should be 'createdb -O dspace -E
UNICODE dspace'.  The database needs to be owned by 'dspace' but it
need not be *created by* 'dspace'.  You should be able to use the
PostgreSQL superuser ('postgres') to create the database.

But it sounds like you have created the database properly.  Maybe you
should tell us how far you got and what the error was that has stopped you.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Friends don't let friends publish revisable-form documents.


pgp2vHAjgpHiT.pgp
Description: PGP signature
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] The RequestCopy Patch

2009-03-31 Thread Blanco, Jose
I have incorporated the RequestCopy patch from:

http://wiki.dspace.org/index.php/RequestCopy

And it works great.  The only thing is that when an email is sent out with the 
bitstream being requested, the message of the email comes across as an 
attachment, rather than on the body of the email.  Is there a way to change 
this so that the message will appear on the body, rather than as an attachment. 
 If the email being sent out, does not have a bitstream attachment, the message 
of the email appears in the body.

Many thanks!
Jose
--
___
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] Install dspace unsucessful

2009-03-31 Thread Panyarak Ngamsritragul

Thanks a lot for your information.  I did not record all the details I did 
last time(s).  Sometimes I was stopped at 'maven package' which I learned 
from others experiences that it was the file permission issue.  Sometimes 
it seemed that I successfully went through the 'ant fresh_install', but 
could not see anything when called from browser.  I rebuilt DSpace again 
and was stopped at 'ant fresh_install'

Anyway, I will try again and let you know later.
Thanks again.
Panyarak

On Tue, 31 Mar 2009, Mark H. Wood wrote:

 On Tue, Mar 31, 2009 at 10:07:47PM +0700, Panyarak Ngamsritragul wrote:
 As postgres, I tried to create a database:
createdb -U dspace -E UNICODE dspace

 But the command returned an error message:
 createdb: could not connect to database postgres: FATAL:  Ident
 authentication failed for user dspace

 Rightly so.  Your user process is owned by 'postgres', not 'dspace',
 and that is what the Ident daemon will report to PostgreSQL.  Your
 user and database credentials do not match, and that match is required
 for Ident authentication.

 It is possible to create the database when I 'sudo su dspace'.  This can
 even be done without specifying '-U dspace' in the command line.

 Yes.  Since the database/user pair in question is authenticated with
 Ident, the matching usernames are sufficient.

 Is there anything wrong in this step ?  I did do further to install the
 package, but finally failed.

 Well, I think that the command should be 'createdb -O dspace -E
 UNICODE dspace'.  The database needs to be owned by 'dspace' but it
 need not be *created by* 'dspace'.  You should be able to use the
 PostgreSQL superuser ('postgres') to create the database.

 But it sounds like you have created the database properly.  Maybe you
 should tell us how far you got and what the error was that has stopped you.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner.


--
___
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 Stuart Lewis
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 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.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(RegisterS
ervlet.java:399)
at
org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.ja
va: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(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.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:2
86)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
5)
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

Re: [Dspace-tech] Install dspace unsucessful

2009-03-31 Thread Van Ly
Hi Panyarak,

For next time, you'll find the createuser/createdb steps need to be done before 
the `ant fresh_install'. Something I use for testing is

# su --login dspace -c 'dropdb -i dspace'
# su --login postgres -c 'dropuser dspace'
# 
# su --login postgres -c 'createuser -U postgres -S -R -c 35 -d dspace'
# su --login dspace -c 'createdb -U dspace -E UTF8 -T template0 dspace 
database for dspace'

-- Van Ly 


From: Panyarak Ngamsritragul
Sent: Wed 1/04/2009 12:01 PM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Install dspace unsucessful


Thanks a lot for your information.  I did not record all the details I did 
last time(s).  Sometimes I was stopped at 'maven package' which I learned 
from others experiences that it was the file permission issue.  Sometimes 
it seemed that I successfully went through the 'ant fresh_install', but 
could not see anything when called from browser.  I rebuilt DSpace again 
and was stopped at 'ant fresh_install'

Anyway, I will try again and let you know later.
Thanks again.
Panyarak

On Tue, 31 Mar 2009, Mark H. Wood wrote:

 On Tue, Mar 31, 2009 at 10:07:47PM +0700, Panyarak Ngamsritragul wrote:
 As postgres, I tried to create a database:
createdb -U dspace -E UNICODE dspace

 But the command returned an error message:
 createdb: could not connect to database postgres: FATAL:  Ident
 authentication failed for user dspace

 Rightly so.  Your user process is owned by 'postgres', not 'dspace',
 and that is what the Ident daemon will report to PostgreSQL.  Your
 user and database credentials do not match, and that match is required
 for Ident authentication.

 It is possible to create the database when I 'sudo su dspace'.  This can
 even be done without specifying '-U dspace' in the command line.

 Yes.  Since the database/user pair in question is authenticated with
 Ident, the matching usernames are sufficient.

 Is there anything wrong in this step ?  I did do further to install the
 package, but finally failed.

 Well, I think that the command should be 'createdb -O dspace -E
 UNICODE dspace'.  The database needs to be owned by 'dspace' but it
 need not be *created by* 'dspace'.  You should be able to use the
 PostgreSQL superuser ('postgres') to create the database.

 But it sounds like you have created the database properly.  Maybe you
 should tell us how far you got and what the error was that has stopped you.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner.


--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
___
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