Hi ,<br />
<br />
I have run into the following error when trying to access the secured XML resource from the Report Web Viewer . <br />
<br />
<span class='bbc_underline'><strong class='bbc'>Environment</strong></span><br />
OS :Windows 2k3 SP2<br />
BIRT Report Engine Ver 2.6<br />
BIRT Report Designer Ver2.6<br />
Application Server : Websphere Application Server V7<br />
<br />
<span class='bbc_underline'><strong class='bbc'>Following are the steps executed</strong></span><br />
<br />
1. Imported the certificate from the secured resource using keytool utility.<br />
2. Was able to successfully access the secured XML resource (using <a class='bbc_url' href='
https://<myserver:port>/<TestServlet>'>https://<myserver:port>/<TestServlet></a> from the BIRT Design Studio and was able to generate the report . <br />
3. Used the sample 'birt.war' supplied along with the BIRT ReportEngine to access the report<br />
4. In the 'birt.war' modified the following <br />
changed the web.xml BIRT_VIEWER_WORKING_FOLDER to point to the local directory where the report is stored<br />
5. Modified the config.ini in the WEB-INF/platform/configuration directory to include 'eclipse.security=true' entry and also modified the was.policy file to provide the permission for 'birt.war'<br />
<br />
When I access the report via the birt web app deployed on WAS I get the following error<br />
"<em class='bbc'>Can not startup the OSGI framework<br />
org.eclipse.birt.core.exception.BirtException: Can not startup the OSGI framework<br />
at org.eclipse.birt.core.framework.Platform.startup(Platform.java:91)<br />
at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(ReportEngineService.java:320)<br />
at org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1022)<br />
at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServlet.java:148)</em>"<br />
<br />
<span class='bbc_underline'><strong class='bbc'>Exception Details</strong></span><br />
<br />
<em class='bbc'>Can not startup the OSGI framework<br />
org.eclipse.birt.core.exception.BirtException: Can not startup the OSGI framework<br />
at org.eclipse.birt.core.framework.Platform.startup(Platform.java:91)<br />
at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(ReportEngineService.java:320)<br />
at org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1022)<br />
at org.eclipse.birt.report.servlet.ViewerServlet.__getContext(ViewerServlet.java:148)<br />
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doGet(BirtSoapMessageDispatcherServlet.java:151)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)<br />
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)<br />
at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)<br />
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1589)<br />
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1523)<br />
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)<br />
at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)<br />
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)<br />
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)<br />
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)<br />
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:885)<br />
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:865)<br />
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)<br />
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)<br />
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3799)<br />
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)<br />
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:930)<br />
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)<br />
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:182)<br />
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)<br />
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)<br />
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)<br />
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)<br />
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)<br />
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)<br />
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)<br />
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)<br />
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)<br />
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)<br />
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)<br />
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)<br />
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)<br />
Caused by: org.eclipse.birt.core.exception.CoreException: org.eclipse.birt.core.framework.FrameworkException: Can not start up OSGI - null<br />
at org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OSGILauncher.java:90)<br />
at org.eclipse.birt.core.framework.Platform.startup(Platform.java:79)<br />
... 37 more</em><br />
<br />
<br />
<br />
Can you let me know what am I missing ?<br />
Thanks in advance <br />
Vijay