Payara Micro: Archive type of blahbah.ear was not recognized

270 views
Skip to first unread message

Jan

unread,
Mar 15, 2018, 4:53:02 PM3/15/18
to Payara Forum
I tried to deploy an ear file to Payara Micro from the command line:
java -jar payara-micro-4.1.2.181.jar --deploy blahblah.ear

This results in this error:
[2018-03-15T21:31:38.555+0100] [] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1521145898555] [levelValue: 1000] Archive type of blahblah.ear was not recognized

First I tried this with an ear that I created by myself, so I thought that the ear might be incorrect somehow.

Next, as a test, I tried this with two random ears from Maven Central. These ears give the same error. I tested with:
ikasan-sample-ftp-ear-1.5.1.ear
car-rental-system-app-3.4.ear

Any suggestions what could be wrong?

Steve Millidge

unread,
Mar 16, 2018, 4:39:22 PM3/16/18
to Payara Forum
Payara Micro is based on web profile. Web profile does not support EAR files therefore Payara  Micro does not support EAR files.
Message has been deleted

Jan

unread,
Mar 16, 2018, 5:01:03 PM3/16/18
to Payara Forum
Thanks. I got the impression that ear archives were suggested by this line from the --help:
--deploydir <directory-path> if set to a valid directory all ear/war files in this directory will be deployed
I created an issue with the request to improve the help/documentation:
https://github.com/payara/Payara/issues/2538
Reply all
Reply to author
Forward
0 new messages