Skip to main content



      Home
Home » Archived » BIRT » Deployment within JBOSS
Deployment within JBOSS [message #77832] Thu, 29 September 2005 05:26 Go to next message
Eclipse UserFriend
Originally posted by: alastair.dunsmore.mottmac.com

Hi,

We have a MySQL database set up with the JBoss application server. We
have JBoss setup to use the MySQL database via the normal JBoss xml
descriptor files. We want to deploy BIRT within our environment - but it
seems at the moment that each report needs to have its own datasource
connection defined (driver, db url, name, password) rather than being able
to access this information within a server environment. I even tried to
investigate using a separate external text properties file to hold this
information - but could find no working way to get this information into
BIRT. Have I missed something - or is there no way yet to externalise
this information from reports for deployment in an application server?

Thanks for your help,
Alastair.
Re: Deployment within JBOSS [message #77928 is a reply to message #77832] Thu, 29 September 2005 10:54 Go to previous message
Eclipse UserFriend
Alastair,

Try
extensionProperties.odaUser = "sesame";
extensionProperties.odaPassword = "open";
extensionProperties.odaURL = "jdbc:my_data_source:....";
extensionProperties.odaDriverClass = "com.mycompany.jdbc.Driver";

put this code in the beforeOpen method of the datasource.
You should be able to read the values from a file using a standard Java
class and using
ImportPackages method.

Jason Weathersby
BIRT PMC

"Alastair Dunsmore" <alastair.dunsmore@mottmac.com> wrote in message
news:f12065bad61e01ecd8ea8c64ec3e75f3$1@www.eclipse.org...
> Hi,
>
> We have a MySQL database set up with the JBoss application server. We
> have JBoss setup to use the MySQL database via the normal JBoss xml
> descriptor files. We want to deploy BIRT within our environment - but it
> seems at the moment that each report needs to have its own datasource
> connection defined (driver, db url, name, password) rather than being able
> to access this information within a server environment. I even tried to
> investigate using a separate external text properties file to hold this
> information - but could find no working way to get this information into
> BIRT. Have I missed something - or is there no way yet to externalise
> this information from reports for deployment in an application server?
>
> Thanks for your help,
> Alastair.
>
Previous Topic:landscape orientation
Next Topic:1.0.1 debugging from run time workbench and report preview not working
Goto Forum:
  


Current Time: Sun May 11 03:29:49 EDT 2025

Powered by FUDForum. Page generated in 0.02552 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top