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

相关推荐

Global site tag (gtag.js) - Google Analytics