Uploaded image for project: 'Lucee Development'
  1. LDEV-335

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

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: New
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.45
    • Fix Version/s: 5.0.0.84
    • Labels:
    • Environment:

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

      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

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              da_cameron Adam Cameron
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: