<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: [Tutorial] Create Report in PHP with JasperReport in Linux</title>
	<atom:link href="http://virusandlinux.baskoroadi.web.id/index.php/2009/05/tutorial-create-report-in-php-with-jasperreport-in-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://virusandlinux.baskoroadi.web.id/index.php/2009/05/tutorial-create-report-in-php-with-jasperreport-in-linux/</link>
	<description>Open Source Software, Linux, and Tutorial</description>
	<lastBuildDate>Mon, 15 Aug 2011 10:43:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: user11</title>
		<link>http://virusandlinux.baskoroadi.web.id/index.php/2009/05/tutorial-create-report-in-php-with-jasperreport-in-linux/comment-page-1/#comment-11592</link>
		<dc:creator>user11</dc:creator>
		<pubDate>Wed, 25 May 2011 23:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://virusandlinux.baskoroadi.web.id/?p=141#comment-11592</guid>
		<description>You may try VIEWidget for Javascript PHP or ASP.NET or Java. 
It works with all major browers.

It is a javascript-programmable report &amp; technical drawing generator and print preview control.
You may use VIEWidget to generate reports or technical drawings, 
display the results in a scrolling and zooming viewer on your web page and then print it.
It is a very flexible and productive RAD tool as it lets you freely draw tables or 
other objects at arbitrary x-y coordinates. It can generate sophisticated reports that are 
difficult or impossible to create with a static report writer or conventional report generator.

Below is a simple Hello World example for two print-preview pages 
with page footers for page numbering:

    //get length unit 
    var INCH = control1.getInch(); 

    //create document
    control1.startDoc(); 

    control1.drawString(1*INCH, 1*INCH, &quot;Hello World from Page 1&quot;);
    control1.drawPageFooter(&quot;Page 1&quot;,&quot;align=center&quot;);

    //...draw other stuff here 

    //create 2nd page 
    control1.newPage(); 
    control1.drawString(1*INCH, 1*INCH, &quot;Hello World from Page 2&quot;); 
    control1.drawPageFooter(&quot;Page 2&quot;,&quot;align=center&quot;);

    //...draw other stuff here 

    //end document 
    control1.endDoc(); 

    //preview first page (page index=0)
    control1.setCurrentPage(0); 
    control1.preview(); 


VIEWidget link:
http://hexatech.com/viewidget</description>
		<content:encoded><![CDATA[<p>You may try VIEWidget for Javascript PHP or ASP.NET or Java.<br />
It works with all major browers.</p>
<p>It is a javascript-programmable report &amp; technical drawing generator and print preview control.<br />
You may use VIEWidget to generate reports or technical drawings,<br />
display the results in a scrolling and zooming viewer on your web page and then print it.<br />
It is a very flexible and productive RAD tool as it lets you freely draw tables or<br />
other objects at arbitrary x-y coordinates. It can generate sophisticated reports that are<br />
difficult or impossible to create with a static report writer or conventional report generator.</p>
<p>Below is a simple Hello World example for two print-preview pages<br />
with page footers for page numbering:</p>
<p>    //get length unit<br />
    var INCH = control1.getInch(); </p>
<p>    //create document<br />
    control1.startDoc(); </p>
<p>    control1.drawString(1*INCH, 1*INCH, &#8220;Hello World from Page 1&#8243;);<br />
    control1.drawPageFooter(&#8220;Page 1&#8243;,&#8221;align=center&#8221;);</p>
<p>    //&#8230;draw other stuff here </p>
<p>    //create 2nd page<br />
    control1.newPage();<br />
    control1.drawString(1*INCH, 1*INCH, &#8220;Hello World from Page 2&#8243;);<br />
    control1.drawPageFooter(&#8220;Page 2&#8243;,&#8221;align=center&#8221;);</p>
<p>    //&#8230;draw other stuff here </p>
<p>    //end document<br />
    control1.endDoc(); </p>
<p>    //preview first page (page index=0)<br />
    control1.setCurrentPage(0);<br />
    control1.preview(); </p>
<p>VIEWidget link:<br />
<a href="http://hexatech.com/viewidget" rel="nofollow">http://hexatech.com/viewidget</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tikeshwar sahu</title>
		<link>http://virusandlinux.baskoroadi.web.id/index.php/2009/05/tutorial-create-report-in-php-with-jasperreport-in-linux/comment-page-1/#comment-11528</link>
		<dc:creator>tikeshwar sahu</dc:creator>
		<pubDate>Sat, 16 Apr 2011 19:02:39 +0000</pubDate>
		<guid isPermaLink="false">http://virusandlinux.baskoroadi.web.id/?p=141#comment-11528</guid>
		<description>How can i do it with tomcat please i need step by step tutorial if u can post.
Thanx</description>
		<content:encoded><![CDATA[<p>How can i do it with tomcat please i need step by step tutorial if u can post.<br />
Thanx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://virusandlinux.baskoroadi.web.id/index.php/2009/05/tutorial-create-report-in-php-with-jasperreport-in-linux/comment-page-1/#comment-645</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Wed, 10 Nov 2010 08:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://virusandlinux.baskoroadi.web.id/?p=141#comment-645</guid>
		<description>How to replace 
$emptyDataSource = new Java(&quot;net.sf.jasperreports.engine.JREmptyDataSource&quot;);

with connection to MySQL database?</description>
		<content:encoded><![CDATA[<p>How to replace<br />
$emptyDataSource = new Java(&#8220;net.sf.jasperreports.engine.JREmptyDataSource&#8221;);</p>
<p>with connection to MySQL database?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sumair Rana</title>
		<link>http://virusandlinux.baskoroadi.web.id/index.php/2009/05/tutorial-create-report-in-php-with-jasperreport-in-linux/comment-page-1/#comment-498</link>
		<dc:creator>Sumair Rana</dc:creator>
		<pubDate>Fri, 20 Aug 2010 08:48:14 +0000</pubDate>
		<guid isPermaLink="false">http://virusandlinux.baskoroadi.web.id/?p=141#comment-498</guid>
		<description>To be honest this is what I did and it worked for me. Below are the detailed steps I followed:

- After installation of your tomcat server, Go to the page http://localhost:8080/. This must take you to the Tomcat web server homepage.
- Go to the link ‘Tomcat Manager’ on the left bar under ‘Administration’ section. Use the Tomcat admin/manager user logon details to login to this section.
- Go to the section ‘WAR file to deploy’ and browse to the directory where you have unzipped the PHP/Java bridge files. Open the ‘JavaBridge.war’ file.
- Click ‘Deploy’ button and this will install the PHP/Java bridge module on the Tomcat web server.

Configure Jasper Reports for PHP environment
- Stop the Tomcat web server.
- Copy all the files from Jasper Report installation directory\ireport\modules\ext folder to Tomcat web server installation directory\webapps\JavaBridge\WEB-INF\lib directory.
- Copy the MySQL JDBC connector file from Jasper Report installation directory\ ide10\ modules\ext folder to Tomcat web server installation directory\webapps\JavaBridge\ WEB-INF\lib directory.
- Copy the complete folder java from Tomcat web server installation directory\webapps \JavaBridge\ directory on to the PHP web server under htdocs folder (You need to do that if your PHP code does not link up with the bridge).
- Start the Tomcat web server. This will reload the PHP/Java bridge module with all the libraries copied in above steps. The module is now ready to accept requests from PHP environment.

Hopefully this will work for you.</description>
		<content:encoded><![CDATA[<p>To be honest this is what I did and it worked for me. Below are the detailed steps I followed:</p>
<p>- After installation of your tomcat server, Go to the page <a href="http://localhost:8080/" rel="nofollow">http://localhost:8080/</a>. This must take you to the Tomcat web server homepage.<br />
- Go to the link ‘Tomcat Manager’ on the left bar under ‘Administration’ section. Use the Tomcat admin/manager user logon details to login to this section.<br />
- Go to the section ‘WAR file to deploy’ and browse to the directory where you have unzipped the PHP/Java bridge files. Open the ‘JavaBridge.war’ file.<br />
- Click ‘Deploy’ button and this will install the PHP/Java bridge module on the Tomcat web server.</p>
<p>Configure Jasper Reports for PHP environment<br />
- Stop the Tomcat web server.<br />
- Copy all the files from Jasper Report installation directory\ireport\modules\ext folder to Tomcat web server installation directory\webapps\JavaBridge\WEB-INF\lib directory.<br />
- Copy the MySQL JDBC connector file from Jasper Report installation directory\ ide10\ modules\ext folder to Tomcat web server installation directory\webapps\JavaBridge\ WEB-INF\lib directory.<br />
- Copy the complete folder java from Tomcat web server installation directory\webapps \JavaBridge\ directory on to the PHP web server under htdocs folder (You need to do that if your PHP code does not link up with the bridge).<br />
- Start the Tomcat web server. This will reload the PHP/Java bridge module with all the libraries copied in above steps. The module is now ready to accept requests from PHP environment.</p>
<p>Hopefully this will work for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: santhi</title>
		<link>http://virusandlinux.baskoroadi.web.id/index.php/2009/05/tutorial-create-report-in-php-with-jasperreport-in-linux/comment-page-1/#comment-449</link>
		<dc:creator>santhi</dc:creator>
		<pubDate>Tue, 13 Jul 2010 08:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://virusandlinux.baskoroadi.web.id/?p=141#comment-449</guid>
		<description>with this step my tomcat server is not working at all. can u provide me the solution 
thanks</description>
		<content:encoded><![CDATA[<p>with this step my tomcat server is not working at all. can u provide me the solution<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: santhi</title>
		<link>http://virusandlinux.baskoroadi.web.id/index.php/2009/05/tutorial-create-report-in-php-with-jasperreport-in-linux/comment-page-1/#comment-443</link>
		<dc:creator>santhi</dc:creator>
		<pubDate>Mon, 12 Jul 2010 04:32:44 +0000</pubDate>
		<guid isPermaLink="false">http://virusandlinux.baskoroadi.web.id/?p=141#comment-443</guid>
		<description>hi

i am trying to run the given sample application but i am getting the following error:


( ! ) Fatal error: This PHP SAPI requires a JEE or SERVLET back end. Start it,define (&#039;JAVA_SERVLET&#039;,true); define(&#039;JAVA_HOSTS&#039;,...); and try again. in D:\Anil\Development\php\php5\htdocs\sample_report\java\Java.inc on line 1237
Call Stack
#	Time	Memory	Function	Location
1	0.0007	360968	{main}( )	..\sample_report.php:0
2	0.0144	1596256	java_class-&gt;java_class( )	..\sample_report.php:86
3	0.0144	1596256	__javaproxy_Client_getClient( )	..\Java.inc:2014
4	0.0144	1598112	java_Client-&gt;java_Client( )	..\Java.inc:1584
5	0.0145	1599968	java_Protocol-&gt;java_Protocol( )	..\Java.inc:319
6	0.0145	1599968	java_Protocol-&gt;createHandler( )	..\Java.inc:1262
7	0.0146	1602608	java_Protocol-&gt;createSimpleHandler( )	..\Java.inc:1255
8	5.0146	1603520	trigger_error ( )	..\Java.inc:1237

can any one provide me a solution for this.

thanks</description>
		<content:encoded><![CDATA[<p>hi</p>
<p>i am trying to run the given sample application but i am getting the following error:</p>
<p>( ! ) Fatal error: This PHP SAPI requires a JEE or SERVLET back end. Start it,define (&#8216;JAVA_SERVLET&#8217;,true); define(&#8216;JAVA_HOSTS&#8217;,&#8230;); and try again. in D:\Anil\Development\php\php5\htdocs\sample_report\java\Java.inc on line 1237<br />
Call Stack<br />
#	Time	Memory	Function	Location<br />
1	0.0007	360968	{main}( )	..\sample_report.php:0<br />
2	0.0144	1596256	java_class-&gt;java_class( )	..\sample_report.php:86<br />
3	0.0144	1596256	__javaproxy_Client_getClient( )	..\Java.inc:2014<br />
4	0.0144	1598112	java_Client-&gt;java_Client( )	..\Java.inc:1584<br />
5	0.0145	1599968	java_Protocol-&gt;java_Protocol( )	..\Java.inc:319<br />
6	0.0145	1599968	java_Protocol-&gt;createHandler( )	..\Java.inc:1262<br />
7	0.0146	1602608	java_Protocol-&gt;createSimpleHandler( )	..\Java.inc:1255<br />
8	5.0146	1603520	trigger_error ( )	..\Java.inc:1237</p>
<p>can any one provide me a solution for this.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

