tomcat8

Can't access Manager-app in Tomcat 8

只愿长相守 提交于 2019-12-04 20:13:15
I read many similar problems here, but whatever I do, I can't login to manager app. What I have done. 1. I edited the tomcat-users.xml by adding <role rolename="manager-gui"/> <role rolename="manager-script"/> <role rolename="manager-jmx"/> <role rolename="manager-status"/> <role rolename="admin-gui"/> <role rolename="admin-script"/> <user username="admin" password="admin" roles="manager-gui,manager-script,manager-jmx,manager-status,admin-gui,admin-script"/> I started Tomcat (V.8) with Netbeans I went to localhost:8084 (netbeans set the port to 8084) and I clicked "manager app". In the

Google-Cloud: Jetty ALPN/NPN has not been properly configured

痞子三分冷 提交于 2019-12-04 12:20:53
Getting exception whilst using Google Pubsub to list topics, my web application is running on tomcat. public static List<String> listTopics(GcpCredentials gcCredentials, String project) throws GCPException, IOException { List<String> topics = new ArrayList<>(); TopicAdminClient client = getTopicClient(gcCredentials); ProjectName projectName = ProjectName.create(project); ListTopicsPagedResponse response = client.listTopics(projectName); for (Topic topic :response.iterateAll()) { topics.add(topic.getNameAsTopicName().getTopic()); } return topics; }` Exception: java.lang.IllegalArgumentException

How to increase JVM memory on Tomcat 8

我怕爱的太早我们不能终老 提交于 2019-12-04 11:43:04
does someone knows how to increase the JVM on Tomcat 8? cause it changed from the previously version, I use to change it into the Tomcat/bin/catalina file in the following parameter: set LOGGING_CONFIG=-Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties" -Xms1024M -Xmx2048M but for Tomcat 8 is not working anymore. Thanks in advance Pankaj Pandey You need to create file under Tomcat home \ bin directory if windows then setenv.bat and if linux/unix then setenv.sh and write below memory configuration into file export CATALINA_OPTS="$CATALINA_OPTS -Xms512m" export CATALINA

Apache Tomcat 8.5 . Error: Service terminated with service specific error incorrect function

我的梦境 提交于 2019-12-04 07:40:10
i have installed apache tomcat 8.5 one month ago with java 1.8 on Windows Server 2008 and it works ok. now the service is stopped and i'm not able to restart it from apache configuration or Windows Services . It is always stopped. i got the following error: "service terminated with service specific error incorrect function". ther error in Windows Event viewer does not saying nothing more: even its details tab: What can i do? I was trying to install Apache Tomcat/8.5.31 as Windows service and i was also facing the same error. For me what finally worked was following these steps. Go to Tomcat

How Tomcat 8 Handles websocket upgrade request

无人久伴 提交于 2019-12-04 06:44:29
问题 I want to understand handling of websocket upgrade request in tomcat ? Is it done via filters or servlets ? How the ws upgrade request is handled by TOmcat-8. Thanks, Anuj 回答1: Tomcat uses a filter to look for the HTTP upgrade request that starts a WebSocket connection and passes it the the appropriate handler if it sees one. The Filter is configured using a ServletContainerInitializer. The location of the Filter will depend on what other Filters are configured by the web application and

Severe security constraints while tomcat 8 startup with liferay

烂漫一生 提交于 2019-12-04 04:22:15
I am getting the below severe message while the tomcat 8 comes up with liferay. SEVERE [localhost-startStop-1] org.apache.tomcat.util.descriptor.web.SecurityConstraint.findUncoveredHttpMethods For security constraints with URL pattern [/bg/c/portal/protected] only the HTTP methods [POST GET] are covered. All other methods are uncovered. 03-Sep-2015 07:06:00.733 SEVERE [localhost-startStop-1] org.apache.tomcat.util.descriptor.web.SecurityConstraint.findUncoveredHttpMethods For security constraints with URL pattern [/sv/c/portal/protected] only the HTTP methods [POST GET] are covered. All other

Tomcat 8 JSR 356 WebSocket Threading

给你一囗甜甜゛ 提交于 2019-12-04 01:28:47
问题 I'm using the JSR-356 WebSocket support in Tomcat 8 to drive an application I'm working on. So far, it looks like all messages are handled in a single thread. While I understand the reasoning behind this - and why websockets are implemented this way, is there any way to use an ExecutorService for handling a message that comes in (without creating the ExecutorService in my code)? This would allow for the scalability of having 1 (or only a few) network selector threads (to support a large

Install Godaddy ssl certificate on tomcat 8.5 Server

感情迁移 提交于 2019-12-03 20:58:20
I am trying to install SSL certificate on my website.I am using Godaddy ssl certificate for this. I have generated the csr, requested the Certificate and also uploaded the certificate on my server. I am using KEYTOOL to use all of these I got three file in the .zip file which i downloaded from godaddy. While installing the certificate. there are three command which i have to use to add the certificate to keystore. They commands are for Root , intermediate and Primary certificate . How can i identify which certificate is root, intermediate and primary in zip. I know this is old post. I just ran

MonitorFilter::WARNING: the monitor filter must be the first filter in the chain

ぃ、小莉子 提交于 2019-12-03 14:02:51
问题 The Tomcat server logs the following warning on the server terminal while accessing pages from the browser after upgrading Tomcat from 8.0.5 to 8.0.9.0. MonitorFilter::WARNING: the monitor filter must be the first filter in the chain. MonitorFilter::WARNING: the monitor filter must be the first filter in the chain. MonitorFilter::WARNING: the monitor filter must be the first filter in the chain. MonitorFilter::WARNING: the monitor filter must be the first filter in the chain. MonitorFilter:

Service tomcat8 failed to start by using service tomcat8 start

℡╲_俬逩灬. 提交于 2019-12-03 13:13:34
I'm using Vagrant to deploy to Ubuntu Linux and try to start a tomcat8 service. Tomcat 8 was installed by apt-get install tomcat8 . When using the service tomcat8 start command, I got the following error: Job for tomcat8.service failed. See "systemctl status tomcat8.service" and "journalctl -xe" for details. Then I tracked the systemctl status tomcat8.service , found that: ? tomcat8.service - LSB: Start Tomcat. Loaded: loaded (/etc/init.d/tomcat8) Active: failed (Result: exit-code) since Mon 2016-03-28 09:44:17 GMT; 5s ago Docs: man:systemd-sysv-generator(8) Process: 884 ExecStop=/etc/init.d