Latest WAR doesn't seem to work in at least some situations

Description

This - https://bitbucket.org/lucee/lucee/downloads/lucee-5.0.0.45.war - won't install properly on either of my two PC that's I've tried it on.

Full details here: https://groups.google.com/d/msg/lucee/ksnEL39gWQA/he6M_OCOSNQJ

Copy and paste from there;

G'day:
Whilst troubleshooting an issue that might exist in the Lucee express install, I decided to try the WAR install instead. I will hasten to add my knowledge / degree-of-comfort with Tomcat is minimal, but I can follow instructions (if they're available to find, that is).

I've done this:
1) D/L the Windows 64-bit version of Tomcat 8 from their site
2) unzip it into C:\apps\apache\tomcat\8. This is the first and only install of Tomcat on this computer
3) create a setenv.bat file in the bin subdirectory of the above. This sets CATALINA_HOME to the directory above, and for good measure set JAVA_HOME to point to where my Java 8 JDK is installed.
4) I add a user to the tomcat-users.xml file so I can access the app manager GUI.
5) I start Tomcat with startup.bat. It starts A-OK. I can access the app manager GUI too. Everything is all-present and correct as far as my understanding of things goes.
6) I stop Tomcat
7) I D/L the latest (5.0.0.45) Lucee WAR file.
8) I put it in Tomcat's webapps subdir, and rename it as just lucee.war
9) I start Tomcat. I see it deploying Lucee
10) I return to the app manager UI, and see that Lucee is not running. I opt to start it.
11) I get an error that it failed to start in the status area @ the top of the screen.
12) consulting the catalina-out log, I see this lot:

30-Apr-2015 08:33:50.084 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive C:\apps\apache\tomcat\8\webapps\lucee.war
30-Apr-2015 08:33:50.410 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext/lucee]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1738)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.SecurityException: no manifiest section for signature file entry org/bouncycastle/jce/provider/JDKMessageDigest$RIPEMD256.class
at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:440)
at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:295)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:238)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:316)
at java.util.jar.JarVerifier.update(JarVerifier.java:228)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:383)
at java.util.jar.JarFile.getInputStream(JarFile.java:450)
at org.apache.catalina.webresources.JarResource.getJarInputStreamWrapper(JarResource.java:46)
at org.apache.catalina.webresources.AbstractArchiveResource.doGetInputStream(AbstractArchiveResource.java:218)
at org.apache.catalina.webresources.AbstractResource.getInputStream(AbstractResource.java:94)
at org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionValidator.java:152)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4992)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more

30-Apr-2015 08:33:50.414 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive C:\apps\apache\tomcat\8\webapps\lucee.war
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext/lucee]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:728)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:940)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1738)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

30-Apr-2015 08:33:50.419 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive C:\apps\apache\tomcat\8\webapps\lucee.war has finished in 334 ms

I have highlighted the bit I suspect is a problem.

I have experienced the following issue on two machines: one running Windows 7 64-bit, and one running Windows 8.1 64-bit.

Questions:
1) have I done something wrong? I could find no docs saying that to deploy Lucee as a WAR I have to do anything other than the default approach, and my understanding is "drop the WAR file into the webapps dir and start Tomcat" is all that's required for that.
2) Do I need to configure something for this library to work?
3) Is there a problem with the WAR file?

I'm erring towards me doing something wrong, but not sure what to do about working out what, other than asking here. I looked for other threads here with ppl having similar issues, and also consulted the wiki, but found nothing relevant.

After some community feedback, they seem to think what I tried should have worked, so am now assuming it's something wrong with the WAR.

Pls advise if I can try anything else or provide more info.

Cheers

Environment

Windows 7 64-bit, Windows 8.1 64-bit, Java 8, Tomcat 8

Activity

Ron Stewart 
6 October 2015 at 11:43

I was able to successfully deploy and start 5.0.0.84-SNAPSHOT.war on Tomcat 7 and Tomcat 8 (both are current release versions), running on Java v. 1.8.0_60 on Mac OS X 10.10.5. I didn't do any real testing other than verifying that, once deployed and started, I could access the Lucee server and web admin interfaces. My previous attempts using an identical approach in May on then-current versions of Tomcat 7 and 8, Java, and Mac OS X would not deploy successfully.

Seems promising.

Ron Stewart 
5 October 2015 at 11:06

Will test; deploying via WAR is still my preferred approach.

Adam Cameron 
5 October 2015 at 10:34

My requirement for this to work has passed, I'm afraid. I was just trying to test something for you at the time.

Michael Offner 
5 October 2015 at 09:46

still an issue with the latest war?
http://preview.lucee.org/download/

Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 3 May 2015 at 13:14
Updated 13 October 2015 at 12:31
Resolved 13 October 2015 at 12:31