-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Module Odoo-Pentaho #248
Comments
@vincenttrouillat |
Was this from the war file that we built? Or did you build your own? You cannot use the standard pentaho report server. |
@richard-willowit Hi Richard, I changed the xml.port to 8069 instead of 8 I built our own reportserver, taken from the pentaho website... not from the war file you are mentioning. Thanks a lot for your help, much appreciated Vincent |
I don't know anything about docker. We have a complete war file: If you go to tomcat manager (localhost:8080/manager/html) and deploy our war file (Pentaho Openerp War File) |
Thanks, I'll give it a go and keep you updated once tested |
Thanks @richard-willowit, we indeed solved the issue by using your nice war. FWIW, dockerizing is as simple as:
or, if you want to pre-unpack the WAR (optimizes startup speed and I/Os):
If you point me a github repo, I would happily contribute a PR to the project that builds this war so a official docker can be easily built and published. |
This is the official repo here! 😄 |
Oh, that "java_server" folder? ;) Having a look right now. Is it ok as a shell script or should I include it in the build.xml? |
Here you are, ant style. |
Not sure why this is still open, but to be sure there's no miss, the PR is #249. |
Hello to you all, I'm having a similar problem and can't seem to solve it on my own and would very much appreciate any help I can get. web.base.url: http://192.168.0.33:8069 My pentaho-engine server runing the war file is on 192.168.0.34 2016-07-11 22:13:21,804 152 WARNING test openerp.pooler: openerp.pooler.get_db_and_pool() is deprecated. Just to make sure I didn't make any mistakes, I installed tomcat7 and the .war file on the odoo server (192.168.0.33:8080) and the report worked fine. But I can't seem to make it work when tomcat7 is running on another server. To further troubleshoot, I installed postgesql-client and tested the connection to postgresql from 192.168.0.34 and it worked correctly. I'm at loss, and unable to find a working solution. Please, any tips would be appreciated. Best Regards. |
I have not gone over this in detail, but you say it works with tomcat on 192.168.0.33, but not on 34 - Firstly, have you been able to detect if tomcat is even getting the call? Is catalina.out (tomcat log file) giving any indication of what is happening? There is an implication that the report has actually run! The fall over you have reported is in "_check_report", and it is implying that there is some sort of exception, but it is empty? Can you put a debug in to openerp/service/report.py at line 119 and tell us exactly what is in exc? what is in result? what is in self_reports? There may be some low level problem with cross-server identification? |
Dear talented programmers,
I am writing this issue to request for some support that myself and my company would really need about a brilliant piece of work you worked on with one of your developing Team.
This work you did was on a project involving embedding Pentaho Reports within Odoo (ex openERP).
WillowIT worked on a project that provides a system that integrates OpenERP with the Pentaho reporting system.
End users of OpenERP can , this way, design reports using Pentaho report designer v5.0 through v5.4, and install/access them from inside the OpenERP interface.
Here I am now going to explain you what are my actions to make this module working
First on my machine, as requested, I installed and run Apache and the Pentaho Report Server.
http://localhost:8080/pentaho
Working perfectly fine.
I lauched an instance of Odoo 8.0 (I dont think that has any importance, our odoo is here working on a docker on my localhost)
http://localhost:8069/web
Running perfectly fine.
Then I can open the module list and install ALL the Pentaho Modules.
All installed.
Once installed I created a new report working on a simple warehouse database.
That report is created using Pentaho Report designer.
I implement this report using the report window
I know have the report just created listed in my warehouse tab.
However, I cannot run the report
A connection error here looks to be failing
111 Connection refused
I presume the problem is coming from the parameters of the pentaho connection, right?
If I have a look at the parameters/system parameters section and look at the pentaho configuration, this is what I have
pentaho.server.url : http://localhost:8080/pentaho
pentaho.openerp.xml.interface :
pentaho.openerp.xml.port : 8
pentaho.postgres.host : postgresql.master-dang.kube.isi
pentaho.postgres.port : 5432
pentaho.postgres.login : odoo
pentaho.postgres.password : odoo
So our host for the postgres is : postgresql.master-dang.kube.isi port 5432 login and password odoo and odoo and the report server is the address that I have the Pentaho BI server working on http://localhost:8080/pentaho
Again I am really sure about these working parameters for the DB connection as it works fine from our terminal.
Moreover, these connection parameters are exactly what were used in the creation of the Pentaho report using Pentaho Report Designer
My localhost IP address is 172.17.4.1
Can you figure out something recorded/processed differently, as it shouldn't be? Maybe a process that I missed?
Again I am very sorry about this issue but my company and myself here in New Caledonia are really looking forward to using that absolute brilliant module which would be a real asset for selling our services to our valuable clients.
Thanks all a lot for your great help.
Sincerely,
Vincent Trouillat
The text was updated successfully, but these errors were encountered: