[Dspace-tech] java.net.UnknownHostException

2008-08-05 Thread Mohamad Asmawi Bin Abdul Rahman
Hi All

 

1.  I hav a problem related to registration of new user. When I put
the users email, dspace noticed me Unable to sent email to this
Address. 

 

 

 

 

 

 

 

 

 

2.  when I want to reset password dspace showed me this error

 

 

 

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


Re: [Dspace-tech] HandleManager ClassNotFoundException -- updating and xmlui

2008-08-05 Thread James Rutherford
On Mon, Aug 04, 2008 at 05:53:40PM +, Gabriel Farrell wrote:
 I'm updating to 1.5 from 1.4.2 on my dev box.  At this point, my xmlui
 says:
 
 java.lang.ClassNotFoundException: org.dspace.uri.handle.HandleManager

Are you sure you upgraded to 1.5? That class is in org.dspace.handle in
the most recent release. In trunk it has moved to org.dspace.uri.handle.

 This being a dev box, I'd rather not bother setting up the handle server
 for now.  Is there a way to make DSpace not bother with it?

Out of the box, you'll just have a dummy prefix that won't require a
handle server to be running in order for DSpace to work.

cheers,

Jim

-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

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


Re: [Dspace-tech] java.net.UnknownHostException

2008-08-05 Thread James Rutherford
Please send a full stack trace and any other relevant information
(including the email address of the user you are trying to register).
It's probably either a typo in the domain of the email address, or the
machine DSpace is running on is having DNS issues.

Jim

On Tue, Aug 05, 2008 at 08:33:13AM +, Mohamad Asmawi Bin Abdul Rahman wrote:
 
 Hi All
 
 
  1.  I hav a problem related to registration of new user. When I put the 
 users email, dspace noticed me “Unable to sent email to this Address”. Until 
 now I cannot complete any new registrations.
 
 
 
  1.  when I want to reset password dspace showed me the error 
 “Java.net.UnknownHostException”
 
 
 please help me!!

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


-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

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


Re: [Dspace-tech] java.net.UnknownHostException

2008-08-05 Thread Mohamad Asmawi Bin Abdul Rahman
Hi Jim,

TQ for yr feedback. Actually,when I try to make a new registration from
mydspace, dspace told me unable to send email. The same problem also
occured when I put another email. Im sure typing is totally correct. For
example: when I try to put this email [EMAIL PROTECTED] using
register button from my dspace still Unable to send email. 

I try go through e-person management control and add a new e-person,
then when I try edit an E-Person and reset password, dspace showed the
error:

  java.net.UnknownHostException:

Cocoon stacktrace
Java stacktrace
Java full stacktrace

-Original Message-
From: James Rutherford [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 05, 2008 4:40 PM
To: Mohamad Asmawi Bin Abdul Rahman
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] java.net.UnknownHostException

Please send a full stack trace and any other relevant information
(including the email address of the user you are trying to register).
It's probably either a typo in the domain of the email address, or the
machine DSpace is running on is having DNS issues.

Jim

On Tue, Aug 05, 2008 at 08:33:13AM +, Mohamad Asmawi Bin Abdul
Rahman wrote:
 
 Hi All
 
 
  1.  I hav a problem related to registration of new user. When I put
the users email, dspace noticed me Unable to sent email to this
Address. Until now I cannot complete any new registrations.
 
 
 
  1.  when I want to reset password dspace showed me the error
Java.net.UnknownHostException
 
 
 please help me!!

Content-Description: ATT1.txt


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


-- 
James Rutherford  |  Hewlett-Packard Limited registered Office:
Research Engineer |  Cain Road,
HP Labs   |  Bracknell,
Bristol, UK   |  Berks
+44 117 312 7066  |  RG12 1HN.
[EMAIL PROTECTED]   |  Registered No: 690597 England

The contents of this message and any attachments to it are confidential
and may be legally privileged. If you have received this message in
error, you should delete it from your system immediately and advise the
sender. To any recipient of this message within HP, unless otherwise
stated you should consider this message and attachments as HP
CONFIDENTIAL.

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


[Dspace-tech] Problems with stat-initial and stat-monthly

2008-08-05 Thread Sean Carte
Anybody have any idea what I've done wrong here? I get the following
error when I try to run stat-initial or stat-monthy:

[EMAIL PROTECTED]:/dspace$ bin/stat-initial
Exception in thread main org.postgresql.util.PSQLException: ERROR:
syntax error at or near FROM
at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512)
at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297)
at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:430)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:346)
at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:250)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at 
org.dspace.storage.rdbms.DatabaseManager.query(DatabaseManager.java:209)
at 
org.dspace.storage.rdbms.DatabaseManager.querySingle(DatabaseManager.java:279)
at 
org.dspace.app.statistics.LogAnalyser.getNumItems(LogAnalyser.java:1273)
at 
org.dspace.app.statistics.LogAnalyser.getNumItems(LogAnalyser.java:1302)
at 
org.dspace.app.statistics.LogAnalyser.processLogs(LogAnalyser.java:543)
at 
org.dspace.app.statistics.CreateStatReport.statInitial(CreateStatReport.java:291)
at 
org.dspace.app.statistics.CreateStatReport.main(CreateStatReport.java:162)

This is on a 1.5 installation.

I thought perhaps it might be a permissions problem, but stat-general
runs and generates a .dat file.

Could it be a configuration problem? In 1.4 I know I had to set
$start_year and $start_month in the stat-* files, but that no longer
seems to be the case. Is there somewhere else I should be setting that
information?

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

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


[Dspace-tech] Copy text into registration form

2008-08-05 Thread Ellen Røyneberg
Hi

We are having some problems when copying text from f.ex acrobat reader 
to the registration form in DSpace. We sometimes get characters that are 
part of the text. Is there a filter that removes characters that come 
from some applications when copying text?

Thank you,

Ellen


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


Re: [Dspace-tech] Eclipse and Maven

2008-08-05 Thread Robin Taylor
Thanks for the advice, Robert Roggenbuck also suggested I needed an upgrade
of Eclipse. I may go down that road but I'm currently trying Intellij IDEA
which I had moved away from because it previously seemed to struggle with
Maven. It now appears to be quite good. 

Cheers, Robin. 


  


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark H. Wood
Sent: 05 August 2008 13:45
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Eclipse and Maven

Well, I have it working okay with Eclipse 3.2.1 and every last update I can
get Eclipse to swallow, but I spent so much time fighting with Eclipse and
the Maven plugin that I don't know what worked and what didn't.  I've
delicately hinted that I'd like to know what would help Gentoo upgrade to a
non-ancient version of Eclipse, but so far no response.

I have had better luck using the plugin to pull the projects from the
repository than I did fetching them out using SVN manually and then getting
Maven to adopt them.

When Eclipse suggests cleaning the workspace, that's good advice.  It
doesn't always make things perfect but it usually helps.

If you have multiple copies of DSpace in Eclipse at once, name each with a
unique classifier and BE SURE you put the classifier where it belongs in the
naming scheme.  I got it wrong once and spent way too much time watching
seemingly endless rebuild cycles and torrents of errors until I figured out
that the builder was mixing different working sets.  When I got that
straightened out, the builder stopped freaking out and I could get some work
done.

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Typically when a software vendor says that a product is intuitive he means
the exact opposite.



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


Re: [Dspace-tech] [Fwd: How to configure dspace to use a mail server running on ssl ports]

2008-08-05 Thread Graham Triggs
The options in dspace.cfg only allow you to connect to a mail server 
running on a non-standard port.

They do not tell DSpace to make a secure connection to that port.

See the link below for more information on using SSL with JavaMail.

http://www.javaworld.com/javatips/jw-javatip115.html

G

Nitin Bhadauria wrote:
 Please send a full stack trace and the relevant lines from your
 dspace.cfg.
 
 Here is the configuration ..
 
 # SMTP mail server
 mail.server=mail.sarai.net
 
 # SMTP mail server authentication username and password (if required)
 mail.server.username = [EMAIL PROTECTED]
 mail.server.password = mypassword
 
 # SMTP mail server alternate port (defaults to 25)
 mail.server.port = 465
 
 # From address for mail
 mail.from.address = [EMAIL PROTECTED]
 
 # Currently limited to one recipient!
 feedback.recipient = [EMAIL PROTECTED]
 
 # General site administration (Webmaster) e-mail
 mail.admin = [EMAIL PROTECTED]
 
 
 
 
 then this is the error log from dspace.log ..
 
 2008-08-02 07:07:50,127 INFO  org.dspace.app.webui.servlet.RegisterServlet
 @
 anonymous:session_id=EB37E08A3F822F94E6F992CD3596F26C:ip_addr=192.168.130.1:sendtoken_register:[EMAIL
  PROTECTED]
 2008-08-02 07:12:54,805 INFO  org.dspace.app.webui.servlet.RegisterServlet
 @
 anonymous:session_id=EB37E08A3F822F94E6F992CD3596F26C:ip_addr=192.168.130.1:error_emailing:[EMAIL
  PROTECTED]
 javax.mail.MessagingException: Could not connect to SMTP host:
 mail.sarai.net, port: 465, response: -1
 at
 com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1270)
 at
 com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
 at javax.mail.Service.connect(Service.java:297)
 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.sendRegistrationInfo(AccountManager.java:101)
 at
 org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:287)
 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:710)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
 at
 org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
 at
 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 at
 org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
 at
 org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
 at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
 at java.lang.Thread.run(Thread.java:595)
 
 
 
 
 
 Jim

 On Fri, Aug 01, 2008 at 10:02:35AM +, Nitin Bhadauria wrote:
 please help me ...



  Original Message
 
 Subject: [Dspace-tech] How to configure dspace to using a mail server
 running on ssl ports
 From:Nitin Bhadauria [EMAIL PROTECTED]
 Date:Thu, July 31, 2008 7:15 pm
 To:  dspace-tech@lists.sourceforge.net
 --

 Dear Frnds


 my mail server is running on ssl ports so when i try to configure
 dspace.cfg with the new port 465 error says.

 javax.mail.MessagingException: Could not connect to SMTP host:
 mail.sarai.net, port: 465, response: -1

 Thanks
 Nitin



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 

[Dspace-tech] Author sorting

2008-08-05 Thread Blanco, Jose
I was hoping that the our new version of postgres ( 8.1.11 ) would solve
the problem we see when authors are browsed.  Here is the problem:

Suppose we have the following 3 authors:

 Ta, A
 Ta, Z
 Tab, A

I would expect them to show up in the oder shown above when browsing by
author, but instead I get:

 Ta, A
 Tab, A
 Ta, Z

Which as you can see is not really the desired behavior. I created a
test table and loaded these values into a field of type text, and then
issued the following query:

 select * from test order by 1;
   a

 Ta, A
 Tab, A
 Ta, Z
(3 rows)

So I can see why Dspace is displaying this in this order.

The funny thing is that I'm fairly certain that I have seen the desired
ordering in some Dspace instances, so I'm not sure why ours is not
sorting correctly.  I'm running dspace 1.5.  Does this have to do with a
postgres or dspace setting?

Thank you!
Jose

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


Re: [Dspace-tech] HandleManager ClassNotFoundException -- updating and xmlui

2008-08-05 Thread Gabriel Farrell
On Tue, Aug 05, 2008 at 09:05:19AM +0100, James Rutherford wrote:
 On Mon, Aug 04, 2008 at 05:53:40PM +, Gabriel Farrell wrote:
  I'm updating to 1.5 from 1.4.2 on my dev box.  At this point, my xmlui
  says:
  
  java.lang.ClassNotFoundException: org.dspace.uri.handle.HandleManager
 
 Are you sure you upgraded to 1.5? That class is in org.dspace.handle in
 the most recent release. In trunk it has moved to org.dspace.uri.handle.

As Tim kindly helped me realize in the other thread, I was running trunk
rather than 1.5.  I've made it a little further in the install now with
branches/dspace-1_5_x.

  This being a dev box, I'd rather not bother setting up the handle server
  for now.  Is there a way to make DSpace not bother with it?
 
 Out of the box, you'll just have a dummy prefix that won't require a
 handle server to be running in order for DSpace to work.

Good to know, thanks.


Gabriel

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