Skip to main content



      Home
Home » Archived » BIRT » Installing BIRT report viewer under Resin
Installing BIRT report viewer under Resin [message #167338] Mon, 05 June 2006 01:39 Go to next message
Eclipse UserFriend
Originally posted by: baz.spookypizza.com

Hello,

Has anyone tried installing the BIRT report viewer webapp under Resin?

I copied the birt.war to Resin's webapps directory. After Resin did its
auto deploy, I copied the itext jar to the
WEB-INF/platform/plugins/com.lowagie.itext/lib directory of the newly
expanded webapp. I then copied my JDBC driver jar (jtds) to the
plugins/org.eclipse.birt.report.data.oda.jdbc/drivers directory.

When I open up the webapp in a browser I get the "Birt viewer has been
installed." page.

When I click on the "View Example" link, I get this:

java.lang.NullPointerException
at
org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(Unknown
Source)
at
org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(Unknown
Source)
at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(U nknown
Source)
at
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:113)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:90)
at
com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:99)
at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:163)
at
com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:207)
at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest .java:385)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 327)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:450)
at com.caucho.util.ThreadPool.run(ThreadPool.java:394)
at java.lang.Thread.run(Thread.java:595)

If you need any more information, please let me know. Your assistance
is greatly appreciated.

Thank you,

Barry
Re: Installing BIRT report viewer under Resin [message #167812 is a reply to message #167338] Tue, 06 June 2006 10:35 Go to previous messageGo to next message
Eclipse UserFriend
Barry,

What version of BIRT did you try this with?
Did you get a log file in th logs directory?

Thanks
Jason

"Barry Heath" <baz@spookypizza.com> wrote in message
news:e60g00$kpt$1@utils.eclipse.org...
> Hello,
>
> Has anyone tried installing the BIRT report viewer webapp under Resin?
>
> I copied the birt.war to Resin's webapps directory. After Resin did its
> auto deploy, I copied the itext jar to the
> WEB-INF/platform/plugins/com.lowagie.itext/lib directory of the newly
> expanded webapp. I then copied my JDBC driver jar (jtds) to the
> plugins/org.eclipse.birt.report.data.oda.jdbc/drivers directory.
>
> When I open up the webapp in a browser I get the "Birt viewer has been
> installed." page.
>
> When I click on the "View Example" link, I get this:
>
> java.lang.NullPointerException
> at
> org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(Unknown
> Source)
> at
> org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(Unknown
> Source)
> at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(U nknown
> Source)
> at
> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
> Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:113)
> at
> org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:90)
> at
> com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:99)
> at
> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:163)
> at
> com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:207)
> at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest .java:385)
> at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 327)
> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:450)
> at com.caucho.util.ThreadPool.run(ThreadPool.java:394)
> at java.lang.Thread.run(Thread.java:595)
>
> If you need any more information, please let me know. Your assistance is
> greatly appreciated.
>
> Thank you,
>
> Barry
Re: Installing BIRT report viewer under Resin [message #168016 is a reply to message #167812] Tue, 06 June 2006 16:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: baz.spookypizza.com

I apologize for not including that in my original post.

I'm running Resin 3.0.9 and using birt-runtime-2.1RC4.

The logs directory under the birt application is empty. Resin's log
repeats the stack trace I posted previously, but with no other information.

Thank you,

Barry
Re: Installing BIRT report viewer under Resin [message #168770 is a reply to message #168016] Thu, 08 June 2006 23:24 Go to previous messageGo to next message
Eclipse UserFriend
Barry,

Can you try to rewar the WebViewerExample application and deploying it.
Make sure you have a configuration directory in the WEB_INF/platform
directory.

Thanks

Jason

"Barry Heath" <baz@spookypizza.com> wrote in message
news:b754e83d5498dfc9767bc409cebc74ec$1@www.eclipse.org...
>I apologize for not including that in my original post.
>
> I'm running Resin 3.0.9 and using birt-runtime-2.1RC4.
>
> The logs directory under the birt application is empty. Resin's log
> repeats the stack trace I posted previously, but with no other
> information.
>
> Thank you,
>
> Barry
>
Re: Installing BIRT report viewer under Resin [message #169540 is a reply to message #168770] Tue, 13 June 2006 03:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: baz.spookypizza.com

Jason,

I rewar'ed the WebViewerExample and made sure the
WEB-INF/platform/configuration directory existed.

I still receive the same result when I attempt to view the example report:

java.lang.NullPointerException
at
org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(Unknown
Source)
at
org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(Unknown
Source)
at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(U nknown
Source)
at
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:113)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:90)
at
com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:99)
at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:163)
at
com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:207)
at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest .java:385)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 327)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:450)
at com.caucho.util.ThreadPool.run(ThreadPool.java:394)
at java.lang.Thread.run(Thread.java:595)

Any other ideas? Is there more configuration required that I am unaware
of?

Thank you,

Barry


Jason Weathersby wrote:

> Barry,

> Can you try to rewar the WebViewerExample application and deploying it.
> Make sure you have a configuration directory in the WEB_INF/platform
> directory.

> Thanks

> Jason

> "Barry Heath" <baz@spookypizza.com> wrote in message
> news:b754e83d5498dfc9767bc409cebc74ec$1@www.eclipse.org...
>>I apologize for not including that in my original post.
>>
>> I'm running Resin 3.0.9 and using birt-runtime-2.1RC4.
>>
>> The logs directory under the birt application is empty. Resin's log
>> repeats the stack trace I posted previously, but with no other
>> information.
>>
>> Thank you,
>>
>> Barry
>>
Re: Installing BIRT report viewer under Resin [message #169814 is a reply to message #169540] Tue, 13 June 2006 14:12 Go to previous messageGo to next message
Eclipse UserFriend
I am having difficulty getting this to work.
Can you try to copy WebViewerExample directory underneath the webapps in
resin and rename it to birt.
This should prevent resin from exploding the war file.
In the browser enter localhost:8080/birt.
Let me know what output you get.

Jason

"Barry Heath" <baz@spookypizza.com> wrote in message
news:1ff67d0d895601f0ab17a1419c8f5ba2$1@www.eclipse.org...
> Jason,
>
> I rewar'ed the WebViewerExample and made sure the
> WEB-INF/platform/configuration directory existed.
>
> I still receive the same result when I attempt to view the example report:
>
> java.lang.NullPointerException
> at
> org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(Unknown
> Source)
> at
> org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(Unknown
> Source)
> at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(U nknown
> Source)
> at
> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
> Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:113)
> at
> org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:90)
> at
> com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:99)
> at
> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:163)
> at
> com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:207)
> at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest .java:385)
> at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 327)
> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:450)
> at com.caucho.util.ThreadPool.run(ThreadPool.java:394)
> at java.lang.Thread.run(Thread.java:595)
>
> Any other ideas? Is there more configuration required that I am unaware
> of?
>
> Thank you,
>
> Barry
>
>
> Jason Weathersby wrote:
>
>> Barry,
>
>> Can you try to rewar the WebViewerExample application and deploying it.
>> Make sure you have a configuration directory in the WEB_INF/platform
>> directory.
>
>> Thanks
>
>> Jason
>
>> "Barry Heath" <baz@spookypizza.com> wrote in message
>> news:b754e83d5498dfc9767bc409cebc74ec$1@www.eclipse.org...
>>>I apologize for not including that in my original post.
>>>
>>> I'm running Resin 3.0.9 and using birt-runtime-2.1RC4.
>>>
>>> The logs directory under the birt application is empty. Resin's log
>>> repeats the stack trace I posted previously, but with no other
>>> information.
>>>
>>> Thank you,
>>>
>>> Barry
>>>
>
Re: Installing BIRT report viewer under Resin [message #169897 is a reply to message #169814] Tue, 13 June 2006 17:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: baz.spookypizza.com

Jason,

The result is the same NPE exception.

Thank you,

Barry


Jason Weathersby wrote:
> I am having difficulty getting this to work.
> Can you try to copy WebViewerExample directory underneath the webapps in
> resin and rename it to birt.
> This should prevent resin from exploding the war file.
> In the browser enter localhost:8080/birt.
> Let me know what output you get.
>
> Jason
>
> "Barry Heath" <baz@spookypizza.com> wrote in message
> news:1ff67d0d895601f0ab17a1419c8f5ba2$1@www.eclipse.org...
>> Jason,
>>
>> I rewar'ed the WebViewerExample and made sure the
>> WEB-INF/platform/configuration directory existed.
>>
>> I still receive the same result when I attempt to view the example report:
>>
>> java.lang.NullPointerException
>> at
>> org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(Unknown
>> Source)
>> at
>> org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(Unknown
>> Source)
>> at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(U nknown
>> Source)
>> at
>> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
>> Source)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:113)
>> at
>> org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:90)
>> at
>> com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:99)
>> at
>> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:163)
>> at
>> com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:207)
>> at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest .java:385)
>> at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 327)
>> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:450)
>> at com.caucho.util.ThreadPool.run(ThreadPool.java:394)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> Any other ideas? Is there more configuration required that I am unaware
>> of?
>>
>> Thank you,
>>
>> Barry
>>
>>
>> Jason Weathersby wrote:
>>
>>> Barry,
>>> Can you try to rewar the WebViewerExample application and deploying it.
>>> Make sure you have a configuration directory in the WEB_INF/platform
>>> directory.
>>> Thanks
>>> Jason
>>> "Barry Heath" <baz@spookypizza.com> wrote in message
>>> news:b754e83d5498dfc9767bc409cebc74ec$1@www.eclipse.org...
>>>> I apologize for not including that in my original post.
>>>>
>>>> I'm running Resin 3.0.9 and using birt-runtime-2.1RC4.
>>>>
>>>> The logs directory under the birt application is empty. Resin's log
>>>> repeats the stack trace I posted previously, but with no other
>>>> information.
>>>>
>>>> Thank you,
>>>>
>>>> Barry
>>>>
>
>
Re: Installing BIRT report viewer under Resin [message #169905 is a reply to message #169897] Tue, 13 June 2006 18:00 Go to previous message
Eclipse UserFriend
Originally posted by: baz.spookypizza.com

I also forgot to check the stderr from Resin. Here's the exception
reported there:

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OS GILauncher.java:131)
at
org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:78)
at
org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(Unknown
Source)
at
org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(Unknown
Source)
at
org.eclipse.birt.report.servlet.ViewerServlet.__getContext(U nknown Source)
at
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:113)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:90)
at
com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:99)
at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:163)
at
com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:207)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest .java:249)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 327)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:450)
at com.caucho.util.ThreadPool.run(ThreadPool.java:394)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: Exception in
org.eclipse.osgi.framework.internal.core.SystemBundleActivat or.start()
of bundle system.bundle.
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:557)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:484)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:275)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.l aunch(StartLevelManager.java:245)
at
org.eclipse.osgi.framework.internal.core.SystemBundle.resume (SystemBundle.java:155)
at
org.eclipse.osgi.framework.internal.core.Framework.launch(Fr amework.java:503)
at
org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.ja va:51)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.startup(Ecli pseStarter.java:289)
... 21 more


Thank you,

Barry

Barry Heath wrote:
> Jason,
>
> The result is the same NPE exception.
>
> Thank you,
>
> Barry
>
>
> Jason Weathersby wrote:
>> I am having difficulty getting this to work.
>> Can you try to copy WebViewerExample directory underneath the webapps
>> in resin and rename it to birt.
>> This should prevent resin from exploding the war file.
>> In the browser enter localhost:8080/birt.
>> Let me know what output you get.
>>
>> Jason
>>
>> "Barry Heath" <baz@spookypizza.com> wrote in message
>> news:1ff67d0d895601f0ab17a1419c8f5ba2$1@www.eclipse.org...
>>> Jason,
>>>
>>> I rewar'ed the WebViewerExample and made sure the
>>> WEB-INF/platform/configuration directory existed.
>>>
>>> I still receive the same result when I attempt to view the example
>>> report:
>>>
>>> java.lang.NullPointerException
>>> at
>>> org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(Unknown
>>> Source)
>>> at
>>> org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(Unknown
>>> Source)
>>> at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(U nknown
>>> Source)
>>> at
>>> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
>>> Source)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:113)
>>> at
>>> org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
>>>
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:90)
>>> at
>>> com.caucho.server.dispatch.ServletFilterChain.doFilter(Servl etFilterChain.java:99)
>>>
>>> at
>>> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFi lterChain.java:163)
>>>
>>> at
>>> com.caucho.server.dispatch.ServletInvocation.service(Servlet Invocation.java:207)
>>>
>>> at
>>> com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest .java:385)
>>> at com.caucho.server.port.TcpConnection.run(TcpConnection.java: 327)
>>> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:450)
>>> at com.caucho.util.ThreadPool.run(ThreadPool.java:394)
>>> at java.lang.Thread.run(Thread.java:595)
>>>
>>> Any other ideas? Is there more configuration required that I am
>>> unaware of?
>>>
>>> Thank you,
>>>
>>> Barry
>>>
>>>
>>> Jason Weathersby wrote:
>>>
>>>> Barry,
>>>> Can you try to rewar the WebViewerExample application and deploying it.
>>>> Make sure you have a configuration directory in the WEB_INF/platform
>>>> directory.
>>>> Thanks
>>>> Jason
>>>> "Barry Heath" <baz@spookypizza.com> wrote in message
>>>> news:b754e83d5498dfc9767bc409cebc74ec$1@www.eclipse.org...
>>>>> I apologize for not including that in my original post.
>>>>>
>>>>> I'm running Resin 3.0.9 and using birt-runtime-2.1RC4.
>>>>>
>>>>> The logs directory under the birt application is empty. Resin's
>>>>> log repeats the stack trace I posted previously, but with no other
>>>>> information.
>>>>>
>>>>> Thank you,
>>>>>
>>>>> Barry
>>>>>
>>
>>
Previous Topic:How To Set the dbURL, dbUser & dbPassword dynamically
Next Topic:How to rename PDF generated by Birt Viewer?
Goto Forum:
  


Current Time: Fri Apr 25 01:42:04 EDT 2025

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

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

Back to the top