MyEclipse Forums
This thread has been locked & this forum has been archived.
Please post new topics to Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
View previous topic Printable version Log in to check your private messages View next topic
Author Message
malexeev
Post subject: Tomcat, JNDI datasource, MyEclipse Report  PostPosted: Mar 31, 2008 - 08:17 AM
Registered Member
Registered Member


Joined: May 17, 2005
Posts: 2

Hi,
is there any documentation/examples how to deploy MyEclipse Reports application to Tomcat and how to make it using JNDI datasource provided by the container (Tomcat) ?

Should I (and what exactly) edit some stuff in rptdesign files?
 
 View user's profile Send private message  
Reply with quote Back to top
malexeev
Post subject: RE: Tomcat, JNDI datasource, MyEclipse Report  PostPosted: Mar 31, 2008 - 10:22 AM
Registered Member
Registered Member


Joined: May 17, 2005
Posts: 2

Ok, this is how I solved that.
I had to edit rptdesign file and change oda-data-source element
I changed extensionID to extensionID="org.eclipse.birt.report.data.oda.jdbc" and left only odaURL pointing to nowhere and added odaJndiName referencing to my jndi datasource java:comp/env/...
Looks like someking of hack...
Why does MyEclipse Reports Wizard create data sources with that nasty extensionID="com.genuitec.eclipse.reporting.oda"? Why not generate datasource with standard BIRT datasource?

I general - I'm kind of disappointed in MyEclise Reports... My part was only to solve that datasource issue, and to me MyEclipse Reports is totally immature and not ready for real produciton... who on earth is using hardcoded jbcs connection urls?!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits