Hi team,

I am trying to setup onap aai standalone dev environment using steps given in 
onap wiki. The resources and traveral microservices came up fine.

The graphadmin microservice however gives error as below during startup. I 
could not find more information to debug or analyze further on this error. Can 
you please help?

[INFO] --- exec-maven-plugin:1.6.0:java (run-spring-boot) @ aai-graphadmin ---

.   ____          _            __ _ _
/\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/  ___)| |_)| | | | | || (_| |  ) ) ) )
'  |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot ::       (v2.1.12.RELEASE)

[WARNING]
org.onap.aai.exceptions.AAIException: Error connecting to SchemaService - 
Please Investigate
at org.onap.aai.util.ExceptionTranslator.schemaServiceExceptionTranslator 
(ExceptionTranslator.java:51)
at org.onap.aai.GraphAdminApp.main (GraphAdminApp.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:282)
at java.lang.Thread.run (Thread.java:750)
[WARNING] thread Thread[logback-2,5,org.onap.aai.GraphAdminApp] was interrupted 
but is still alive after waiting at least 15000msecs
[WARNING] thread Thread[logback-2,5,org.onap.aai.GraphAdminApp] will linger 
despite being asked to die via interruption
[WARNING] NOTE: 1 thread(s) did not finish despite being asked to  via 
interruption. This is not a problem with exec:java, it is a problede. Although 
not serious, it should be remedied.
[WARNING] Couldn't destroy threadgroup 
org.codehaus.mojo.exec.ExecJavaMojo$IsolatedThreadGroup[name=org.onap.aai.GraphAdminApp,maxpri=10]
java.lang.IllegalThreadStateException
at java.lang.ThreadGroup.destroy (ThreadGroup.java:778)
at org.codehaus.mojo.exec.ExecJavaMojo.execute (ExecJavaMojo.java:321)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:21 min
[INFO] Finished at: 2023-05-09T04:45:58-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java 
(run-spring-boot) on project aai-graphadmin: An exception og the Java class. 
Error connecting to SchemaService - Please Investigate -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

I also saw this error in rest/error.log. Similar exceptions are seen in 
rest/sane.log and external/external.log.

2023-05-09T08:21:24.632Z|97e66f72-e030-49c5-9a7d-8340556a8cf4|org.onap.aai.GraphAdminApp.main()|UNKNOWN||||ERROR|400|Error
 connecting to Schema Service:3025:Internal Server Error:Error creating bean 
with name 'scheduledTasks': Unsatisfied dependency expressed through field 
'auditLog'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'aaiScheduledTaskAuditLog': Lookup method resolution failed; nested 
exception is java.lang.IllegalStateException: Failed to introspect Class 
[org.onap.logging.filter.base.MDCSetup] from ClassLoader 
[java.net.URLClassLoader@4ee779e0], resolve and restart GraphAdmin|ERR.5.4.3025 
ex=org.onap.aai.exceptions.AAIException: Error creating bean with name 
'scheduledTasks': Unsatisfied dependency expressed through field 'auditLog'; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'aaiScheduledTaskAuditLog': Lookup method 
resolution failed; nested exception is java.lang.IllegalStateException: Failed 
to introspect Class [org.onap.logging.filter.base.MDCSetup] from ClassLoader 
[java.net.URLClassLoader@4ee779e0], resolve and restart GraphAdmin ClassName- 
org.onap.aai.logging.ErrorLogHelper :LineNumber- 616 :MethodName- logError 
ClassName- org.onap.aai.GraphAdminApp :LineNumber- 123 :MethodName- main 
ClassName- sun.reflect.NativeMethodAccessorImpl :LineNumber- -2 :MethodName- 
invoke0 ClassName- sun.reflect.NativeMethodAccessorImpl :LineNumber- 62 
:MethodName- invoke ClassName- sun.reflect.DelegatingMethodAccessorImpl 
:LineNumber- 43 :MethodName- invoke ClassName- java.lang.reflect.Method 
:LineNumber- 498 :MethodName- invoke ClassName- 
org.codehaus.mojo.exec.ExecJavaMojo$1 :LineNumber- 282 :MethodName- run 
ClassName- java.lang.Thread :LineNumber- 750 :MethodName- run

Regards,
Srinivasan


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24443): https://lists.onap.org/g/onap-discuss/message/24443
Mute This Topic: https://lists.onap.org/mt/98801193/21656
Mute #aai:https://lists.onap.org/g/onap-discuss/mutehashtag/aai
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to