![](http://content.invisioncic.com/i328763/set_resources_3/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
benhur99ph
-
Posts
5 -
Joined
-
Last visited
Content Type
Forum
Downloads
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Events
Profiles
Posts posted by benhur99ph
-
-
Hey! I've been using the iReport plugin for Netbeans and I'm really stuck. I want to make a Java project that when the user presses a button, the report will be shown. I've seen a demo of this but I need more detailed instructions. Like what code do I need to connect it to the database ..... Sorry, I'm really new to JAVA. Thanks! Any help is appreciated.
-
Hello! I am using jasperserver2.1 on ubuntu 7.10 linux. My question is where do I paste the .jar drivers so that I can connect to my database. I tried to connect to mysql since I installed the one bundled but when I test the conncetion when I create my data source it shows "failed". I also try to connect to another database in our network. This time its an Ingres database, and I know that I need to paste the iijdbc.jar file on to a folder inside the jasperserver directory. I just don't know which folder.
thanks!
-
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.
-
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)
multi-select input fails but single-select is fine
in Products
Posted
How did you do it exactly? When I changed the parameter class type to java.util.Collection .... when I compile the report, it says "Cannot cast from Integer to Collection".
The multi-select is the only input type that I'm having trouble using .... and it is just what I need. Help please.
Thanks!