AnsweredAssumed Answered

Virtual Server start problem !!

Question asked by g_rathod on Sep 10, 2008
Latest reply on Mar 26, 2010 by tejaswini
Hi Friends,

I am getting problem while starting virtual_alf.sh ( Virtual server) on linux (Cent Os) alfresco version 2.2.0

When I start that I will showing me Exceptions like Address Already bound 8080,
its reason tells that you already have alfresco instance running…

But I did following steps.. :

1) stop alfresco ( ./alfresco.sh stop)
2) stop virtual server( ./virtual_alf.sh stop)

3) start alfresco (./alfresco.sh start)
4) start vitual server ( ./virtual_alf.sh start)

When I perform step 4) I found following error on main tomcat console:
SEVERE: StandardServer.await: create[8005]: 
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at org.apache.catalina.core.StandardServer.await(StandardServer.java:363)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:616)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
        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:295)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

it seems both tomcat and virtual tomcat used same port. How do I change it ?  plz help me asap.

Thanks

Outcomes