1 Reply Latest reply on Mar 3, 2017 6:55 AM by sacsaini

    Tomcat startup fails, Jive 8

    sacsaini

      I am trying to setup a Jive 8 forums on my local machine. The code compiles successfully but fails while starting up the tomcat (mvn -Dcargo.wait=true -P dev cargo:start). Following is the error log.

      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building weboverlay 8.0.2.0-5-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] --- cargo-maven2-plugin:1.1.4:start (default-cli) @ web ---
      [INFO] [stalledLocalDeployer] Deploying [C:\Work\MTjive\develop\web\target/web-8.0.2.0-5-SNAPSHOT] to [target/tomcat7x/webapps]...
      [INFO] [stalledLocalDeployer] The WAR file has its context set to / and will therefore be deployed as ROOT.war
      [INFO] [talledLocalContainer] Tomcat 7.x starting...
      [INFO] [talledLocalContainer] Listening for transport dt_socket at address: 8787
      [WARNING] [talledLocalContainer] Mar 02, 2017 4:13:45 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
      [WARNING] [talledLocalContainer] WARNING: Problem with directory [C:\Work\MTjive\develop\web\target\tomcat7x\common\classes], exists: [false], isDirectory: [false], canRead: [false]
      [WARNING] [talledLocalContainer] Mar 02, 2017 4:13:45 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
      [WARNING] [talledLocalContainer] WARNING: Problem with directory [C:\Work\MTjive\develop\web\target\tomcat7x\shared\classes], exists: [false], isDirectory: [false], canRead: [false]
      [WARNING] [talledLocalContainer] Mar 02, 2017 4:13:45 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
      [WARNING] [talledLocalContainer] WARNING: Problem with directory [C:\Work\MTjive\develop\web\target\tomcat7x\shared\lib], exists: [false], isDirectory: [false], canRead: [false]
      [WARNING] [talledLocalContainer] Mar 02, 2017 4:13:45 PM org.apache.tomcat.util.digester.Digester startElement
      [WARNING] [talledLocalContainer] SEVERE: Begin event threw exception
      [WARNING] [talledLocalContainer] java.lang.ClassNotFoundException: org.apache.catalina.core.JasperListener
      [WARNING] [talledLocalContainer]        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      [WARNING] [talledLocalContainer]        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      [WARNING] [talledLocalContainer]        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      [WARNING] [talledLocalContainer]        at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:116)
      [WARNING] [talledLocalContainer]        at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1178)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1344)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2787)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
      [WARNING] [talledLocalContainer]        at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1451)
      [WARNING] [talledLocalContainer]        at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
      [WARNING] [talledLocalContainer]        at org.apache.catalina.startup.Catalina.load(Catalina.java:603)
      [WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [WARNING] [talledLocalContainer]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [WARNING] [talledLocalContainer]        at java.lang.reflect.Method.invoke(Method.java:498)
      [WARNING] [talledLocalContainer]        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)
      [WARNING] [talledLocalContainer]        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer] Mar 02, 2017 4:13:45 PM org.apache.catalina.startup.Catalina load
      [WARNING] [talledLocalContainer] WARNING: Catalina.start using conf/server.xml: Error at (29, 67) : org.apache.catalina.core.JasperListener
      [WARNING] [talledLocalContainer] Mar 02, 2017 4:13:45 PM org.apache.tomcat.util.digester.Digester startElement
      [WARNING] [talledLocalContainer] SEVERE: Begin event threw exception
      [WARNING] [talledLocalContainer] java.lang.ClassNotFoundException: org.apache.catalina.core.JasperListener
      [WARNING] [talledLocalContainer]        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      [WARNING] [talledLocalContainer]        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      [WARNING] [talledLocalContainer]        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      [WARNING] [talledLocalContainer]        at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:116)
      [WARNING] [talledLocalContainer]        at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1178)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1344)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2787)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
      [WARNING] [talledLocalContainer]        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
      [WARNING] [talledLocalContainer]        at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1451)
      [WARNING] [talledLocalContainer]        at org.apache.catalina.startup.Catalina.load(Catalina.java:552)
      [WARNING] [talledLocalContainer]        at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
      [WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [WARNING] [talledLocalContainer]        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [WARNING] [talledLocalContainer]        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [WARNING] [talledLocalContainer]        at java.lang.reflect.Method.invoke(Method.java:498)
      [WARNING] [talledLocalContainer]        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
      [WARNING] [talledLocalContainer]        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
      [WARNING] [talledLocalContainer]
      [WARNING] [talledLocalContainer] Mar 02, 2017 4:13:45 PM org.apache.catalina.startup.Catalina load
      [WARNING] [talledLocalContainer] WARNING: Catalina.start using conf/server.xml: Error at (29, 67) : org.apache.catalina.core.JasperListener
      [WARNING] [talledLocalContainer] Mar 02, 2017 4:13:45 PM org.apache.catalina.startup.Catalina start
      [WARNING] [talledLocalContainer] SEVERE: Cannot start server. Server instance is not configured.
      [WARNING] [talledLocalContainer] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
      [WARNING] [talledLocalContainer] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=48m; support was removed in 8.0
      

       

      What could be the reason behind this? Thanks.