bitbucket update to version 7.21.2 (x64)

Василий Теркин July 18, 2022

Good day!
Please tell me, the new JAVA 8 is not included in the bitbucket version 7.21.2 (x64)? Or something free? After updating to version 7.21.2 (x64), when starting the batch file start-bitbucket.bat, an error appears that JAVA11 is needed. Why do you then write that Java 8 is supported from 1.8u65+???

 

"warning: Non-JDK distributions that do not include the JDK are deprecated and will be removed in a future release"

future versions of OpenSearch will require Java 11; your Java version from [C:\Atlassian\Bitbucket\7.21.2\jre] does not meet this requirement

"warning: Non-JDK distributions that do not include the JDK are deprecated and will be removed in a future release"

future versions of OpenSearch will require Java 11; your Java version from [C:\Atlassian\Bitbucket\7.21.2\jre] does not meet this requirement

Warning: When using JDK 8 on Windows, OpenSearch may not get the correct information.

ergonomic settings due to an issue with the JDK (JDK-8074459). Please use a newer one.

Java version.

Warning: MaxDirectMemorySize may not have been calculated correctly due to JDK-8074459.

Please use a newer version of Java or set MaxDirectMemorySize explicitly.

OpenJDK 64-Bit Server VM Warning: Unable to open logs/gc.log file due to permission denied

 

 

Below is the logs of subsequent errors pointing to JAVA

 

 

 

2022-07-16 12:44:24,557 main ERROR RollingFileManager (C:\Atlassian\ApplicationData\Bitbucket\log\search\bitbucket_search_server.json) java.io.FileNotFoundException: C:\Atlassian\ApplicationData\Bitbucket\log\search\bitbucket_search_server.json (Отказано в доступе) java.io.FileNotFoundException: C:\Atlassian\ApplicationData\Bitbucket\log\search\bitbucket_search_server.json (Отказано в доступе)

        at java.io.FileOutputStream.open0(Native Method)

        at java.io.FileOutputStream.open(FileOutputStream.java:270)

        at java.io.FileOutputStream.<init>(FileOutputStream.java:213)

        at java.io.FileOutputStream.<init>(FileOutputStream.java:133)

        at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:746)

        at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:716)

        at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:114)

        at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:100)

        at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:217)

        at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:146)

        at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:62)

        at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1120)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1045)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037)

       at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:651)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:247)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293)

        at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626)

        at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:302)

        at org.opensearch.common.logging.LogConfigurator.configure(LogConfigurator.java:246)

        at org.opensearch.common.logging.LogConfigurator.configure(LogConfigurator.java:142)

        at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:373)

        at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:178)

        at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:169)

        at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:100)

        at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)

        at org.opensearch.cli.Command.main(Command.java:101)

        at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:135)

        at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:101)

 

2022-07-16 12:44:24,573 main ERROR Could not create plugin of type class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@54bff557] unable to create manager for [C:\Atlassian\ApplicationData\Bitbucket\log\search\bitbucket_search_server.json] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@593aaf41[pattern=C:\Atlassian\ApplicationData\Bitbucket\log\search\bitbucket_search-%d{yyyy-MM-dd}-%i.json.gz, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[TimeBasedTriggeringPolicy(nextRolloverMillis=0, interval=1, modulate=true), SizeBasedTriggeringPolicy(size=134217728)]), strategy=DefaultRolloverStrategy(min=-2147483648, max=2147483647, useMax=false), advertiseURI=null, layout=OpenSearchJsonLayout{patternLayout={"type": "server", "timestamp": "%d{yyyy-MM-dd'T'HH:mm:ss,SSSZZ}", "level": "%p", "component": "%c{1.}", "cluster.name": "${sys:opensearch.logs.cluster_name}", "node.name": "%node_name", "message": "%notEmpty{%enc{%marker}{JSON} }%enc{%.-10000m}{JSON}"%notEmpty{, %node_and_cluster_id }%exceptionAsJson }

}, filePermissions=null, fileOwner=null]] java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@54bff557] unable to create manager for [C:\Atlassian\ApplicationData\Bitbucket\log\search\bitbucket_search_server.json] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@593aaf41[pattern=C:\Atlassian\ApplicationData\Bitbucket\log\search\bitbucket_search-%d{yyyy-MM-dd}-%i.json.gz, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[TimeBasedTriggeringPolicy(nextRolloverMillis=0, interval=1, modulate=true), SizeBasedTriggeringPolicy(size=134217728)]), strategy=DefaultRolloverStrategy(min=-2147483648, max=2147483647, useMax=false), advertiseURI=null, layout=OpenSearchJsonLayout{patternLayout={"type": "server", "timestamp": "%d{yyyy-MM-dd'T'HH:mm:ss,SSSZZ}", "level": "%p", "component": "%c{1.}", "cluster.name": "${sys:opensearch.logs.cluster_name}", "node.name": "%node_name", "message": "%notEmpty{%enc{%marker}{JSON} }%enc{%.-10000m}{JSON}"%notEmpty{, %node_and_cluster_id }%exceptionAsJson }

}, filePermissions=null, fileOwner=null]]

        at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:116)

        at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:100)

        at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:217)

        at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:146)

        at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:62)

        at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1120)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1045)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:651)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:247)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293)

        at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626)

        at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:302)

        at org.opensearch.common.logging.LogConfigurator.configure(LogConfigurator.java:246)

        at org.opensearch.common.logging.LogConfigurator.configure(LogConfigurator.java:142)

        at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:373)

        at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:178)

        at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:169)

        at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:100)

        at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)

        at org.opensearch.cli.Command.main(Command.java:101)

        at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:135)

        at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:101)

 

2022-07-16 12:44:24,573 main ERROR Unable to invoke factory method in class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender

        at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findFactoryMethod(PluginBuilder.java:236)

        at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:134)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1120)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1045)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:651)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:247)

        at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293)

        at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626)

        at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:302)

        at org.opensearch.common.logging.LogConfigurator.configure(LogConfigurator.java:246)

        at org.opensearch.common.logging.LogConfigurator.configure(LogConfigurator.java:142)

        at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:373)

        at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:178)

        at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:169)

        at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:100)

        at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:138)

        at org.opensearch.cli.Command.main(Command.java:101)

        at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:135)

        at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:101)

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events