Discuss problems installing or using NextReports
Back to Forum List
>>
Back to Topic List
Unable to connect to DB for demo setup
Posted Monday, 25 May 2009 By coffee
Getting following exception :
java.sql.SQLException: Failed to start database 'D:\Program Files\NextReports 2.2\demo\data', see the next exception for details.
My NextReport home is set to> NEXTREPORTS_HOME = "D:\\Program Files\\NextReports 2.2";
|
Re: Unable to connect to DB for demo setup
Posted Monday, 25 May 2009 By Mihai
Modified: Monday, 25 May 2009
Hello.
What kind of installer did you installed (zip, windows, linux, with jre or without)?
Did this error appeared at first run or after some usage?
Is something more written in D:\Program Files\NextReports 2.2\log\nextreports.log, derby.log or error.log? Please send us these three files on next_support@asf.ro
|
Re: Unable to connect to DB for demo setup
Posted Monday, 25 May 2009 By coffee
Hello,
I installed .zip on Windows XP with JRE. This is occuring from the first run. Sent you the zip file separately on above address.
Thanks!
Jason
|
Re: Unable to connect to DB for demo setup
Posted Monday, 25 May 2009 By Mihai
Hello.
I hope this is your problem. Please confirm.
If you have NextReports application open with derby Demo data source connected you cannot create another connection to that embedded database. Please disconnect from NextReports datasource and then run the example.
|
Re: Unable to connect to DB for demo setup
Posted Tuesday, 26 May 2009 By coffee
Thanks Mihai! It was the problem.
|
Embedding NextReports
Posted Friday, 27 March 2009 By Josh Martin
NextReports -
Can you please give a more detailed explanation of everything that needs to be in place to embed NextReports into an existing Java/Web application? Specifically, I'd like to see examples of JAR's, etc. that need to be included, and also a full Javadoc of options.
Thank you,
Josh
|
Embedding NextReports
Posted Monday, 30 March 2009 By Mihai
Modified: Monday, 30 March 2009
|
NEXTREPORTS_HOME
Posted Tuesday, 31 March 2009 By Josh Martin
Mihai -
Thank you for the examples. Just to be clear, you don't actually rely on the Next Reports installation in production? I.e. I would have Next Reports installed on my local box to develop the reports, but when we deploy the application (with the report files) to production, I no longer need the full installation (just the JAR files).
Looking at DemoUtil.java, it appears that NEXTREPORTS_HOME is only used to locate the demo report and Derby database.
Thanks,
Josh
|
NEXTREPORTS_HOME
Posted Wednesday, 01 April 2009 By Mihai
Yes, you do not need the NextReports application installed. NextReports just helps you to create the reports. Then you can run the reports inside your application.
And yes, NEXTREPORTS_HOME is used just for example (to run the demo examples).
What you need from the jar files is shown below :
* jcalendar-1.3.2.jar is not needed (it is used for the swing demo).
* derby-10.2.1.6.jar is not nedded (it is used just to connect to demo derby database)
* nextreports-engine-2.1.jar is needed for all type of exports
* xstream-1.3.1.jar is needed for all type of exports
* commons-logging-1.1.jar is needed for all type of exports
* itext-2.1.5.jar is needed just for PDF and RTF exports
* itext-rtf-2.1.5.jar is needed just for RTF export
* poi-3.0.jar is needed just for EXCEL export
* commons-lang-2.4.jar is needed just for EXCEL export
* commons-beanutils-1.8.0.jar is needed just for EXCEL export
|
Integration Page
Posted Monday, 18 January 2010 By Mihai
|