marianol / jasperserver-for-php Goto Github PK
View Code? Open in Web Editor NEWJasperReports Server PHP Integration
License: GNU Affero General Public License v3.0
JasperReports Server PHP Integration
License: GNU Affero General Public License v3.0
Dear how to set this. and what this path/folders belongs to as below. "JSDemo"
define('SITE_PATH', '/Library/WebServer/Documents/JSDemo/');
moreover how to set this in .htaccess
php_value include_path "/Library/WebServer/Documents/JSDemo/resources/:/usr/lib/php/pear/:."
please get me out this for running the smooth application demo and proper integration with the jasper server.
thanks
I get this message to the Repository Browsing the Web Services Integration section:
Repository »Reports» Samples
"By clicking 'samples', it generates the error"
In Apache log:
Fatal error: Uncaught exception 'Jasper\RESTRequestException' with message in JasperClient.php on line 133
In jboss log I get the message:
16:19:48,552 ERROR [com.jaspersoft.jasperserver.jaxrs.common.GenericExceptionMapper](http - 127.0.0.1-8080-1) Unexpected Error Occurs: com.sun.jersey.api.NotFoundExcept
ion: null for uri: http://localhost:8080/jasperserver/rest_v2/reports/reports/samples/AllAccounts/options?
Hi Marianol,
I don't think that my issue is related to your project but I'm unable to authenticate to mine jasperserver via REST webservice. It return me always 401 unauthenticated.
Do you know if there is something to enable? I'm using a remote host to connect to jasperserver and using the same credentials that I'm using in its web interface.
this is the error in your app:
Unauthorized Exception: HTTP/1.1 401 Unauthorized Server: Apache-Coyote/1.1 P3P: CP="ALL" Content-Length: 12 Date: Wed, 09 Jul 2014 06:17:10 GMT Unauthorized
but I have the same if I can simulate via:
$ wget -O - "http://10.0.2.36:8080/jasperserver/rest/login?j_username=jasperadmin&j_pasword=jasperadmin"
--2014-07-09 08:28:28-- http://10.0.2.36:8080/jasperserver/rest/login?j_username=jasperadmin&j_pasword=jasperadmin
Connecting to 10.0.2.36:8080... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authorization failed.
have you ideas?
Thanks!
Matteo
I have been trying for days with various settings and I simply can't get logged in. I can login directly to the jasper server, but these PHP for jasperserver never seem to work.
Hi,
I have this error when I try to use the web apps bundled in this.
Unauthorized Exception: HTTP/1.1 401 Unauthorized Server: Apache-Coyote/1.1 P3P: CP="ALL" Content-Length: 12 Date: Mon, 15 Dec 2014 09:15:29 GMT Unauthorized
Can I know what is this? I follow the guides and just changed a bit that I don't think will hurt.
Hello Marianol,
Thanks for sharing this great application. I am using it but got the following error when I clicks on the Web Services Integration link.
Can you please help me to solve this issue ?
Fatal error: Uncaught exception 'Jasper\RESTRequestException' with message 'Unexpected HTTP code returned: 401 Body of response: Apache Tomcat/7.0.42 - Error report HTTP Status 401 - Bad credentialstype Status reportmessage Bad credentialsdescription This request requires HTTP authentication.Apache Tomcat/7.0.42' in /var/www/php-sample-app/resources/jasper-rest/client/JasperClient.php:133 Stack trace: #0 /var/www/php-sample-app/resources/jasper-rest/client/JasperClient.php(587): Jasper\JasperClient->prepAndSend('http://localhos...', Array, 'PUT', NULL, true) #1 /var/www/php-sample-app/web_root/repository.php(56): Jasper\JasperClient->getRepository('/') #2 {main} thrown in /var/www/php-sample-app/resources/jasper-rest/client/JasperClient.php on line 133
Hi Mariano!
It has been a while, how are you doing?
I was trying out the new stuff using the rest_v2, and the images are coming back from the jasperserver looking like: /jasperserver-pro/rest_v2/reportExecutions/1448340476_1378856082848_7957/exports/html/attachments/img_0_0_55
I added a simple string replace to make them look like this, https://<server>:<port>/jasperserver-pro/rest_v2/reportExecutions/1448340476_1378856082848_7957/exports/html/attachments/img_0_0_55
but still no luck, resource not found.
Here is our version information
Product Edition: Enterprise
Features: Fusion AHD EXP DB AUD ANA MT
Product Version: 5.2.0
Build: 20130626_1922
License Type: Commercial
Expiration: 2014-06-28 16:59:00
Am I doing something wrong or maybe I need to go and re-request those from the server? Thanks so much for any help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.