79465486

Date: 2025-02-25 05:31:26
Score: 3
Natty:
Report link

Well, the Problem was XML Files loading and everything else stopped.

So which means there was a Code problem.

user@ubuntu:~/backend$ docker logs 5d6e26ae2686

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v3.3.3)

2025-02-25 13:08:00 - Starting BackendApplication v0.0.1-SNAPSHOT using Java 17-ea with PID 1 (/app/app.jar started by root in /app)
2025-02-25 13:08:00 - The following 1 profile is active: "test"
2025-02-25 13:08:02 - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-02-25 13:08:02 - Finished Spring Data repository scanning in 189 ms. Found 24 JPA repository interfaces.
2025-02-25 13:08:03 - Bean 'webServiceConfigSoap' of type [com.backend.backend.addons.smart_meter.config.WebServiceConfigSoap$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [annotationActionEndpointMapping]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2025-02-25 13:08:03 - Bean 'org.springframework.ws.config.annotation.DelegatingWsConfiguration' of type [org.springframework.ws.config.annotation.DelegatingWsConfiguration$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [annotationActionEndpointMapping] is declared through a non-static factory method on that class; consider declaring it as static instead.
2025-02-25 13:08:03 - Supporting [WS-Addressing August 2004, WS-Addressing 1.0]
2025-02-25 13:08:04 - Tomcat initialized with port 8080 (http)
2025-02-25 13:08:04 - Initializing ProtocolHandler ["http-nio-0.0.0.0-8080"]
2025-02-25 13:08:04 - Starting service [Tomcat]
2025-02-25 13:08:04 - Starting Servlet engine: [Apache Tomcat/10.1.28]
2025-02-25 13:08:04 - Initializing Spring embedded WebApplicationContext
2025-02-25 13:08:04 - Root WebApplicationContext: initialization completed in 3299 ms
2025-02-25 13:08:04 - HHH000204: Processing PersistenceUnitInfo [name: default]
2025-02-25 13:08:04 - HHH000412: Hibernate ORM core version 6.5.2.Final
2025-02-25 13:08:04 - HHH000026: Second-level cache disabled
2025-02-25 13:08:05 - No LoadTimeWeaver setup: ignoring JPA class transformer
2025-02-25 13:08:05 - HikariPool-1 - Starting...
2025-02-25 13:08:05 - HikariPool-1 - Added connection ConnectionID:1 ClientConnectionId: 128acbed-92c3-4650-b5ed-e8cd5370b87c
2025-02-25 13:08:05 - HikariPool-1 - Start completed.
2025-02-25 13:08:08 - HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2025-02-25 13:08:08 - Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-02-25 13:08:09 - Hibernate is in classpath; If applicable, HQL parser will be used.
2025-02-25 13:08:09 - Successfully executed sql script.
2025-02-25 13:08:10 - Resolved watchPath: /mnt/clouhes/
2025-02-25 13:08:10 - folderToWatch path: /mnt/clouhes
2025-02-25 13:08:10 - archiveFolder path: /mnt/clouhes/archived
2025-02-25 13:08:10 - Directory already exists: /mnt/clouhes
2025-02-25 13:08:10 - Directory already exists: /mnt/clouhes/archived
2025-02-25 13:08:10 - Processing existing XML files in: /mnt/clouhes
2025-02-25 13:08:10 - Found existing XML file: /mnt/clouhes/minutely2502222121_11548_0.xml
2025-02-25 13:08:23 - Processed 100 SmartMeter records so far.
2025-02-25 13:08:39 - Processed 200 SmartMeter records so far.
2025-02-25 13:09:02 - Processed 300 SmartMeter records so far.
2025-02-25 13:09:25 - Processed 400 SmartMeter records so far.
2025-02-25 13:09:46 - Processed 500 SmartMeter records so far.
2025-02-25 13:10:18 - Processed 600 SmartMeter records so far.
2025-02-25 13:11:04 - Processed 700 SmartMeter records so far.
2025-02-25 13:11:44 - Processed 800 SmartMeter records so far.
2025-02-25 13:12:27 - Processed 900 SmartMeter records so far.
2025-02-25 13:12:54 - Spent time: 4.73 minutes
Moved file to archive: /mnt/clouhes/archived/20250225/minutely2502222121_11548_0.xml
2025-02-25 13:12:54 - File archived: /mnt/clouhes/minutely2502222121_11548_0.xml
2025-02-25 13:12:54 - Found existing XML file: /mnt/clouhes/minutely2502221521_12695_0.xml
2025-02-25 13:13:00 - Processed 100 SmartMeter records so far.
2025-02-25 13:13:02 - Processed 200 SmartMeter records so far.
2025-02-25 13:13:05 - Processed 300 SmartMeter records so far.
2025-02-25 13:13:07 - Processed 400 SmartMeter records so far.
2025-02-25 13:13:12 - Processed 500 SmartMeter records so far.
2025-02-25 13:13:14 - Processed 600 SmartMeter records so far.
2025-02-25 13:13:19 - Processed 700 SmartMeter records so far.
2025-02-25 13:13:23 - Processed 800 SmartMeter records so far.
2025-02-25 13:13:27 - Processed 900 SmartMeter records so far.
2025-02-25 13:13:30 - Processed 1000 SmartMeter records so far.
2025-02-25 13:13:35 - Processed 1100 SmartMeter records so far.
2025-02-25 13:13:39 - Processed 1200 SmartMeter records so far.
2025-02-25 13:13:42 - Processed 1300 SmartMeter records so far.
2025-02-25 13:13:44 - Processed 1400 SmartMeter records so far.
2025-02-25 13:13:47 - Processed 1500 SmartMeter records so far.
2025-02-25 13:13:50 - Processed 1600 SmartMeter records so far.
2025-02-25 13:13:53 - Processed 1700 SmartMeter records so far.
2025-02-25 13:13:56 - Processed 1800 SmartMeter records so far.
2025-02-25 13:14:01 - Processed 1900 SmartMeter records so far.
2025-02-25 13:14:05 - Processed 2000 SmartMeter records so far.
2025-02-25 13:14:10 - Processed 2100 SmartMeter records so far.
2025-02-25 13:14:14 - Processed 2200 SmartMeter records so far.
2025-02-25 13:14:17 - Processed 2300 SmartMeter records so far.
2025-02-25 13:14:19 - Processed 2400 SmartMeter records so far.
2025-02-25 13:14:24 - Processed 2500 SmartMeter records so far.
2025-02-25 13:14:27 - Processed 2600 SmartMeter records so far.
2025-02-25 13:14:30 - Processed 2700 SmartMeter records so far.

It's working as intended here Loading XML Files and all.

And Here I tried netstat.

user@ubuntu:~/backend$ docker exec -it backend_app netstat -tulpn | grep 8080
user@ubuntu:~/backend$

Here I made an intentional path error to see what happens.

user@ubuntu:~/backend$ docker logs fd39d0d688ad

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v3.3.3)

2025-02-25 13:19:39 - Starting BackendApplication v0.0.1-SNAPSHOT using Java 17-ea with PID 1 (/app/app.jar started by root in /app)
2025-02-25 13:19:39 - The following 1 profile is active: "test"
2025-02-25 13:19:41 - Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-02-25 13:19:41 - Finished Spring Data repository scanning in 180 ms. Found 24 JPA repository interfaces.
2025-02-25 13:19:42 - Bean 'webServiceConfigSoap' of type [com.backend.backend.addons.smart_meter.config.WebServiceConfigSoap$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [annotationActionEndpointMapping]? Check the corresponding BeanPostProcessor declaration and its dependencies.
2025-02-25 13:19:42 - Bean 'org.springframework.ws.config.annotation.DelegatingWsConfiguration' of type [org.springframework.ws.config.annotation.DelegatingWsConfiguration$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [annotationActionEndpointMapping] is declared through a non-static factory method on that class; consider declaring it as static instead.
2025-02-25 13:19:42 - Supporting [WS-Addressing August 2004, WS-Addressing 1.0]
2025-02-25 13:19:43 - Tomcat initialized with port 8080 (http)
2025-02-25 13:19:43 - Initializing ProtocolHandler ["http-nio-0.0.0.0-8080"]
2025-02-25 13:19:43 - Starting service [Tomcat]
2025-02-25 13:19:43 - Starting Servlet engine: [Apache Tomcat/10.1.28]
2025-02-25 13:19:43 - Initializing Spring embedded WebApplicationContext
2025-02-25 13:19:43 - Root WebApplicationContext: initialization completed in 3314 ms
2025-02-25 13:19:43 - HHH000204: Processing PersistenceUnitInfo [name: default]
2025-02-25 13:19:43 - HHH000412: Hibernate ORM core version 6.5.2.Final
2025-02-25 13:19:43 - HHH000026: Second-level cache disabled
2025-02-25 13:19:44 - No LoadTimeWeaver setup: ignoring JPA class transformer
2025-02-25 13:19:44 - HikariPool-1 - Starting...
2025-02-25 13:19:44 - HikariPool-1 - Added connection ConnectionID:1 ClientConnectionId: facf366b-49ba-4a18-9011-3fd2f42f6787
2025-02-25 13:19:44 - HikariPool-1 - Start completed.
2025-02-25 13:19:47 - HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2025-02-25 13:19:48 - Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-02-25 13:19:48 - Hibernate is in classpath; If applicable, HQL parser will be used.
2025-02-25 13:19:48 - Successfully executed sql script.
2025-02-25 13:19:50 - Resolved watchPath: /mnt/clouhed/
2025-02-25 13:19:50 - folderToWatch path: /mnt/clouhed
2025-02-25 13:19:50 - archiveFolder path: /mnt/clouhed/archived
2025-02-25 13:19:50 - Processing existing XML files in: /mnt/clouhed
2025-02-25 13:19:50 - Either watch or archive folder does not exist. Skipping file processing.
2025-02-25 13:19:50 - Global AuthenticationManager configured with UserDetailsService bean with name authService
2025-02-25 13:19:51 - Starting ProtocolHandler ["http-nio-0.0.0.0-8080"]
2025-02-25 13:19:51 - Tomcat started on port 8080 (http) with context path '/'
2025-02-25 13:19:51 - Started MdmBackendApplication in 13.09 seconds (process running for 14.287)
2025-02-25 13:19:51 - Processing existing XML files in: /mnt/clouhed
2025-02-25 13:19:51 - Either watch or archive folder does not exist. Skipping file processing.
2025-02-25 13:19:51 - Given path does not exist: /mnt/clouhed

And the Port is here. Assigned.

user@ubuntu:~/mdm-backend$ docker exec -it backend_app netstat -tulpn | grep 8080
tcp        0      0 :::8080                 :::*                    LISTEN      1/java
user@ubuntu:~/mdm-backend$

So, The Problem was Backend was dropping everything else while loading or parsing XML files. I think. So, I am talking to the Developers to fix this error.

And Last thing what to do with the Question? Do I delete it or something?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Star