Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registration client issue #991

Open
Omar-El opened this issue Apr 7, 2022 · 0 comments
Open

Registration client issue #991

Omar-El opened this issue Apr 7, 2022 · 0 comments

Comments

@Omar-El
Copy link

Omar-El commented Apr 7, 2022

Hello, i launched the file run.bat, when the jars are downloaded, and the client is prepared to be launched, it suddenly return an error message then crash.
the version i have installed is 1.1.5, bellow you can find the logs generated:

.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Checking for jars Completed
2022-04-07T14:19:37Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Found all the required jars
2022-04-07T14:19:37Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Started tpm availability check
2022-04-07T14:19:37Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Decrypting mosip-client
2022-04-07T14:19:37Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Decryption Started
2022-04-07T14:19:37Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Decrypting mosip-services
2022-04-07T14:19:37Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Decryption Started
2022-04-07T14:19:37Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Decrypting mosip jars completed
2022-04-07T14:19:43Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Preparing command to launch the reg-client
2022-04-07T14:19:43Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Proccess Initiated
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,531 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,533 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,534 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-idgenerator-rid-1.1.5.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,537 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/7890b98a-3730-431b-8851-263c5a4a073f.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-dataaccess-hibernate-1.1.5.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-idvalidator-rid-1.1.5.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/khazana-1.1.5.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-idvalidator-prid-1.1.5.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-idgenerator-rid-1.1.5.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-virusscanner-clamav-1.1.3.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-idvalidator-uin-1.1.5.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-idobjectvalidator-1.1.5.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-qrcodegenerator-zxing-1.1.5.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-templatemanager-velocity-1.1.5.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-keymanager-service-1.1.5-lib.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,538 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-pdfgenerator-itext-1.1.5.jar!/logback.xml]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,582 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@21d85187 - URL [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-idgenerator-rid-1.1.5.jar!/logback.xml] is not of type file
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,817 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,821 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,849 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:05,869 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:06,021 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:06,022 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:06,023 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 14:20:06,024 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@4194e3aa - Registering current configuration as safe fallback point
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG -
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:06,440 [main] INFO [o.s.c.SpringProperties]..64 : Found 'spring.properties' file in local classpath
2022-04-07T14:20:06Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:06,908 [main] INFO [o.s.c.s.AbstractApplicationContext].prepareRefresh.590 : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@6ebc05a6: startup date [Thu Apr 07 14:20:06 UTC 2022]; root of context hierarchy
2022-04-07T14:20:12Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:12,620 [main] INFO [o.s.b.f.s.DefaultListableBeanFactory].registerBeanDefinition.824 : Overriding bean definition for bean 'restTemplateInterceptor' with a different definition: replacing [Generic bean: class [io.mosip.kernel.auth.defaultadapter.config.RestTemplateInterceptor]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/C:/Users/g524542/AppData/Local/Temp/b02dc6c9-7e13-48a2-8fa0-ac9387c94211/kernel-auth-adapter-1.1.5.jar!/io/mosip/kernel/auth/defaultadapter/config/RestTemplateInterceptor.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=restTemplatePostProcessor; factoryMethodName=restTemplateInterceptor; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [io/mosip/kernel/auth/defaultadapter/config/RestTemplatePostProcessor.class]]
2022-04-07T14:20:18Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:18,066 [main] INFO [o.s.c.c.s.GenericScope].setSerializationId.294 : BeanFactory id=e8380dea-9b57-31ab-806a-951c3d1d05f5
2022-04-07T14:20:18Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:18,887 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$963b3484] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-04-07T14:20:19Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:19,218 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean 'org.springframework.cache.annotation.ProxyCachingConfiguration' of type [org.springframework.cache.annotation.ProxyCachingConfiguration$$EnhancerBySpringCGLIB$$df4d6aa2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-04-07T14:20:19Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:19,468 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean 'org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration' of type [org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration$$EnhancerBySpringCGLIB$$2ee8fcbe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-04-07T14:20:19Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:19,527 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean 'objectPostProcessor' of type [org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-04-07T14:20:19Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:19,538 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@5535e9' of type [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-04-07T14:20:19Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:19,567 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration' of type [org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration$$EnhancerBySpringCGLIB$$53bd9f70] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-04-07T14:20:19Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:19,623 [main] INFO [o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker].postProcessAfterInitialization.328 : Bean 'methodSecurityMetadataSource' of type [org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2022-04-07T14:20:20Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - 2022-04-07 14:20:20,292 [main] WARN [o.s.c.s.AbstractApplicationContext].refresh.558 : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in io.mosip.registration.config.DaoConfig: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean]: Factory method 'entityManagerFactory' threw exception; nested exception is io.mosip.registration.exception.RegBaseCheckedException: REG-INIT-001 --> Application found in invalid state, tampering detected !
2022-04-07T14:20:20Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Terminating the application
2022-04-07T14:20:20Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Started Destroying proccess of reg-client and force deleting the decrypted jars
2022-04-07T14:20:22Z - [io.mosip.registration.cipher.ClientJarDecryption] - INFO - REGISTRATION - CLIENT_JAR_DECRYPTION - - REGISTRATION - REG - Completed Destroying proccess of reg-client and force deleting the decrypted jars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant