| JBoss Deployment [message #339596] | 
Fri, 25 January 2008 20:05   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
I am looking for a document on what to do to deploy my own BIRT 2.2 test  
project report under currently working JBOSS project.  
I found a description of deployment but all it says copy birt.war into  
deploy directory. But I need to know what BIRT related files are needed  
and where, to deploy under currently existing war file. 
 
Thanks, 
Alex
 |  
 |  
  | 
 | 
| Re: JBoss Deployment [message #344793 is a reply to message #339596] | 
Mon, 28 January 2008 09:37   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: pmills.systemcore.ca 
 
Alex wrote: 
 
> But I need to know what BIRT related files are needed 
> and where, to deploy under currently existing war file. 
 
I don't know if there's an automatic way to make it happen, but what I did 
was to make a copy of BIRT's "ReportEngine" directory inside the config 
directory of my JBoss server (so that I wouldn't be redeploying them 
whenever I modified my application).  I then wrote a bit of code to look up 
that directory, using the JBoss ServerConfigImplMBean, and create the 
report engine with that path.  This is happening within a ReportManager 
stateless session bean that then handles report requests by calling into 
the engine API. 
 
Things would probably be a lot nicer if BIRT could exist as a service that 
was referenced through JNDI, but I'm not that ambitious just now.  :-)
 |  
 |  
  | 
| Re: JBoss Deployment [message #344852 is a reply to message #339596] | 
Sat, 26 January 2008 02:46   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
I've copied a bunch of BIRT related files that seemed to be needed for  
JBOSS deployment. 
Now when I click a link to my BIRT report(on a page I created to call my  
test report) I see an empty screen in browser but there is no any errors  
from JBOSS output. 
Any suggestions? 
 
Thanks, 
Alex
 |  
 |  
  | 
| Re: JBoss Deployment [message #344869 is a reply to message #339596] | 
Mon, 28 January 2008 09:37   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: pmills.systemcore.ca 
 
Alex wrote: 
 
> But I need to know what BIRT related files are needed 
> and where, to deploy under currently existing war file. 
 
I don't know if there's an automatic way to make it happen, but what I did 
was to make a copy of BIRT's "ReportEngine" directory inside the config 
directory of my JBoss server (so that I wouldn't be redeploying them 
whenever I modified my application).  I then wrote a bit of code to look up 
that directory, using the JBoss ServerConfigImplMBean, and create the 
report engine with that path.  This is happening within a ReportManager 
stateless session bean that then handles report requests by calling into 
the engine API. 
 
Things would probably be a lot nicer if BIRT could exist as a service that 
was referenced through JNDI, but I'm not that ambitious just now.  :-)
 |  
 |  
  | 
| Re: JBoss Deployment [message #348840 is a reply to message #339596] | 
Sat, 26 January 2008 02:46   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
I've copied a bunch of BIRT related files that seemed to be needed for  
JBOSS deployment. 
Now when I click a link to my BIRT report(on a page I created to call my  
test report) I see an empty screen in browser but there is no any errors  
from JBOSS output. 
Any suggestions? 
 
Thanks, 
Alex
 |  
 |  
  | 
| Re: JBoss Deployment [message #348857 is a reply to message #339596] | 
Mon, 28 January 2008 09:37   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: pmills.systemcore.ca 
 
Alex wrote: 
 
> But I need to know what BIRT related files are needed 
> and where, to deploy under currently existing war file. 
 
I don't know if there's an automatic way to make it happen, but what I did 
was to make a copy of BIRT's "ReportEngine" directory inside the config 
directory of my JBoss server (so that I wouldn't be redeploying them 
whenever I modified my application).  I then wrote a bit of code to look up 
that directory, using the JBoss ServerConfigImplMBean, and create the 
report engine with that path.  This is happening within a ReportManager 
stateless session bean that then handles report requests by calling into 
the engine API. 
 
Things would probably be a lot nicer if BIRT could exist as a service that 
was referenced through JNDI, but I'm not that ambitious just now.  :-)
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.26721 seconds