Questions tagged [tomcat10]

141 questions
0
votes
1 answer

RESTEasy Java 11, Tomcat 10.1 How to deploy an run

Since days i'm googling for a working solution on how to deploy an run a RESTEasy JAX-RS test application. It has to run on at least Java 11 and Tomcat 10.1 using the most actual JAX-RS and RESTEasy version. Regardless what i'm trying getting it up…
Hivemind
  • 1
  • 2
0
votes
0 answers

Tomcat Upgrading from 8.5 to 10/11 version

we are planning to migrate our Tomcat from 8.5 to 10/11 version. at the moment we are using Java 8, we are planning to use Java 17 . I wanted to know if any one has previously migrated and what were the concerns regarding that. I am aware that…
Yash
  • 1
  • 1
0
votes
1 answer

Tomcat 10, Java 17 - JavaMailSender cannot cast one of elements of java.lang.Object[]

After migrating application to Spring Boot 3 and Java 17 I tried to deploy it to Tomcat 10.1.x. The deployment failed with exception: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailSender'…
Adam Sojka
  • 331
  • 2
  • 9
0
votes
1 answer

Basic Weld example with Embedded Tomcat not working

I am trying to use Weld with Embedded Tomcat (10.1.5) using a basic example and settings from official weld docs. This weld injection with same code works fine with Tomcat on Eclipse. However, on Embedded Tomcat, the injected bean is always null. If…
newuser
  • 76
  • 4
0
votes
0 answers

Not able to login to Tomcat server

I have installed Tomcat and started it on port 8081. I'm able to access the home screen without any issue. After adding the required users and roles in tomcat-users.xml, when I try to access to manager app I'm not getting any login popup. I;m…
0
votes
0 answers

When the Hazelcast support Jakarta EE migration to run on Tomcat 10 web server?

Our application needs to support Tomcat 10. We are migrating the code to Jakarka EE 9, but due to HazelCast we are blocked. When can we expect the HazelCast jakarta EE migration?? Details: We are evaluating to support Tomcat 10 in our product. To…
0
votes
0 answers

Tomcat blocks all requests until initial startup is finished

During the upgrade to Tomcat 10.1 I noticed a behavior causing the initial startup phase to take several minutes. If a web application tries to contact the Tomcat connector during its deployment, the request gets blocked. When no timeout is…
0
votes
0 answers

access permissions for specific users for some pages under tomcat

I was trying to grant access to a project for a specific user only, I saw a way within changing web.xml The app is accessible also for all RnD users using LDAP, and it's working very well I'm trying to block TEST project for other users and only…
Basel Zarka
  • 23
  • 1
  • 4
0
votes
1 answer

tomcat sign in tomcat start page

I have the following lines in tomcat-users.xml,but tomcat doesn't allow me to sign in. role rolename="admin-gui" user username="joe" password="jungle13" roles="manager-gui,admin-gui" I tried to sign in to tomcat admin-gui with the above user name…
0
votes
1 answer

How to programmatically UPDATE the Windows Registry values for Tomcat?

Tomcat JvmMs option is added under below Windows registry entry for a Windows Tomcat service called "MyService" HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Apache Software Foundation\Procrun 2.0\MyService\Parameters\Java I want to be able to…
Helena
  • 444
  • 2
  • 15
0
votes
0 answers

installing keycloak 19.0.3 on tomcat 10

I am looking to install keycloak 19.0.3 on my JEE web interface that is running on tomcat 10. However, it seems that the tomcat adapter is deprecated. Does it still work for Tomcat 10 ? If yes, can someone tell me if there are some modifications to…
0
votes
0 answers

How to Deploy Angular and Java app (merged angular in Java code) on tomcat server in MAC

I have a requirement to Deploy Java app which has angular code merged in it. But I am not able to access the app, maybe I missed something. Any help is highly appreciated. Thanks in advance. FYI, for developing the app, I have referred the below…
0
votes
2 answers

The ServletFileUpload class has disappeared from version tomcat-embed-core-10.1.0 and following

org.apache.tomcat.util.http.fileupload.servlet.ServletFileUpload class has disappeared from version tomcat-embed-core-10.1.0 and following (This class is present in version 10.0.27), while the others (Commons FileUpload) seem to be present. In…
alexflex25
  • 53
  • 6
0
votes
0 answers

Custom Authentication Mechanism with Tomcat 10

I'm using a Tomcat 10 server with Jakarta 9 and i've got a problem with my HttpAuthenticationMechanism implementation. When I call my servlets, the HttpAuthenticationMechanism is never invoked. I checked Jakarta security, it works well with basic…
0
votes
0 answers

Response status code 500 on JAX-RS 3.0 application deployed to Tomcat 10

I have a JAX-RS 3.0 application that is run in Tomcat 10. The pom.xml: ${project.build.directory}/endorsed UTF-8
reza ramezani matin
  • 1,384
  • 2
  • 18
  • 41