471 questions
0
votes
0
answers
53
views
How do I (or is it possible to) migrate WebSocketServerComponents.ensureWebSocketComponents() usage from Jetty 10 to Jetty 12?
I have inherited some code based on Eclipse Equinox, Jetty 10 (ee8), with the goal of migrating it to Jetty 12 (ee8). Much of the code involves setting up servlets, and a portion involves servlets ...
0
votes
0
answers
72
views
How to propagate HTTP error response payloads (e.g., 400, 401) from HTTP_AAE to ABAP server in SOAP-to-HTTP scenario?
I am working on a simple integration scenario in SAP PO/PI, and I would appreciate your guidance on how to handle HTTP error payload propagation to the ABAP server.
Scenario:
Sender: ABAP system (S/...
0
votes
1
answer
158
views
Liberty Server 24.0.0.5: "The MyFaces JSF Implementation is selected but a Sun RI ConfigureListener is also registered" Error
I am running a JSF 2.3 + Spring MVC application on IBM WebSphere Liberty Server 24.0.0.5, but I encounter the following error during startup:
The MyFaces JSF Implementation is selected for SampleApp ...
0
votes
1
answer
52
views
"Persisted" entity vanishing
I encountered the following problem and have been pulling my hair for the past week because I can't figure out what is wrong.
Essentially, I want to receive data via a REST request to persist an ...
1
vote
1
answer
279
views
openliberty openidConnectClient authFilter not working
I am trying to configure an OIDC client and I have been reading this documentation:
https://openliberty.io/docs/latest/reference/feature/openidConnectClient-1.0.html
https://openliberty.io/docs/...
0
votes
0
answers
65
views
@Temporal(DATE) annotation does generate the data type with day accuracy in Spring Boot project using Hibernate
In a Spring Boot (2.7.11) project using MariaDB database, a new legacy date field is needed to be added to an existing JPA entity, assuming it to be Contact, and the accuracy should be day other than ...
0
votes
1
answer
44
views
EJB - Inject into @Schedule @Singleton with @Produces fails; no scheduler running
I want to call this method regularly to clean up Apache HTTP connection pool in an EJB context. For that I created this scheduler class:
@DependsOn("PoolingHttpClientConnectionManager")
...
1
vote
0
answers
40
views
HaProxy unescaping path params
I have a RestEasy path:
@GET
@Path("loadPageData/{path}")
@Produces(MediaType.APPLICATION_JSON)
public Response loadPageData(@PathParam("path") String path) {
//...
0
votes
2
answers
163
views
Schedule method is executed twice
i have a method which needs to be executed at a specific time. I use @Schedule annotation to achieve this. When the method is executed it sends an email. The schedule works and the mail is sent at the ...
0
votes
0
answers
56
views
JavaEE scheduled task wait for transaction commit
I have some Tasks which are stored in a database (MySQL). Task basically makes an API call to a remote system, which throws an exception if two Tasks try to execute concurrently.
This is the current ...
0
votes
1
answer
418
views
Quarkus @ApplicationScoped and @Scheduled with @UnlessBuildProperty
I have a service class like so :
@UnlessBuildProperty(name = "someservice.enabled", stringValue = "false")
@ApplicationScoped
public class SomeService{
@Scheduled(every = "$...
0
votes
1
answer
150
views
Running test throws NoSuchMethodError
I have recently upgraded to the Java 11 and Widfly 15.0.0.Final from Java 8 and 10.0.0.Final. But for some reason the test scripts are failing with the following exception. I have upgraded weld and ...
0
votes
0
answers
188
views
Redirect user based on his Role in Jakarta EE web app
I have Jakarta EE 10 web application with CustomFormAuthenticationMechanismDefinition. My web.xml setting:
<welcome-file-list>
<welcome-file>app/index.xhtml</welcome-file>
</...
0
votes
0
answers
62
views
Error deploying Java Web application in Wildfly server 20.0.1
I am trying to deploy a java web application that connect to files .war and .jar, the principal module is a .ear that connect to the others and i specified that in the Application.xml file, but when i ...
0
votes
1
answer
41
views
javaEE8 app REST stopped working after adding keycloak-admin-client artifact
a javaEE8, wildfly-20.0.1 app REST service stopped working after adding keycloak-admin-client 18.0.2 artifact.
Thanks in advance for your help
<dependencies>
<dependency>
&...