Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

running bamboo in vmware windows guest: unable to connect to http://localhost:8085

Mattijs de Groot June 12, 2015

Hi,

I just installed bamboo on a Windows 8.1 guest OS running in vmware fusion on my mac. After following the installation guide I execute:

C:\Program Files\Bamboo>bin\start-bamboo.bat

The output is only:

To run Bamboo in the foreground, start the server with start-bamboo.bat /fg

Bamboo Server Edition    Version : 5.9.0

No logs are created and I cannot connect to localhost:8085

If don't think that Bamboo is properly running.

Does anybody know what can be wrong?

4 answers

0 votes
Darshan Kadia September 9, 2015

Actually Bamboo can not find your JAVA_HOME path so please make it correct.
and then try 

0 votes
Mattijs de Groot June 15, 2015

Thanks for the tip, but that is not the issue here because that JRE_HOME is
used only on my osx host OS an as I said that works as expected. It is the
Bamboo on the Windows guest OS that does not start properly.

Hope this can be fixed.

Mattijs

rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 15, 2015

Please, raise a "Support Request" under "Bamboo Administration >> System >> Atlassian Support Tools" and comment on this "https://answers.atlassian.com/questions/17441071/running-bamboo-in-vmware-windows-guest-unable-to-connect-to-httplocalhost8085-"; so we can follow it up.

Mattijs de Groot June 15, 2015

Sorry, I don't understand. Where do I find Bamboo Administration >> System >> Atlassian Support Tools? You don't mean in the Bamboo server that is not running?

Mattijs de Groot June 15, 2015

Solved it! Sorry for the confusion. My JAVA_HOME environment variable was pointing to C:\Progra~1\Java\jdk1.8.0_45\bin instead of C:\Progra~1\Java\jdk1.8.0_45

0 votes
Mattijs de Groot June 12, 2015

Hi Rafael,

Thanks for your response.

  • "ping localhost" responds correctly with "Reply from ::1: time<1ms"
  • "telnet localhost 8085" yields: "Connecting To localhost...Could not open connection to the host, on port 8085: Connect failed"
  • as I wrote in my question the "<bamboo-install>/logs" directory is completely empty. There are no logs generated at all. That's why I suspect somehow the "start-baboo.bat" does not fully start the bamboo server. When I install Bamboo on my OSX host and run "start-bamboo.sh" the output is much more verbose:
    "

    To run Bamboo in the foreground, start the server with start-bamboo.sh -fg

    Server startup logs are located in /Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1/logs/catalina.out

    Bamboo Standalone Edition

       Version : 5.8.1

                     

    Detecting JVM PermGen support...

    PermGen switch is supported. Setting to 256m

    If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at https://confluence.atlassian.com/display/BAMBOO/Installing+and+upgrading+Bamboo

    Using CATALINA_BASE:   /Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1

    Using CATALINA_HOME:   /Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1

    Using CATALINA_TMPDIR: /Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1/temp

    Using JRE_HOME:        /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

    Using CLASSPATH:       /Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1/bin/bootstrap.jar:/Users/mdgroot/Bamboo/atlassian-bamboo-5.8.1/bin/tomcat-juli.jar"

    On the mac the following logs are created on startup:

    • access_log.2015-06-13

    • host-manager.2015-06-13.log

    • catalina.2015-06-13.log

    • localhost.2015-06-13.log

    • catalina.out manager.2015-06-13.log

       

  • Here's an exerpt from "netstat -ab":
    Active Connections

    Proto  Local Address          Foreign Address        State
      TCP    0.0.0.0:135            XXX-XXXXXXXXXX:0      LISTENING
      RpcSs
     [svchost.exe]
      TCP    0.0.0.0:445            XXX-XXXXXXXXXX:0      LISTENING
     Can not obtain ownership information
      TCP    0.0.0.0:554           
    XXX-XXXXXXXXXX:0      LISTENING
     [wmpnetwk.exe]

    .....

      TCP    127.0.0.1:5939         XXX-XXXXXXXXXX:0      LISTENING
     [TeamViewer_Service.exe]
      TCP    127.0.0.1:5939         XXX-XXXXXXXXXX:49259  ESTABLISHED
     [TeamViewer_Service.exe]
      TCP    127.0.0.1:49156       
    XXX-XXXXXXXXXX:49157  ESTABLISHED

    "

    But there is no localhost:8085.

 

Hope this information helps to track  down the problem.

 

Thanks in advance,

Mattijs 

 

rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 15, 2015

Hello Mattijs, Please, upgrade Java as "Using JRE_HOME: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" is no longer supported by Bamboo v5.8.1 according to our documentation. https://confluence.atlassian.com/display/BAMBOO/Supported+platforms — Kind regards, Rafael P. Sperafico Atlassian Support

0 votes
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 12, 2015

Hello Mattijs,

Thank you for your question.

  • does "ping localhost" gets resolved?
  • are you able to "telnet localhost 8085" successfully?
  • are there any errors being thrown in "<bamboo-install>/logs"?
  • is there any firewall in place? Please, run "netstat -ab" and make sure port number 8085 is listening

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events