PDA

View Full Version : Embedding MetaData component in EJB



struct
09-02-2008, 03:14 PM
Hi,

I am trying to embed Pentaho's MetaData & SQLGenerator component in an EJB app.

The problem is that the CWM singelton reads a view files (jdbc/repository.properties & cwm/PentahoCWM.xml) directly from the file system via a FileInputStream.
However, according to the J2EE spec, you must access resources via hread.currentThread().getContextClassLoader().getResourceAsStream(fileName).
The result is that the metadata repository fails to initialize.

Has anybody run into similar problem. Any way to work around this?

Thanks.

MattCasters
09-04-2008, 08:21 AM
It's a good observation, why don't you file a JIRA case so we can fix it?
Thanks in advance!
Matt

struct
09-05-2008, 02:30 PM
Thanks Matt,

I just file a ticket in your JIRA system. What are the chance for this ticket to get worked on soon? This is really critical to an integration project I am working on.

Thanks.

MattCasters
09-06-2008, 06:46 AM
The more you pay Pentaho, the faster it gets implemented :-)
Besides that, your chances are the same as everyone else's.