I had recently started a server using /startServer.sh and everything was perfect. Suddenly, there was a power failure here and my os shut down. After booting up, when I tried running ./startServer.sh again, it hangs at:

[INFO] Press Ctrl-C to stop the container...

As a result, I am not able to get the server started again. I really don't know the cause, but I would greatly appreciate any guidance. I have a mac osx 10.6 am using Tomcat and MySQL (running as a daemon). Thanks!

link|improve this question

Paste your startServer.sh into pastbin and insert link here. Also post the entire output when running ./startServer.sh. Did you check to see it is already running? – quanta Aug 31 '11 at 10:00
feedback

1 Answer

up vote 1 down vote accepted

I found the problem: when I restarted my mac, my IP address changed. So I had to modify pom.xml to point to the new ip address. Which means that the server was always running- its just that I was checking out the wrong IP address. Thanks for your help, and sorry for the any wasted.

link|improve this answer
1  
Sweet when you figure it out on your own, eh ??? +1 !!! – RolandoMySQLDBA Aug 31 '11 at 17:36
haha, yeah! you end up feeling quite silly once you figure it out too. – OckhamsRazor Sep 2 '11 at 3:57
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.