2017-12-16 1:05 GMT+03:00 Onur Küçükturan <onur.kucuktu...@karel.com.tr>:
>
> Hi Christopher,
>
> I shutdown the service and deleted all the logs files and after I moved all 
> the folders under WebApps ( dart, dart.war, docs, manager,host-manager, 
> examples) and logs are attached after the tomcat9 starts 
> (nothing_under_webapps.zip)
>
> After I re-delete logs and copied only dart.war under /webapps and re-run the 
> service, attached logs "with_dart.zip".
>

1.) Rules:
http://tomcat.apache.org/lists.html#tomcat-users
-> 6. Top-posting is bad.
-> 7. Please format your messages as plain text, not HTML.

Usually attachments are automatically removed my mailing list server.
Yours came through, thus I will comment

2)

16-Dec-2017 01:02:17.341 SEVERE [main]
org.apache.tomcat.util.digester.Digester.fatalError Parse Fatal Error
at line 37 column 2: The content of elements must consist of
well-formed character data or markup.
 org.xml.sax.SAXParseException; lineNumber: 37; columnNumber: 2; The
content of elements must consist of well-formed character data or
markup.
    at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
    [...]
    at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1453)
    at 
org.apache.catalina.users.MemoryUserDatabase.open(MemoryUserDatabase.java:400)
    at 
org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:102)

The above means that your tomcat-users.xml file is broken (is not a
valid well-formed XML file).

(The message does not mention the name of the file,
but tomcat-users.xml is the file usually used by MemoryUserDatabase
class mentioned in the stacktrace).

http://tomcat.apache.org/tomcat-9.0-doc/jndi-resources-howto.html#UserDatabase_Resources


3)
16-Dec-2017 01:02:18.095 SEVERE [main]
org.apache.catalina.core.ContainerBase.addChildInternal
ContainerBase.addChild: start:
 org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/dart]]
...
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
    at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1275)
    at 
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1104)
    ... 51 more

The above means that Log4J library is missing in your web application.
(Log4j 1.2.x, I guess)

https://logging.apache.org/log4j/1.2/
https://logging.apache.org/log4j/2.x/manual/migration.html

4)
What is in localhost.2017-12-16.log ?

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to