Home » Archived » BIRT » Jason,Aric...Integration Problem
Jason,Aric...Integration Problem [message #108927] |
Fri, 13 January 2006 10:24  |
Eclipse User |
|
|
|
Originally posted by: to.sreddy.gmail.com
Jason,Aric
I am trying to integrate BIRT M03 viewer to WSAD 5.0 .
I have downloaded birt.war file and unzipped into BirtProject(the project
name in my WSAD)/Webcontent then set the class loader policy
I copied RunReport.java(Modefied the path for EngineHome)and Index.jsp
into my JavaSource and WebContent folders.
Now if i try to run the Index.jsp in the server, its displaying the page
as below.
Thank you for your choosing BIRT (Business Intelligence Reporting Tool).
Viewer Version : 1.0.1
Engine Version: 1.0.1
View Example
If i click on the link "View Example"
Page Cannot found with following error
E SRVE0026E: [Servlet Error]-[ViewerServlet]:
java.lang.UnsupportedClassVersionError:
org/eclipse/birt/report/viewer/servlets/ViewerServlet (Unsupported
major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at
java.security.SecureClassLoader.defineClass(SecureClassLoade r.java(Compiled
Code))
at
com.ibm.ws.classloader.CompoundClassLoader._defineClass(Comp oundClassLoader.java:381)
at
com.ibm.ws.classloader.CompoundClassLoader.findClass(Compoun dClassLoader.java:348)
at
com.ibm.ws.classloader.CompoundClassLoader.loadClass(Compoun dClassLoader.java:262)
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at
com.ibm.ws.classloader.ReloadableClassLoader.loadClass(Reloa dableClassLoader.java:76)
at java.beans.Beans.instantiate(Beans.java:216)
at java.beans.Beans.instantiate(Beans.java:77)
at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServ let(WebAppServletManager.java:224)
at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServl etReference(WebAppServletManager.java:382)
at
com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(We bApp.java:589)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.c alculateInfo(WebAppRequestDispatcherInfo.java:177)
at
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.<init >(WebAppRequestDispatcherInfo.java:59)
at
com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(W ebApp.java:1415)
at
com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(W ebApp.java:1376)
at
com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHo ok(WebAppInvoker.java:196)
at
com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.ha ndleInvocation(CachedInvocation.java:71)
at
com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatch ByURI(ServletRequestProcessor.java:182)
at
com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.se rvice(OSEListener.java:331)
at
com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(Ht tpConnection.java:56)
at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConn ection.java:432)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
This is the code in my jsp calling the .rptdesign
<p><a href="<%= request.getContextPath( ) +
" /frameset?__report=new_report.rptdesign&sample=my+parame ter " %>">View
Example</a>
and new_report.rptdesign is in my Web-Inf folder.
When i start my server, i have the following messages on my server.
[1/13/06 9:55:22:889 EST] 1c4d4768 ApplicationMg A WSVR0200I: Starting
application: BIRTProject
[1/13/06 9:55:23:089 EST] 1c4d4768 WebContainer A SRVE0169I: Loading Web
Module: Eclipse BIRT Report Viewer.
[1/13/06 9:55:23:109 EST] 1c4d4768 WebGroup I SRVE0180I: [Eclipse
BIRT Report Viewer] [/BIRTPrj] [Servlet.LOG]: JSP 1.2 Processor: init
[1/13/06 9:55:23:219 EST] 1c4d4768 WebGroup I SRVE0180I: [Eclipse
BIRT Report Viewer] [/BIRTPrj] [Servlet.LOG]: SimpleFileServlet: init
[1/13/06 9:55:23:230 EST] 1c4d4768 WebGroup I SRVE0180I: [Eclipse
BIRT Report Viewer] [/BIRTPrj] [Servlet.LOG]: InvokerServlet: init
[1/13/06 9:55:23:230 EST] 1c4d4768 ApplicationMg A WSVR0221I: Application
started: BIRTProject
[1/13/06 9:55:23:260 EST] 1c4d4768 HttpTransport A SRVE0171I: Transport
http is listening on port 9,080.
[1/13/06 9:55:25:254 EST] 1c4d4768 HttpTransport A SRVE0171I: Transport
https is listening on port 9,443.
[1/13/06 9:55:25:334 EST] 1c4d4768 RMIConnectorC A ADMC0026I: RMI
Connector available at port 2809
[1/13/06 9:55:25:385 EST] 1c4d4768 WsServer A WSVR0001I: Server
server1 open for e-business
[1/13/06 9:55:29:324 EST] 6ab3077e WebGroup I SRVE0180I: [Eclipse
BIRT Report Viewer] [/BIRTPrj] [Servlet.LOG]: /index.jsp: init
Does it mean that i have every thing required in my project?
Did you change anything in your
WSAD-->Window-->Java-->Compiler-->JdkComliance
-->InstalledJREs ???
It looks like some version contravention, do u have any idea?
How did you call RunReport from ur JSP? What are the parameters you passed
to call the RunReport.run().?
RunReport.java should be run from Command Prompt by passing the params,
how did u call that in WSAD?
Thanks.
Srini
|
|
|
Re: Jason,Aric...Integration Problem [message #108973 is a reply to message #108927] |
Fri, 13 January 2006 10:57   |
Eclipse User |
|
|
|
Srini,
I have seen this error with mismatched versions of Java.
A couple of questions for you. Do you need to use RunReport?
Can you deploy birt.war and just use the built in viewer?
The reason I ask this is that we are updating that example.
If you dont want to use the built in viewer look at ReportRunner.java in the
org.eclipse.birt.report.engine.api package. You will need to download it
from CVS.
BTW you may want to try the Web Viewer Example directory, which is already
unzipped instead
of the Birt.war.
One final thing, I would probably use RC instead of M3.
Jason
"srini" <to.sreddy@gmail.com> wrote in message
news:cb7c15dc19ccff008a78818263219604$1@www.eclipse.org...
> Jason,Aric
> I am trying to integrate BIRT M03 viewer to WSAD 5.0 .
> I have downloaded birt.war file and unzipped into BirtProject(the project
> name in my WSAD)/Webcontent then set the class loader policy
> I copied RunReport.java(Modefied the path for EngineHome)and Index.jsp
> into my JavaSource and WebContent folders.
> Now if i try to run the Index.jsp in the server, its displaying the page
> as below.
>
> Thank you for your choosing BIRT (Business Intelligence Reporting Tool).
>
> Viewer Version : 1.0.1
>
> Engine Version: 1.0.1
>
> View Example
> If i click on the link "View Example" Page Cannot found with following
> error
> E SRVE0026E: [Servlet Error]-[ViewerServlet]:
> java.lang.UnsupportedClassVersionError:
> org/eclipse/birt/report/viewer/servlets/ViewerServlet (Unsupported
> major.minor version 48.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoade r.java(Compiled
> Code))
> at
> com.ibm.ws.classloader.CompoundClassLoader._defineClass(Comp oundClassLoader.java:381)
> at
> com.ibm.ws.classloader.CompoundClassLoader.findClass(Compoun dClassLoader.java:348)
> at
> com.ibm.ws.classloader.CompoundClassLoader.loadClass(Compoun dClassLoader.java:262)
> at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
> at
> com.ibm.ws.classloader.ReloadableClassLoader.loadClass(Reloa dableClassLoader.java:76)
> at java.beans.Beans.instantiate(Beans.java:216)
> at java.beans.Beans.instantiate(Beans.java:77)
> at
> com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServ let(WebAppServletManager.java:224)
> at
> com.ibm.ws.webcontainer.webapp.WebAppServletManager.getServl etReference(WebAppServletManager.java:382)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.getServletReference(We bApp.java:589)
> at
> com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.c alculateInfo(WebAppRequestDispatcherInfo.java:177)
> at
> com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcherInfo.<init >(WebAppRequestDispatcherInfo.java:59)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(W ebApp.java:1415)
> at
> com.ibm.ws.webcontainer.webapp.WebApp.getRequestDispatcher(W ebApp.java:1376)
> at
> com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHo ok(WebAppInvoker.java:196)
> at
> com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.ha ndleInvocation(CachedInvocation.java:71)
> at
> com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatch ByURI(ServletRequestProcessor.java:182)
> at
> com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.se rvice(OSEListener.java:331)
> at
> com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(Ht tpConnection.java:56)
> at
> com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConn ection.java:432)
> at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
> This is the code in my jsp calling the .rptdesign
> <p><a href="<%= request.getContextPath( ) +
> " /frameset?__report=new_report.rptdesign&sample=my+parame ter " %>">View
> Example</a> and new_report.rptdesign is in my Web-Inf folder.
> When i start my server, i have the following messages on my server.
> [1/13/06 9:55:22:889 EST] 1c4d4768 ApplicationMg A WSVR0200I: Starting
> application: BIRTProject
> [1/13/06 9:55:23:089 EST] 1c4d4768 WebContainer A SRVE0169I: Loading Web
> Module: Eclipse BIRT Report Viewer.
> [1/13/06 9:55:23:109 EST] 1c4d4768 WebGroup I SRVE0180I: [Eclipse
> BIRT Report Viewer] [/BIRTPrj] [Servlet.LOG]: JSP 1.2 Processor: init
> [1/13/06 9:55:23:219 EST] 1c4d4768 WebGroup I SRVE0180I: [Eclipse
> BIRT Report Viewer] [/BIRTPrj] [Servlet.LOG]: SimpleFileServlet: init
> [1/13/06 9:55:23:230 EST] 1c4d4768 WebGroup I SRVE0180I: [Eclipse
> BIRT Report Viewer] [/BIRTPrj] [Servlet.LOG]: InvokerServlet: init
> [1/13/06 9:55:23:230 EST] 1c4d4768 ApplicationMg A WSVR0221I: Application
> started: BIRTProject
> [1/13/06 9:55:23:260 EST] 1c4d4768 HttpTransport A SRVE0171I: Transport
> http is listening on port 9,080.
> [1/13/06 9:55:25:254 EST] 1c4d4768 HttpTransport A SRVE0171I: Transport
> https is listening on port 9,443.
> [1/13/06 9:55:25:334 EST] 1c4d4768 RMIConnectorC A ADMC0026I: RMI
> Connector available at port 2809
> [1/13/06 9:55:25:385 EST] 1c4d4768 WsServer A WSVR0001I: Server
> server1 open for e-business
> [1/13/06 9:55:29:324 EST] 6ab3077e WebGroup I SRVE0180I: [Eclipse
> BIRT Report Viewer] [/BIRTPrj] [Servlet.LOG]: /index.jsp: init
> Does it mean that i have every thing required in my project?
> Did you change anything in your
> WSAD-->Window-->Java-->Compiler-->JdkComliance
> -->InstalledJREs ???
> It looks like some version contravention, do u have any idea?
> How did you call RunReport from ur JSP? What are the parameters you passed
> to call the RunReport.run().?
> RunReport.java should be run from Command Prompt by passing the params,
> how did u call that in WSAD?
> Thanks.
> Srini
>
|
|
|
Re: Jason,Aric...Integration Problem [message #109096 is a reply to message #108973] |
Fri, 13 January 2006 13:53   |
Eclipse User |
|
|
|
Originally posted by: to.sreddy.gmail.com
Jason,
My intention to integrate BIRT with WSAD is , based on some input
parameters (like Dates,ID and name etc)given by the user
system has to generate a pdf/html report and the user should be able to
save it if he want to.This enire thing should be go through WSAD which
i am using as IDE or webserver.Is it possible?
Now, answers to ur qns:
I am able to import the Birt.war into my WSAD and see all the directory
structure like common,css,images,jslayout,parameter,plugin,webinf
.So far i could not use the built in viewer.
I dont mind if i use RunReport or ReportRunner.java, but i have to
generate the reports.
Right now i can create my own reports in BIRT Designer and format it,
finally i got the myReport.rptdesign file from BIRT Designer.
What i have to do after this point?please keep in mind that i am using
WSAD not the apache,eclipse.
Thanks,
Srini
|
|
|
Re: Jason,Aric...Integration Problem [message #109166 is a reply to message #109096] |
Fri, 13 January 2006 14:23   |
Eclipse User |
|
|
|
Srini,
I am not that familar with WASD.
Lets try to get deployment squared away first and then look at ultimately
how you want to run it.
Initially you were having a problem when you clicked on view report example.
Instead of using the
birt.war, try using the Web Viewer Example directory. Rename it to
something like viewer. Note the index.jsp and
all directories in the war file are under this directory.
Jason
"srini" <to.sreddy@gmail.com> wrote in message
news:66781da7fab281487a29eb206ba9015c$1@www.eclipse.org...
> Jason,
> My intention to integrate BIRT with WSAD is , based on some input
> parameters (like Dates,ID and name etc)given by the user
> system has to generate a pdf/html report and the user should be able to
> save it if he want to.This enire thing should be go through WSAD which i
> am using as IDE or webserver.Is it possible?
> Now, answers to ur qns:
> I am able to import the Birt.war into my WSAD and see all the directory
> structure like common,css,images,jslayout,parameter,plugin,webinf
> .So far i could not use the built in viewer.
> I dont mind if i use RunReport or ReportRunner.java, but i have to
> generate the reports.
> Right now i can create my own reports in BIRT Designer and format it,
> finally i got the myReport.rptdesign file from BIRT Designer.
> What i have to do after this point?please keep in mind that i am using
> WSAD not the apache,eclipse.
> Thanks,
> Srini
>
|
|
| | | | |
Re: Jason,Aric...Integration Problem [message #113111 is a reply to message #112368] |
Mon, 23 January 2006 06:55  |
Eclipse User |
|
|
|
Originally posted by: maspeli.deloitte.co.uk
My reports are still empty. :-(
> 4 - Copy prototype.js to
> /birt.war/plugins/org.eclipse.birt.report.viewer/birt/ajax/l ib directory.
This doesn't exist in the 2.0RC2 runtime I downloaded. :-(
I have Webapps/birt/ajax/lib, and I have org.eclipse.birt.report.viewer in
the Eclipse plugins directory. Putting prototype.js in birt/ajax/lib and
copying org.eclipse.birt.report.viewer from eclipse/plugins to
Webapps/birt/plugins makes no difference.
> 5 - Copy the following six jars to the birt.war/WEB-INF/lib directory.
> Start up Tomcat and enter the URL to BIRT (ie http://localhost:8080/birt)
> and run the test report.
This is still empty for me.
It would be incredibly nice if someone that does have this working could put
up a tarball of the entire Webapps/birt directory somewhere. Unofficial, I
understand, but at least then we could be sure we're using the same version
:-/
Martin
|
|
|
Goto Forum:
Current Time: Mon Sep 22 19:19:40 EDT 2025
Powered by FUDForum. Page generated in 0.08285 seconds
|