Questions tagged [jakarta-ee]
Jakarta EE (formerly known as Java Enterprise Edition, Java EE, and J2EE) is a specification defining a collection of Java-based server and client technologies and how they interoperate. Use this tag for questions about Jakarta EE runtime/platform in general. For the more specific API questions, please use more specific tags such as [servlets], [jpa], [cdi], [jaxb], [jsf], [jsp], [jms], [ejb], etc.
jakarta-ee
29,349
questions
-1
votes
0
answers
5
views
Possible to get handle on Jakarta Part or Spring MultipartFile without knowing the parameter name until runtime
I have a Java project (known as a framework) which is published as a java-library and consumed by developers as an implementation dependency in their own Java based projects.
As part of the framework ...
0
votes
0
answers
30
views
Application.getResources() is null or {0} is not a valid data source
Previously myApp ran on Payara 5-2022.5 Community Edition with Jakarta EE8, java 8, and Hibernate 5.6.15 with multi-tenancy. And no any error when starting from Netbeans 22.
I converted myApp from ...
0
votes
0
answers
19
views
How to implement Shiro2CryptFormat in Shiro 2
Does anyone has the solution how to implement Shiro2CryptFormat in encrypting? Below codes are from V 1. I just upgraded from Shiro V 1 to 2.0.1. And prefers to use the new Argon2. When changing from ...
-1
votes
0
answers
16
views
Exclude multiple JSPs from Security Constraints [duplicate]
So, I have a web-application built on the j2ee framework. In my web.xml we have specified a security constraint to define all .jsp, .js, .java files as protected resources. I however, want to exclude ...
0
votes
0
answers
22
views
How to completely disable EJB timers annotated with @Schedule?
The app has a bunch of EJB annotated with @Schedule.
Is there a way to completely disable them?
I am using Wildfly 26.
Ideally I would like to disable it using jboss-cli. Or configure via standalone....
0
votes
0
answers
35
views
With MapStruct, every componentModel field option is read as Default
It's not important if I put cdi, jakarta or even spring.
The compiler only read "default".
I nead jakarta.
@Mapper(componentModel = "jakarta-cdi")
public interface DepartmentMapper ...
0
votes
0
answers
19
views
RESOURCE_NOT_FOUND while using Bootsfaces 1.6.0-SNASPHOT on WIldfly 31
I am currently trying to upgrade a java facelet thats using Bootsface to jakarta and i ran into the problem that in the deployed app.xhtml a script is refered by
I am using bootsfaces 1.6.0-SNAPSHOT ...
0
votes
0
answers
25
views
class org.hibernate.cache.jcache.internal.JCacheRegionFactory cannot be cast to class org.hibernate.cache.spi.TimestampsCacheFactory
I am trying to learn Hibernate and while follwing the tuterial the second level cache he is using is not working any more and when trying to find options I could not get to a solutions here is what my ...
0
votes
0
answers
27
views
Jax-RS app with Payara server dosen't serialize Color via custom Serializer
I'm developing JAX-RS based application and Payara server. I want to serialize build in java Color class to String format: color = "RcolorValu, GColorValue, BColor value". For example in ...
1
vote
0
answers
54
views
What can cause the HTTP status 404 when running a Java EE web application in IntelliJ IDEA?
I'm trying to create a simple Java EE web application in IntelliJ IDEA according to this tutorial. I have made sure that everything necessary is installed on my computer (IntelliJ IDEA Ultimate incl. ...
1
vote
1
answer
26
views
Are fields inside custom ConstraintValidator thread safe
I have following custom ConstraintValidator:
public class FileNamePatternValidator implements ConstraintValidator<FilenamePattern, FileUpload> {
String regex;
@Override
public void ...
0
votes
0
answers
21
views
Access OCI Object Storage with GlassFish 7.9
I am doing an application using GlassFish 7.9, and Jakarta EE 10, to upload some images to an OCI bucket, but it is not working because of a certification error.
jakarta.ws.rs.ProcessingException: ...
0
votes
0
answers
85
views
SOAP webservice with Spring boot, Java 11 and JBOSS 7.4
in our project, we are using Spring boot 2.7.11 with Java11 (Jakarta EE instead of Java EE) to develop a SOAP web service (this is required from the consumer side to stick to SOAP instead of REST) ...
3
votes
1
answer
67
views
@LdapIdentityStoreDefinition read bindDnPassword from environment variable or property file in WildFly
I am having a challenging time achieving a security common pattern of loading secrets from an environment variable or a properties file. I am tring to load the password of an openLDAP admin user in ...
0
votes
1
answer
115
views
org.hibernate.resource.beans.container.internal.NotYetReadyException: CDI BeanManager not (yet) ready to use
I am facing an issue while upgrading my BAS application from Java 8 to Java 17.
I have also upgraded hibernate from 5.3.29.Final to 6.5.0.final
I am using OpenLiberty version 24.0.0.4 with this ...