This thread has been locked & this forum has been archived.
Please post new topics to Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Author Message
malexeev
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
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
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.
® 2014 - Genuitec, LLC.