cancel
Showing results for 
Search instead for 
Did you mean: 

Virtual Server start problem !!

g_rathod
Star Contributor
Star Contributor
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
3 REPLIES 3

norgan
Champ in-the-making
Champ in-the-making
Good day, G_rathod,
[EDIT]
you do not nexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.

forget what i said *slaps himsels*

Regards, Norgan

g_rathod
Star Contributor
Star Contributor
Hi Norgan,

Thanks for your reply.

as per your suggestion I did start  virtual_alf.sh only.

although I am getting following:


15:26:37,751 WARN  [web.config.ClientConfigElement] Virtualisation Server not started - reverting to default IP: 127-0-0-1.ip.alfrescodemo.net
15:26:37,752 WARN  [web.config.ClientConfigElement] Virtualisation Server not started - reverting to default port: 8180

What is exact solution for this..? Do I need to change port anywhere? if yes.. kindly can you show me steps..as I am not much aware in linux commands..

Thanks,

tejaswini
Champ in-the-making
Champ in-the-making
hi all
   i am not able to start the virtual tomcat and it has been told to edit property in virtual_alf.sh file but i am not having that.i am having 3.2r version. when i click on virtual_start.bat it just blink and goes off.what is the problem ? i am not getting the exceptions also.

  my alfresco is as
       c:/Alfresco/tomcat/
       c:/Alfresco/virtual_tomcat/
  do anybody knows how to start the server?
  thanks in advance….