confluence和jira重启动后confluence启动报错,打不开网页

重启了jira和confluence服务

jira服务正常,网页正常访问,confluence端口是通的,ping IP,ping域名都通,就是打不开网页,报404

cd /home/confluence/logs

tail -f catalina.out    等待查看启动日志

新打开一个服务器ssh连接

cd /home/confluence/bin

./stop-confluence.sh   #停止之前的服务,

ps -ef 查看进程是否存在,如果还存在kill -9 进程号

#等待查看日志的连接会显示出关闭服务的日志,回车空出行,方便看下面的启动日志

./start-confluence.sh   #启动服务同时查看

查看启动日志#这里就略了,一脸懵,报错查了很多没什么用

重点:网上查到了说启动的日志不是那么详细,需要在这个目录下/home/confluence/confluence/WEB-INF/classes新建logging.properties,添加配置文件

cd /home/confluence/bin

./stop-confluence.sh     #先停止服务

cd /home/confluence/confluence/WEB-INF/classes

ls查看到已经包含了logging.properties这个文件,那就把里面配置直接注释了,添加上搜索到的配置

vi logging.properties

#略

#略

#略

##新的配置文件

handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
org.apache.juli.FileHandler.level = FINE
org.apache.juli.FileHandler.directory = ${catalina.base}/logs
org.apache.juli.FileHandler.prefix = error-debug.
java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter =
java.util.logging.SimpleFormatter

保存

cd /home/confluence/bin

./start-confluence.sh   #启动服务

同时查看启动日志,日志老多了。。。。。。。

找到日志中SEVERE代表严重,其他的INFO信息,WARNING警告就先不看了

SEVERE: Exception starting filter legacyRemoteApiEventPublishingFilter

#严重:异常启动过滤器legacyRemoteApiEventPublishingFilter

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hostComponentProvider‘: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.atlassian.plugin.spring.SpringHostComponentProviderFactoryBean.setSpringHostComponentProviderConfig(com.atlassian.plugin.spring.SpringHostComponentProviderConfig); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bundledPluginLoader‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPluginFactory‘ while setting constructor argument with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPluginFactory‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPersistentCache‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPersistentCache‘: FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to clean the cache directory: /mnt/atlassian/confluence/plugins-osgi-cache/felix

#标红的重点:无法清理缓存目录:/mnt/atlassian/confluence/plugins-osgi-cache/felix

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘cacheStatisticsManager‘ defined in class path resource [services/cacheServiceContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘ehCacheStatisticsManager‘ defined in URL [jar:file:/home/confluence/webapps/../confluence/WEB-INF/lib/confluence-cache-ehcache-6.4.0.jar!/cacheProviderContext.xml]: Cannot resolve reference to bean ‘userI18NBeanFactory‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘userI18NBeanFactory‘ defined in class path resource [i18NContext.xml]: Cannot resolve reference to bean ‘localeManager‘ while setting bean property ‘localeManager‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘localeManager‘ defined in class path resource [i18NContext.xml]: Cannot resolve reference to bean ‘languageManager‘ while setting bean property ‘languageManager‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘languageManager‘ defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean ‘settingsManager‘ while setting bean property ‘settingsManager‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘settingsManager‘ defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean ‘upgradeManager‘ while setting bean property ‘upgradeManager‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘upgradeManager‘ defined in class path resource [upgradeSubsystemContext.xml]: Cannot resolve reference to bean ‘conditionallyEnableMailArchivePluginUpgradeTask‘ while setting bean property ‘pluginDependentUpgradeTasks‘ with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘conditionallyEnableMailArchivePluginUpgradeTask‘ defined in class path resource [upgradeSubsystemContext.xml]: Cannot resolve reference to bean ‘pluginController‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘pluginController‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘pluginManager‘ while setting bean property ‘pluginController‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘pluginManager‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘pluginLoaders‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘pluginLoaders‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘bundledPluginLoader‘ while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘bundledPluginLoader‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPluginFactory‘ while setting constructor argument with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPluginFactory‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPersistentCache‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPersistentCache‘: FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to clean the cache directory: /mnt/atlassian/confluence/plugins-osgi-cache/felix

#又一次看到

Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘databasePluginLoader‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘databasePluginLoaderTarget‘ while setting bean property ‘target‘; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘databasePluginLoaderTarget‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPluginFactory‘ while setting constructor argument with key [1]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPluginFactory‘ defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean ‘osgiPersistentCache‘ while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘osgiPersistentCache‘: FactoryBean threw exception on object creation; nested exception is com.atlassian.plugin.osgi.container.OsgiContainerException: Unable to clean the cache directory: /mnt/atlassian/confluence/plugins-osgi-cache/felix

#又出现了

cd  /mnt/atlassian/confluence/plugins-osgi-cache/felix

ls

felix-cache   #存在目录

cd felix-cache

ls

应该是要清理这些缓存,上网在搜一下,有相似的就是把它们都删了,在启动服务,保险起见先打个包往出拷一份再删

cd /home/confluence/bin

./stop-confluence.sh

cd /mnt/atlassian/confluence/plugins-osgi-cache/felix

tar -czf felix-cache.tar.gz felix-cache/

sz felix-cache.tar.gz    #考到我的本地电脑里

rm -rf felix-cache

cd /home/confluence/bin

./start-confluence.sh

启动成功后,浏览网页打开了,整了两天。。。

原文地址:https://www.cnblogs.com/gz-eternity/p/9359783.html

时间: 2024-11-08 20:47:39

confluence和jira重启动后confluence启动报错,打不开网页的相关文章

Tomcat启动后访问首页报错 显示JSP 空指针异常

HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: java.lang.NullPointerException org.apache.jasper.serv

Ecliplse 重命名后web.xml 报错Attribute "xmlns" was already specified for element "web-app".

报错信息:Attribute "xmlns" was already specified for element "web-app" 由于项目的重命名,出现了xmlns的重复赋值,这可能是eclipse自己设定的一种方式,重新为项目匹配合适的配置. <web-app xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns=”http://java.sun.com/xml/ns/javaee” xm

@EnableAsync annotation metadata was not injected Spring容器启动后访问Servlet报错

@EnableAsync annotation metadata was not injected 2015年12月20日 20:06:54 7570 在初始化spring事务部分碰到该错误, 详细错误信息如下: [plain] view plain copy 警告: Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.

hadoop 启动的时候datanode报错 Problem connecting to server

刚配置好的hadoop,namenode可以正常开启,但是datanode却不停的报错,并且不能正常启动: 2014-05-04 10:43:33,970 WARNorg.apache.hadoop.hdfs.server.datanode.DataNode: Problem connecting to server:hadoop1/192.168.10.22:9000 2014-05-04 10:43:55,009 INFOorg.apache.hadoop.ipc.Client: Retry

react-native启动时红屏报错:Unable to load script.Make sure you&#39;re either running a metro server or that ....

一.报错信息内容 我是在Android Studio中运行启动react-native项目时报的这个错误 1.报错提示:Unable to load script.Make sure you're either running a metro server( run 'react-native start' ) or that your bundle 'index.android.bundle' is packaged correctly for release. 2.中文翻译:无法加载脚本.请

ios替换app启动图片时系统报错的解决办法

ios替换app启动图片时系统报错的解决办法:我个人建议是在开发时候经常行的保存项目,并且在修改项目图标图片.app启动图片前,一定要先备份一份没有添加这两项图片的项目. 如果您的项目已经开发完成了,进入到发布前添加项目图标.app启动图片的时候,一定要确定了这两项的所有图片不会更改了再去添加,否则更改已经添加好的加项目图标.app启动图片就会报错, 如果您报错了,百度之后也没有解决办法,那么就尝试在已经备份的项目中重新去添加图片就可以了.

启动项目,编译报错:Consider defining a bean of type &#39;XXX&#39; in your configuration.

在controller层注入ConfigBean,编译器报错: 一开是以为是intellij idea 的告警级别设定的问题,就没有在意,继续启动项目,结果控制台报错:Consider defining a bean of type 'XXX' in your configuration. 错误信息显示找不到这个Bean类. 但是我明明写了啊. 后来经过一番查找,大概有了如下理解:主要问题出在@SpringBootApplication 这个注解上. 点进这个注解,可以看到,此注解功能大概由下面

Node升级 启动RN报错:react-native启动时红屏报错:Unable to load script.Make sure you&#39;re either running a metro server or that

1. 项目中在android/app/src/main/创建文件夹  assets 2.项目中执行命令 1. 项目中在android/app/src/main/创建文件夹  assets 2.项目中执行命令 react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle

Spring Boot 2.1.7 启动项目失败,报错: &quot;Failed to configure a DataSource: &#39;url&#39; attribute is not specified and no embedded datasource could be configured.&quot;

一开始按照网上的很多解决办法是: 启动类头部声明@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class}),但是这样会排除掉我自己的数据库配置, 检查了很多地方都没发现问题在哪里,最后自己猜想不论怎么修改application.yml文件,都不生效,是不是因为这个配置文件就没有被加载到? 带着这个想法我就去网上搜了一下问题,有个问题看到了target目录的作用,就去想了一下是不是application.yml文件没有被

kettle界面语言修改成中文后,重启报错

今天在设置kettle的界面时,想看看中文是什么样子的,于是就把如图的地方都改成了中文 重启后,kettle启不来了一直报错 java.lang.ArrayIndexOutOfBoundsException: 5 at org.pentaho.di.ui.spoon.dialog.TipsDialog.getTip(TipsDialog.java:191) at org.pentaho.di.ui.spoon.dialog.TipsDialog.<init>(TipsDialog.java:7