tkmbe Posted November 14, 2011 Share Posted November 14, 2011 HelloI'm very new to the whole jsaper stuff but I seems realy great!!I've created a report from an external mysql db with ireport. This works nice.But I want to use some input parameter etc. and so it seems this can be done exactly with jasperreports-server.Now the manual/samples always use the internal db ...I have no idea how can I use an report which is store in the internal db but use datas for the report from my remote mysql db :-( Where can I get such infos? Have found nothing in the manuel ... Greetings and thanks for any hint Beat Link to comment Share on other sites More sharing options...
raylee Posted November 15, 2011 Share Posted November 15, 2011 To connect to other databases such as your mysql db, you'll need to create a data source in jasper server. When deploying your report, there's a screen where you select the report's data source. Select the datasource created in jasper server and that's it! Link to comment Share on other sites More sharing options...
tkmbe Posted November 15, 2011 Author Share Posted November 15, 2011 Thanks for your answer. I'm not able to create any datasource from scratch. What's the glue?I then tried to modfiy the JDBC Data Source but I have not found a mysql jdbc driver installed.The only one I find is in ireport directory. Do I have install mysql connector by mysels in tomcat dir?Is there any documentation about all this stuff?It's really hard to work with jasperreports-server without documentation.And how can I import mi report generated i ireport?I know there a a lot of questions but I have not found this answers in the manuals :-( Link to comment Share on other sites More sharing options...
tkmbe Posted November 15, 2011 Author Share Posted November 15, 2011 SorryI had only the installation manuel not the users guide.Now I have installed again from scratch and found the users guide Now I have found how to install the report...But the problem of mysql drivers still exists. Where should I install this driver?I have read you must install the driver in a readme but there is no info where to install... Link to comment Share on other sites More sharing options...
rashmi_prabhu Posted November 16, 2011 Share Posted November 16, 2011 In iReport go to Tools>Options>ClasspathHere add the jar file of your driver. Link to comment Share on other sites More sharing options...
khahn Posted November 17, 2011 Share Posted November 17, 2011 The data source can be different from the database configured for JasperReports Server if the application server can find its driver. For example, in a default installation of JasperReports Server, Tomcat looks for data source drivers in(js-install-directory)/apache-tomcat/lib. Put a copy of the driver in this location. Use the JDBC driver mysql-connector-java-5.1.17-bin.jar or later. Do the User Guide instructions for adding a report unit to the JasperReports Server help?Post Edited by khahn at 11/17/2011 02:17 Link to comment Share on other sites More sharing options...
tkmbe Posted November 22, 2011 Author Share Posted November 22, 2011 Thanks for all the tips.Creating a datasource and putting the jar file in the mentioned location did the trick.Thanks a lot!! Link to comment Share on other sites More sharing options...
khahn Posted November 22, 2011 Share Posted November 22, 2011 Delighted to hear of your success. Thanks for your interest in the product. Link to comment Share on other sites More sharing options...
hariharanmm Posted December 2, 2011 Share Posted December 2, 2011 while rebooting the system jasper server instance is not working , guys can you help me plsThanks in advance Link to comment Share on other sites More sharing options...
khahn Posted December 2, 2011 Share Posted December 2, 2011 Start MySQL service on Windows or the daemon on Linux if it is stopped.If you installed the bundled Tomcat on Windows, you can use the Control Panel (look for the service named jasperreportsTomcat) or you can use the Windows start/stop script to start Tomcat:Code:Click Start > All Programs > JasperReports Server (version) > Start or Stop Services > Start Service.On Linux, enter:cd <js-install>./ctlscript.sh start Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now