• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ports 8080 vs 8081 conflict

 
Ranch Hand
Posts: 1402
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Angus Ferguson
Ranch Hand
Posts: 1402
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Angus Ferguson
Ranch Hand
Posts: 1402
3
Netbeans IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic