tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Filchak <sub...@zuka.net>
Subject Re: Basic Java questions
Date Thu, 14 May 2009 20:26:58 GMT
Ken Bowen wrote:
> Below...
>
> On May 14, 2009, at 2:49 PM, Dave Filchak wrote:
>
>> ls -l /opt/java/bin/java
>> -rwxr-xr-x  1 root root 50810 Mar  9 15:37 /opt/java/bin/java
>
> Per my earlier message, this is (part of) your problem.  
> /opt/java/bin/java is an executable, but what should be on your path 
> is a directory where the executable can be found.  So 
> /opt/java/bin/java should be shortened to /opt/java/bin on your path.
OK, my path now reads:

/opt/java/bin/:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/java/jdk1.6.0_13/bin:/root/bin

but still, when I run the exodus app, I get a Server unavailable error. 
Then, when I run netstat -o, it shows nothing of the ports I had set up 
previously (changed tomcat port to 8081 and the connector port to 8010). 
I still show a huge amount of connections on 8009, which is not even in 
the tomcat configuration anymore.

When I look at catalina.out it shows:

May 14, 2009 4:08:05 PM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start:
LifecycleException:  service.getName(): "Catalina";  Protocol handler 
start failed: java.net.BindException: Address already in use<null>:8081
    at org.apache.catalina.connector.Connector.start(Connector.java:1138)
    at 
org.apache.catalina.core.StandardService.start(StandardService.java:531)
    at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
May 14, 2009 4:08:05 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2124 ms


So, I think I want to remove all instances on java and tomcat and 
re-install.

Any suggestions about how to remove all of this stuff cleanly?

Dave






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message