15,195
questions
0
votes
0
answers
6
views
Migrating from WildFly 10 to WildFly 32: Issues with Impala Data source Using Kerberos Authentication
I am in the process of migrating an application from WildFly 10 to WildFly 32. We have a datasource connection to an Impala database, which uses Kerberos authentication. Below is the working ...
0
votes
0
answers
19
views
JBoss EAP 6.4 End to End HelloWorld RMI Example Not Working
What I tried already is having a simple HelloWorld application that has also java client code to try and invoke the session bean deployed in JBoss EAP 6.4 as shown in the details below but I couldn't ...
-1
votes
0
answers
10
views
Legacy Java7, Ant-1.9.14 and jboss-eap-5.2 migrate to Latest Open Java
we have java7, ant-1.9.14 and jboss-eap-5.2 is there any possible solution to migrate to Open Java with less efforts. We wanted to implement SAML 2.0 authentication for our java web portals.
We tried ...
0
votes
0
answers
11
views
Jboss Not Recognizing Modified Hibernate Named-Native-Query After Build
I am working with Hibernate ORM framework, and occasionally, when I modify a named-native-query, the build is successful, but the query is not recognized by the JBoss server/JVM. It seems as though ...
0
votes
0
answers
6
views
How to get an array object value using Byteman Tool?
I am using below piece of code:
I am able to find the value of trade id using Byteman by the same method, but Not able to get the value for measure[0].
PS: I am able to get the value using java- x[0]....
0
votes
0
answers
36
views
Can't switch Wildfly datasource to read only
Using Java 8, Spring 2.1.3, Wildfly 10.1.0, MySQL 8.0.33 and AWS advanced JDBC wrapper 2.3.9.
I can't reach my aws RDS reader instance at all when a transaction is indicated as “readOnly”.
There's no ...
0
votes
0
answers
12
views
The controller is not available at localhost:9990:
Failed to connect to the controller: The controller is not available at localhost:9990: java.net.ConnectException: WFLYPRT0023: Could not connect to remote+http://localhost:9990. The connection timed ...
0
votes
0
answers
24
views
NamingException: OracleDS -- service jboss.naming.context.java.jboss.exported.OracleDS
This is my java code for connection manager..
public static synchronized Connection getSISConnection() {
Connection conn = null;
Context ctx;
try {
Properties ...
0
votes
0
answers
10
views
Define a port offset in Jboss 4, similar to newer Jboss versions ? (7)
In Jboss 7 we can simply add a global port offset using:
-Djboss.socket.binding.port-offset=100
Is something similar doable on Jboss 4 ?
Thanks
0
votes
0
answers
29
views
Upgrading Java application to use ojdbc8 with JBoss EAP 7.0
I'm in the process of upgrading my Java application to use the ojdbc8 driver with JBoss EAP 7.0. My current standalone.xml file is configured as follows:
<datasources>
<datasource jndi-...
0
votes
0
answers
14
views
java.util.ConcurrentModificationException in JBOSS EAP 7.4.0 (Ubuntu) Working fine in CentOs
Recently we migrated from centos to ubuntu environment and when we run a regression adapter with jboss, im getting java.util.ConcurrentModificationException and in regression adapter logs, im getting :...
0
votes
0
answers
22
views
Jboss application deployed in openshift container
I have a Jboss web application deployed in the Openshift container,
As per the router configuration in openshift, If we want to disable the sticky session then we need to set the following two ...
0
votes
0
answers
17
views
How to connect to SQL database using AD user instead of SQL user from a wildfly application?
I can connect our Wildfly 10 application to my local Windows SQL server using SQL Authentication. How do I do it using my Windows user and AD?
<datasource jta="true" jndi-name="java:...
0
votes
0
answers
85
views
ClassNotFoundException: javax.validation.ParameterNameProvider
I've tried several solutions I found in similar questions, but none of them have worked for me. That's why I'm asking this as a new question.
After upgrading to hibernate 5 e jpa 2 I get the following ...
0
votes
0
answers
25
views
How to add remote ActiveMQ connection to Wildfly 31.0.1Final?
I’m migrating from WildFly 18.0.0.Final to 31.0.0.Final, but I need to configure my ActiveMQ remote connections and queues. I haven’t been able to find any useful documentation on this.
Currently, we ...
0
votes
1
answer
22
views
JBoss EAP8 ClassNotFoundException com.sun.security.auth.module.UnixSystem
Our application is trying to load the "com.sun.security.auth.module.UnixSystem" during runtime (something different on Windows and Solaris, just saying)
and since the upgrade to EAP8 we are ...
0
votes
0
answers
25
views
How does one replicate a session cache in jboss 7.4?
I have question for you about caching...
I have this java app that I am trying to run on a jboss EAP 7.4 cluster. Cache the login sessions, and i notice this weird error....
18:28:04,609 ERROR [org....
0
votes
0
answers
26
views
Is is possible to serialize and imported log class in java?
I have question for you...
I have this java app that I am trying to run on a jboss EAP 74 cluster. I am trying to serialize the session data, and I have an issue with the log setup.....
I have a tone ...
0
votes
1
answer
25
views
How to resolve the error "The specified aspect 'AspectLogger' cannot be found" in AspectJ LTW setup?
I am trying to set up AspectJ load-time weaving (LTW) for logging method execution time in my Java web application. It is a webapp written using Servlets, jsp (No Spring used) and deployed on jBoss ...
0
votes
1
answer
79
views
MultipartFormDataInput upload with non ASCII file name. Quarkus
I faced some difficulties to upload file with non ASCII file name.
Part of the code is:
package org.example;
import jakarta.ws.rs.Consumes;
import jakarta.ws.rs.POST;
import jakarta.ws.rs.Path;
...
0
votes
1
answer
22
views
How does one install appdynamics agent on jboss 7.4.17 container...?
Today I started a mission to play around with jboss, and I pulled the latest container and tried to get appdynamics to install properly...
registry.redhat.io/jboss-eap-7/eap74-openjdk8-openshift-rhel8:...
1
vote
1
answer
35
views
What is the meaning of versions of artifacts in the RedHat Maven repository?
The RedHat Maven repo has binaries for many popular projects which are also in Maven Central. However, the versions don't exactly match, and in many cases there are multiple binaries in the RH repo ...
0
votes
0
answers
44
views
EJBCA server issue - ant runinstall failure
EJBCA ant runinstall fails with below error. ant deploy is successful
ejbca:initCA:
[echo] Initializing CA with 'ManagementCA' 'CN=ManagementCA,O=EJBCA Sample,C=SE' 'soft' '<ca.tokenpassword ...
0
votes
1
answer
48
views
Is JBoss 8 compatible with java 8? [duplicate]
I am trying to migrate an ear application from JBoss 7.1 eap to jboss 8, is it compatible with java 8?
I get the following error
Error: A JNI error has occurred, please check your installation and try ...
0
votes
1
answer
67
views
WildFly always returns the 404 Not Found
Whatever I do, WildFly returns the 404 code to me
I'm using Java 22.0.1, Intellij Idea and WildFly 32.0.1.Final.
I also tried to run similar and working projects with GitHub on this configuration, but ...
0
votes
0
answers
35
views
Upgrading WildFly without upgrading JBoss EAP
Will there be any issues if wildfly-security is upgraded from 18.0.1.Final to 32.0.1.Final without upgrading the current version of JBoss EAP 7.4.1?
0
votes
0
answers
29
views
Multiple keystore certificates in JBoss EAP 7 configuration
I have a request to use one more Keystore certificate in JBoss EAP 7 standalone.xml. At the moment i have
<system-properties>
<property name="javax.net.ssl.keyStore" value="...
0
votes
0
answers
77
views
Wildfly 31 x Hibernate Envers : EnversService#initialize should be called only once
Hello im trying to run Hibernate envers on my wildfly server, project can be built with mvn clean install and tests for it runs fine but when i want to deploy it to the server i receive error, i also ...
0
votes
0
answers
25
views
Trying to set up DX APM on JBOSS EAP 7.1 and its failing with java.lang.ClassNotFoundException
OS:Red Hat Enterprise Linux release 8.9
JBoss EAP 7.1.6.GA
Configuration on startup script
JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true&...
2
votes
0
answers
181
views
Error calling non-existent method due to different Jandex versions (JBoss vs SmallRye)
I'm facing an issue in my Java application where Hibernate (version 6.4.1.Final) attempts to call a method org.jboss.jandex.Indexer.indexWithSummary(java.io.InputStream) which is missing. The error ...
0
votes
0
answers
47
views
Why does XHR Request randomly get ERR_SSL_PROTOCOL_ERROR?
We have a really old web application which uses JSP, plain JS and Java 8 running on JBOSS servers and ERR_SSL_PROTOCOL_ERROR randomly occurs whenever application tries to get a resource or make an XHR ...
0
votes
1
answer
86
views
How to use JBOSS 8 logging subsystem Filter Expressions
The documentation for JBoss EAP 7.4 is here
I want to exclude an specific log when the error message contain the word ArithmeticException, I use filter-spec as follow
<filter-spec value="match(...
0
votes
0
answers
175
views
JBOSS EAP 7.4.16 not working with openjdk17 showing .jacc is missing
Its working fine with JBOSS EAP 7.4.0 and openjdk17 but when i migrated to 7.4.16, im facing this issue.
org.wildfly.core.management.security.realm.ManagementRealm and jboss.http-upgrade-registry.http-...
0
votes
0
answers
46
views
Configure multiple search-base-dn paths for ldap-realm
I'm trying to configure the ldap-realm, to search the user in multiple paths. The example configuration is:
./subsystem=elytron/ldap-realm=ldap-realm:add(dir-context=ldap-connection, \
direct-...
0
votes
0
answers
26
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
144
views
Problem with JBOSS upgrade 7.3 to 7.4 - Spring
I got some problem for upgrade my Java Application and I don't know why.
My Java application is on JDK 1.8, i have no problem when i deploy my EAR on Jboss 7.3 but i got problem when I deploy the same ...
0
votes
0
answers
54
views
exclude log for a specific custom exception type in wildfly/jboss
I want to exclude a custom exception type in JBOSS 8/WILDFLY 28, how to do that?
I add following in my standalone-full.xml in wildfly\standalone\configuration
<logger category="package1....
0
votes
0
answers
15
views
Error while reading metadata in jBoss8 management console
I'm working in the jBoss8 management console, however, whenever I press the plus button (for example to add a profile or an interface) I get the error "Error while reading metadata".
I do ...
0
votes
0
answers
79
views
Servlet error during deploy webapp on Wildfly 26.1.2
I'm trying to deploy my webapplication on Wildfly but i'm facing an error during startup. It seems something related to JAXRS but I cannot understand what i'm doing wrong...
00:11:20,162 ERROR [...
0
votes
0
answers
40
views
io.fabric8.api.fabricexception: org.eclipse.jgit.api.errors.checkoutconflictexception: checkout conflict with files
Hello, I have a problem with a Jboss Fuse container.
Detail:
I am from a linux server.
There is not much documentation on the project, so I am following the lines you have left, so there is a line ...
2
votes
0
answers
66
views
Cannot migrate from JBoss 6.4 to JBoss 7.1 in unitary tests: javax.naming.CommunicationException in the lookup
I have a test class with EJB that works with JBoss 6.4.
This is the pom:
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId&...
0
votes
0
answers
23
views
"JBAS011232: Only one JAX-RS Application Class allowed" error while introducing WAR dependency for another WAR
I want to terminate a @MessageDriven AMQ consumer from an EAR project's code programmatically. The code of termination is like this:
private void stopJmsDelivery() {
log.info("Stopping jms ...
0
votes
1
answer
49
views
Elytron cutting encrypted expression while resolving a variable
I'm trying to set the system property value with encrypted string ${ENC::initial-resolver:ENCRYPTED_STRING}
So I enter the jboss-cli.sh and run the command
/system-property=javax.net.ssl....
0
votes
2
answers
55
views
Call XARecoveryModule in JBoss bean to add customized XAResourceRecoveryHelper
JBoss 7.0. Data Source already configured in standalone xml.
I would like to create the new object implementing com.arjuna.ats.jts.recovery.XaResourceRecoveryHelper with overrided method:
public ...
0
votes
0
answers
77
views
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type KnownTypeLibrary with qualifiers
Because of research needs. I need to run this github repository.
https://github.com/hjc851/SPPlagiarise
java version
java version "11.0.22" 2024-01-16 LTS
Java(TM) SE Runtime Environment 18....
0
votes
0
answers
44
views
Wildfly - Accessing keystore file from host VM when running wildfly cli command in wildfly 26
I used to use wildfly 14 and used to setup keystore file using the following command in wildfly CLI
/core-service=management/security-realm=ApplicationRealm/server-identity=ssl:write-attribute(name=...
0
votes
1
answer
131
views
How to change the server.log to write to the console in JBoss Wildfly (dcm4chee)
We are using the dcm4chee docker container (dcm4che/dcm4chee-arc-psql:5.31.3) that is using a JBoss Wildfly. Now we like to have the content of the file /opt/wildfly/standalone/log/server.log in the ...
0
votes
1
answer
676
views
Does jboss 7.4.4 and above patches work with JDK 17?
I am getting following error while running jboss with jdk 17.
WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
14:28:15,062 ERROR [org.jboss.as.controller.management-operation] (...
0
votes
1
answer
21
views
JBOSS appends charset=ISO-8859-1 in response headers
JBOSS v7.4 appends charset=ISO-8859-1 to my js files due to which browser throws "Unexpected token" error for files with special characters.
The same file loads correctly on Weblogic and ...
0
votes
0
answers
39
views
Why the unknown cookie directs the requests to the same kubernetes pod in the user session
I have the Http web application which has the following architecture
Browser -> Classic Load Balancer aws -> Kubernetes Pods (3 pods spanned for Http application) -> In each pod the ...