Jump to content

error viewing a report


benhur99ph

Recommended Posts

Hi! I have a question. I recently installed jasperserver on my fedora 8. and I have successfully added a data source (test connection shows its successful). I can also upload reports. But when I try to view the reports that I have uploaded, there is an error message saying PAGE NOT FOUND. After trying to refresh the page nothing happens. Then I try to restart jasperserver using the ./jasperctl.sh restart command. When I stop jasperserver this shows on the commandline:

 

 

SEVERE: Catalina.stop:

java.net.ConnectException: Connection refused

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

at java.net.Socket.connect(Socket.java:516)

at java.net.Socket.connect(Socket.java:466)

at java.net.Socket.<init>(Socket.java:366)

at java.net.Socket.<init>(Socket.java:179)

at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:343)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:434)

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

It is up and running when I click on the report name to view it. For you to have a better idea on what steps I did, I'll try to describe it as briefly as I can.

 

1. I run jasperserver through the commandline. (./jasperctl.sh start)

 

2. I open jasperserver on my web browser and log-in.

 

3. I go to manage>repositories>data source and add my own data source. (Test shows connection successful)

 

4. I go to manage>repositories>reports and add a new jasperserver report.(I upload my jrxml files, specify which data source to use and save it.)

 

5. Its all working well up to this point. After adding saving the new report which I have uploaded, it takes me back to the list of reports and I see the title of the report that I have just added.

 

6. I click on the title of the report to view it then this happens:

-------------------------------------------------------------

Unable to connect

Firefox can't establish a connection to the server at 192.168.1.220:8080.

 

* The site could be temporarily unavailable or too busy. Try again in a few moments.

 

* If you are unable to load any pages, check your computer's network connection.

 

* If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

-------------------------------------------------------------

 

7. When I try to reload jasperserver on my browser I get the same error so I try to restart jasperserver via the command line.

 

8. When I type ./jasperctl.sh stop, this error shows:

 

-------------------------------------------------------------

SEVERE: Catalina.stop:

 

java.net.ConnectException: Connection refused

 

at java.net.PlainSocketImpl.socketConnect(Native Method)

 

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

 

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

 

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

 

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

 

at java.net.Socket.connect(Socket.java:516)

 

at java.net.Socket.connect(Socket.java:466)

 

at java.net.Socket.<init>(Socket.java:366)

 

at java.net.Socket.<init>(Socket.java:179)

 

at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394)

 

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

 

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

 

at java.lang.reflect.Method.invoke(Method.java:585)

 

at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:343)

 

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:434)

-------------------------------------------------------------

 

Please, anyone, help. I really need to get it fixed. Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...