我是一个新手神器用户。今天我将artifatory更新为5.4.1版本,启动后它会崩溃。 Tomcat正在运行,但它返回503错误。
错误是:
2017-06-26 08:39:51,072 [art-init] [INFO ] (o.a.v.c.v.AccessTokenSettingsRenameToAccessClientSettingsConverter:19) - Starting to convert AccessTokenSettings to AccessClientSettings
2017-06-26 08:39:51,073 [art-init] [INFO ] (o.a.v.c.v.AccessTokenSettingsRenameToAccessClientSettingsConverter:42) - Finished to convert AccessTokenSettings to AccessClientSettings
2017-06-26 08:39:51,073 [art-init] [INFO ] (o.a.v.c.v.YumEnableFilelistsIndexingForExistingLocalReposConverter:19) - Starting The Yum local repositories conversion, to enable existing local repositories to calculate filelists.xml
2017-06-26 08:39:51,074 [art-init] [INFO ] (o.a.v.c.v.YumEnableFilelistsIndexingForExistingLocalReposConverter:23) - Finish The Yum local repositories conversion, to enable existing local repositories to calculate filelists.xml
2017-06-26 08:39:51,316 [art-init] [INFO ] (o.a.s.a.ArtifactoryAccessClientConfigStore:472) - Using Access Server URL: http://localhost:8081/access (bundled) source: detected
2017-06-26 08:39:51,598 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:233) - Waiting for access server...
2017-06-26 08:39:51,839 [art-init] [INFO ] (o.a.s.a.AccessServiceImpl:243) - Got response from Access server after 240 ms, continuing.
2017-06-26 08:39:52,039 [art-init] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:97) - Application could not be initialized: Illegal base64 character 3c
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_131]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_131]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_131]
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:222) ~[artifactory-web-application-5.4.1.jar:na]
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.access$2(ArtifactoryContextConfigListener.java:184) ~[artifactory-web-application-5.4.1.jar:na]
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:93) ~[artifactory-web-application-5.4.1.jar:na]
Caused by: org.springframework.beans.factory.BeanInitializationException: Failed to initialize bean 'org.artifactory.security.access.AccessService'.; nested exception is java.lang.RuntimeException: Failed to fetch and save root certificate from the access server.
at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:230) ~[artifactory-core-5.4.1.jar:na]
at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:114) ~[artifactory-core-5.4.1.jar:na]
... 7 common frames omitted
Caused by: java.lang.RuntimeException: Failed to fetch and save root certificate from the access server.
at org.jfrog.access.client.AccessClientBootstrap.fetchAndSaveAccessRootCertificate(AccessClientBootstrap.java:63) ~[access-client-core-2.0.0.jar:na]
at org.jfrog.access.client.AccessClientBootstrap.<init>(AccessClientBootstrap.java:41) ~[access-client-core-2.0.0.jar:na]
at org.artifactory.security.access.AccessServiceImpl.initAccessService(AccessServiceImpl.java:227) ~[artifactory-core-5.4.1.jar:na]
at org.artifactory.security.access.AccessServiceImpl.initIfNeeded(AccessServiceImpl.java:216) ~[artifactory-core-5.4.1.jar:na]
at org.artifactory.security.access.AccessServiceImpl.init(AccessServiceImpl.java:211) ~[artifactory-core-5.4.1.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_131]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_131]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_131]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76) ~[artifactory-storage-common-5.4.1.jar:na]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at com.sun.proxy.$Proxy148.init(Unknown Source) ~[na:na]
at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:228) ~[artifactory-core-5.4.1.jar:na]
... 8 common frames omitted
Caused by: org.jfrog.access.client.AccessClientException: Failed to parse fetched root X509 certificate bytes in base64
at org.jfrog.access.client.cert.CertClientImpl.getRootCertificate(CertClientImpl.java:33) ~[access-client-core-2.0.0.jar:na]
at org.jfrog.access.client.AccessClientBootstrap.fetchAndSaveAccessRootCertificate(AccessClientBootstrap.java:51) ~[access-client-core-2.0.0.jar:na]
... 27 common frames omitted
Caused by: java.lang.IllegalArgumentException: Illegal base64 character 3c
at java.util.Base64$Decoder.decode0(Base64.java:714) ~[na:1.8.0_131]
at java.util.Base64$Decoder.decode(Base64.java:526) ~[na:1.8.0_131]
at java.util.Base64$Decoder.decode(Base64.java:549) ~[na:1.8.0_131]
at org.jfrog.access.client.cert.CertClientImpl.getRootCertificate(CertClientImpl.java:29) ~[access-client-core-2.0.0.jar:na]
... 28 common frames omitted
我该如何解决这个问题?问题是什么? 提前谢谢。