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

0

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: 5 years 5 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 - 5 years 5 months ago

5 Answers:

0

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
4026
Joined: Jul 7 2014 - 8:52am
Last seen: 2 years 8 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 - 5 years 5 months ago
0

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
4026
Joined: Jul 7 2014 - 8:52am
Last seen: 2 years 8 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 - 5 years 5 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 - 5 years 5 months ago
-1

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
54688
Joined: Apr 24 2010 - 4:31pm
Last seen: 6 months 1 week 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 - 5 years 5 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 - 5 years 5 months ago
kongzaohui123 - 2 years 2 months ago
2

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
55
Joined: May 20 2014 - 10:59am
Last seen: 5 years 1 month ago
2

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
12175
Joined: Nov 17 2011 - 2:07pm
Last seen: 4 years 7 months ago
Feedback