Skip to main content



      Home
Home » Archived » BIRT » BIRT on RCP application
BIRT on RCP application [message #176680] Wed, 12 July 2006 05:57 Go to next message
Eclipse UserFriend
Originally posted by: theo.amcn.net

In a RCP application,we need use BIRT.

in my code:
DtpManifestExplorer.getInstance( ).getExtensionManifests( );
WebViewer.display(uri,WebViewer.HTML,browser);

then,there's an error:
HTTP Status 500 -

------------------------------------------------------------ --------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
.......................................

root cause

java.lang.LinkageError: Class javax/servlet/ServletContext violates loader constraints
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
........................................

if I preview in 'Report design' perspective,I can get it.
The URL is "http://127.0.0.1:65475/viewer/frameset?__......",but in my RCP application,the URL is "http://127.0.0.1:51176/viewer/run?__report=....",the ports are different.Why?who can help me...

I'm so sorry my English is not very well,I hope somebody can understand my meaning...
Re: BIRT on RCP application [message #176926 is a reply to message #176680] Wed, 12 July 2006 11:55 Go to previous messageGo to next message
Eclipse UserFriend
What version of BIRT are you using?
We just did a webinar on this a couple of weeks ago.
Here is the source for that. BTW in 2.1 you dont need the DtpManifest line.
Look under the birt directory there is a readme.

Jason

"Theo" <theo@amcn.net> wrote in message
news:9726035.1152698272902.JavaMail.root@cp1.javalobby.org...
> In a RCP application,we need use BIRT.
>
> in my code:
> DtpManifestExplorer.getInstance( ).getExtensionManifests( );
> WebViewer.display(uri,WebViewer.HTML,browser);
>
> then,there's an error:
> HTTP Status 500 -
>
> ------------------------------------------------------------ --------------------
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: Servlet execution threw an exception
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:269)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
> ......................................
>
> root cause
>
> java.lang.LinkageError: Class javax/servlet/ServletContext violates loader
> constraints
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> .......................................
>
> if I preview in 'Report design' perspective,I can get it.
> The URL is "http://127.0.0.1:65475/viewer/frameset?__......",but in my RCP
> application,the URL is
> "http://127.0.0.1:51176/viewer/run?__report=....",the ports are
> different.Why?who can help me...
>
> I'm so sorry my English is not very well,I hope somebody can understand my
> meaning...


Re: BIRT on RCP application [message #177105 is a reply to message #176680] Wed, 12 July 2006 22:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: theo.amcn.net

Thanks for your reply...

The version of eclipse is 3.1 and the version of BIRT is 2.01...

Can webinar_demo running under BIRT 2.01?
Re: BIRT on RCP application [message #177252 is a reply to message #177105] Thu, 13 July 2006 09:28 Go to previous messageGo to next message
Eclipse UserFriend
You need version BIRT 2.1 for that sample to work.
You could download 2.1 just to run the demo and maybe cut the code
to 2.0.1. The display function will only work with 3 parameters.

Jason

"Theo" <theo@amcn.net> wrote in message
news:16770167.1152758491537.JavaMail.root@cp1.javalobby.org...
> Thanks for your reply...
>
> The version of eclipse is 3.1 and the version of BIRT is 2.01...
>
> Can webinar_demo running under BIRT 2.01?
Re: BIRT on RCP application [message #177323 is a reply to message #177252] Thu, 13 July 2006 11:12 Go to previous messageGo to next message
Eclipse UserFriend
Jason - thanks for the pointer. It looks like just what I need to kick
off my learning!

Two small suggestions (and I realize that there is probably lots on
everyone's plate who is working on BIRT).

1. Include the help files in the update manager regular download (at least
the user help files). I installed BIRT via the update manager and only
after a lot of searching I went back and installed the SDK just to get the
help files.

2. I think there is a lot of good information on the BIRT website; but it
is really hard to find. Even reorganizing what you have would be very
useful. Maybe moving a lot of the pages to the wiki in a new structure...
- to give an exmple of a site I find useful is the hibernate.org website
- which I'm sure you familar with

Thanks again,
Chris....

Jason Weathersby wrote:

> You need version BIRT 2.1 for that sample to work.
> You could download 2.1 just to run the demo and maybe cut the code
> to 2.0.1. The display function will only work with 3 parameters.

> Jason

> "Theo" <theo@amcn.net> wrote in message
> news:16770167.1152758491537.JavaMail.root@cp1.javalobby.org...
>> Thanks for your reply...
>>
>> The version of eclipse is 3.1 and the version of BIRT is 2.01...
>>
>> Can webinar_demo running under BIRT 2.01?
Re: BIRT on RCP application [message #177332 is a reply to message #177323] Thu, 13 July 2006 11:13 Go to previous messageGo to next message
Eclipse UserFriend
honestly...I thought I replied to this message:

http://www.eclipse.org/newsportal/article.php?id=11595&g roup=eclipse.birt#11595
Re: BIRT on RCP application [message #177443 is a reply to message #177323] Thu, 13 July 2006 16:33 Go to previous messageGo to next message
Eclipse UserFriend
Chris,

Thanks for the feedback.

Jason

"Chris Hane" <chris@itsolut.com> wrote in message
news:f17e6a6ead244da4a2a0ce1fdcdb2b7c$1@www.eclipse.org...
> Jason - thanks for the pointer. It looks like just what I need to kick
> off my learning!
>
> Two small suggestions (and I realize that there is probably lots on
> everyone's plate who is working on BIRT).
>
> 1. Include the help files in the update manager regular download (at least
> the user help files). I installed BIRT via the update manager and only
> after a lot of searching I went back and installed the SDK just to get the
> help files.
>
> 2. I think there is a lot of good information on the BIRT website; but it
> is really hard to find. Even reorganizing what you have would be very
> useful. Maybe moving a lot of the pages to the wiki in a new structure...
> - to give an exmple of a site I find useful is the hibernate.org
> website - which I'm sure you familar with
>
> Thanks again,
> Chris....
>
> Jason Weathersby wrote:
>
>> You need version BIRT 2.1 for that sample to work.
>> You could download 2.1 just to run the demo and maybe cut the code
>> to 2.0.1. The display function will only work with 3 parameters.
>
>> Jason
>
>> "Theo" <theo@amcn.net> wrote in message
>> news:16770167.1152758491537.JavaMail.root@cp1.javalobby.org...
>>> Thanks for your reply...
>>>
>>> The version of eclipse is 3.1 and the version of BIRT is 2.01...
>>>
>>> Can webinar_demo running under BIRT 2.01?
>
Re: BIRT on RCP application [message #177450 is a reply to message #177332] Thu, 13 July 2006 16:34 Go to previous message
Eclipse UserFriend
What message is this?

Jason

"Chris Hane" <chris@itsolut.com> wrote in message
news:3b6a5e73fa89f7bc39aabee676ca4543$1@www.eclipse.org...
> honestly...I thought I replied to this message:
>
> http://www.eclipse.org/newsportal/article.php?id=11595&g roup=eclipse.birt#11595
>
Previous Topic:Set default value of parameter as sysdate
Next Topic:java.lang.IllegalArgumentException: The extension with ID 'org.eclipse.birt.report.data.oda.jdbc' is
Goto Forum:
  


Current Time: Mon May 12 16:58:45 EDT 2025

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

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

Back to the top