Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-1008

Java7 and tomcat7 have jar problems on sql server driver sqljdbc4.jar, java.lang.SecurityException: Invalid signature file digest for Manifest main attributes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: API
    • Labels:
      None

      Description

      Thanks Chris,

      It worked fine after I replaced sqljdbc4.jar in the exploded grouper directory.

      Vivek

      Reply-To: Chris Hyzer
      Date: Sat, 12 Jul 2014 14:12:11 -0400
      To: vivek sachdeva, "grouper-users"Subject: RE: [grouper-users] Error on tomcat start up

      Hmm.. a workaround for this is to delete file lib/sqljdbc4.jar. I think what may have happened is I like to keep the implementation version in the manifest, but that jar is signed so you can't modify it and run with certain versions of java of tomcat... you don't need that file if you aren't using sql server. Thanks, Chris

      -------- Original message --------
      From: "Sachdeva, Vivek"
      Date: 07/12/2014 4:01 AM (GMT-05:00)
      To: grouper-users
      Subject: [grouper-users] Error on tomcat start up

      Hi,

      I am seeing the following error when I start tomcat. I built grouper.war using 'war' target from the grouper-ui project. It is version 2.2.

      Thanks in advance.

      INFO: Deploying web application directory /Users/vsachdeva/Downloads/apache-tomcat-7.0.42/webapps/grouper
      Jul 12, 2014 12:57:51 AM org.apache.catalina.core.ContainerBase addChildInternal
      SEVERE: ContainerBase.addChild: start:
      org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/grouper]]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
      at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
      at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:724)
      Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
      at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:240)
      at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:193)
      at java.util.jar.JarVerifier.processEntry(JarVerifier.java:262)
      at java.util.jar.JarVerifier.update(JarVerifier.java:216)
      at java.util.jar.JarFile.initializeVerifier(JarFile.java:345)
      at java.util.jar.JarFile.getInputStream(JarFile.java:412)
      at org.apache.tomcat.util.scan.FileUrlJar.getEntryInputStream(FileUrlJar.java:97)
      at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1993)
      at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1960)
      at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1945)
      at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1319)
      at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:878)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 11 more

      Jul 12, 2014 12:57:51 AM org.apache.catalina.startup.HostConfig deployDirectory
      SEVERE: Error deploying web application directory /Users/vsachdeva/Downloads/apache-tomcat-7.0.42/webapps/grouper
      java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/grouper]]
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
      at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
      at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:724)

      Jul 12, 2014 12:57:51 AM org.apache.catalina.startup.HostConfig deployDirectory
      INFO: Deploying web application directory /Users/vsachdeva/Downloads/apache-tomcat-7.0.42/webapps/host-manager
      Jul 12, 2014 12:57:51 AM org.apache.catalina.startup.HostConfig deployDirectory

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
              Reporter:
              chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: