I have installed Lucee 7.1 on Windows without any problems, but on a server without an internet connection there are errors , even though the installation appears error free.
The error is “The mail extension is not installed or does not provide the class [org.lucee.extension.mail.SMTPVerifier]”
The installer finishes fine without internet access, but the Mail extension still needs the Jakarta Mail library the first time mail is used, for example when verifying an SMTP server. On a server with no connection that download times out, and you then see “The mail extension is not installed or does not provide the class [org.lucee.extension.mail.SMTPVerifier]”, even though the extension is listed as installed.
I’ve logged this as LDEV-6946 so a 7.1 install works fully offline. In the meantime, a workaround is to install the same 7.1.2.191 build on a machine with internet access, let it fetch the library once, and copy that installation to the offline server, or give the offline server temporary access so the library can be downloaded once.
When you say “copy that installation to the offline server”, do you mean backup Lucee, then copy the whole C:\Lucee folder and sub-folders, or C:\Lucee\tomcat\lucee-server folder and sub-folders, or which files specifically in which folders?
Lucee stores the libraries it downloads in a local Maven folder, by default C:\Lucee\tomcat\lucee-server\mvn. So you don’t need to copy the whole installation. On a machine with internet access, install 7.1.2.191, add the Mail extension and send one test mail (or verify the SMTP server) so the libraries are downloaded. Then stop Lucee on the offline server, copy that mvn folder over to the same location, and start Lucee again.
On 8.0: swapping only the core jar from a 7.1 install isn’t supported, which explains the conflicts you saw. For now please use the full 8.0.0.304 package, for example the Express zip from the release page. We’re looking into the missing Windows installer.
The offline issue itself is fixed for 7.1 under LDEV-6946 and will be in the next 7.1.2 build. I’ll update here once it’s out.