Hi Marco,

Have you configured JNDI in Jetty?

You can do this by following those instructions:
Jetty supports JNDI, but by default it is disabled in a standard server. In order to enable JNDI in Jetty a few changes to the start.ini file in Jetty home directory must be made:

1) Add 'plus' and 'annotations' to OPTIONS, so that it looks something like this:

OPTIONS=Server,jsp,jmx,resources,websocket,ext,plus,annotations

2) Enable the plus configuration by adding the following line:

etc/jetty-plus.xml

at the end of the file next to other similar entries.

Let me know if that helped.

Best regards,
Lukasz


On 12/18/2012 09:00 PM, Ed Cable wrote:
Marco,

I'm sending this inquiry to the mailing lists and Lukasz and Kasia from SolDevelo because the recent embedding of Pentaho reports into Mifos was taken on by SolDevelo and John is not as up to speed with it as they are.

Ed


On Fri, Dec 14, 2012 at 6:23 AM, Marco Vergaray <[email protected]> wrote:
Hello,

I tried to install a brand new mifos in a server. I couldn't get mifos 2.5 running because it throw exceptions about pentaho, so I installed mifos 2.4.1 that is the mifos' version we have in production, but when I try to see some reports in the mifos' Reports tab I get the follow issue:

org.mifos.core.MifosRuntimeException: org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed at query: (select distinctrow office_id, search_id, display_name
from office
where office_level_id=5)
union (
select -1 as office_id, '-1' as search_id,' All' as display_name)
order by search_id
	at org.mifos.reports.pentaho.util.PentahoParamParser.parseReportParams(PentahoParamParser.java:65)
	at org.mifos.reports.pentaho.service.PentahoReportsServiceImpl.getParametersForReport(PentahoReportsServiceImpl.java:194)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)

I don't know what can be happening, but I hope you can help me, thanks a lot.


-- 

Logo5.gif

Marco Vergaray Guerra
Departamento IT Desarrollo

 

Av. Benavides 1555 - Piso 5, Oficina. 503, Miraflores, Lima

Teléfono: +511 4118600 

Directo:   +511 4118613 

Email: mvergaray@quiputechnology.com

http://www.quiputechnology.com




------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Mifos-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-users

Reply via email to