Server not found/ 404 error when trying to login to jasper server

I have installed Jasper server with bundled tomcat and pgsql by default values. When I start service and try to login by localhost, I get the error "Server not found". Can someone please guide how to start and work on it?

arindam.dan's picture
Joined: Jul 14 2014 - 5:29am
Last seen: 8 years 8 months ago

Hi, Please could you check the port number, by default it installs on port 8080, but if you have something running on this port already it may have installed on another port. You could check the installation.log search for "START: wait for port", this should display the port number it was installed on. Also check the properties.ini file.

Also test the URL it should be something like "http://localhost:8080/jasperserver-pro/login.html", any mistakes in this and it will give an error .. 

Thanks

emistry - 8 years 8 months ago

6 Answers:

Hi, Please could you check the port number, by default it installs on port 8080, but if you have something running on this port already it may have installed on another port. You could check the installation.log search for "START: wait for port", this should display the port number it was installed on. Also check the properties.ini file.

Also test the URL it should be something like "http://localhost:8080/jasperserver-pro/login.html", any mistakes in this and it will give an error .. 

Thanks

emistry's picture
7186
Joined: Jul 7 2014 - 8:52am
Last seen: 5 years 12 months ago

I have already checked the port . It is installed in 8080 port but the above url is not working for me- i am receiving an error " Server not found"

arindam.dan - 8 years 8 months ago

Thanks for checking the port, also it maybe worth checking that localhost is pointing to your machine. 'localhost' should be an entry in your hosts file that points to 127.0.0.1. 

To make sure you do not have this discrepancy please could you test this URL .. http://127.0.0.1:8080/jasperserver-pro/login.html

 

emistry's picture
7186
Joined: Jul 7 2014 - 8:52am
Last seen: 5 years 12 months ago

I have tried it. I am receiving this error page

HTTP Status 404 - /jasperserver-pro/login.html

type Status report

message /jasperserver-pro/login.html

description The requested resource is not available.
Apache Tomcat/7.0.42

arindam.dan - 8 years 8 months ago

if i provide only http://127.0.0.1:8080/ i am able to see the tomcat running but it cannot locate resources/pages. What is the solution?

arindam.dan - 8 years 8 months ago

Are you running on Windows? Are you sure your JasperReport Server is actually running?

Try opening just the Tomcat top page. If this doesn't open, your JasperReport Server is not running.

http://localhost:8080

hozawa's picture
170701
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago

Yes, on windows. The tomcat top page is opening so jasperreport server is running but it is unable to open any pages.( e.g : index.htm or login.html) inside it.

arindam.dan - 8 years 8 months ago

Have you tried opening up the Tomcat Manager? If you get 401 error, follow the instruction on the error page. Check if JasperReports in running from the Application page of the manager. If it is, just click on the link (to the left side of the page)
http://localhost:8080/manager

hozawa - 8 years 8 months ago
kongzaohui123 - 5 years 6 months ago

Here are some things to check if you are running Windows.

1. Make sure Postgres is also running. 

2. Postgres installs on port 5432. Make sure your virus protection and/or Windows firewall have not blocked that port.

3. I know this may be silly but are you sure you installed the Pro version? try http://127.0.0.1:8080/jasperserver - (without the login.htm). This should redirect you to the login page.

 

Good luck.

 

 

bob_8's picture
427
Joined: May 20 2014 - 10:59am
Last seen: 8 years 4 months ago

OK, your Tomcat is running but the jasperserver application likely did not launch correctly. 

1. Check <tomcat-install-dir>/logs/catalina.out and look for any errors on startup.

2. Enable the Manager app or PSI Probe (my preference, see http://community.jaspersoft.com/wiki/psi-probe-replacement-tomcat-manager) and check to see if the jasperserver app is running.

Let us know what you find.

rmiller's picture
22181
Joined: Nov 17 2011 - 2:07pm
Last seen: 7 years 11 months ago

Hi guys,

I am writing you from a far future. After trying every suggestion on this page I decided to write that none works. I am using Windows 11, Tomcat is running but I am still getting HTTP Status 404 - not found on http://localhost:8080/jasperserver

As a software developer I cannot imagine that someone delivers software that doesn't even start after installing it.

Why is in Java world everything so complicated? "just extract those files and run 10 scripts after that to do setup - it should work" yeah, sure

Cheers

 

duro.hornjak's picture
Joined: Mar 1 2023 - 2:04am
Last seen: 1 week 3 days ago
Feedback
randomness