Nothing happens. You sit there waiting, staring at output like this (this is just the last line, nothing special about it):
[#|2023-11-04T22:20:10.782+0000|INFO|Payara 6.2023.8|javax.enterprise.system.jmx|_ThreadID=132;_ThreadName=Thread-12;_TimeMillis=1699136410782;_LevelValue=800;_MessageID=NCLS-JMX-00005;|
JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://0.0.0.0:8686/jndi/rmi://0.0.0.0:8686/jmxrmi|#]
What did you expect to happen?
I expect my war file to be deployed like this:
[#|2023-11-04T22:20:24.561+0000|INFO|Payara 6.2023.8|javax.enterprise.system.tools.deployment.autodeploy|_ThreadID=129;_ThreadName=payara-executor-service-scheduled-task;_TimeMillis=1699136424561;_LevelValue=800;_MessageID=NCLS-DEPLOYMENT-02027;|
Selecting file /opt/payara/appserver/glassfish/domains/domain1/autodeploy/myapp.war for autodeployment|#]
[#|2023-11-04T22:20:24.665+0000|INFO|Payara 6.2023.8|javax.enterprise.system.core|_ThreadID=129;_ThreadName=payara-executor-service-scheduled-task;_TimeMillis=1699136424665;_LevelValue=800;|
No deployment transformer implementation found.|#]
[#|2023-11-04T22:20:24.739+0000|INFO|Payara 6.2023.8|org.jboss.weld.Version|_ThreadID=129;_ThreadName=payara-executor-service-scheduled-task;_TimeMillis=1699136424739;_LevelValue=800;|
WELD-000900: 5.0.1 (Final)|#]
[#|2023-11-04T22:20:25.421+0000|INFO|Payara 6.2023.8|fish.payara.micro.cdi.extension.ClusteredCDIEventBusImpl|_ThreadID=129;_ThreadName=payara-executor-service-scheduled-task;_TimeMillis=1699136425421;_LevelValue=800;|
Clustered CDI Event bus initialized|#]
[#|2023-11-04T22:20:25.455+0000|INFO|Payara 6.2023.8|org.glassfish.soteria.servlet.SamRegistrationInstaller|_ThreadID=129;_ThreadName=payara-executor-service-scheduled-task;_TimeMillis=1699136425455;_LevelValue=800;|
Initializing Soteria 3.0.1.payara-p1 for context '/myapp'|#]
[#|2023-11-04T22:20:25.526+0000|INFO|Payara 6.2023.8|jakarta.enterprise.web|_ThreadID=129;_ThreadName=payara-executor-service-scheduled-task;_TimeMillis=1699136425526;_LevelValue=800;_MessageID=AS-WEB-GLUE-00172;|
Loading application [myapp] at [/myapp]|#]
[#|2023-11-04T22:20:25.558+0000|INFO|Payara 6.2023.8|javax.enterprise.system.core|_ThreadID=129;_ThreadName=payara-executor-service-scheduled-task;_TimeMillis=1699136425558;_LevelValue=800;|
myapp was successfully deployed in 930 milliseconds.|#]
[#|2023-11-04T22:20:25.559+0000|INFO|Payara 6.2023.8|javax.enterprise.system.tools.deployment.autodeploy|_ThreadID=129;_ThreadName=payara-executor-service-scheduled-task;_TimeMillis=1699136425559;_LevelValue=800;_MessageID=NCLS-DEPLOYMENT-02035;|
[AutoDeploy] Successfully autodeployed : /opt/payara/appserver/glassfish/domains/domain1/autodeploy/myapp.war.|#]
What steps does it take to reproduce the issue?
Dockerfile with this:
Then try to do this within the container:
cp path/to/myapp.war /opt/payara/appserver/glassfish/domains/domain1/autodeploy
Nothing happens. You sit there waiting, staring at output like this (this is just the last line, nothing special about it):
I expect my war file to be deployed like this: