BIRT on RCP application [message #176680] |
Wed, 12 July 2006 05:57  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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...
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03238 seconds