Sun Nov 20 19:45:56 2005
Ticket #658
shutdown errors from tomcat, general install troubles
Priority: | normal | Reporter: | douglas <[email protected]> |
---|---|---|---|
Severity: | block | Assigned to: | anonymous |
Component: | Business Logic (general) | Status: | new |
Version: | 2.0 | Resolution: | |
Milestone: | 2.0 | Keywords: |
Description by douglas <[email protected]>:
I’m trying to install Cream 2.0 on my Ubuntu system, but am unable to get it to start up. I’ve correctly installed the JDK, Tomcat and Postgres, and have successfully imported the Cream tables, but am unable to bring up the Cream login page at either localhost:8080/cream or localhost:8080/cream/webapps/cream.
I tried restarting Tomcat, but got the following error:
root@douglas:/opt/jakarta-tomcat-4.1.31/bin# ./shutdown.sh Using CATALINA_BASE: /opt/jakarta-tomcat-4.1.31 Using CATALINA_HOME: /opt/jakarta-tomcat-4.1.31 Using CATALINA_TMPDIR: /opt/jakarta-tomcat-4.1.31/temp Using JAVA_HOME: /opt/SUNWappserver/jdk/ Catalina.stop: java.net.ConnectException: Connection refused java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364) at java.net.Socket.connect(Socket.java:507) at java.net.Socket.connect(Socket.java:457) at java.net.Socket.<init>(Socket.java:365) at java.net.Socket.<init>(Socket.java:178) at org.apache.catalina.startup.Catalina.stop(Catalina.java:532) at org.apache.catalina.startup.Catalina.execute(Catalina.java:352) at org.apache.catalina.startup.Catalina.process(Catalina.java:129) 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.main(Bootstrap.java:156)
This is a common error when you try to shutdown Tomcat which doesn’t run. So your problem is with starting Tomcat. In general there is no problem with the Ububntu because I use it on my local machine. Please take a look on the Tomcat logs from "Tomcat installlation/logs" directory.