We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My typical PROMPT_COMMAND (in bash) is typically set to:
echo -ne "\033k${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}:\033\\"
With this setting, the event-discovery-agent wont start:
uherbst@umbp maas-event-discovery-agent-0.0.18 $ bin/event-discovery-agent 08:30:05.722 [main] INFO com.solace.maas.event.discovery.agent.MaaSEventDiscoveryAgentApplication - Starting maas-event-discovery-agent --> [--spring.config.location=/Users/uherbst/OneDrive/OneDrive - Solace Corporation/workspace/maas-event-discovery-agent-0.0.18/config/config.properties] # # ## ## #### ###### # # ###### # # ##### ##### # #### #### #### # # ###### ##### # # ## #### ###### # # ##### ## ## # # # # # # # # # ## # # # # # # # # # # # # # # # # # # # # # # ## # # # ## # # # # # #### ##### ##### # # ##### # # # # ##### # # # #### # # # # # ##### # # # ##### # # # ##### # # # # # # ###### ###### # # # # # # # # # # # # # # # # # # # ##### # ###### # ### # # # # # # # # # # # # # # # # # # ## # # # # # # # # # # # # # # # # # # # # # # ## # # # # # # # #### ###### ## ###### # # # ##### # #### #### #### ## ###### # # # # # #### ###### # # # 2023-04-19 08:30:20.188 INFO [] 6368 --- [ main] e.d.a.MaaSEventDiscoveryAgentApplication : Starting MaaSEventDiscoveryAgentApplication v0.0.18 using Java 11.0.8 on umbp.fritz.box with PID 6368 (/Users/uherbst/Library/CloudStorage/OneDrive-SolaceCorporation/workspace/maas-event-discovery-agent-0.0.18/lib/maas-event-discovery-agent-0.0.18.jar started by uherbst in /Users/uherbst/Library/CloudStorage/OneDrive-SolaceCorporation/workspace/maas-event-discovery-agent-0.0.18) 2023-04-19 08:30:20.191 DEBUG [] 6368 --- [ main] e.d.a.MaaSEventDiscoveryAgentApplication : Running with Spring Boot v2.4.5, Spring v5.3.6 2023-04-19 08:30:20.191 INFO [] 6368 --- [ main] e.d.a.MaaSEventDiscoveryAgentApplication : No active profile set, falling back to default profiles: default 2023-04-19 08:30:20.312 INFO [] 6368 --- [ main] o.s.b.context.config.ConfigDataLoader : Fetching config from server at : http://localhost:8888/config 2023-04-19 08:30:20.312 INFO [] 6368 --- [ main] o.s.b.context.config.ConfigDataLoader : Connect Timeout Exception on Url - http://localhost:8888/config. Will be trying the next url if available 2023-04-19 08:30:20.312 WARN [] 6368 --- [ main] o.s.b.context.config.ConfigDataLoader : Could not locate PropertySource ([ConfigServerConfigDataResource@23f5b5dc uris = array<String>['http://localhost:8888/config'], optional = true, profiles = list['default']]): I/O error on GET request for "http://localhost:8888/config/maas-event-discovery-agent/default": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused) 2023-04-19 08:30:24.260 INFO [] 6368 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2023-04-19 08:30:24.300 INFO [] 6368 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 0 JPA repository interfaces. 2023-04-19 08:30:25.108 INFO [] 6368 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=cfca3994-0c56-329c-960e-6f1adbaacac9 2023-04-19 08:30:25.235 INFO [] 6368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration' of type [org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration$$EnhancerBySpringCGLIB$$fb37cff3] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-04-19 08:30:25.362 INFO [] 6368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'defaultValidator' of type [org.springframework.validation.beanvalidation.LocalValidatorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-04-19 08:30:26.566 INFO [] 6368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'shiroConfiguration' of type [com.solace.maas.autoconfigure.ShiroConfiguration$$EnhancerBySpringCGLIB$$74689cfe] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-04-19 08:30:26.624 INFO [] 6368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'getTokenUtil' of type [com.solace.maas.base.security.TokenUtil] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-04-19 08:30:26.642 INFO [] 6368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'realm' of type [com.solace.maas.base.security.TokenRealm] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-04-19 08:30:29.398 INFO [] 6368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'securityManager' of type [org.apache.shiro.web.mgt.DefaultWebSecurityManager] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-04-19 08:30:29.455 INFO [] 6368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'authorizationAttributeSourceAdvisor' of type [org.apache.shiro.spring.security.interceptor.AuthorizationAttributeSourceAdvisor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-04-19 08:30:29.458 INFO [] 6368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'discoveryConfig' of type [com.solace.maas.event.discovery.agent.base.config.DiscoveryConfig$$EnhancerBySpringCGLIB$$fe60c276] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-04-19 08:30:29.494 INFO [] 6368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'internalStandaloneAuthenticationTokenFilter' of type [com.solace.maas.event.discovery.agent.base.config.a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-04-19 08:30:29.535 INFO [] 6368 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'eventBus' of type [org.apache.shiro.event.support.DefaultEventBus] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-04-19 08:30:30.515 INFO [] 6368 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8120 (http) 2023-04-19 08:30:30.541 INFO [] 6368 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2023-04-19 08:30:30.541 INFO [] 6368 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.45] 2023-04-19 08:30:30.685 INFO [] 6368 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2023-04-19 08:30:30.685 INFO [] 6368 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 10370 ms 2023-04-19 08:30:31.362 DEBUG [] 6368 --- [ main] c.solace.maas.base.filter.LoggingFilter : Filter 'loggingFilter' configured for use 2023-04-19 08:30:33.045 INFO [] 6368 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2023-04-19 08:30:33.782 INFO [] 6368 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2023-04-19 08:30:33.918 INFO [] 6368 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2023-04-19 08:30:34.083 INFO [] 6368 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.4.30.Final 2023-04-19 08:30:34.535 INFO [] 6368 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2023-04-19 08:30:34.855 INFO [] 6368 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 2023-04-19 08:30:35.377 INFO [] 6368 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2023-04-19 08:30:35.401 INFO [] 6368 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2023-04-19 08:30:35.643 INFO [] 6368 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'eventDiscoveryAgentTaskExecutor' 2023-04-19 08:30:35.836 DEBUG [] 6368 --- [ main] c.s.m.m.v.a.retry.policy.VMRRetryPolicy : VMR Retry Policy: attempts = 5, delayInMS = 5000 2023-04-19 08:30:36.255 INFO [] 6368 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 2023-04-19 08:30:36.256 INFO [] 6368 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'cloudAgentVmrTaskExecutor' 2023-04-19 08:30:38.537 DEBUG [] 6368 --- [ main] c.s.m.m.v.a.retry.policy.VMRRetryPolicy : VMR Retry Policy: attempts = 1, delayInMS = 1000 2023-04-19 08:30:38.541 DEBUG [] 6368 --- [ main] c.s.m.m.v.a.retry.policy.VMRRetryPolicy : VMR Retry Policy: attempts = 1, delayInMS = 1000 2023-04-19 08:30:39.874 WARN [] 6368 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2023-04-19 08:30:40.354 INFO [] 6368 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 16 endpoint(s) beneath base path '/api/v0/component/spring' 2023-04-19 08:30:40.469 INFO [] 6368 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'taskScheduler' 2023-04-19 08:30:40.988 INFO [] 6368 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2023-04-19 08:30:42.525 INFO [] 6368 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8120 (http) with context path '' 2023-04-19 08:30:42.604 INFO [] 6368 --- [ main] c.s.m.c.managers.InformationManagerImpl : Context refreshed event, processing application properties. 2023-04-19 08:30:42.619 INFO [] 6368 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2023-04-19 08:30:42.624 WARN [] 6368 --- [ main] o.a.c.loader.WebappClassLoaderBase : The web application [ROOT] appears to have started a thread named [spring.cloud.inetutils] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: [email protected]/jdk.internal.misc.Unsafe.park(Native Method) [email protected]/java.util.concurrent.locks.LockSupport.park(Unknown Source) [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) [email protected]/java.util.concurrent.LinkedBlockingQueue.take(Unknown Source) [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [email protected]/java.lang.Thread.run(Unknown Source) 2023-04-19 08:30:42.638 INFO [] 6368 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2023-04-19 08:30:42.700 ERROR [] 6368 --- [ main] o.s.boot.SpringApplication : Application run failed java.lang.IllegalArgumentException: Could not resolve placeholder 'HOSTNAME%%.*' in value "echo -ne "\033k${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}:\033\\"" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:178) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124) at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:239) at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210) at org.springframework.core.env.AbstractPropertyResolver.resolveNestedPlaceholders(AbstractPropertyResolver.java:230) at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:88) at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:62) at org.springframework.core.env.AbstractEnvironment.getProperty(AbstractEnvironment.java:588) at com.solace.maas.cloudagent.managers.InformationManagerImpl.lambda$handleContextRefresh$2(InformationManagerImpl.java:76) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) at java.base/java.util.stream.DistinctOps$1$2.accept(Unknown Source) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source) at java.base/java.util.stream.ReferencePipeline$Head.forEach(Unknown Source) at java.base/java.util.stream.ReferencePipeline$7$1.accept(Unknown Source) at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.base/java.util.concurrent.CopyOnWriteArrayList$COWIterator.forEachRemaining(Unknown Source) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source) at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source) at com.solace.maas.cloudagent.managers.InformationManagerImpl.handleContextRefresh(InformationManagerImpl.java:76) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.context.event.ApplicationListenerMethodAdapter.doInvoke(ApplicationListenerMethodAdapter.java:344) at org.springframework.context.event.ApplicationListenerMethodAdapter.processEvent(ApplicationListenerMethodAdapter.java:229) at org.springframework.context.event.ApplicationListenerMethodAdapter.onApplicationEvent(ApplicationListenerMethodAdapter.java:166) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:421) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:378) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:938) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:586) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:782) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:774) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439) at org.springframework.boot.SpringApplication.run(SpringApplication.java:339) at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144) at com.solace.maas.event.discovery.agent.MaaSEventDiscoveryAgentApplication.main(MaaSEventDiscoveryAgentApplication.java:47) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) 2023-04-19 08:30:42.765 INFO [] 6368 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' 2023-04-19 08:30:42.767 INFO [] 6368 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'cloudAgentVmrTaskExecutor' 2023-04-19 08:30:42.768 INFO [] 6368 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'eventDiscoveryAgentTaskExecutor' 2023-04-19 08:30:42.768 INFO [] 6368 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2023-04-19 08:30:42.769 INFO [] 6368 --- [ main] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2023-04-19 08:30:42.774 INFO [] 6368 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2023-04-19 08:30:42.779 INFO [] 6368 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My typical PROMPT_COMMAND (in bash) is typically set to:
echo -ne "\033k${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}:\033\\"
With this setting, the event-discovery-agent wont start:
The text was updated successfully, but these errors were encountered: