[ 
http://mifosforge.jira.com/browse/MIFOS-5118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=69156#comment-69156
 ] 

Michael Vorburger edited comment on MIFOS-5118 at 9/10/11 3:12 PM:
-------------------------------------------------------------------

FTR: Issue originally raised by Jakub Sławiński via a comment in (already 
closed) MIFOS-4765, and confirmed by Keith Woodlock in dev list thread 
https://groups.google.com/forum/#!topic/mifosdeveloper/TYzT9zKFLmM

Errors above are from apache-tomcat-7.0.21/logs/catalina.out

The cause / underlying technical problem is that, given a WAR without anything 
in /WEB-INF/platform/ (non-existant), Jetty 7.3.0 returns null for 
servletContext.getRealPath("/WEB-INF/platform/") while Tomcat 7.0.21 returns 
where this "would have been" (e.g. something like 
/home/vorburger/bin/apache-tomcat-7.0.21/webapps/mifos/WEB-INF/platform - even 
if there is nothing there).  BIRT in its PlatformServletContext is capable of 
"deploying" (extracting to a temporary dir) the OSGi Platform - but does that 
only if the Servlet Container returns null from getRealPath().  Personally I 
think Jetty is probably doing this right and would consider this a bug in 
Tomcat (although the Servlet Spec isn't really clear about this it seems) - but 
that doesn't solve our bug... ;-)
                
      was (Author: vorburger):
    Errors above are from apache-tomcat-7.0.21/logs/catalina.out
                  
> BIRT broken on Tomcat 7.0.21
> ----------------------------
>
>                 Key: MIFOS-5118
>                 URL: http://mifosforge.jira.com/browse/MIFOS-5118
>             Project: mifos
>          Issue Type: Bug
>          Components: Reports Module
>            Reporter: Michael Vorburger
>            Assignee: Michael Vorburger
>            Priority: Major
>
> org.eclipse.birt.core.exception.BirtException: Cant startup the OSGI framework
>       at org.eclipse.birt.core.framework.Platform.startup(Platform.java:91)
>       at 
> org.eclipse.birt.report.service.ReportEngineService.setEngineContext(ReportEngineService.java:321)
>       at 
> org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1022)
>       at 
> org.eclipse.birt.report.listener.ViewerServletContextListener.contextInitialized(ViewerServletContextListener.java:62)
>       at 
> org.mifos.reports.MifosViewerServletContextListener.contextInitialized(MifosViewerServletContextListener.java:69)
>       at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
>       at 
> org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
>       at 
> org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>       at java.lang.Thread.run(Thread.java:679)
> Caused by: org.eclipse.birt.core.exception.CoreException
>       at 
> org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OSGILauncher.java:90)
>       at org.eclipse.birt.core.framework.Platform.startup(Platform.java:79)
>       ... 12 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://mifosforge.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Malware Security Report: Protecting Your Business, Customers, and the 
Bottom Line. Protect your business and customers by understanding the 
threat from malware and how it can impact your online business. 
http://www.accelacomm.com/jaw/sfnl/114/51427462/
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to