Re: [Dspace-tech] cant add an item to dspace

2007-10-16 Thread Claudia Jürgen
Hello Shali,

are you sure your smtp settings in dspace.cfg. are correct, i.e. that 
you're able to send emails.

Check the following settings especially the smtp server one in dspace.cfg

# SMTP mail server
mail.server=smtp.myu.edu

# SMTP mail server authentication username and password (if required)
# mail.server.username = myusername
# mail.server.password = mypassword

# SMTP mail server alternate port (defaults to 25)
# mail.server.port = 25

# From address for mail
mail.from.address = [EMAIL PROTECTED]


Claudia Jürgen


Shali 9846303531 schrieb:
> Dear sir,
> 
> When i trying to add an item to Dspace it displays "internal server error"
> 
> the following are the log file entries, please help me..
> 
> 2007-10-17 11:37:05,544 WARN
> org.dspace.app.webui.servlet.InternalErrorServlet @
> :session_id=8ADC30C0C3D14023005F9B56D1E4DAAD:internal_error:-- URL Was:
> http://10.1.1.5:8080/dspace/submit
> -- Method: POST
> -- Parameters were:
> -- workspace_item_id: "603"
> -- submit_grant: "I Grant the License"
> -- step: "11"
> 
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:394)
> at org.dspace.core.Email.send(Email.java:257)
> at org.dspace.workflow.WorkflowManager.notifyOfArchive(
> WorkflowManager.java:692)
> at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:609)
> at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:582)
> at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:546)
> at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:506)
> at org.dspace.workflow.WorkflowManager.start(WorkflowManager.java:203)
> at org.dspace.app.webui.servlet.SubmitServlet.processLicense(
> SubmitServlet.java:1621)
> at org.dspace.app.webui.servlet.SubmitServlet.doDSPost(
> SubmitServlet.java:424)
> 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:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
> at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(
> RegisteredOnlyFilter.java:98)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:214)
> at org.apache.catalina.core.StandardValveContext.invokeNext(
> StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(
> StandardPipeline.java:520)
> at org.apache.catalina.core.StandardContextValve.invokeInternal(
> StandardContextValve.java:198)
> at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:152)
> at org.apache.catalina.core.StandardValveContext.invokeNext(
> StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(
> StandardPipeline.java:520)
> at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:137)
> at org.apache.catalina.core.StandardValveContext.invokeNext(
> StandardValveContext.java:104)
> at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:118)
> at org.apache.catalina.core.StandardValveContext.invokeNext(
> StandardValveContext.java:102)
> at org.apache.catalina.core.StandardPipeline.invoke(
> StandardPipeline.java:520)
> at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:109)
> at org.apache.catalina.core.StandardValveContext.invokeNext(
> StandardValveContext.java:104)
> at org.apache.catalina.core.StandardPipeline.invoke(
> StandardPipeline.java:520)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
> at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java
> :160)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :799)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> (Http11Protocol.java:705)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
> :577)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:684)
> at java.lang.Thread.run(Thread.java:619)
> 2007-10-17 11:37:05,547 WARN  org.dspace.app.webui.util.UIUtil @ Unable to
> send email alert
> java.lang.NullPointerException
> at java.util.Hashtable.put(Hashtable.java:394)
> at org.dspace.core.Email.send(Email.java:257)
> at org.dspace.app.webui.util.UIUtil.sendAlert(

[Dspace-tech] cant add an item to dspace

2007-10-16 Thread Shali 9846303531
Dear sir,

When i trying to add an item to Dspace it displays "internal server error"

the following are the log file entries, please help me..

2007-10-17 11:37:05,544 WARN
org.dspace.app.webui.servlet.InternalErrorServlet @
:session_id=8ADC30C0C3D14023005F9B56D1E4DAAD:internal_error:-- URL Was:
http://10.1.1.5:8080/dspace/submit
-- Method: POST
-- Parameters were:
-- workspace_item_id: "603"
-- submit_grant: "I Grant the License"
-- step: "11"

java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at org.dspace.core.Email.send(Email.java:257)
at org.dspace.workflow.WorkflowManager.notifyOfArchive(
WorkflowManager.java:692)
at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:609)
at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:582)
at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:546)
at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:506)
at org.dspace.workflow.WorkflowManager.start(WorkflowManager.java:203)
at org.dspace.app.webui.servlet.SubmitServlet.processLicense(
SubmitServlet.java:1621)
at org.dspace.app.webui.servlet.SubmitServlet.doDSPost(
SubmitServlet.java:424)
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:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(
RegisteredOnlyFilter.java:98)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(
StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(
StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(
StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java
:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
2007-10-17 11:37:05,547 WARN  org.dspace.app.webui.util.UIUtil @ Unable to
send email alert
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at org.dspace.core.Email.send(Email.java:257)
at org.dspace.app.webui.util.UIUtil.sendAlert(UIUtil.java:559)
at org.dspace.app.webui.servlet.InternalErrorServlet.doGet(
InternalErrorServlet.java:86)
at org.dspace.app.webui.servlet.InternalErrorServlet.doPost(
InternalErrorServlet.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(
ApplicationDispatcher.java:696)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(
ApplicationDispatcher.java:476)
at o

Re: [Dspace-tech] Completed install but page cannot be displayed

2007-10-16 Thread Peter Urban
After not making much progress for a while I decided to simply restart the
system -- something we Windows users know fixes many problems. Good news...
After restarting, now I can get the Dspace home page. Thanks for everyone's
help!



-Original Message-
From: Peter Urban [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 16, 2007 11:47 AM
To: LeVan,Ralph; 'Stuart Lewis [sdl]'
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Completed install but page cannot be displayed

Thanks again Ralph! I've mande some progress. Found this article -
http://cefn.com/blog/ubuntutomcat.html - that mentions a problem with Tomcat
installation using Ununtu's tomcat5.5 package. Looks like Tomcat was not
starting after all. Once I went through the recommended fix, I'm now getting
a blank page when going to http://:8080/dspace. At least there's
no error message. I see catalina.sh in the list of processes, so I guess
Tomcat is good now. Just have to figure out why I'm getting blank and not
Dspace.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Completed install but page cannot be displayed

2007-10-16 Thread LeVan,Ralph
The difference is which user owns the process, which controls the
permissions on the files.  It is generally a bad idea to start the
process as yourself, which is what happens with the latter form, as it
will be pretty much uncontrollable by anyone else.

Ralph

-Original Message-
From: Peter Urban [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 11:47 AM
To: LeVan,Ralph; 'Stuart Lewis [sdl]'
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Completed install but page cannot be
displayed

Thanks again Ralph! I've mande some progress. Found this article -
http://cefn.com/blog/ubuntutomcat.html - that mentions a problem with
Tomcat
installation using Ununtu's tomcat5.5 package. Looks like Tomcat was not
starting after all. Once I went through the recommended fix, I'm now
getting
a blank page when going to http://:8080/dspace. At least
there's
no error message. I see catalina.sh in the list of processes, so I guess
Tomcat is good now. Just have to figure out why I'm getting blank and
not
Dspace.

P.S. What's the difference between using...

sudo /etc/init.d/tomcat5.5 start

...and...

sh /usr/share/tomcat5.5/bin/startup.sh

...to start Tomcat? I was using the former at first and wasn't seeing
any
errors for startup.



-Original Message-
From: LeVan,Ralph [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 10:32 AM
To: Peter Urban; Stuart Lewis [sdl]
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Completed install but page cannot be
displayed

There are a couple of ways to tell if tomcat is running.

ps -eaf|grep tomcat

The first part gets you a list of everything that is running on your
machine.  (Plain ps as you entered it just gets you the stuff running in
your session.)  The second part filters that long list down to things
that
have tomcat in them.  If that returns nothing except the grep itself,
try:

Ps-eaf|grep catalina

"catalina" is tomcats real name internally.

Those two things will tell you about processes.

The other trick is to go to the tomcat logs directory and see if you can
see
tomcat starting up in its logs.  Typically, there is either a file named
catalina.out or catalina..log.  Inside them you
will
either see a line like "Starting service Catalina" or you'll see some
sort
of explanation for why tomcat didn't start.

If you don't see any logs in the /logs directory, you probably
never
correctly issued the startup.sh script.

Ralph



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
Urban
Sent: Tuesday, October 16, 2007 10:38 AM
To: 'Stuart Lewis [sdl]'
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be
displayed

Thanks Stuart. When I try to telnet, I get 'telnet: Unable to connect to
remote host: Connection refused'.

When is run 'ps', I get:

  PID TTY  TIME CMD
 6367 pts/100:00:00 sh
 6369 pts/100:00:00 bash
 6399 pts/100:00:00 ps

Those results don't mean anything to me. Can you tell if Tomcat is
running?



 

-Original Message-
From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 16, 2007 12:55 AM
To: Peter Urban
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be
displayed

Hi Peter,

Something to try to see if tomcat really is running:

What happens when you type:

telnet localhost 8080

If you get a message something like 'connection refused' then it sounds
like
tomcat either isn't running, or is not listening on port 8080. Have you
looked at 'ps' to see if it is listed as a running process?

If the telnet command does work (you'll not see any output, just a blank
prompt) try typing:

GET / HTTP/1.0

And hit enter twice.

Hopefully this will return some HTML (the tomcat homepage). This would
show
that tomcat is working.

If tomcat is working, it might be that your server is firewalled from
your
computer running the browser. I don't know what a default Ubuntu
firewall
config looks like, but assuming they give you one, it is possible
(likely)
that a non-standard port such as 8080 is blocked by default, and you'll
need
to unblock it.

Good luck!


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_



On 15/10/07 23:33, "Peter Urban" <[EMAIL PROTECTED]> wrote:

> Thanks Christian.
> 
> When I run http://:8080, I get "Internet Explorer cannot 
> display the webpage". As best I can tell, Tomcat is running. I don't 
> know much more about Tomcat to be able to troubleshoot further on my 
> own. I get no errors when I start it using
> 
> sudo /etc/init.d/tomcat5.5 start
> 
> I installed Tomcat using Ubuntu's tomcat5.5 pack

Re: [Dspace-tech] Completed install but page cannot be displayed

2007-10-16 Thread Peter Urban
Thanks Gabriella. Yes, those were among the instructions I followed for this
setup and yes, I completed step #13.



-Original Message-
From: Gabriela Mircea [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 11:14 AM
To: Peter Urban
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be displayed

Hi Peter,

I case you haven't seen this already, it might help with you problem
http://wiki.dspace.org/index.php/Installing_DSpace_on_Ubuntu_6.06_%28LTS%29
In particular step 13.

Gabriela


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Completed install but page cannot be displayed

2007-10-16 Thread Gabriela Mircea
Hi Peter,

I case you haven't seen this already, it might help with you problem
http://wiki.dspace.org/index.php/Installing_DSpace_on_Ubuntu_6.06_%28LTS%29
In particular step 13.

Gabriela

Peter Urban wrote:
> Now that I am able to telnet to localhost 8080, when I try GET / HTTP/1.0 it
> returns...
>
> HTTP/1.1 400 No Host matches server name localhost
> Server: Apache-Coyote/1.1
> Date: Tue, 16 Oct 2007 16:03:01 GMT
> Connection: close
> Connection closed by foreign host.
>
> Could this help explain why I am now seeing a blank page when I try to
> access http://:8080 from a browser? Anything I can try?
>
>
>
> -Original Message-
> From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 16, 2007 12:55 AM
> To: Peter Urban
> Cc: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Completed install but page cannot be displayed
>
> Hi Peter,
>
> Something to try to see if tomcat really is running:
>
> What happens when you type:
>
> telnet localhost 8080
>
> If you get a message something like 'connection refused' then it sounds like
> tomcat either isn't running, or is not listening on port 8080. Have you
> looked at 'ps' to see if it is listed as a running process?
>
> If the telnet command does work (you'll not see any output, just a blank
> prompt) try typing:
>
> GET / HTTP/1.0
>
> And hit enter twice.
>
> Hopefully this will return some HTML (the tomcat homepage). This would show
> that tomcat is working.
>
> If tomcat is working, it might be that your server is firewalled from your
> computer running the browser. I don't know what a default Ubuntu firewall
> config looks like, but assuming they give you one, it is possible (likely)
> that a non-standard port such as 8080 is blocked by default, and you'll need
> to unblock it.
>
> Good luck!
>
>
> Stuart
> _
>
> Gwasanaethau Gwybodaeth  Information Services
> Prifysgol Aberystwyth  Aberystwyth University
>
> E-bost / E-mail: [EMAIL PROTECTED]
>  Ffon / Tel: (01970) 622860
> _
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>   

-- 
Gabriela Mircea

Digital Image/Text Application Administrator
University of Toronto Libraries
Information Technology Services
7th floor, Robarts Library
130 St. George St.
Toronto, ON, Canada, M5S 1A5
416 946 0114


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Completed install but page cannot be displayed

2007-10-16 Thread Peter Urban
Now that I am able to telnet to localhost 8080, when I try GET / HTTP/1.0 it
returns...

HTTP/1.1 400 No Host matches server name localhost
Server: Apache-Coyote/1.1
Date: Tue, 16 Oct 2007 16:03:01 GMT
Connection: close
Connection closed by foreign host.

Could this help explain why I am now seeing a blank page when I try to
access http://:8080 from a browser? Anything I can try?



-Original Message-
From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 16, 2007 12:55 AM
To: Peter Urban
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be displayed

Hi Peter,

Something to try to see if tomcat really is running:

What happens when you type:

telnet localhost 8080

If you get a message something like 'connection refused' then it sounds like
tomcat either isn't running, or is not listening on port 8080. Have you
looked at 'ps' to see if it is listed as a running process?

If the telnet command does work (you'll not see any output, just a blank
prompt) try typing:

GET / HTTP/1.0

And hit enter twice.

Hopefully this will return some HTML (the tomcat homepage). This would show
that tomcat is working.

If tomcat is working, it might be that your server is firewalled from your
computer running the browser. I don't know what a default Ubuntu firewall
config looks like, but assuming they give you one, it is possible (likely)
that a non-standard port such as 8080 is blocked by default, and you'll need
to unblock it.

Good luck!


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Completed install but page cannot be displayed

2007-10-16 Thread LeVan,Ralph
There are a couple of ways to tell if tomcat is running.

ps -eaf|grep tomcat

The first part gets you a list of everything that is running on your
machine.  (Plain ps as you entered it just gets you the stuff running in
your session.)  The second part filters that long list down to things
that have tomcat in them.  If that returns nothing except the grep
itself, try:

Ps-eaf|grep catalina

"catalina" is tomcats real name internally.

Those two things will tell you about processes.

The other trick is to go to the tomcat logs directory and see if you can
see tomcat starting up in its logs.  Typically, there is either a file
named catalina.out or catalina..log.  Inside them
you will either see a line like "Starting service Catalina" or you'll
see some sort of explanation for why tomcat didn't start.

If you don't see any logs in the /logs directory, you probably
never correctly issued the startup.sh script.

Ralph



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
Urban
Sent: Tuesday, October 16, 2007 10:38 AM
To: 'Stuart Lewis [sdl]'
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be
displayed

Thanks Stuart. When I try to telnet, I get 'telnet: Unable to connect to
remote host: Connection refused'.

When is run 'ps', I get:

  PID TTY  TIME CMD
 6367 pts/100:00:00 sh
 6369 pts/100:00:00 bash
 6399 pts/100:00:00 ps

Those results don't mean anything to me. Can you tell if Tomcat is
running?



 

-Original Message-
From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 12:55 AM
To: Peter Urban
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be
displayed

Hi Peter,

Something to try to see if tomcat really is running:

What happens when you type:

telnet localhost 8080

If you get a message something like 'connection refused' then it sounds
like
tomcat either isn't running, or is not listening on port 8080. Have you
looked at 'ps' to see if it is listed as a running process?

If the telnet command does work (you'll not see any output, just a blank
prompt) try typing:

GET / HTTP/1.0

And hit enter twice.

Hopefully this will return some HTML (the tomcat homepage). This would
show
that tomcat is working.

If tomcat is working, it might be that your server is firewalled from
your
computer running the browser. I don't know what a default Ubuntu
firewall
config looks like, but assuming they give you one, it is possible
(likely)
that a non-standard port such as 8080 is blocked by default, and you'll
need
to unblock it.

Good luck!


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_



On 15/10/07 23:33, "Peter Urban" <[EMAIL PROTECTED]> wrote:

> Thanks Christian.
> 
> When I run http://:8080, I get "Internet Explorer cannot 
> display the webpage". As best I can tell, Tomcat is running. I don't 
> know much more about Tomcat to be able to troubleshoot further on my 
> own. I get no errors when I start it using
> 
> sudo /etc/init.d/tomcat5.5 start
> 
> I installed Tomcat using Ubuntu's tomcat5.5 package. Initially, I had 
> an error during installation
> 
> * no JDK found - please set JAVA_HOME
> invoke-rc.d: initscript tomcat5.5, action "start" failed.
> dpkg: error processing tomcat5.5 (--configure):
>  subprocess post-installation script returned error exit status 1 
> Errors were encountered while processing:
>  tomcat5.5
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Then, I realized that I had JRE (j2re1.4), not JDK, so I installed 
> sun-java5-jdk package and reinstalled Tomcat. That seemed to work 
> fine. I don't see a catalina.sh. I looked for it in /usr/local/tomcat,

> but I have no tomcat folder in local. Did I do the Tomcat installation
wrong?
> 
> On to your other questions...
> 
> Yes ant-optional package is installed.
> 
> When I copy the dspace*.war files to the webapps directory, they do 
> not unpack. All I see are 2 war files, no dspace directory.
> 
> Thanks for your help so far.
> 
> -Peter
> 
> 
> 
> -Original Message-
> From: Christian Voelker [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 15, 2007 5:01 PM
> To: Peter Urban
> Cc: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Completed install but page cannot be 
> displayed
> 
> 
> Am 15.10.2007 um 21:39 schrieb Peter Urban:
> 
>> when we launch a browser and try to access the site usinng http:// 
>> :8080/dspace, we get a 'page cannot be displayed' message.
> 
> What do you get under http://:8080 ?
> The Tomcat Homepage? So, is Tomcat actually running?
> If not, stick with this pro

Re: [Dspace-tech] Completed install but page cannot be displayed

2007-10-16 Thread Peter Urban
Thanks again Ralph! I've mande some progress. Found this article -
http://cefn.com/blog/ubuntutomcat.html - that mentions a problem with Tomcat
installation using Ununtu's tomcat5.5 package. Looks like Tomcat was not
starting after all. Once I went through the recommended fix, I'm now getting
a blank page when going to http://:8080/dspace. At least there's
no error message. I see catalina.sh in the list of processes, so I guess
Tomcat is good now. Just have to figure out why I'm getting blank and not
Dspace.

P.S. What's the difference between using...

sudo /etc/init.d/tomcat5.5 start

...and...

sh /usr/share/tomcat5.5/bin/startup.sh

...to start Tomcat? I was using the former at first and wasn't seeing any
errors for startup.



-Original Message-
From: LeVan,Ralph [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 10:32 AM
To: Peter Urban; Stuart Lewis [sdl]
Cc: dspace-tech@lists.sourceforge.net
Subject: RE: [Dspace-tech] Completed install but page cannot be displayed

There are a couple of ways to tell if tomcat is running.

ps -eaf|grep tomcat

The first part gets you a list of everything that is running on your
machine.  (Plain ps as you entered it just gets you the stuff running in
your session.)  The second part filters that long list down to things that
have tomcat in them.  If that returns nothing except the grep itself, try:

Ps-eaf|grep catalina

"catalina" is tomcats real name internally.

Those two things will tell you about processes.

The other trick is to go to the tomcat logs directory and see if you can see
tomcat starting up in its logs.  Typically, there is either a file named
catalina.out or catalina..log.  Inside them you will
either see a line like "Starting service Catalina" or you'll see some sort
of explanation for why tomcat didn't start.

If you don't see any logs in the /logs directory, you probably never
correctly issued the startup.sh script.

Ralph



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Urban
Sent: Tuesday, October 16, 2007 10:38 AM
To: 'Stuart Lewis [sdl]'
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be displayed

Thanks Stuart. When I try to telnet, I get 'telnet: Unable to connect to
remote host: Connection refused'.

When is run 'ps', I get:

  PID TTY  TIME CMD
 6367 pts/100:00:00 sh
 6369 pts/100:00:00 bash
 6399 pts/100:00:00 ps

Those results don't mean anything to me. Can you tell if Tomcat is running?



 

-Original Message-
From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 16, 2007 12:55 AM
To: Peter Urban
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be displayed

Hi Peter,

Something to try to see if tomcat really is running:

What happens when you type:

telnet localhost 8080

If you get a message something like 'connection refused' then it sounds like
tomcat either isn't running, or is not listening on port 8080. Have you
looked at 'ps' to see if it is listed as a running process?

If the telnet command does work (you'll not see any output, just a blank
prompt) try typing:

GET / HTTP/1.0

And hit enter twice.

Hopefully this will return some HTML (the tomcat homepage). This would show
that tomcat is working.

If tomcat is working, it might be that your server is firewalled from your
computer running the browser. I don't know what a default Ubuntu firewall
config looks like, but assuming they give you one, it is possible
(likely)
that a non-standard port such as 8080 is blocked by default, and you'll need
to unblock it.

Good luck!


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_



On 15/10/07 23:33, "Peter Urban" <[EMAIL PROTECTED]> wrote:

> Thanks Christian.
> 
> When I run http://:8080, I get "Internet Explorer cannot 
> display the webpage". As best I can tell, Tomcat is running. I don't 
> know much more about Tomcat to be able to troubleshoot further on my 
> own. I get no errors when I start it using
> 
> sudo /etc/init.d/tomcat5.5 start
> 
> I installed Tomcat using Ubuntu's tomcat5.5 package. Initially, I had 
> an error during installation
> 
> * no JDK found - please set JAVA_HOME
> invoke-rc.d: initscript tomcat5.5, action "start" failed.
> dpkg: error processing tomcat5.5 (--configure):
>  subprocess post-installation script returned error exit status 1 
> Errors were encountered while processing:
>  tomcat5.5
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Then, I realized that I had JRE (j2re1.4), not JDK, so I installed 
> sun-java5-jdk package and reinstalled Tomcat. That seemed to 

Re: [Dspace-tech] Completed install but page cannot be displayed

2007-10-16 Thread Peter Urban
Thanks Stuart. When I try to telnet, I get 'telnet: Unable to connect to
remote host: Connection refused'.

When is run 'ps', I get:

  PID TTY  TIME CMD
 6367 pts/100:00:00 sh
 6369 pts/100:00:00 bash
 6399 pts/100:00:00 ps

Those results don't mean anything to me. Can you tell if Tomcat is running?



 

-Original Message-
From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 16, 2007 12:55 AM
To: Peter Urban
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Completed install but page cannot be displayed

Hi Peter,

Something to try to see if tomcat really is running:

What happens when you type:

telnet localhost 8080

If you get a message something like 'connection refused' then it sounds like
tomcat either isn't running, or is not listening on port 8080. Have you
looked at 'ps' to see if it is listed as a running process?

If the telnet command does work (you'll not see any output, just a blank
prompt) try typing:

GET / HTTP/1.0

And hit enter twice.

Hopefully this will return some HTML (the tomcat homepage). This would show
that tomcat is working.

If tomcat is working, it might be that your server is firewalled from your
computer running the browser. I don't know what a default Ubuntu firewall
config looks like, but assuming they give you one, it is possible (likely)
that a non-standard port such as 8080 is blocked by default, and you'll need
to unblock it.

Good luck!


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Aberystwyth  Aberystwyth University

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_



On 15/10/07 23:33, "Peter Urban" <[EMAIL PROTECTED]> wrote:

> Thanks Christian.
> 
> When I run http://:8080, I get "Internet Explorer cannot 
> display the webpage". As best I can tell, Tomcat is running. I don't 
> know much more about Tomcat to be able to troubleshoot further on my 
> own. I get no errors when I start it using
> 
> sudo /etc/init.d/tomcat5.5 start
> 
> I installed Tomcat using Ubuntu's tomcat5.5 package. Initially, I had 
> an error during installation
> 
> * no JDK found - please set JAVA_HOME
> invoke-rc.d: initscript tomcat5.5, action "start" failed.
> dpkg: error processing tomcat5.5 (--configure):
>  subprocess post-installation script returned error exit status 1 
> Errors were encountered while processing:
>  tomcat5.5
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Then, I realized that I had JRE (j2re1.4), not JDK, so I installed 
> sun-java5-jdk package and reinstalled Tomcat. That seemed to work 
> fine. I don't see a catalina.sh. I looked for it in /usr/local/tomcat, 
> but I have no tomcat folder in local. Did I do the Tomcat installation
wrong?
> 
> On to your other questions...
> 
> Yes ant-optional package is installed.
> 
> When I copy the dspace*.war files to the webapps directory, they do 
> not unpack. All I see are 2 war files, no dspace directory.
> 
> Thanks for your help so far.
> 
> -Peter
> 
> 
> 
> -Original Message-
> From: Christian Voelker [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 15, 2007 5:01 PM
> To: Peter Urban
> Cc: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] Completed install but page cannot be 
> displayed
> 
> 
> Am 15.10.2007 um 21:39 schrieb Peter Urban:
> 
>> when we launch a browser and try to access the site usinng http:// 
>> :8080/dspace, we get a 'page cannot be displayed' message.
> 
> What do you get under http://:8080 ?
> The Tomcat Homepage? So, is Tomcat actually running?
> If not, stick with this problem. Can you start it manually using 
> catalina.sh? If this is not your issue, did you get any error msgs 
> during your ant fresh-install? (ant-optional pkg is installed?).
> Does your automatic deployment work properly? So, if you drop your 
> dspace.war into the webapps dir, does it get unpacked to a dspace 
> subdir to the webapps dir? You are not yet at the point where the 
> trouble with the database and the jdbc connector usually starts ;-) - 
> no, sorry, I did not say that, I do not want you to shy away. There is 
> really no reason to do so, just work through it step by step with 
> getting tomcat up and running being the very first of them.
> 
> Bye, Christian
> 
> 
> --
> --- This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/ 
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech


--

Re: [Dspace-tech] Advanced search problems

2007-10-16 Thread Andrea Bollini
Only for future references
On the wiki I have make a simple page for use Luke with DSpace Index:
http://wiki.dspace.org/index.php/Debug_lucene_query
Best
Andrea

Tim Donohue ha scritto:
> Shane,
>
> That is odd...
>
> Have you double-checked all your log files, to make sure you're not 
> getting any errors underneath after performing a search?   So, checking 
> the [dspace]/log/dspace.log and your Tomcat log file (e.g. 
> [tomcat]/logs/catalina.out)
>
> If there's nothing strange in the log files after a search, you may also 
> want to rerun your 'index-all', and check the logs after re-indexing (to 
> make sure the indexer isn't running into strange issues).
>
> If nothing strange is happening in your logs, the next step you could 
> take is to see what Lucene (underlying DSpace search engine) is actually 
> indexing underneath.  A good tool for this is Luke 
> (http://www.getopt.org/luke/).  You can point Luke at your 
> [dspace]/search/ directory (where the DSpace Lucene Index is), and it 
> will tell you all the documents you have indexed, and let you perform 
> some basic browsing or searches directly against Lucene.
>
> However, I will admit, Luke does not have the *easiest* interface to 
> understand.  You'd mostly want to look at the "Documents" tab, to see 
> all the documents Lucene indexed, and see if you can browse-by your 
> custom field.
>
> Hopefully this gives you a few more things to look at.  Let us know if 
> you figure out what is going on!
>
> - Tim
>
> Shane Beers wrote:
>   
>> Unfortunately (or perhaps fortunately, as I would feel pretty dumb if 
>> that was the problem) that was just a typo on my own part in the email - 
>> not in dspace.cfg
>>
>> I'm still at a loss...
>>
>> Shane Beers
>> Digital Repository Services Librarian
>> George Mason University
>> [EMAIL PROTECTED] 
>> 703-993-3742
>> On Oct 12, 2007, at 3:23 AM, Claudia Jürgen wrote:
>>
>> 
>>> Hi Shane,
>>>
>>> if this is a cut'n paste of your changes you simply got a typo there,
>>>   
 search.index.13 = edt_disc:thesis.degree.discipline
 
>>> should be
>>> search.index.13 = etd_disc:thesis.degree.discipline
>>>
>>> sunny greetings
>>>
>>> Claudia
>>>
>>>
>>> Shane Beers schrieb:
>>>   
 I am having issues with my search results when using the advanced 
 search in our archive. I have added the "thesis" metadata schema to 
 handle ETD documents, and these documents work great normally. I have 
 edited the dspace.cfg to add:
 search.index.13 = edt_disc:thesis.degree.discipline
 Following that, I edited the advanced.jsp in  to add 
 the appropriate element, with the following section in each of the 
 three search box areas:
 >>> "selected=\"selected\"\"" : "" %> key="jsp.search.advanced.type.etd_disc"/>
 And then added in the appropriate element in Messages.properties, 
 rebuilt, reindexed and all that.
 The field appears correctly, but when searching for terms that I know 
 are there, I get no results. Additionally, a strange thing happens 
 when no results are found that does not happen with any other search 
 field - all 3 search boxes switch to "Degree Discipline" (the term I 
 used in Messages.properties). This is just something I noticed that 
 may help in a diagnosis.
 I'm not certain if I'm missing something or not, but I would really 
 like this search index to function correctly.
 Shane Beers
 Digital Repository Services Librarian
 George Mason University
 [EMAIL PROTECTED] 
 703-993-3742
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now >> http://get.splunk.com/
 
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net 
 
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
>>
>>
>>
>>
>> 
>>
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>>
>>
>> 
>>
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https

[Dspace-tech] email custamization in Dspace

2007-10-16 Thread Shali 9846303531
Dear sir,

The default email for the subscriber is

New items are available in the collections you have subscribed to:

New items in collection Computer Science: 1

 Title: test DJVU
   Authors: test
ID: http://hdl.handle.net/123456789/797
 e
i didn't configure the handle server how can remove the ID:
http://hdl.handle.net/123456789/797 form all subscription mails.


-- 
Shali.K.R
Asst.Librarian(Digital)
Vidya Academy of Science & Technology
Thrissur, Kerala.
Mob:9846303531
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Am not able to create a new user ....

2007-10-16 Thread Claudia Jürgen
Hi Roopal,

could you provide more details, check your logs at 
[dspace-installation]/log.

Are you sure you that your mail-server settings are correct?
Especially the smtp server. Please check your dspace.cfg for these settings:
# SMTP mail server
mail.server=YourSMTPServer

# SMTP mail server authentication username and password (if required)
# mail.server.username = myusername
# mail.server.password = mypassword

# SMTP mail server alternate port (defaults to 25)
# mail.server.port = 25


hope that helps

Claudia Jürgen
University of Dortmund





roopal oswal schrieb:
> Hi All,
> i have installed Dspace on my windows -xp.I am able to login as a 
> administrator but not able to register as a new user.
> Whenever i try doing it, an error pops out saying "Internal system Error". 
> how do i go ahead now?
> Regards,
> Roopal
> 
> 
>   Chat on a cool, new interface. No download required. Go to 
> http://in.messenger.yahoo.com/webmessengerpromo.php
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 
> 
> 
> 
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Am not able to create a new user ....

2007-10-16 Thread roopal oswal
Hi All,
i have installed Dspace on my windows -xp.I am able to login as a administrator 
but not able to register as a new user.
Whenever i try doing it, an error pops out saying "Internal system Error". how 
do i go ahead now?
Regards,
Roopal


  Chat on a cool, new interface. No download required. Go to 
http://in.messenger.yahoo.com/webmessengerpromo.php-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech