lifecycleprocessor not eglnotinitializedd 怎么处理

写接口出问题帮忙解决一下啦【java吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:631,875贴子:
写接口出问题帮忙解决一下啦收藏
八月 26, :32 下午 org.apache.catalina.core.AprLifecycleListener init信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.八月 26, :32 下午 org.apache.catalina.core.AprLifecycleListener init信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].八月 26, :32 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:SpringMvc_YC59' did not find a matching property.八月 26, :33 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL信息: OpenSSL successfully initialized (OpenSSL 1.0.1d 5 Feb 2013)八月 26, :33 下午 org.apache.coyote.AbstractProtocol init信息: Initializing ProtocolHandler [&http-apr-8080&]八月 26, :33 下午 org.apache.coyote.AbstractProtocol init信息: Initializing ProtocolHandler [&ajp-apr-8009&]八月 26, :33 下午 org.apache.catalina.startup.Catalina load信息: Initialization processed in 1570 ms八月 26, :33 下午 org.apache.catalina.core.StandardService startInternal信息: Starting service Catalina八月 26, :33 下午 org.apache.catalina.core.StandardEngine startInternal信息: Starting Servlet Engine: Apache Tomcat/7.0.40八月 26, :33 下午 org.apache.catalina.util.SessionIdGenerator createSecureRandom信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [117] milliseconds.八月 26, :35 下午 org.apache.catalina.core.ApplicationContext log信息: No Spring WebApplicationInitializer types detected on classpath八月 26, :35 下午 org.apache.catalina.core.ApplicationContext log信息: Initializing Spring root WebApplicationContext八月 26, :35 下午 org.springframework.web.context.ContextLoader initWebApplicationContext信息: Root WebApplicationContext: initialization started八月 26, :35 下午 org.springframework.web.context.support.XmlWebApplicationContext prepareRefresh信息: Refreshing Root WebApplicationContext: startup date [Wed Aug 26 17:08:35 CST 2015]; root of context hierarchy八月 26, :35 下午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-servlet.xml]八月 26, :35 下午 org.springframework.web.context.ContextLoader initWebApplicationContext严重: Context initialization failedorg.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/spring-servlet.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/spring-servlet.xml]at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:187)at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:540)at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:454)at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)at java.util.concurrent.FutureTask.run(Unknown Source)at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)at java.lang.Thread.run(Unknown Source)Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/spring-servlet.xml]at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:141)at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)... 21 more八月 26, :35 下午 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/spring-servlet.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/spring-servlet.xml]at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:343)at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:187)at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:540)at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:454)at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887)at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)at java.util.concurrent.FutureTask.run(Unknown Source)at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)at java.lang.Thread.run(Unknown Source)Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/spring-servlet.xml]at org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:141)at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)... 21 more八月 26, :35 下午 org.apache.catalina.core.StandardContext startInternal严重: Error listenerStart八月 26, :35 下午 org.apache.catalina.core.StandardContext startInternal严重: Context [/SpringMvc_YC59] startup failed due to previous errors八月 26, :35 下午 org.apache.catalina.core.ApplicationContext log信息: Closing Spring root WebApplicationContext八月 26, :35 下午 org.springframework.web.context.support.XmlWebApplicationContext doClose信息: Closing Root WebApplicationContext: startup date [Wed Aug 26 17:08:35 CST 2015]; root of context hierarchy八月 26, :35 下午 org.springframework.web.context.support.XmlWebApplicationContext doClose警告: Exception thrown from ApplicationListener handling ContextClosedEventjava.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Wed Aug 26 17:08:35 CST 2015]; root of context hierarchyat org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:346)at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:333)at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:880)at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:841)at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:579)at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115)at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4927)at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5573)at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)at java.util.concurrent.FutureTask.run(Unknown Source)at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)at java.lang.Thread.run(Unknown Source)八月 26, :35 下午 org.springframework.web.context.support.XmlWebApplicationContext doClose警告: Exception thrown from LifecycleProcessor on context closejava.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Wed Aug 26 17:08:35 CST 2015]; root of context hierarchyat org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:359)at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:888)at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:841)at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:579)at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115)at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4927)at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5573)at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)at java.util.concurrent.FutureTask.run(Unknown Source)at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)at java.lang.Thread.run(Unknown Source)八月 26, :35 下午 org.apache.catalina.core.StandardContext listenerStop严重: Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListenerjava.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContextat org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:170)at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:921)at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:895)at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:841)at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:579)at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115)at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4927)at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5573)at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)at java.util.concurrent.FutureTask.run(Unknown Source)at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)at java.lang.Thread.run(Unknown Source)八月 26, :35 下午 org.apache.coyote.AbstractProtocol start信息: Starting ProtocolHandler [&http-apr-8080&]八月 26, :35 下午 org.apache.coyote.AbstractProtocol start信息: Starting ProtocolHandler [&ajp-apr-8009&]八月 26, :35 下午 org.apache.catalina.startup.Catalina start信息: Server startup in 2722 ms
不用看了缺少jar包
登录百度帐号推荐应用Installing Pentaho 6.1 Community Edition on Ubuntu – Jaapjansma.nl
Pagina's
Meest recente berichten
Categorieën
In this tutorial I will explain what I did to install Pentaho 6.1 business analytics platform on an Ubuntu server.
I will also explain what I did to install Pentaho Data Integration, Pentaho Schema Workbench and Pentaho Report Designer on an Ubuntu Desktop.
For this tutorial I wanted to use my
database as the source for reporting and analytics and I will use a seperate mysql database for the data warehouse. The Civicrm database is called civicrm
and the data warehouse database is called datawarehouse
I will use JNDI to connect to both databases.
Pentaho Business Analytics Server (or BI-Server)
Before we start make sure you have an ubuntu server up and running.
First install mysql database server, java, and the zip utility.
On the server enter the following command:
# sudo apt-get install mysql-server zip openjdk-8-jre openjdk-8-jdk libmysql-java
This will install all the required prerequisites.
Now it is time to download the BI-Server. You can download it from
After the file is downloaded unzip it.
# unzip biserver-ce-6.1.0.1-196.zip
After you have unzipped it it is time to setup a mysql database for de BI Server and to set the connection for the mysql server.
I have followed the guideline from this blog:
Enter the following commands to install the mysql databases.
# mysql --user root -p & /your/path/to/biserver-ce/data/mysql5/create_repository_mysql.sql
# mysql --user root -p & /your/path/to/biserver-ce/data/mysql5/create_quartz_mysql.sql
# mysql --user root -p & /your/path/to/biserver-ce/data/mysql5/create_jcr_mysql.sql
Now it is time to configure the BI-server to use those databases.
Open /your/path/to/biserver-ce/tomcat/webapps/pentaho/META-INF/context.xml and change the lines to match your mysql user and password also change it to use the mysql JDBC driver.
&?xml version="1.0" encoding="UTF-8"?& &Context path="/pentaho" docbase="webapps/pentaho/"&
&Resource name="jdbc/Hibernate" auth="Container" type="javax.sql.DataSource"
factory="mons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="5"
maxWait="10000" username="hibuser" password="password"
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/hibernate"
validationQuery="select 1" /&
&Resource name="jdbc/Quartz" auth="Container" type="javax.sql.DataSource"
factory="mons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="5"
maxWait="10000" username="pentaho_user" password="password"
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/quartz"
validationQuery="select 1"/&
&/Context&
Make sure the hibernate component will use mysql. Do this by editing the file /your/path/to/biserver-ce/pentaho-solutions/system/hibernate/hibernate-settings.xml and change it to:
&config-file&system/hibernate/mysql5.hibernate.cfg.xml&/config-file&
Edit the file /your/path/to/biserver-ce/pentaho-solutions/system/hibernate/mysql5.hibernate.cfg.xml
MySQL Configuration --&
&property name="connection.driver_class"&com.mysql.jdbc.Driver&/property&
&property name="connection.url"&jdbc:mysql://localhost:3306/hibernate&/property&
&property name="dialect"&org.hibernate.dialect.MySQL5InnoDBDialect&/property&
&property name="connection.username"&hibuser&/property&
&property name="connection.password"&password&/property&
&property name="connection.pool_size"&10&/property&
&property name="show_sql"&false&/property&
&property name="hibernate.jdbc.use_streams_for_binary"&true&/property&
&!-- replaces DefinitionVersionManager --&
Edit the file /your/path/to/biserver-ce/pentaho-solutions/system/applicationContext-spring-security-hibernate.properties
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/hibernate
jdbc.username=hibuser
jdbc.password=password
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
Edit the file /your/path/to/biserver-ce/pentaho-solutions/system/applicationContext-spring-security-jdbc.xml
This is only for MySQL. Please update this section for any other database you are using --&
&bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource"&
&property name="driverClassName" value="com.mysql.jdbc.Driver" /&
&property name="url"
value="jdbc:mysql://localhost:3306/hibernate" /&
&property name="username" value="hibuser" /&
&property name="password" value="password" /&
Modify the JNDI file by editing /your/path/to/biserver-ce/pentaho-solutions/system/simple-jndi/jdbc.properties
Hibernate/type=javax.sql.DataSource
Hibernate/driver=com.mysql.jdbc.Driver
Hibernate/url=jdbc:mysql://localhost:3306/hibernate
Hibernate/user=hibuser
Hibernate/password=password
Quartz/type=javax.sql.DataSource
Quartz/driver=com.mysql.jdbc.Driver
Quartz/url=jdbc:mysql://localhost:3306/quartz
Quartz/user=pentaho_user
Quartz/password=password
Add the mysql connector to the lib folder by making a symlink:
# ln -s /usr/share/java/mysql-connector-java.jar /your/path/to/biserver-ce/tomcat/lib/mysql-connector-java.jar
Edit the file /your/path/to/biserver-ce/tomcat/webapps/pentaho/WEB-INF/web.xml to prevent HSQLDB to start. Remove or make a comment from the lines below.
&!-- [BEGIN HSQLDB DATABASES]
&context-param& &param-name&hsqldb-databases&/param-name& &param-value&sampledata@../../data/hsqldb/sampledata,hibernate@../../data/hsqldb/hibernate,quartz@../../data/hsqldb/quartz&/param-value& &/context-param&
[END HSQLDB DATABASES] --&
&!-- [BEGIN HSQLDB STARTER]
&listener& &listener-class&org.pentaho.platform.web.http.context.HsqldbStartupListener&/listener-class& &/listener&
[END HSQLDB STARTER] --&
That is it you are now ready to start pentaho.
# /your/path/to/biserver-ce/start-pentaho.sh
You can now access pentaho in your browser at http://your.server.name:8080
Install PDI on Ubuntu Desktok
Install the Java Runtime environment
sudo apt-get install openjdk-8-jre
Install the Java Development Kit
sudo apt-get install openjdk-8-jdk
After that run the following commands to check whether the installtion is correct:
# which java
/usr/bin/java
# java -version
openjdk version "1.8.0_91"
Download PDI from [[]]
After downloading install unzip
# sudo apt-get install unzip
After installing unzip extract the zip
# unzip pdi-ce-6.1.0.1-196.zip
# cd data-integration
# ./spoon.sh
See [[]] for more information on how to install the mysql JDBC connector
# sudo apt-get install libmysql-java
This should install a file called mysql-connector-java in /usr/share/java
Now we need to create a symlink to this file in the data integration folder.
# ln -s /usr/share/java/mysql-connector-java.jar /your/path/to/data-integration/lib/mysql-connector-java.jar
Configure PDI to use JNDI
Open the file /your/path/to/data-integration/simple-jndi/jdbc.properties in an editor and add the following lines (settings are copied from above).
In the file below we define two connections one to the civicrm database (which is a data source) and one to the datawarehouse.
civicrm/type=javax.sql.DataSource
civicrm/driver=com.mysql.jdbc.Driver
civicrm/user=user
civicrm/password=*
civicrm/url=jdbc:mysql://your.civicrm.server:3306/civicrm
datawarehouse/type=javax.sql.DataSource
datawarehouse/driver=com.mysql.jdbc.Driver
datawarehouse/user=pentaho
datawarehouse/password=*
datawarehouse/url=jdbc:mysql://your.pentaho.mysql.server:3306/datawarehouse
Install Pentaho Schema Workbench on Ubuntu Desktop
Download schema workbench from [[]]
Unzip the file
# unzip psw-ce-3.12.0.1-196.zip
Install the JDBC driver. See instructions from above for JDBC on Ubuntu for PDI.
# ln -s /usr/share/java/mysql-connector-java.jar /your/path/to/schema-workbench/drivers/mysql-connector-java.jar
Then start the workbench with
# /your.path/to/schema-workbench/workbench.sh
Install Pentaho Report Designer on Ubuntu Desktop
Download report designer from [[]]
Unzip the file
# unzip prd-ce-6.1.0.1-196.zip
Install the JDBC driver. See instructions from above for JDBC on Ubuntu for PDI.
# ln -s /usr/share/java/mysql-connector-java.jar /your/path/to/report-designer/lib/jdbc/mysql-connector-java.jar
Start report designer with the following command
# /your/path/to/report-designer/report-designer.sh
Setup JNDI for report designer
Open the file in /your/home/.pentaho/simple-jndi/default.properties and add the following lines:
civicrm/type=javax.sql.DataSource
civicrm/driver=com.mysql.jdbc.Driver
civicrm/user=user
civicrm/password=*
civicrm/url=jdbc:mysql://your.civicrm.server:3306/civicrm
datawarehouse/type=javax.sql.DataSource
datawarehouse/driver=com.mysql.jdbc.Driver
datewarehouse/user=pentaho
datawarehouse/password=*
datawarehouse/url=jdbc:mysql://your.pentaho.mysql.server:3306/datawarehouse

我要回帖

更多关于 font not initialized 的文章

 

随机推荐