Hello Geetha

Backup /etc/hosts file

Then sure that the following line appears in your /etc/hosts file:

127.0.0.1    localhost

Change the above line , it might work

Then reboot to get rid of your running instances and try it all again.


*--
Best Regards
Hardik Mishra
Software Engineer

http://bit.ly/uJ60P - Join Us on Facebook
http://www.twitter.com/webinito - Follow us on Twitter

Give a man a fish, and you feed him for a day. Teach a man to catch fish and
you feed him for a lifetime.*



Message: 4
Date: Wed, 18 Nov 2009 14:33:07 +0530
From: Geetha Rao <iictdsp...@gmail.com>
Subject: [Dspace-tech] Problem with Tomcat
To: dspace-tech-requ...@lists.sourceforge.net,
       dspace-tech@lists.sourceforge.net
Message-ID:
       <a034a240911180103j7dec2046rb0802fb6681b5...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,
  I have installed Dspace 1.5 on Redhat Linux. We have used Tomcat 6.It
worked properly earlier. Recently we have changed the hostname. Now we are
facing the problem with tomcat.  While shutting down the tomcat, it is
dispalying the following error.


java.net.UnknownHostException: localhost: localhost
     at java.net.InetAddress.
getAllByName0(InetAddress.java:1145)
     at java.net.InetAddress.getAllByName(InetAddress.java:1072)
     at java.net.InetAddress.getAllByName(InetAddress.java:1008)
     at java.net.InetAddress.getByName(InetAddress.java:958)
     at
org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
     at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 18, 2009 12:41:00 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Nov 18, 2009 12:41:01 PM org.apache.catalina.core.StandardService stop

Do we need to change the hostname anywhere else.How can we resolve this
problem.
Thanks for any help.

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

Reply via email to