Project

General

Profile

Actions

Improvement #11979

closed

product-uem 7.0.0 GA - New Feature #10220: Redesigned windows agent

Separate operations for Windows enrollment agent install operation

Added by Navod Zoysa 4 months ago. Updated 3 days ago.

Status:
Closed
Priority:
High
Assignee:
Start date:
19/09/2024
Due date:
30/09/2024
% Done:

100%

Estimated time:
Device Type:
Windows
Component:
Type:
Windows

Description

The Windows agent install configuration adds one operation during a device enrollment, this operation contains the payload for two separate applications (APPX and MSI). Due to this if one app install fails and the other succeeds, there is no way to know which app type had failed.

To improve this two new operations will be added that will handle each app type and the ability to re-trigger that operation if it fails.


Files

Screenshot from 2025-01-01 16-56-40.png (235 KB) Screenshot from 2025-01-01 16-56-40.png [1] Arshana Atapattu, 01/01/2025 11:30 AM
error.saz (9.71 KB) error.saz [2] Arshana Atapattu, 01/01/2025 11:33 AM
Actions #1

Updated by Navod Zoysa 4 months ago

  • % Done changed from 30 to 50
Actions #2

Updated by Navod Zoysa 4 months ago

  • Due date changed from 27/09/2024 to 30/09/2024
  • Status changed from Implementation to QA
  • % Done changed from 50 to 100
Actions #3

Updated by Navod Zoysa 4 months ago

  • Parent task set to #10220
Actions #4

Updated by Arshana Atapattu 3 months ago

  • Project changed from product-uem 7.0.0 GA to product-uem 6.3.0 GA

Updated by Arshana Atapattu 30 days ago

When the ADMX_INGESTION ,INSTALL_AGENT_BACKGROUND_SERVICE and INSTALL_AGENT_DESKTOP_APPLICATION operations are together they are not completing [1].
all 3 operations are in pending state.
fiddler session [2] (Attached in the ticket)

Carbon log error: [3]

[1]
[1]

[3]
TID: [-1234] [api/device-mgt/windows/v1.0] [2025-01-01 11:33:23,212] ERROR {org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/api/device-mgt/windows/v1.0].[JAXServlet-windows]} - Servlet.service() for servlet [JAXServlet-windows] in context with path [/api/device-mgt/windows/v1.0] threw exception java.lang.NullPointerException
at io.entgra.proprietary.uem.platform.windows.api.operations.util.AdmxPayloadGenerator.checkIntTypeCompliance(AdmxPayloadGenerator.java:388)
at io.entgra.proprietary.uem.platform.windows.api.operations.util.AdmxPayloadGenerator.createComplianceFeatures(AdmxPayloadGenerator.java:264)
at io.entgra.proprietary.uem.platform.windows.api.operations.util.OperationHandler.generateComplianceFeatureStatus(OperationHandler.java:985)
at io.entgra.proprietary.uem.platform.windows.api.operations.util.OperationHandler.getPendingOperations(OperationHandler.java:450)
at io.entgra.proprietary.uem.platform.windows.api.services.impl.DeviceManagementServiceImpl.getResponse(DeviceManagementServiceImpl.java:179)
at jdk.internal.reflect.GeneratedMethodAccessor966.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:179)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:201)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:104)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:225)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:304)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:217)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:555)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:279)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.wso2.carbon.identity.context.rewrite.valve.TenantContextRewriteValve.invoke(TenantContextRewriteValve.java:119)
at org.wso2.carbon.identity.context.rewrite.valve.OrganizationContextRewriteValve.invoke(OrganizationContextRewriteValve.java:116)
at org.wso2.carbon.tomcat.ext.valves.SameSiteCookieValve.invoke(SameSiteCookieValve.java:38)
at org.wso2.carbon.identity.authz.valve.AuthorizationValve.invoke(AuthorizationValve.java:165)
at org.wso2.carbon.identity.auth.valve.AuthenticationValve.invoke(AuthenticationValve.java:118)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:106)
at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
at io.entgra.device.mgt.core.webapp.authenticator.framework.WebappAuthenticationValve.invoke(WebappAuthenticationValve.java:103)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:67)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:152)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:670)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:63)
at org.wso2.carbon.tomcat.ext.valves.RequestCorrelationIdValve.invoke(RequestCorrelationIdValve.java:137)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1794)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)

Actions #6

Updated by Navod Zoysa 14 days ago

  • Status changed from QA Reject to QA

Issue is not reproducing. I have checked with a policy and without a policy. Based on the error log this seems to be an issue with an ADMX policy and it's monitor payload and that is the reason why ADMX_INGESTION ,INSTALL_AGENT_BACKGROUND_SERVICE and INSTALL_AGENT_DESKTOP_APPLICATION operations are not completing. That needs to be checked separately and it does not affect this feature.

Actions #7

Updated by Arshana Atapattu 3 days ago

  • Status changed from QA to QA Accept

This is working

Actions #8

Updated by Arshana Atapattu 3 days ago

  • Status changed from QA Accept to Closed

Closing due to QA accept

Actions

Also available in: Atom PDF