BIRT: java.util.zip.ZipException: error in opening zip file
-----------------------------------------------------------

                 Key: MIFOS-4765
                 URL: http://mifosforge.jira.com/browse/MIFOS-4765
             Project: mifos
          Issue Type: Dev Task
         Environment: Jetty v7.2.0

Mac OS X 10.6.5 - Problem may be particular to Mac OS X, see description? Or 
have others seen this on other platforms as well?
            Reporter: Michael Vorburger
            Assignee: Michael Vorburger
            Priority: Critical


This error occurs on start-up when the current mifos.war is deployed into a 
Jetty (e.g. v7.2.0) :

2011-02-20 01:47:54.952:INFO::Copying WEB-INF/lib 
jar:file:/Users/vorburger/bin/jetty-distribution-7.2.0.v20101020/webapps/mifos.war!/WEB-INF/lib/
 to 
/private/var/folders/So/SoDmUEwzGaG+wQFG9nqdXE+++TM/-Tmp-/jetty-0.0.0.0-8080-mifos.war-_mifos-any-/webinf/WEB-INF/lib
2011-02-20 01:48:03.458:INFO::Copying WEB-INF/classes from 
jar:file:/Users/vorburger/bin/jetty-distribution-7.2.0.v20101020/webapps/mifos.war!/WEB-INF/classes/
 to 
/private/var/folders/So/SoDmUEwzGaG+wQFG9nqdXE+++TM/-Tmp-/jetty-0.0.0.0-8080-mifos.war-_mifos-any-/webinf/WEB-INF/classes
Feb 20, 2011 1:48:17 AM org.eclipse.birt.core.framework.URLClassLoader 
createLoader
WARNING: can't load the class from 
file:/private/var/folders/So/SoDmUEwzGaG+wQFG9nqdXE+++TM/-Tmp-/jetty-0.0.0.0-8080-mifos.war-_mifos-any-/platform/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:114)
        at java.util.jar.JarFile.<init>(JarFile.java:135)
        at java.util.jar.JarFile.<init>(JarFile.java:72)
        at 
org.eclipse.birt.core.framework.URLClassLoader$JarLoader.<init>(URLClassLoader.java:367)
        at 
org.eclipse.birt.core.framework.URLClassLoader.createLoader(URLClassLoader.java:546)
        at 
org.eclipse.birt.core.framework.URLClassLoader.<init>(URLClassLoader.java:100)
        at 
org.eclipse.birt.core.framework.osgi.OSGILauncher$ChildFirstURLClassLoader.<init>(OSGILauncher.java:651)
        at 
org.eclipse.birt.core.framework.osgi.OSGILauncher.doStartup(OSGILauncher.java:140)
        at 
org.eclipse.birt.core.framework.osgi.OSGILauncher.access$0(OSGILauncher.java:94)
        at 
org.eclipse.birt.core.framework.osgi.OSGILauncher$1.run(OSGILauncher.java:79)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OSGILauncher.java:75)
        at org.eclipse.birt.core.framework.Platform.startup(Platform.java:79)
        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.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:634)
        at 
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228)
        at 
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1132)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:577)
        at 
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491)
        at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
        at 
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
        at 
org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180)
        at 
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:497)
        at 
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:135)
        at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileChanged(ScanningAppProvider.java:161)
        at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileChanged(ScanningAppProvider.java:62)
        at org.eclipse.jetty.util.Scanner.reportChange(Scanner.java:490)
        at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:355)
        at org.eclipse.jetty.util.Scanner.scan(Scanner.java:306)
        at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:258)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
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.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:634)
        at 
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228)
        at 
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1132)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:577)
        at 
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491)
        at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
        at 
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36)
        at 
org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180)
        at 
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:497)
        at 
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:135)
        at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileChanged(ScanningAppProvider.java:161)
        at 
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileChanged(ScanningAppProvider.java:62)
        at org.eclipse.jetty.util.Scanner.reportChange(Scanner.java:490)
        at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:355)
        at org.eclipse.jetty.util.Scanner.scan(Scanner.java:306)
        at org.eclipse.jetty.util.Scanner$1.run(Scanner.java:258)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
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)
        ... 21 more 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to