If you're seeing this, you've successfully installed Tomcat. Congratulations!

Asha shared this question 8 months ago
Answered

While trying to login to the web console using the below link, an error is occurring. Could you please ASAP.


http://localhost/8080/


/D42YJ3+ONWVeAAAAAElFTkSuQmCC

Comments (5)

photo
1

Hi Asha,

could you please send us all of the log files in the folder <yellowfin>\appserver\logs.

And also could you please send us the installation log which you will find in the top folder <yellowfin>.

thanks,

David

photo
1

Hi David,


Please find the attached files which you asked for.


Thanks,

Asha G

photo
photo
1

Hi Asha,

thanks for the logs, I can see the following error in the catalina log file:

04-Jun-2018 14:46:22.294 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
04-Jun-2018 14:46:22.334 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"]
 java.net.BindException: Address already in use: bind

and what that means is that when you started up Yellowfin it wanted to use 8080 as the connector port but it wasn't able to because another application was already using it and running at the same time.

And going by your first screen shot, that 2nd application that is also using 8080 is standalone instance of Apache Tomcat. You do not need this extra Tomcat running because Yellowfin comes with its own Tomcat.


There are a few things you can do now to rectify this situation:

- You can just shut down that other Tomcat. Once you have done this, you can confirm whether port 8080 is free by running the command netstat -ant | more in a command prompt and make sure that 8080 is not listed there

/Zi3Ui6qMjpgAAAABJRU5ErkJgggA=


- Or if you can't shut it down because you have another web app that needs it then you could either: change the 8080 port to another value in the other Tomcat, or change the 8080 in Yellowfin's Tomcat (by modifying <yellowfin>\appserver\conf\server.xml).


- Or you could also choose to run Yellowfin in that other Tomcat instead of the Yellowfin Tomcat.


I hope that helps you, please let me know how you get on with this.

regards,

David

photo
1

Hi David,


It worked.. Thank you so much.. :)

photo
1

Hi Asha,


that's great to hear, thanks for letting me know!


regards,


David

photo