Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi,
After Installing Tomcat 7 , while running it I am reciveing a following page .please help me with that.
HTTP Status 500 - Unable to compile class for JSP:
type Exception report
message Unable to compile class for JSP:
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 1 in the generated java file
The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:331)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:469)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.33 logs.
Hi ,
I have setup the demo user . But after executing the command 'sudo yum install tomcat ’ I am getting error as ‘No package Tomcat avaliable’, where am I going wrong…?
@manicas Thankyou for your support, I was using Centos 6. I have rebuilt it to Centos 7 and now it is working fine.
Hi,
I am unable to access the tomcat manager app and host manager . I have run the
sudo vi /usr/share/tomcat/conf/tomcat-users.xml command and added the code below to the file and saved it .
<tomcat-users>
<user username="admin" password="password" roles="manager-gui,admin-gui"/>
</tomcat-users>
, But still , I am not able to access. and it still asks for the username and password .
You say “We will be using the ‘demo’ user for the rest of this tutorial”. But the rest of the tutorial does not actually uses that username, nor explains how to tell tomcat under what user to run .
This is poorly written. For instance, does JAVA_OPTS=“-Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Xmx512m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC” go in /etc/default/tomcat7 or /usr/share/tomcat/conf/tomcat.conf ?
I am looking to install a 2nd Tomcat instance on my CentOS droplet. How would I go about doing this?
Hi, After Installing Tomcat 7 , and start tomcat service, it failed with message:
tomcat.service - Apache Tomcat Web Application Container
Loaded: loaded (/usr/lib/systemd/system/tomcat.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2019-06-06 02:35:06 +07; 6s ago
Process: 13299 ExecStart=/usr/libexec/tomcat/server start (code=exited, status=1/FAILURE)
Main PID: 13299 (code=exited, status=1/FAILURE)
Jun 06 02:35:06 usercore server[13299]: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
Jun 06 02:35:06 usercore server[13299]: at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:49)
Jun 06 02:35:06 usercore server[13299]: Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
Jun 06 02:35:06 usercore server[13299]: at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
Jun 06 02:35:06 usercore server[13299]: at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
Jun 06 02:35:06 usercore server[13299]: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
Jun 06 02:35:06 usercore server[13299]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Jun 06 02:35:06 usercore systemd[1]: tomcat.service: main process exited, code=exited, status=1/FAILURE
Jun 06 02:35:06 usercore systemd[1]: Unit tomcat.service entered failed state.
Jun 06 02:35:06 usercore systemd[1]: tomcat.service failed.
Help me, Pls!