Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ports 8080 vs 8081 conflict  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I use the port 8080 and localhost for running Jenkings. It works fine. On the other hand, in my local I have created a webapp, and I use Tomcat in the port 8081, but when I run it, I just get a white screen.

This is the output in the console:



Any idea, please?

Regards, Isaac
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16007
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does it have anything to do with Jenkins - if you stop / don't run Jenkins, do you still get just a white screen when you run your own webapp, or does it then work?

Tomcat has a number of log files in the 'logs' directory. Have a look in those log files if you can find error messages there that might give a hint about what's wrong.

It looks like you are running a JSF application. Tomcat by default does not have support for JSF, you'll need to add the appropriate libraries and configuration to make it work.
 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With Jenkins stopped, it doesnt works opening in a new tab. I have to check using this URL :



I get a white screen.


It looks like you are running a JSF application. Tomcat by default does not have support for JSF, you'll need to add the appropriate libraries and configuration to make it work.


I added them.

In the logs there is anything relevant because, there is not error.

 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have solved it, downloading the Netbeans 8.1 instead of the old 8.0 version, and I have not imported my old config.

It looks that it was related to the config.

Regards, Isaac
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!