Home » Archived » BIRT » Missing extenion id in data source definition
Missing extenion id in data source definition [message #176312] |
Mon, 10 July 2006 17:19  |
Eclipse User |
|
|
|
Originally posted by: kevin_ou.yahoo.com
Hi,
I am currently using BIRT 2.1 to generate a PDF from a java application
(not from a web).
However, I got the error says "Missing extenion id in data source
definition".
Could some one help me with that? Thanks
Kevin
|
|
| | | | |
Re: Missing extenion id in data source definition [message #176494 is a reply to message #176476] |
Tue, 11 July 2006 10:47   |
Eclipse User |
|
|
|
Originally posted by: kevin_ou.yahoo.com
Hi Jason
Thanks for the reply, hope you can help me out for this issue.
below is my code
------------------------------------------------------------ ----------------------------------
public class CBReportConfig
{
private EngineConfig gobjEngineConfig;
private String gstrEngineHome;
private String gstrDesignFileDir =
"C:/kou_am_development_snap/Applimation/Codebase/4.2/";
private String gstrOutputDir =
"C:/oracle/oradev10g/forms90/j2ee/forms90app/forms90web/";
public static String gstrReportPropertyPath =
"c:/codebase/conf/ReportProperty.properties";
private String gstrFormat;
private String gstrDesignFile = "";
public CBReportConfig(String istrFormat)
{
gstrFormat = istrFormat;
Properties p = new Properties();
try
{
InputStream iobjStream = new
FileInputStream(gstrReportPropertyPath);
p.load(iobjStream);
}
catch (Exception ex)
{
ex.printStackTrace();
}
setEngineHome(p.getProperty("BIRT_HOME"));
setDesignFileDir(p.getProperty("DESIGN_FILE"));
setOutputDir(p.getProperty("RPT_OUTPUT"));
}
public String getDesignFile()
{
return gstrDesignFile;
}
public void setDesignFile(String designFile)
{
gstrDesignFile = designFile;
}
public void setReportFormat(String lstrFormat)
{
gstrFormat = lstrFormat;
}
public String getReportFormat()
{
return gstrFormat;
}
public void setReportPropertyPath(String istrPropertieFilePath)
{
gstrReportPropertyPath = istrPropertieFilePath;
}
public EngineConfig getEngineConfig()
{
return gobjEngineConfig;
}
public String getDesignFileDir()
{
return gstrDesignFileDir;
}
public String getOutputDir()
{
return gstrOutputDir;
}
public void setOutputDir(String istrOutputDir)
{
gstrOutputDir = istrOutputDir;
}
public void setEngineHome(String istrEngineHome)
{
gobjEngineConfig = new EngineConfig();
// IPlatformContext context = new PlatformFileContext();
// gobjEngineConfig.setEngineContext(context);
//
config.setEngineHome("C:/myInstall/birt/birt-runtime-2_0_1/Report Engine");
gobjEngineConfig.setEngineHome(istrEngineHome);
gstrEngineHome = istrEngineHome;
}
public void setDesignFileDir(String istrDesignFileDir)
{
gstrDesignFileDir = istrDesignFileDir;
}
/**
* <p>This method returns the current class name</p>
* @return String - Class name
*/
private String getClassName()
{
return (this.getClass().getName());
} //End Of getClassName
/**
* <p>This method returns the version of the class</p>
* @return String - Version of the class
*/
public static String getVersion() throws Exception
{
return /*#CC_JAVA_VERSION_NUM#*/ "2";
} //End Of getVersion
}
public CBReportRender(CBReportConfig iobjCBReportConfig)
{
engine = new ReportEngine(iobjCBReportConfig.getEngineConfig());
engine.changeLogLevel(Level.FINEST );
gobjReportConfig = iobjCBReportConfig;
}
public void runAndRenderReport(String istrOutputFile, CBDBHelper
iobjDBHelper) throws Exception
{
try
{
String lstrDesignFile = gobjReportConfig.getDesignFileDir() +
gobjReportConfig.getDesignFile();
//AMConnection lobjAMConn = iobjDBHelper.getConnection();
//Open a report design - use design to modify design, retrieve
embedded images etc.
IReportRunnable design =
engine.openReportDesign(lstrDesignFile);
//Create task to run the report - use the task to execute and
run the report,
IRunAndRenderTask task = engine.createRunAndRenderTask(design);
//Set Render context to handle url and image locataions
HTMLRenderContext renderContext = new HTMLRenderContext();
renderContext.setImageDirectory("image");
HashMap contextMap = new HashMap();
contextMap.put("org.eclipse.birt.report.data.oda.jdbc",null);
task.setAppContext(contextMap);
//Set rendering options - such as file or stream output,
//output format, whether it is embeddable, etc
HTMLRenderOption options = new HTMLRenderOption();
options.setOutputFileName(istrOutputFile);
options.setOutputFormat(this.gobjReportConfig.getReportForma t());
task.setRenderOption(options);
//run the report and destroy the engine
task.run();
}
catch (Exception e)
{
throw new CBException(e, "Report render failed!");
}
}
------------------------------------------------------------ -----------------
"Jason Weathersby" <jweathersby@actuate.com> wrote in message
news:e9085v$94g$1@utils.eclipse.org...
> Can you post your code and try using the sampledb?
>
> Jason
>
> "kevin ou" <kevin_ou@yahoo.com> wrote in message
> news:eb511c3427963394398f7032a4b9a240$1@www.eclipse.org...
>> Thanks for the reply.
>>
>> I copied the classes12.jar into
>> birt-runtime-2_1_0\ReportEngine\plugins\org.eclipse.birt.rep ort.data.oda.jdbc_2.1.0.N20060628-1351\drivers.
>> However, it is still getting the same error.
>> Also, I have tried to use XML as datasource, however, I got the same
>> error, therefore, I don't think copying jar file to drivers will solve
>> this error.
>>
>> Kevin
>>
>
>
|
|
|
Re: Missing extenion id in data source definition [message #176524 is a reply to message #176494] |
Tue, 11 July 2006 17:48   |
Eclipse User |
|
|
|
Kevin,
What version of BIRT are you using?
In your code you have this as your home.
C:/myInstall/birt/birt-runtime-2_0_1/Report Engine
Jason
"kevin" <kevin_ou@yahoo.com> wrote in message
news:e90dmr$jj8$1@utils.eclipse.org...
> Hi Jason
> Thanks for the reply, hope you can help me out for this issue.
> below is my code
> ------------------------------------------------------------ ----------------------------------
> public class CBReportConfig
> {
> private EngineConfig gobjEngineConfig;
> private String gstrEngineHome;
> private String gstrDesignFileDir =
> "C:/kou_am_development_snap/Applimation/Codebase/4.2/";
> private String gstrOutputDir =
> "C:/oracle/oradev10g/forms90/j2ee/forms90app/forms90web/";
> public static String gstrReportPropertyPath =
> "c:/codebase/conf/ReportProperty.properties";
> private String gstrFormat;
> private String gstrDesignFile = "";
>
> public CBReportConfig(String istrFormat)
> {
> gstrFormat = istrFormat;
> Properties p = new Properties();
> try
> {
> InputStream iobjStream = new
> FileInputStream(gstrReportPropertyPath);
> p.load(iobjStream);
> }
> catch (Exception ex)
> {
> ex.printStackTrace();
> }
> setEngineHome(p.getProperty("BIRT_HOME"));
> setDesignFileDir(p.getProperty("DESIGN_FILE"));
> setOutputDir(p.getProperty("RPT_OUTPUT"));
> }
>
> public String getDesignFile()
> {
> return gstrDesignFile;
> }
>
> public void setDesignFile(String designFile)
> {
> gstrDesignFile = designFile;
> }
>
> public void setReportFormat(String lstrFormat)
> {
> gstrFormat = lstrFormat;
> }
>
> public String getReportFormat()
> {
> return gstrFormat;
> }
>
> public void setReportPropertyPath(String istrPropertieFilePath)
> {
> gstrReportPropertyPath = istrPropertieFilePath;
> }
>
> public EngineConfig getEngineConfig()
> {
> return gobjEngineConfig;
> }
>
> public String getDesignFileDir()
> {
> return gstrDesignFileDir;
> }
>
> public String getOutputDir()
> {
> return gstrOutputDir;
> }
>
> public void setOutputDir(String istrOutputDir)
> {
> gstrOutputDir = istrOutputDir;
> }
>
> public void setEngineHome(String istrEngineHome)
> {
> gobjEngineConfig = new EngineConfig();
> // IPlatformContext context = new PlatformFileContext();
> // gobjEngineConfig.setEngineContext(context);
> //
> config.setEngineHome("C:/myInstall/birt/birt-runtime-2_0_1/Report
> Engine");
> gobjEngineConfig.setEngineHome(istrEngineHome);
> gstrEngineHome = istrEngineHome;
> }
>
> public void setDesignFileDir(String istrDesignFileDir)
> {
> gstrDesignFileDir = istrDesignFileDir;
> }
>
> /**
> * <p>This method returns the current class name</p>
> * @return String - Class name
> */
> private String getClassName()
> {
> return (this.getClass().getName());
> } //End Of getClassName
>
> /**
> * <p>This method returns the version of the class</p>
> * @return String - Version of the class
> */
> public static String getVersion() throws Exception
> {
> return /*#CC_JAVA_VERSION_NUM#*/ "2";
> } //End Of getVersion
> }
>
>
>
> public CBReportRender(CBReportConfig iobjCBReportConfig)
> {
> engine = new ReportEngine(iobjCBReportConfig.getEngineConfig());
> engine.changeLogLevel(Level.FINEST );
> gobjReportConfig = iobjCBReportConfig;
> }
>
> public void runAndRenderReport(String istrOutputFile, CBDBHelper
> iobjDBHelper) throws Exception
> {
> try
> {
> String lstrDesignFile = gobjReportConfig.getDesignFileDir() +
> gobjReportConfig.getDesignFile();
> //AMConnection lobjAMConn = iobjDBHelper.getConnection();
> //Open a report design - use design to modify design, retrieve
> embedded images etc.
> IReportRunnable design =
> engine.openReportDesign(lstrDesignFile);
> //Create task to run the report - use the task to execute and
> run the report,
> IRunAndRenderTask task = engine.createRunAndRenderTask(design);
> //Set Render context to handle url and image locataions
> HTMLRenderContext renderContext = new HTMLRenderContext();
> renderContext.setImageDirectory("image");
> HashMap contextMap = new HashMap();
> contextMap.put("org.eclipse.birt.report.data.oda.jdbc",null);
> task.setAppContext(contextMap);
> //Set rendering options - such as file or stream output,
> //output format, whether it is embeddable, etc
> HTMLRenderOption options = new HTMLRenderOption();
> options.setOutputFileName(istrOutputFile);
>
> options.setOutputFormat(this.gobjReportConfig.getReportForma t());
> task.setRenderOption(options);
> //run the report and destroy the engine
> task.run();
> }
> catch (Exception e)
> {
> throw new CBException(e, "Report render failed!");
> }
> }
> ------------------------------------------------------------ -----------------
>
> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
> news:e9085v$94g$1@utils.eclipse.org...
>> Can you post your code and try using the sampledb?
>>
>> Jason
>>
>> "kevin ou" <kevin_ou@yahoo.com> wrote in message
>> news:eb511c3427963394398f7032a4b9a240$1@www.eclipse.org...
>>> Thanks for the reply.
>>>
>>> I copied the classes12.jar into
>>> birt-runtime-2_1_0\ReportEngine\plugins\org.eclipse.birt.rep ort.data.oda.jdbc_2.1.0.N20060628-1351\drivers.
>>> However, it is still getting the same error.
>>> Also, I have tried to use XML as datasource, however, I got the same
>>> error, therefore, I don't think copying jar file to drivers will solve
>>> this error.
>>>
>>> Kevin
>>>
>>
>>
>
>
|
|
| |
Re: Missing extenion id in data source definition [message #176741 is a reply to message #176524] |
Wed, 12 July 2006 09:27   |
Eclipse User |
|
|
|
Originally posted by: kevin_ou.yahoo.com
Jason,
I am using Version 2.1 and I am retrieve my Birt Home using Property file
which is point to "C:/myInstall/birt/birt-runtime-2_1_0/ReportEngine". The
one you saw has been comment.
Kevin
Jason Weathersby wrote:
> Kevin,
> What version of BIRT are you using?
> In your code you have this as your home.
> C:/myInstall/birt/birt-runtime-2_0_1/Report Engine
> Jason
> "kevin" <kevin_ou@yahoo.com> wrote in message
> news:e90dmr$jj8$1@utils.eclipse.org...
>> Hi Jason
>> Thanks for the reply, hope you can help me out for this issue.
>> below is my code
>>
------------------------------------------------------------ ----------------------------------
>> public class CBReportConfig
>> {
>> private EngineConfig gobjEngineConfig;
>> private String gstrEngineHome;
>> private String gstrDesignFileDir =
>> "C:/kou_am_development_snap/Applimation/Codebase/4.2/";
>> private String gstrOutputDir =
>> "C:/oracle/oradev10g/forms90/j2ee/forms90app/forms90web/";
>> public static String gstrReportPropertyPath =
>> "c:/codebase/conf/ReportProperty.properties";
>> private String gstrFormat;
>> private String gstrDesignFile = "";
>>
>> public CBReportConfig(String istrFormat)
>> {
>> gstrFormat = istrFormat;
>> Properties p = new Properties();
>> try
>> {
>> InputStream iobjStream = new
>> FileInputStream(gstrReportPropertyPath);
>> p.load(iobjStream);
>> }
>> catch (Exception ex)
>> {
>> ex.printStackTrace();
>> }
>> setEngineHome(p.getProperty("BIRT_HOME"));
>> setDesignFileDir(p.getProperty("DESIGN_FILE"));
>> setOutputDir(p.getProperty("RPT_OUTPUT"));
>> }
>>
>> public String getDesignFile()
>> {
>> return gstrDesignFile;
>> }
>>
>> public void setDesignFile(String designFile)
>> {
>> gstrDesignFile = designFile;
>> }
>>
>> public void setReportFormat(String lstrFormat)
>> {
>> gstrFormat = lstrFormat;
>> }
>>
>> public String getReportFormat()
>> {
>> return gstrFormat;
>> }
>>
>> public void setReportPropertyPath(String istrPropertieFilePath)
>> {
>> gstrReportPropertyPath = istrPropertieFilePath;
>> }
>>
>> public EngineConfig getEngineConfig()
>> {
>> return gobjEngineConfig;
>> }
>>
>> public String getDesignFileDir()
>> {
>> return gstrDesignFileDir;
>> }
>>
>> public String getOutputDir()
>> {
>> return gstrOutputDir;
>> }
>>
>> public void setOutputDir(String istrOutputDir)
>> {
>> gstrOutputDir = istrOutputDir;
>> }
>>
>> public void setEngineHome(String istrEngineHome)
>> {
>> gobjEngineConfig = new EngineConfig();
>> // IPlatformContext context = new PlatformFileContext();
>> // gobjEngineConfig.setEngineContext(context);
>> //
>> config.setEngineHome("C:/myInstall/birt/birt-runtime-2_0_1/Report
>> Engine");
>> gobjEngineConfig.setEngineHome(istrEngineHome);
>> gstrEngineHome = istrEngineHome;
>> }
>>
>> public void setDesignFileDir(String istrDesignFileDir)
>> {
>> gstrDesignFileDir = istrDesignFileDir;
>> }
>>
>> /**
>> * <p>This method returns the current class name</p>
>> * @return String - Class name
>> */
>> private String getClassName()
>> {
>> return (this.getClass().getName());
>> } //End Of getClassName
>>
>> /**
>> * <p>This method returns the version of the class</p>
>> * @return String - Version of the class
>> */
>> public static String getVersion() throws Exception
>> {
>> return /*#CC_JAVA_VERSION_NUM#*/ "2";
>> } //End Of getVersion
>> }
>>
>>
>>
>> public CBReportRender(CBReportConfig iobjCBReportConfig)
>> {
>> engine = new ReportEngine(iobjCBReportConfig.getEngineConfig());
>> engine.changeLogLevel(Level.FINEST );
>> gobjReportConfig = iobjCBReportConfig;
>> }
>>
>> public void runAndRenderReport(String istrOutputFile, CBDBHelper
>> iobjDBHelper) throws Exception
>> {
>> try
>> {
>> String lstrDesignFile = gobjReportConfig.getDesignFileDir() +
>> gobjReportConfig.getDesignFile();
>> //AMConnection lobjAMConn = iobjDBHelper.getConnection();
>> //Open a report design - use design to modify design, retrieve
>> embedded images etc.
>> IReportRunnable design =
>> engine.openReportDesign(lstrDesignFile);
>> //Create task to run the report - use the task to execute and
>> run the report,
>> IRunAndRenderTask task = engine.createRunAndRenderTask(design);
>> //Set Render context to handle url and image locataions
>> HTMLRenderContext renderContext = new HTMLRenderContext();
>> renderContext.setImageDirectory("image");
>> HashMap contextMap = new HashMap();
>> contextMap.put("org.eclipse.birt.report.data.oda.jdbc",null);
>> task.setAppContext(contextMap);
>> //Set rendering options - such as file or stream output,
>> //output format, whether it is embeddable, etc
>> HTMLRenderOption options = new HTMLRenderOption();
>> options.setOutputFileName(istrOutputFile);
>>
>> options.setOutputFormat(this.gobjReportConfig.getReportForma t());
>> task.setRenderOption(options);
>> //run the report and destroy the engine
>> task.run();
>> }
>> catch (Exception e)
>> {
>> throw new CBException(e, "Report render failed!");
>> }
>> }
>>
------------------------------------------------------------ -----------------
>>
>> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
>> news:e9085v$94g$1@utils.eclipse.org...
>>> Can you post your code and try using the sampledb?
>>>
>>> Jason
>>>
>>> "kevin ou" <kevin_ou@yahoo.com> wrote in message
>>> news:eb511c3427963394398f7032a4b9a240$1@www.eclipse.org...
>>>> Thanks for the reply.
>>>>
>>>> I copied the classes12.jar into
>>>>
birt-runtime-2_1_0ReportEnginepluginsorg.eclipse.birt.report .data.oda.jdbc_2.1.0.N20060628-1351drivers.
>>>> However, it is still getting the same error.
>>>> Also, I have tried to use XML as datasource, however, I got the same
>>>> error, therefore, I don't think copying jar file to drivers will solve
>>>> this error.
>>>>
>>>> Kevin
>>>>
>>>
>>>
>>
>>
|
|
| |
Re: Missing extenion id in data source definition [message #176848 is a reply to message #176741] |
Wed, 12 July 2006 11:04   |
Eclipse User |
|
|
|
Can you try to hard code it to see if it works.
The error you are getting appears to be because it can not find the plugins
directory.
Jason
"kevin ou" <kevin_ou@yahoo.com> wrote in message
news:c935fb953dddc9adf969a65abf9ddec4$1@www.eclipse.org...
> Jason,
> I am using Version 2.1 and I am retrieve my Birt Home using Property file
> which is point to "C:/myInstall/birt/birt-runtime-2_1_0/ReportEngine". The
> one you saw has been comment.
>
> Kevin
>
>
> Jason Weathersby wrote:
>
>> Kevin,
>
>> What version of BIRT are you using?
>> In your code you have this as your home.
>> C:/myInstall/birt/birt-runtime-2_0_1/Report Engine
>
>> Jason
>
>> "kevin" <kevin_ou@yahoo.com> wrote in message
>> news:e90dmr$jj8$1@utils.eclipse.org...
>>> Hi Jason
>>> Thanks for the reply, hope you can help me out for this issue.
>>> below is my code
>>>
> ------------------------------------------------------------ ----------------------------------
>>> public class CBReportConfig
>>> {
>>> private EngineConfig gobjEngineConfig;
>>> private String gstrEngineHome;
>>> private String gstrDesignFileDir =
>>> "C:/kou_am_development_snap/Applimation/Codebase/4.2/";
>>> private String gstrOutputDir =
>>> "C:/oracle/oradev10g/forms90/j2ee/forms90app/forms90web/";
>>> public static String gstrReportPropertyPath =
>>> "c:/codebase/conf/ReportProperty.properties";
>>> private String gstrFormat;
>>> private String gstrDesignFile = "";
>>>
>>> public CBReportConfig(String istrFormat)
>>> {
>>> gstrFormat = istrFormat;
>>> Properties p = new Properties();
>>> try
>>> {
>>> InputStream iobjStream = new
>>> FileInputStream(gstrReportPropertyPath);
>>> p.load(iobjStream);
>>> }
>>> catch (Exception ex)
>>> {
>>> ex.printStackTrace();
>>> }
>>> setEngineHome(p.getProperty("BIRT_HOME"));
>>> setDesignFileDir(p.getProperty("DESIGN_FILE"));
>>> setOutputDir(p.getProperty("RPT_OUTPUT"));
>>> }
>>>
>>> public String getDesignFile()
>>> {
>>> return gstrDesignFile;
>>> }
>>>
>>> public void setDesignFile(String designFile)
>>> {
>>> gstrDesignFile = designFile;
>>> }
>>>
>>> public void setReportFormat(String lstrFormat)
>>> {
>>> gstrFormat = lstrFormat;
>>> }
>>>
>>> public String getReportFormat()
>>> {
>>> return gstrFormat;
>>> }
>>>
>>> public void setReportPropertyPath(String istrPropertieFilePath)
>>> {
>>> gstrReportPropertyPath = istrPropertieFilePath;
>>> }
>>>
>>> public EngineConfig getEngineConfig()
>>> {
>>> return gobjEngineConfig;
>>> }
>>>
>>> public String getDesignFileDir()
>>> {
>>> return gstrDesignFileDir;
>>> }
>>>
>>> public String getOutputDir()
>>> {
>>> return gstrOutputDir;
>>> }
>>>
>>> public void setOutputDir(String istrOutputDir)
>>> {
>>> gstrOutputDir = istrOutputDir;
>>> }
>>>
>>> public void setEngineHome(String istrEngineHome)
>>> {
>>> gobjEngineConfig = new EngineConfig();
>>> // IPlatformContext context = new PlatformFileContext();
>>> // gobjEngineConfig.setEngineContext(context);
>>> //
>>> config.setEngineHome("C:/myInstall/birt/birt-runtime-2_0_1/Report
>>> Engine");
>>> gobjEngineConfig.setEngineHome(istrEngineHome);
>>> gstrEngineHome = istrEngineHome;
>>> }
>>>
>>> public void setDesignFileDir(String istrDesignFileDir)
>>> {
>>> gstrDesignFileDir = istrDesignFileDir;
>>> }
>>>
>>> /**
>>> * <p>This method returns the current class name</p>
>>> * @return String - Class name
>>> */
>>> private String getClassName()
>>> {
>>> return (this.getClass().getName());
>>> } //End Of getClassName
>>>
>>> /**
>>> * <p>This method returns the version of the class</p>
>>> * @return String - Version of the class
>>> */
>>> public static String getVersion() throws Exception
>>> {
>>> return /*#CC_JAVA_VERSION_NUM#*/ "2";
>>> } //End Of getVersion
>>> }
>>>
>>>
>>>
>>> public CBReportRender(CBReportConfig iobjCBReportConfig)
>>> {
>>> engine = new ReportEngine(iobjCBReportConfig.getEngineConfig());
>>> engine.changeLogLevel(Level.FINEST );
>>> gobjReportConfig = iobjCBReportConfig;
>>> }
>>>
>>> public void runAndRenderReport(String istrOutputFile, CBDBHelper
>>> iobjDBHelper) throws Exception
>>> {
>>> try
>>> {
>>> String lstrDesignFile = gobjReportConfig.getDesignFileDir() +
>>> gobjReportConfig.getDesignFile();
>>> //AMConnection lobjAMConn = iobjDBHelper.getConnection();
>>> //Open a report design - use design to modify design,
>>> retrieve embedded images etc.
>>> IReportRunnable design =
>>> engine.openReportDesign(lstrDesignFile);
>>> //Create task to run the report - use the task to execute and
>>> run the report,
>>> IRunAndRenderTask task =
>>> engine.createRunAndRenderTask(design);
>>> //Set Render context to handle url and image locataions
>>> HTMLRenderContext renderContext = new HTMLRenderContext();
>>> renderContext.setImageDirectory("image");
>>> HashMap contextMap = new HashMap();
>>> contextMap.put("org.eclipse.birt.report.data.oda.jdbc",null);
>>> task.setAppContext(contextMap);
>>> //Set rendering options - such as file or stream output,
>>> //output format, whether it is embeddable, etc
>>> HTMLRenderOption options = new HTMLRenderOption();
>>> options.setOutputFileName(istrOutputFile);
>>>
>>> options.setOutputFormat(this.gobjReportConfig.getReportForma t());
>>> task.setRenderOption(options);
>>> //run the report and destroy the engine
>>> task.run();
>>> }
>>> catch (Exception e)
>>> {
>>> throw new CBException(e, "Report render failed!");
>>> }
>>> }
>>>
> ------------------------------------------------------------ -----------------
>>>
>>> "Jason Weathersby" <jweathersby@actuate.com> wrote in message
>>> news:e9085v$94g$1@utils.eclipse.org...
>>>> Can you post your code and try using the sampledb?
>>>>
>>>> Jason
>>>>
>>>> "kevin ou" <kevin_ou@yahoo.com> wrote in message
>>>> news:eb511c3427963394398f7032a4b9a240$1@www.eclipse.org...
>>>>> Thanks for the reply.
>>>>>
>>>>> I copied the classes12.jar into
> birt-runtime-2_1_0ReportEnginepluginsorg.eclipse.birt.report .data.oda.jdbc_2.1.0.N20060628-1351drivers.
>>>>> However, it is still getting the same error.
>>>>> Also, I have tried to use XML as datasource, however, I got the same
>>>>> error, therefore, I don't think copying jar file to drivers will solve
>>>>> this error.
>>>>>
>>>>> Kevin
>>>>>
>>>>
>>>>
>>>
>>>
>
>
|
|
| | | | | | | | | | | | | |
Re: Missing extenion id in data source definition [message #180831 is a reply to message #179121] |
Fri, 28 July 2006 03:10  |
Eclipse User |
|
|
|
Originally posted by: markrgli.gmail.com
Hello Kevin,
Were you able to figure it out now? I'm also having the same problem.
Thanks. :)
Mark
kevin wrote:
> Thanks for the reply. I don't run the report engine from web. So I don't
> need to copy the WebViewerExample/WEB-INF/platform. But I will take a
> look at the plugin.xml see where it is looking.
>
> Kevin
> Thibaud wrote:
>
>> I sometimes have the same problem.
>> My opinion about a "Missing extension id" is that it means that the
>> plugin
> is unreachable.
>> The plugin is unreachable because, it's not present or because the loader
> failed to resolved the plugin dependencies.
>> So if you take a look into the MANIFEST of the plugin, you'll see which
> plugin needs to be present.
>
>> Greg Hilton wrote:
>>> If anyone is interested, I solved this problem by copying the
>>> WebViewerExample/WEB-INF/platform directory to my application WEB-INF
>>> directory.
>>>
>>> Greg
>>>
>>> "Greg Hilton" <ghilton@espsg.com> wrote in message
>>> news:e9jgu2$2p8$1@utils.eclipse.org...
>>>> I am currently encountering the same problem described in this
>>>> thread when attempting to use an XML data source with the BIRT
>>>> report engine linked into my standalone application. I have the
>>>> 2.1.0 English version
> installed
>>>> only. Perhaps I can help debug.
>>>>
>>>> Can someone tell me which code should be calling ModelPlugin.start?
>>>>
>>>> Greg
>>>>
>>>> Kevin Ou wrote:
>>>>> I believe it could be some setting of my machine that cause this
>>>>> happens
>>>>>
>>>>> My Machine has both birt 2.0 and birt 2.1 install. But in the
>>>>> script, I am using birt 2.1 engine home. Also I am using the
>>>>> eclipse buddled with birt 2.1 that I downloaded from birt's website
>>>>> to run the example. Also, my non-Unicode programs setting is
>>>>> Chinese(PRC). I hope that would be enough hints for my configuration.
>>>>>
>>>
>>>
>
>
|
|
|
Goto Forum:
Current Time: Mon Jul 07 04:40:18 EDT 2025
Powered by FUDForum. Page generated in 0.11779 seconds
|