From: <php...@li...> - 2010-07-26 15:13:09
|
Hai all, I've downloaded BIRT Report Designer version 2.6.0 for Windows. I've installed TomCat (on LINUX server) and I've placed the latest PHP Java Bridges files. The reports, I created with this BIRT Report Designer are not supported by the PHP Java Bridge. The example report of PHP Java Bridge works fine! But editing the report with BIRT Report Designer, I get the message that the original report was created by an earlier version. The reports, created with the designer are (I think) too new for the PHP Java Bridge. I get this error: [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:ReportEngine]]->openReportDesign((o:String)[o:String]). Cause: org.eclipse.birt.report.engine.api.EngineException: The design file file:/home/mana/public_html/test2.rptdesign has error and can not be run. VM: 1.6.0_21@http://java.sun.com/" at: #-12 org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDes ign(ReportEngineHelper.java:248) #-11 org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDes ign(ReportEngineHelper.java:191) #-10 org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDes ign(ReportEngineHelper.java:125) #-9 org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(Re portEngine.java:239) #-8 sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) #-7 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) #-6 java.lang.reflect.Method.invoke(Unknown Source) #-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1049) #-4 php.java.bridge.Request.handleRequest(Request.java:415) #-3 php.java.bridge.Request.handleRequests(Request.java:491) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:145) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(136): java_ThrowExceptionProxyFactory->getProxy(6, '@V', 'T', true) #1 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(219): java_Arg->getResult(true) #2 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(221): java_Client->getWrappedResult(true) #3 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(337): java_Client->getResult() #4 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(1063): java_Client->invokeMethod(4, 'openReportDesig...', Array) #5 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(1108): java_JavaProxy->__call('openReportDesig...', Array) #6 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(1199): java_AbstractJava->__call('openReportDesig...', Array) #7 [internal function]: Java->__call('openReportDesig...', Array) #8 /home/mana/public_html/test.php(74): java_InternalJava->openReportDesign('/home/mana/publ...') #9 {main}]<br /> <b>Fatal error</b>: Call to a member function toByteArray() on a non-object in <b>/home/mana/public_html/test.php</b> on line <b>87</b><br /> |
From: <php...@li...> - 2010-07-26 15:48:32
|
Take a look at the comments on this Dev Share item that explain how to update the engine. http://www.birt-exchange.org/org/devshare/deploying-birt-reports/743-calling-birt-from-php/ We need to update the project with the new engine. Jason ________________________________________ From: php...@li... [php...@li...] Sent: Monday, July 26, 2010 10:32 AM To: php...@li... Subject: [Php-java-bridge-users] BIRT Report Designer Hai all, I've downloaded BIRT Report Designer version 2.6.0 for Windows. I've installed TomCat (on LINUX server) and I've placed the latest PHP Java Bridges files. The reports, I created with this BIRT Report Designer are not supported by the PHP Java Bridge. The example report of PHP Java Bridge works fine! But editing the report with BIRT Report Designer, I get the message that the original report was created by an earlier version. The reports, created with the designer are (I think) too new for the PHP Java Bridge. I get this error: [[o:Exception]:"java.lang.Exception: Invoke failed: [[o:ReportEngine]]->openReportDesign((o:String)[o:String]). Cause: org.eclipse.birt.report.engine.api.EngineException: The design file file:/home/mana/public_html/test2.rptdesign has error and can not be run. VM: 1.6.0_21@http://java.sun.com/" at: #-12 org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDes ign(ReportEngineHelper.java:248) #-11 org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDes ign(ReportEngineHelper.java:191) #-10 org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.openReportDes ign(ReportEngineHelper.java:125) #-9 org.eclipse.birt.report.engine.api.impl.ReportEngine.openReportDesign(Re portEngine.java:239) #-8 sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) #-7 sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) #-6 java.lang.reflect.Method.invoke(Unknown Source) #-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1049) #-4 php.java.bridge.Request.handleRequest(Request.java:415) #-3 php.java.bridge.Request.handleRequests(Request.java:491) #-2 php.java.bridge.http.ContextRunner.run(ContextRunner.java:145) #-1 php.java.bridge.ThreadPool$Delegate.run(ThreadPool.java:60) #0 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(136): java_ThrowExceptionProxyFactory->getProxy(6, '@V', 'T', true) #1 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(219): java_Arg->getResult(true) #2 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(221): java_Client->getWrappedResult(true) #3 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(337): java_Client->getResult() #4 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(1063): java_Client->invokeMethod(4, 'openReportDesig...', Array) #5 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(1108): java_JavaProxy->__call('openReportDesig...', Array) #6 /usr/local/tomcat/webapps/JavaBridge/java/Java.inc(1199): java_AbstractJava->__call('openReportDesig...', Array) #7 [internal function]: Java->__call('openReportDesig...', Array) #8 /home/mana/public_html/test.php(74): java_InternalJava->openReportDesign('/home/mana/publ...') #9 {main}]<br /> <b>Fatal error</b>: Call to a member function toByteArray() on a non-object in <b>/home/mana/public_html/test.php</b> on line <b>87</b><br /> ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2010-07-28 13:11:39
|
Hi, the PHP/Java Bridge ships with BIRT 2.5, I think. Regards, Jost Bökemeier |
From: <php...@li...> - 2010-07-29 13:09:29
|
Hi Jason, > We need to update the project with the new engine. agreed. Can you do this? Regards, Jost Bökemeier |
From: <php...@li...> - 2010-07-29 13:36:22
|
Jost, Sure I can do it. Do I have CVS access? Jason ________________________________________ From: php...@li... [php...@li...] Sent: Thursday, July 29, 2010 9:09 AM To: php...@li... Subject: Re: [Php-java-bridge-users] BIRT Report Designer Hi Jason, > We need to update the project with the new engine. agreed. Can you do this? Regards, Jost Bökemeier ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2010-07-29 16:30:12
|
Hi Jason, you have full admin access now. CVS root is: export CVS_RSH=ssh :ext:YOU...@ph...:/cvsroot/php-java-bridge or :ssh:YOU...@ph...:/cvsroot/php-java-bridge (tortoise CVS) Regards, Jost Bökemeier |
From: <php...@li...> - 2010-07-30 18:59:24
|
Jost, I downloaded the latest JavaBridge.war file and updated and tested it. I should have this up on our site shortly. I also checked out the project from sourceforge and made the updates, but before I check them in I wanted to verify I have the right locations. I updated the birtEngine.jar and placed it in examples/php+jsp directory. The jar contains the source as well. I updated the orginal index.php to add a link to another php page that has a bunch of examples using the Bridge with BIRT. In this same directory I added all the example php files and birt report designs that are used with them. I also added a folder named birtreportlib, that shows how to use birt libraries with the Bridge. Next I updated the unsupported/eclispe.birt.lib folder to have the most recent birt 2.6 libraries I also updated the unsupported/platform directory to contain the latest plugins and configuration directories. I assume the birtEngine.jar will wind up in the /WEB-INF/lib directory with the libs from the unsupported/eclipse.birt.lib libs? Thanks for your help Jason ________________________________________ From: php...@li... [php...@li...] Sent: Thursday, July 29, 2010 12:30 PM To: php...@li... Subject: Re: [Php-java-bridge-users] BIRT Report Designer Hi Jason, you have full admin access now. CVS root is: export CVS_RSH=ssh :ext:YOU...@ph...:/cvsroot/php-java-bridge or :ssh:YOU...@ph...:/cvsroot/php-java-bridge (tortoise CVS) Regards, Jost Bökemeier ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2010-07-30 21:04:47
|
The download is avialble here: http://www.birt-exchange.org/org/devshare/deploying-birt-reports/743-calling-birt-from-php/ ________________________________________ From: php...@li... [php...@li...] Sent: Friday, July 30, 2010 2:59 PM To: php...@li... Subject: Re: [Php-java-bridge-users] BIRT Report Designer Jost, I downloaded the latest JavaBridge.war file and updated and tested it. I should have this up on our site shortly. I also checked out the project from sourceforge and made the updates, but before I check them in I wanted to verify I have the right locations. I updated the birtEngine.jar and placed it in examples/php+jsp directory. The jar contains the source as well. I updated the orginal index.php to add a link to another php page that has a bunch of examples using the Bridge with BIRT. In this same directory I added all the example php files and birt report designs that are used with them. I also added a folder named birtreportlib, that shows how to use birt libraries with the Bridge. Next I updated the unsupported/eclispe.birt.lib folder to have the most recent birt 2.6 libraries I also updated the unsupported/platform directory to contain the latest plugins and configuration directories. I assume the birtEngine.jar will wind up in the /WEB-INF/lib directory with the libs from the unsupported/eclipse.birt.lib libs? Thanks for your help Jason ________________________________________ From: php...@li... [php...@li...] Sent: Thursday, July 29, 2010 12:30 PM To: php...@li... Subject: Re: [Php-java-bridge-users] BIRT Report Designer Hi Jason, you have full admin access now. CVS root is: export CVS_RSH=ssh :ext:YOU...@ph...:/cvsroot/php-java-bridge or :ssh:YOU...@ph...:/cvsroot/php-java-bridge (tortoise CVS) Regards, Jost Bökemeier ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2010-07-31 11:08:48
|
Hi Jason, > I updated the birtEngine.jar [...], updated the orginal index.php [...] In this same directory I > added all the example php files and birt report designs that are used with > them. I also added a folder named birtreportlib, that shows how to use birt > libraries with the Bridge. okay > Next I updated the unsupported/eclispe.birt.lib folder to have the most > recent birt 2.6 libraries > I also updated the unsupported/platform directory to contain the latest > plugins and configuration directories. okay > I assume the birtEngine.jar will wind up in the /WEB-INF/lib directory with > the libs from the unsupported/eclipse.birt.lib libs? Yes -- I also thought about moving your org/eclipse/birt/php/birtengine/BirtEngine.java to the src ("server") directory, to make it easier to build a customized birtEngine.jar. In this case the birtEngine.jar can be removed, the BirtEngine.java should contain a copyright notice (license is MIT?) and we need to add an ant task to build birtEngine.jar. Regards, Jost Bökemeier |
From: <php...@li...> - 2010-08-12 16:09:33
|
Jost, What password am I suppose to be using? Jason ________________________________________ From: php...@li... [php...@li...] Sent: Thursday, July 29, 2010 12:30 PM To: php...@li... Subject: Re: [Php-java-bridge-users] BIRT Report Designer Hi Jason, you have full admin access now. CVS root is: export CVS_RSH=ssh :ext:YOU...@ph...:/cvsroot/php-java-bridge or :ssh:YOU...@ph...:/cvsroot/php-java-bridge (tortoise CVS) Regards, Jost Bökemeier ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2010-08-13 10:30:40
|
Hi Jason, CVS user/password should be the same as your sf.net account: gromwe/***** Please see https://sourceforge.net/apps/trac/sourceforge/wiki/CVS%20client%20instructions Or please send me a binary patch file, I will commit it. Regards, Jost Bökemeier |
From: <php...@li...> - 2010-08-18 18:52:59
|
Jost, I committed them. I did not build any scripts, just updated what you already had. I also added a lot of php files to show how to use it. Look at the BIRTindex.php. Can you check it to verify everything went up ok? Jason ________________________________________ From: php...@li... [php...@li...] Sent: Friday, August 13, 2010 6:30 AM To: php...@li... Subject: Re: [Php-java-bridge-users] BIRT Report Designer Hi Jason, CVS user/password should be the same as your sf.net account: gromwe/***** Please see https://sourceforge.net/apps/trac/sourceforge/wiki/CVS%20client%20instructions Or please send me a binary patch file, I will commit it. Regards, Jost Bökemeier ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2010-08-19 12:21:08
|
Hi Jason, great! Thank you very much! Your changes will appear in PHP/Java Bridge version 6.2.1, which will be released at the end of september. Regards, Jost Bökemeier |
From: <php...@li...> - 2010-08-19 14:09:27
|
Thanks Jost ________________________________________ From: php...@li... [php...@li...] Sent: Thursday, August 19, 2010 8:21 AM To: php...@li... Subject: Re: [Php-java-bridge-users] BIRT Report Designer Hi Jason, great! Thank you very much! Your changes will appear in PHP/Java Bridge version 6.2.1, which will be released at the end of september. Regards, Jost Bökemeier ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |