0 0

birt3.7部署报错10

各位大神,在使用birt往项目中部署时一直报“org.eclipse.birt.core.exception.BirtException: error.CannotStartupOSGIPlatform” 的错误,项目中集成的框架有sruts,spring,ibatis。
错误信息如下:

012-5-3 11:05:17 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.20.
2012-5-3 11:05:17 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2012-5-3 11:05:17 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
2012-5-3 11:05:18 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2012-5-3 11:05:18 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2012-5-3 11:05:18 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1250 ms
2012-5-3 11:05:18 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-5-3 11:05:18 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.32
2012-5-3 11:05:18 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\Workspaces\SFBS\websf\WebContent\WEB-INF\lib\geronimo-servlet_2.5_spec-1.1.2.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2012-5-3 11:05:18 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\Workspaces\SFBS\websf\WebContent\WEB-INF\lib\javaee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2012-5-3 11:05:19 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(D:\Workspaces\SFBS\websf\WebContent\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

log4j:WARN Continuable parsing error 36 and column 23
log4j:WARN The content of element type "log4j:configuration" must match "(renderer*,appender*,(category|logger)*,root?,categoryFactory?)".
2012-5-3 11:05:21 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
log4j:WARN Continuable parsing error 36 and column 23
log4j:WARN The content of element type "log4j:configuration" must match "(renderer*,appender*,(category|logger)*,root?,categoryFactory?)".
Class not found: org/safehaus/uuid/NativeInterfaces
org.eclipse.birt.core.exception.BirtException: error.CannotStartupOSGIPlatform
at org.eclipse.birt.core.framework.Platform.startup(Platform.java:81)
at org.eclipse.birt.report.service.ReportEngineService.setEngineContext(ReportEngineService.java:328)
at org.eclipse.birt.report.service.BirtViewerReportService.setContext(BirtViewerReportService.java:1022)
at org.eclipse.birt.report.listener.ViewerServletContextListener.contextInitialized(ViewerServletContextListener.java:62)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.eclipse.birt.core.framework.FrameworkException
at org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OSGILauncher.java:90)
at org.eclipse.birt.core.framework.Platform.startup(Platform.java:75)
... 18 more
Caused by: java.security.PrivilegedActionException: org.eclipse.birt.core.framework.FrameworkException: Could not find the Framework - org.eclipse.osgi in path D:\Workspaces\SFBS\websf\WebContent\WEB-INF\platform\plugins
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OSGILauncher.java:75)
... 19 more
Caused by: org.eclipse.birt.core.framework.FrameworkException: Could not find the Framework - org.eclipse.osgi in path D:\Workspaces\SFBS\websf\WebContent\WEB-INF\platform\plugins
at org.eclipse.birt.core.framework.osgi.OSGILauncher.doStartup(OSGILauncher.java:123)
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)
... 21 more
WARN  LocaleUtils Locale name in faces-config.xml null or empty, setting locale to default locale : zh_CN
DEBUG XmlConfigurationProvider Loading action configurations from: struts-default.xml
DEBUG XmlConfigurationProvider Loaded action configuration from: struts-default.xml
INFO  XmlConfigurationProvider Parsing configuration file [struts-default.xml]
DEBUG XmlConfigurationProvider Loaded type: name:xwork impl:com.opensymphony.xwork2.ObjectFactory
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.ObjectFactory name:struts impl:org.apache.struts2.impl.StrutsObjectFactory
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.ActionProxyFactory name:xwork impl:com.opensymphony.xwork2.DefaultActionProxyFactory
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.ActionProxyFactory name:struts impl:org.apache.struts2.impl.StrutsActionProxyFactory
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.util.ObjectTypeDeterminer name:tiger impl:com.opensymphony.xwork2.util.GenericsObjectTypeDeterminer
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.util.ObjectTypeDeterminer name:notiger impl:com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.util.ObjectTypeDeterminer name:struts impl:com.opensymphony.xwork2.util.DefaultObjectTypeDeterminer
DEBUG XmlConfigurationProvider Loaded type:org.apache.struts2.dispatcher.mapper.ActionMapper name:struts impl:org.apache.struts2.dispatcher.mapper.DefaultActionMapper
DEBUG XmlConfigurationProvider Loaded type:org.apache.struts2.dispatcher.mapper.ActionMapper name:composite impl:org.apache.struts2.dispatcher.mapper.CompositeActionMapper
DEBUG XmlConfigurationProvider Loaded type:org.apache.struts2.dispatcher.mapper.ActionMapper name:restful impl:org.apache.struts2.dispatcher.mapper.RestfulActionMapper
DEBUG XmlConfigurationProvider Loaded type:org.apache.struts2.dispatcher.mapper.ActionMapper name:restful2 impl:org.apache.struts2.dispatcher.mapper.Restful2ActionMapper
DEBUG XmlConfigurationProvider Loaded type:org.apache.struts2.dispatcher.multipart.MultiPartRequest name:struts impl:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
DEBUG XmlConfigurationProvider Loaded type:org.apache.struts2.dispatcher.multipart.MultiPartRequest name:jakarta impl:org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest
DEBUG XmlConfigurationProvider Loaded type:org.apache.struts2.views.TagLibrary name:s impl:org.apache.struts2.views.DefaultTagLibrary
DEBUG XmlConfigurationProvider Loaded type: name:struts impl:org.apache.struts2.views.freemarker.FreemarkerManager
DEBUG XmlConfigurationProvider Unable to load optional class: java.lang.NoClassDefFoundError: org/apache/velocity/tools/view/ToolboxManager
DEBUG XmlConfigurationProvider Loaded type: name:default impl:org.apache.struts2.components.template.TemplateEngineManager
DEBUG XmlConfigurationProvider Loaded type:org.apache.struts2.components.template.TemplateEngine name:ftl impl:org.apache.struts2.components.template.FreemarkerTemplateEngine
DEBUG XmlConfigurationProvider Loaded type:org.apache.struts2.components.template.TemplateEngine name:vm impl:org.apache.struts2.components.template.VelocityTemplateEngine
DEBUG XmlConfigurationProvider Loaded type:org.apache.struts2.components.template.TemplateEngine name:jsp impl:org.apache.struts2.components.template.JspTemplateEngine
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.util.XWorkConverter name:xwork1 impl:com.opensymphony.xwork2.util.XWorkConverter
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.util.XWorkConverter name:struts impl:com.opensymphony.xwork2.util.AnnotationXWorkConverter
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.TextProvider name:xwork1 impl:com.opensymphony.xwork2.TextProviderSupport
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.TextProvider name:struts impl:com.opensymphony.xwork2.TextProviderSupport
DEBUG XmlConfigurationProvider Loading action configurations from: struts-plugin.xml
DEBUG XmlConfigurationProvider Loaded action configuration from: struts-plugin.xml
INFO  XmlConfigurationProvider Parsing configuration file [struts-plugin.xml]
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.UnknownHandler name:default impl:org.apache.struts2.codebehind.CodebehindUnknownHandler
DEBUG XmlConfigurationProvider Loaded type:org.apache.struts2.dispatcher.multipart.MultiPartRequest name:pell impl:org.apache.struts2.dispatcher.multipart.PellMultiPartRequest
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.ObjectFactory name:plexus impl:org.apache.struts2.plexus.PlexusObjectFactory
DEBUG XmlConfigurationProvider Loaded type:com.opensymphony.xwork2.ObjectFactory name:spring impl:org.apache.struts2.spring.StrutsSpringObjectFactory
DEBUG XmlConfigurationProvider Loading action configurations from: struts.xml
DEBUG XmlConfigurationProvider Loading action configurations from: conf\action\example.xml
DEBUG XmlConfigurationProvider Unable to locate configuration files of the name conf\action\example.xml, skipping
DEBUG XmlConfigurationProvider Loading action configurations from: conf\action\example1.xml
DEBUG XmlConfigurationProvider Unable to locate configuration files of the name conf\action\example1.xml, skipping
DEBUG XmlConfigurationProvider Loading action configurations from: com\athena\ermsuite\platform\common\sm\login\action\loginHandle.xml
DEBUG XmlConfigurationProvider Unable to locate configuration files of the name com\athena\ermsuite\platform\common\sm\login\action\loginHandle.xml, skipping
DEBUG XmlConfigurationProvider Loading action configurations from: com\athena\ermsuite\projconfig\demo\singledemo\studentmgr\web\studentmgr.xml
DEBUG XmlConfigurationProvider Unable to locate configuration files of the name com\athena\ermsuite\projconfig\demo\singledemo\studentmgr\web\studentmgr.xml, skipping
DEBUG XmlConfigurationProvider Loaded action configuration from: struts.xml
INFO  XmlConfigurationProvider Parsing configuration file [struts.xml]
WARN  Settings Settings: Could not parse struts.locale setting, substituting default VM locale
INFO  DefaultConfiguration Overriding property struts.i18n.reload - old value: false new value: true
INFO  DefaultConfiguration Overriding property struts.configuration.xml.reload - old value: false new value: true
DEBUG LocalizedTextUtil Added default resource bundle 'org/apache/struts2/struts-messages' to default resource bundles = [org/apache/struts2/struts-messages, com/opensymphony/xwork2/xwork-messages]
INFO  SpringObjectFactory Setting autowire strategy to name
DEBUG XmlConfigurationProvider Loaded {PackageConfig Name:struts-default namespace: abstract:true parents:[]}
DEBUG I18nInterceptor new I18nInterceptor()
DEBUG I18nInterceptor new I18nInterceptor()
DEBUG I18nInterceptor new I18nInterceptor()
DEBUG XmlConfigurationProvider Loaded {PackageConfig Name:codebehind-default namespace: abstract:false parents:[{PackageConfig Name:struts-default namespace: abstract:true parents:[]}]}
DEBUG XmlConfigurationProvider Loaded {PackageConfig Name:config-browser namespace:/config-browser abstract:false parents:[{PackageConfig Name:struts-default namespace: abstract:true parents:[]}]}
DEBUG XmlConfigurationProvider Loaded /config-browser/index in 'config-browser' package:{ActionConfig com.opensymphony.xwork2.ActionSupport - action - jar:file:/D:/Workspaces/SFBS/websf/WebContent/WEB-INF/lib/struts2-config-browser-plugin-2.0.14.jar!/struts-plugin.xml:43:30}
DEBUG XmlConfigurationProvider Loaded /config-browser/actionNames in 'config-browser' package:{ActionConfig org.apache.struts2.config_browser.ActionNamesAction - action - jar:file:/D:/Workspaces/SFBS/websf/WebContent/WEB-INF/lib/struts2-config-browser-plugin-2.0.14.jar!/struts-plugin.xml:47:96}
DEBUG XmlConfigurationProvider Loaded /config-browser/showConfig in 'config-browser' package:{ActionConfig org.apache.struts2.config_browser.ShowConfigAction - action - jar:file:/D:/Workspaces/SFBS/websf/WebContent/WEB-INF/lib/struts2-config-browser-plugin-2.0.14.jar!/struts-plugin.xml:51:94}
DEBUG XmlConfigurationProvider Loaded /config-browser/showValidators in 'config-browser' package:{ActionConfig org.apache.struts2.config_browser.ListValidatorsAction - action - jar:file:/D:/Workspaces/SFBS/websf/WebContent/WEB-INF/lib/struts2-config-browser-plugin-2.0.14.jar!/struts-plugin.xml:55:102}
DEBUG XmlConfigurationProvider Loaded /config-browser/validatorDetails in 'config-browser' package:{ActionConfig org.apache.struts2.config_browser.ShowValidatorAction - action - jar:file:/D:/Workspaces/SFBS/websf/WebContent/WEB-INF/lib/struts2-config-browser-plugin-2.0.14.jar!/struts-plugin.xml:61:103}
DEBUG XmlConfigurationProvider Loaded {PackageConfig Name:jasperreports-default namespace: abstract:false parents:[]}
DEBUG XmlConfigurationProvider Loaded {PackageConfig Name:jfreechart-default namespace: abstract:false parents:[]}
DEBUG XmlConfigurationProvider Loaded {PackageConfig Name:jsf-default namespace: abstract:false parents:[{PackageConfig Name:struts-default namespace: abstract:true parents:[]}]}
DEBUG XmlConfigurationProvider Loaded {PackageConfig Name:spring-default namespace: abstract:false parents:[]}
DEBUG XmlConfigurationProvider Loaded {PackageConfig Name:tiles-default namespace: abstract:false parents:[{PackageConfig Name:struts-default namespace: abstract:true parents:[]}]}
INFO  ObjectTypeDeterminerFactory Setting DefaultObjectTypeDeterminer as default ...
2012-5-3 11:05:31 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring FrameworkServlet 'blazeds'
2012-5-3 11:05:33 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2012-5-3 11:05:33 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2012-5-3 11:05:33 org.apache.catalina.startup.Catalina start
信息: Server startup in 14919 ms
2012年5月03日 13:27

4个答案 按时间排序 按投票排序

0 0

logger节点配置有问题.
参考:
http://www.myexception.cn/java-other/2397.html

2014年3月16日 17:05
0 0

楼主,这个问题我也遇到了并且找到了答案,请点击以下链接查看详细的解决方法
http://wiki.eclipse.org/BirtPOJO_Viewer_WebSphere_Deployment

2013年9月09日 09:47
0 0

你的jar包配置有问题,看看jar是否均在lib中,然后有没有缺失或多余

2013年4月07日 14:15
0 0

解决了吗? 如果有解决方案请分享一下..谢谢
联系邮箱a6225947@163.com

2012年9月29日 14:52

相关推荐

    birt 3.7 源代码 天涯浪子

    在本文中,我们将深入探讨BIRT 3.7版本的源代码及其相关知识点。 1. **BIRT架构**: BIRT由四个主要组件构成:报告设计器、运行时引擎、数据引擎和图表引擎。报告设计器是一个基于图形界面的工具,允许开发者通过...

    Birt3.7 maven 配置文件

    Birt3.7 的maven配置文件,整理了很长时间的 值得使用maven管理项目并加入birt进行报表管理的开发,jar包请自己下载

    Birt3.7 Web展示界面汉化资源文件

    直接放入web工程的lib下面 birt3.7的国际化支持会自动根据本地语言情况调用

    birt 3.7 导出中文文件名

    birt 3.7 导出[中文]文件名 1. 在src下建立report_name_cn.properties文件 key为报表源文件名 value 为导出名如下: rurallowincome_report_1=扶贫进展统计

    birt 3.7 jsp 页面汉化

    总的来说,BIRT 3.7 JSP 页面的汉化涉及到了软件本地化的基本概念和技术,包括源代码的修改、国际化资源的管理和翻译,以及最终的测试和部署。这个过程对于让中国用户更方便地使用 BIRT 报表系统至关重要。

    BIRT 3.7 Report Design

    ### BIRT 3.7 报告设计 #### 什么是 BIRT? Eclipse Business Intelligence and Reporting Tools(简称 BIRT)是一种开源的、基于 Eclipse 的报表系统。它能够与 Java EE 应用程序集成,用于创建引人注目的报告。...

    eclipse3.7 birt 汉化包

    Eclipse 3.7 Birt 汉化包是一个针对Eclipse集成开发环境(IDE)中的Business Intelligence and Reporting Tools(BIRT)插件进行本地化的软件包。BIRT是一款开源的报告生成工具,允许开发者创建复杂的报表并嵌入到...

    让birt 3.7导出文件 支持中文文件名

    key为报表源文件名 value 为导出名如下:rurallowincome_report_1=扶贫进展统计 2.修改web.xml中 BIRT_FILENAME_GENERATOR_CLASS 为 org.eclipse.birt.report.utility.filename.TimestampFilenameGenerator

    Birt与MyEclipse的集成及Birt的部署问题

    在本文中,我们将深入探讨BIRT(Business Intelligence and Reporting Tools)与MyEclipse的集成以及BIRT的部署问题。BIRT是一个基于Eclipse的开源报表系统,主要用于Java和J2EE Web应用程序,提供了强大的报表设计...

    birt tomcat 部署文件

    【标题】:“BIRT在Tomcat上的部署” 【描述】:“BIRT(Business Intelligence and Reporting Tools)是一款开源的报表系统,它可以与各种Java应用服务器集成,包括Tomcat。WebViewerExample是一个示例项目,用于...

    birt 部署在tomcat 中

    本篇文章将详细介绍如何将BIRT部署到Apache Tomcat服务器上。 首先,我们需要从官方下载站点获取BIRT的相关组件。在`http://download.eclipse.org/birt/downloads`上,根据你的Eclipse版本选择对应的BIRT Framework...

    BIRT开发手册

    BIRT(Business Intelligence and Reporting Tools), 是为 Web 应用程序开发的基于 Eclipse 的开源报表...BIRT 有两个主要组件:基于 Eclipse 的报表设计器,以及部署到应用服务器上的运行时组件。该资源来源于网络。

    BIRT4.x 客户端汉化文件

    BIRT4.x 客户端汉化文件, 在 birt3.7 基础之上修改的, 本人测试过, 没用问题, 能干实现全部的界面汉化 (操作流程: 1:去/WebViewerExample/WEB-INF/lib下找到名为“viewservlets.jar”的jar包,使用压缩工具...

    birt报表的部署(对birt-eclipse开发的报表文件进行部署)

    ### BIRT报表部署详解 #### 一、BIRT概述与安装 **BIRT** (Business Intelligence and Reporting Tools) 是一个基于Eclipse平台的开源报表系统,主要为Java和J2EE应用程序提供报表设计和集成的功能。它不仅提供了...

    Birt报表开发工具及Birt runtime部署-附件资源

    Birt报表开发工具及Birt runtime部署-附件资源

    将birt部署到新的web项目中步骤

    在本文中,我们将详细探讨如何将BIRT(Business Intelligence and Reporting Tools)部署到一个新的Web项目中,以便在Tomcat服务器上运行和展示BIRT报表。BIRT是一个开源报告引擎,可帮助开发人员创建数据可视化和...

    web项目集成birt

    - **安装BIRT运行时环境**:首先需要下载并部署BIRT运行时环境到服务器,这包含了BIRT Viewer和必要的库文件。 - **创建报表设计**:使用BIRT Report Designer创建报表模板,可以设计各种复杂的数据展示形式,如...

    Birt部署使用小结

    和现有项目有两种结合方式。 其一:直接使用birt_runtime_2.1.2中的WebViewerExample。 其二:在我们的程序中使用birt提供的Report Engine Api来调用报表并展现报表。

Global site tag (gtag.js) - Google Analytics