Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

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 ...
langri's user avatar
  • 11
0 votes
0 answers
55 views

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/...
syedijlalayub's user avatar
0 votes
0 answers
54 views

I recently upgraded from JBOSS 7.4 to JBOSS 8.0. I'm currently testing this on Windows 11 and openjdk 17 but the behavior is the same on a linux distro For some reason I cant get my application to do ...
Bill Kariri's user avatar
0 votes
1 answer
136 views

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 ...
Osman Canbaz's user avatar
0 votes
1 answer
45 views

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 ...
DarthDonut's user avatar
1 vote
1 answer
228 views

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/...
Mikko Tuominen's user avatar
0 votes
0 answers
55 views

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 ...
Rui's user avatar
  • 3,716
0 votes
1 answer
38 views

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") ...
WesternGun's user avatar
  • 13.1k
1 vote
0 answers
37 views

I have a RestEasy path: @GET @Path("loadPageData/{path}") @Produces(MediaType.APPLICATION_JSON) public Response loadPageData(@PathParam("path") String path) { //...
MysticUnicorn's user avatar
0 votes
2 answers
156 views

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 ...
sarimsak's user avatar
0 votes
0 answers
49 views

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 ...
yoyo-san's user avatar
0 votes
1 answer
404 views

I have a service class like so : @UnlessBuildProperty(name = "someservice.enabled", stringValue = "false") @ApplicationScoped public class SomeService{ @Scheduled(every = "$...
Kiran K's user avatar
  • 778
0 votes
1 answer
123 views

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 ...
PurryFury's user avatar
  • 173
0 votes
0 answers
120 views

I have Jakarta EE 10 web application with CustomFormAuthenticationMechanismDefinition. My web.xml setting: <welcome-file-list> <welcome-file>app/index.xhtml</welcome-file> </...
Tadas B.'s user avatar
  • 191
0 votes
0 answers
56 views

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 ...
ANDREA CAROLINA CAMACHO JULIO's user avatar
0 votes
1 answer
39 views

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> &...
kem's user avatar
  • 407
0 votes
2 answers
3k views

We are migrating from javax packages to jakarta packages and hit a problem with javax.xml.rpc.handler.soap.SOAPMessageContext as there doesn't seem to be an equivalent jakarta version. There doesn't ...
user3327106's user avatar
1 vote
1 answer
262 views

This is my old code for ldap connection This creates a javax loginModule with name "login" so when a request came through JMS, our application looks for a javax LoginContext with name "...
codemonkey's user avatar
2 votes
0 answers
89 views

I have Java EE REST API with Rabitt MQ. The system will receive the message, create a unique ID, and publish it for processing. I want to use the ContainerRequestFilter to intercept the HTTP request ...
OceanWavez's user avatar
0 votes
1 answer
502 views

I would like to automatically create the handler-chain using wsimport and a binding file. The annotation @HandlerChain is also created at the target class, but the reference to the XML as well as the ...
Net_Hans's user avatar
  • 165
1 vote
3 answers
183 views

I have a interface like this : @Singleton public interface StorageEngine { String upload(InputStream inputStream); InputStream download(String fileName); int size(String fileName); ...
mah454's user avatar
  • 1,948
0 votes
0 answers
45 views

I am currently trying to get familiar with Java Faces (or the hole Java EE universe in general) and wrote a small example with the PrimeFaces tree and dialog components. Basically I want to select a ...
audacity363's user avatar
0 votes
1 answer
183 views

After reading one and once again oracle's documentation and not sure why I having this exception Caused by: java.lang.ClassCastException: oracle.sql.BFILE cannot be cast to oracle.sql.BFILE @Inject @...
jthmiranda's user avatar
1 vote
3 answers
763 views

I am new to Java EE development. I downloaded Payara micro-server 6.2023.8 and generated a simple Java EE application through the maven archetype com.airhacks:javaee8-essentials-archetype:0.0.4 (https:...
Python_user's user avatar
  • 1,613
0 votes
1 answer
222 views

We use a custom product in house called https://www.forgerock.com/ ForgeRock and it supports Oauth2. Following the Pac4J code base I was able to create a custom ForgeRock Client. public class ...
Melloware's user avatar
  • 12.3k
0 votes
0 answers
244 views

Getting following error while trying downloading or adding plugins: Unable to connect to the NetBeans Distribution because of Zero sized file reported at http://updates.netbeans.org/netbeans/updates/8....
Abhishek Nigam's user avatar
1 vote
3 answers
949 views

I am trying to configure RESTful endpoints on an existing Wildfly Java project that to this point has been running as a Kafka consumer / producer. My experience has previous been using Thorntail, but ...
Jason Collier's user avatar
0 votes
1 answer
71 views

Every time the executeQuery hangs and throws this exception. I tried this in a project with a simple main() function without Wildfly. It worked there. test method public void test() throws ...
G33RY's user avatar
  • 148
0 votes
1 answer
41 views

I started to work on a legacy jsf code which contains duplicated class and jsf names in different packages and different wars, of course. One for the operators, the other for the customers. I would ...
Jónás Balázs's user avatar
-1 votes
1 answer
36 views

Before I begin, I have received so much help from this forum over the years, so thanks! Trying to add an image to an HTML file. I'm working on HTML and J2EE. Total newcomer to web programming. I ...
Shawn's user avatar
  • 1
0 votes
1 answer
636 views

I am currently working on implementing a multi-tenant application in JavaEE, where I am using Pac4J as the authentication framework and an OpenID Connect Identity provider. Each tenant in my ...
finwes's user avatar
  • 23
0 votes
1 answer
180 views

I am getting the following exception when I try to serialize an instance of org.primefaces.component.tabview.Tab, "Unable to make field private java.lang.ref.Reference java.beans....
Eduardo Roque's user avatar
0 votes
2 answers
122 views

I don't know what is happening but im doing everything good. The application starts well [2m2023-04-22T03:23:17.326+02:00[0;39m [32m INFO[0;39m [35m55932[0;39m [2m---[0;39m [2m[ main][0;39m [...
killopolo's user avatar
0 votes
0 answers
100 views

When run my test, i have problem that my test method can not invoke, in stack trace this caused by java.lang.IllegalArgumentException: persistence.xml doesn't exist or can't be accessed My file ...
Jcoder's user avatar
  • 47
0 votes
1 answer
69 views

When i run application on websphere server i get warning: Property 'wsjpa.PooledFactory' is not serializable, value won't be set. This happends due to hibernate update from version 5.1.17.Final to ...
Jacek Kaczmarek's user avatar
0 votes
0 answers
311 views

I'm trying to learn how to integrate Spring MVC and Thymeleaf with Java EE 8. I'm able to get the server running, and the template does show when I visit the server (localhost:8080/[name of my war ...
kyleryan1291's user avatar
0 votes
1 answer
1k views

I tried a lot of things for pac4j but I'm feeling a bit lost. I just want to use a definition of an code authorisation flow for OIDC and then use the fetched and validated access token and id token ...
Thorsten Stumeson's user avatar
0 votes
0 answers
64 views

I am using Apache Shiro for Authentication/Authorization. I am good with the Authentication part using signed JWT. But, as for the auth part I am facing a NULL pointer exception on when accessing the ...
Hassan Shaitou's user avatar
1 vote
3 answers
2k views

I have this code that runs on Tomee with Jakarta EE 9.1, it is supposed to generate a JSON string taking the data from inputObj. Problem is that there are fields with null values that are omitted from ...
ps0604's user avatar
  • 1,217
0 votes
1 answer
61 views

i have a problem with the controller with this URL http://localhost:8080/hello My controller settings are this @RestController public class UserController { @Autowired private ...
killopolo's user avatar
1 vote
1 answer
238 views

Application deployed on WildFly using Java EE javax.jms.MessageListener to consume messages from queue. @ResourceAdapter("remote-artemis") @MessageDriven(name = "DeliveryMDB", ...
canEE's user avatar
  • 45
0 votes
0 answers
393 views

I'm consuming a http endpoint which is returns a text/xml content as the response. It should return a number as the response within xml document. How do I parse it. Here is the response when I consume ...
Thilina Sandaruwan's user avatar
0 votes
1 answer
35 views

In Weblogic, inside an EAR, you can put classes under APP-INF/classes folder. These classes are shared across all EAR modules (WAR's, EJB's, JAR's). Does JBoss allow any similar path? We do not want ...
luca.vercelli's user avatar
1 vote
0 answers
292 views

According to the TomEE Download Page, TomEE 8.0 implements the APIs of Java EE 8 and MicroProfile 2.0. Part of these specifications is the API JAX-RS 2.1. Recently, however, I ran into ...
Gerhard's user avatar
  • 325
0 votes
1 answer
592 views

Got MojoExecutionException exception while generate WSDL with maven plugin. How to start solving this problem? [ERROR] Failed to execute goal org.jvnet.jax-ws-commons:jaxws-maven-plugin:2.2:wsgen (...
vico's user avatar
  • 18.5k
0 votes
2 answers
965 views

I have JDK 17 and JDK 1.8 on my Windows PC. Why does JDK 17 not contain wsgen.exe in the bin directory while JDK 1.8 contains it? How can I build web applications without wsgen?
vico's user avatar
  • 18.5k
1 vote
0 answers
83 views

Using JSR-352 batch job along with Java EE, I'm trying to process items on chunk from a source in partitions. On retriable exception I want to be able to return to a past checkpoint, so I could get ...
Андрей Андреев's user avatar
0 votes
1 answer
43 views

I have one entity class, which consists of multiple foreign key constraints, which are handled by ManyToMany etc. public class MyExampleClazz { ....... @ManyToMany(cascade = CascadeType.ALL, fetch = ...
user7893488's user avatar
1 vote
1 answer
373 views

I'm currently developping on a webserver for my company , and i'am facing a corrupted zip file problem. At the end of a servlet. Here's the function header called at the very end of the servlet. ...
loupTerawatt's user avatar
1 vote
1 answer
276 views

I have seen instances where developers create tables in the database then they use jpa tools to generate entities from the tables. There are also cases where entities are first created then the tables ...
Henschel lungu's user avatar

1
2 3 4 5
10