【发布时间】:2018-06-19 15:34:34
【问题描述】:
我已经启动了 Pentaho BI 服务器,我得到的响应是 Tomcat 服务器已经启动。
但是在登录http://localhost:8080/pentaho时。
提示输入密码。根据文档/网络搜索,我尝试使用 admin/admin、admin/password、admin/pentaho。
它们都不起作用。有什么猜测吗?
当我启动 BI 服务器时,我得到的响应是:
01HW993798:pentaho-server tcssig$ ./start-pentaho.sh
WARNING: Using java from path
DEBUG: _PENTAHO_JAVA_HOME=
DEBUG: _PENTAHO_JAVA=java
Using CATALINA_BASE: /Users/tcssig/Downloads/pentaho-server/tomcat
Using CATALINA_HOME: /Users/tcssig/Downloads/pentaho-server/tomcat
Using CATALINA_TMPDIR: /Users/tcssig/Downloads/pentaho-server/tomcat/temp
Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home
Using CLASSPATH: /Users/tcssig/Downloads/pentaho-server/tomcat/bin/bootstrap.jar:/Users/tcssig/Downloads/pentaho-server/tomcat/bin/tomcat-juli.jar
Tomcat started.
Pentaho.log 文件如下。
2016-11-30 16:36:32,907 INFO [org.pentaho.platform.engine.core.system.status.PeriodicStatusLogger] Caution, the system is initializing. Do not shut down or restart the system at this time.
2016-11-30 16:36:33,759 INFO [org.pentaho.platform.osgi.OSGIBoot] Checking to see if org.pentaho.clean.karaf.cache is enabled
2016-11-30 16:36:33,993 INFO [org.pentaho.platform.osgi.KarafInstance]
*******************************************************************************
*** Karaf Instance Number: 1 at /Users/tcssig/Downloads/pentaho-server/pent ***
*** aho-solutions/system/karaf/caches/default/data-1 ***
*** Karaf Port:8802 ***
*** OSGI Service Port:9051 ***
*** JMX RMI Registry Port:11099 ***
*** RMI Server Port:44445 ***
*******************************************************************************
2016-11-30 16:37:02,914 INFO [org.pentaho.platform.engine.core.system.status.PeriodicStatusLogger] Caution, the system is initializing. Do not shut down or restart the system at this time.
2016-11-30 16:37:22,379 INFO [org.pentaho.platform.engine.core.system.status.PeriodicStatusLogger] The system has finished initializing.
2016-11-30 16:37:26,177 INFO [org.pentaho.platform.engine.core.system.status.PeriodicStatusLogger] The system has finished initializing.
2016-11-30 16:37:27,350 ERROR [org.pentaho.platform.util.logging.Logger] Error: Pentaho
2016-11-30 16:37:27,351 ERROR [org.pentaho.platform.util.logging.Logger] misc-org.pentaho.platform.engine.core.system.PentahoSystem: PentahoSystem.ERROR_0015 - Error while trying to execute shutdown sequence for org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter
java.lang.IllegalStateException: Service already unregistered.
at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:124)
at org.pentaho.platform.engine.core.system.objfac.OSGIRuntimeObjectFactory$OSGIPentahoObjectRegistration.remove(OSGIRuntimeObjectFactory.java:178)
at org.pentaho.platform.plugin.services.pluginmgr.PentahoSystemPluginManager.unloadPlugins(PentahoSystemPluginManager.java:225)
at org.pentaho.platform.plugin.services.pluginmgr.PentahoSystemPluginManager.unloadAllPlugins(PentahoSystemPluginManager.java:917)
at org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter.shutdown(PluginAdapter.java:47)
at org.pentaho.platform.engine.core.system.PentahoSystem.shutdown(PentahoSystem.java:1071)
at org.pentaho.platform.web.http.context.SolutionContextListener.contextDestroyed(SolutionContextListener.java:282)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4900)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5537)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1423)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1412)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2016-11-30 16:37:27,354 ERROR [org.pentaho.platform.util.logging.Logger] Error end:
2016-11-30 16:37:27,356 INFO [org.pentaho.platform.engine.core.system.status.PeriodicStatusLogger] The system has finished initializing.
2016-11-30 16:37:27,356 WARN [org.pentaho.platform.web.http.context.PentahoSolutionSpringApplicationContext] Exception thrown from ApplicationListener handling ContextClosedEvent
java.lang.IllegalStateException: Service already unregistered.
at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:124)
at org.pentaho.platform.engine.core.system.objfac.OSGIRuntimeObjectFactory$OSGIPentahoObjectRegistration.remove(OSGIRuntimeObjectFactory.java:178)
at org.pentaho.platform.engine.core.system.objfac.spring.PublishedBeanRegistry$1.onApplicationEvent(PublishedBeanRegistry.java:125)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:133)
at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:130)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:382)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:336)
at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:989)
at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:956)
at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:581)
at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:116)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4900)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5537)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:221)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1423)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1412)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
【问题讨论】:
-
尝试以评估者身份登录。检查登录 ../biserver-ce/tomcat/logs/pentaho.log
-
当我尝试使用用户 ID 和密码作为评估者登录时,它没有通过。此外,Pentaho.log 消息如下。 Pentaho.log 详细信息我已在问题中更新。
-
可能是包有问题。如果您刚刚开始使用 pentaho,那么我建议您再次下载并开始使用。
-
大家好,这是一个端口问题,通过将 Server.xml 文件中的端口 8005 更改为 9005 和端口 8009 更改为 9090 得到解决 感谢您的所有建议!
-
欢迎您将其总结为帮助未来读者的答案。