Questions tagged [jboss]
JBoss Application Server (JBoss AS) is a free software/open-source Java EE-based, Cross-platform Application Server.
15,147
questions
0
votes
0
answers
8
views
Web application hosted on JBoss EAP 7.4.11 with SSO for authentication is causing web pages to not be cached
I have a web application which is hosted on JBoss 7.4.11 with SSO as authentication mechanism, the website is working as expected however all there is no caching happening. All web pages are always ...
0
votes
0
answers
16
views
Problem when httpOnly and secure flag are setted to true on cookies using jsessionId
I'm using JBoss and Jersey for my java web application, and I need to set the flags httpOnly and secure to true in my cookies. To achieve this, I implemented a filter that adds the secure and httpOnly ...
0
votes
0
answers
14
views
JBoss DataSource parameters enabled and Pool
I am currently learning about DataSource configuration in a JBOSS Application Server. In our JBOSS Application Server, there are some datasources configured in the the standalone.xml file. I have a ...
0
votes
0
answers
5
views
Web application lookup EJB with JNDI run into EJBCLIENT000409: No more destinations are available
Using Wildfly 29, I created a simple web application and tried to do an ejb invocation with jndi. I used the domain as I create two server groups with one server each (using full-ha profile and full-...
0
votes
1
answer
8
views
Are there different kinds of system variables in jboss?
In jboss-cli I can do
[standalone@localhost:10990 /] /system-property=foo.bar:add(value=baz)
{"outcome" => "success"}
[standalone@localhost:10990 /] /system-property=foo.bar:...
0
votes
0
answers
16
views
Error during Keycloak realm import "Provided realm contains authenticator config with null alias."
While trying to import a Keycloak realm from Keycloak 9.0.2 to Keycloak 22, a following error occurs:
2023-09-27 19:53:30,734 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ...
0
votes
1
answer
30
views
jboss-as-maven plugin migrating to jdk 11
I am on a maven project, migrating from Java 8 to 11, and I am facing these errors:
11:36:39,016 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-11) MSC000001: Failed to start service jboss....
0
votes
0
answers
15
views
How can we use log4j2 with JBOSS a long with its default logging instead of overwriting
<deployment>
<exclude-subsystems>
<subsystem name="logging" />
</exclude-subsystems>
</deployment>
instead of excluding its default logging we ...
1
vote
0
answers
28
views
UCP Oracle Hibernate Pessimistic Locking
I have a code that is running on Jboss EAP 7.4 and that is using JPA pessimistic locking (select for update wait).
It is working fine with Jboss datasource but when I try to use UCP datasource the ...
0
votes
0
answers
20
views
Jboss EAP Migration - Legacy Security to Elytron Security
Can you please the purpose of the below default security domains and how it can be migrated to Elytron Security.
<subsystem xmlns="urn:jboss:domain:security:1.2">
<security-...
0
votes
0
answers
16
views
ERROR 404 WHEN I TRY THIS LINK http://localhost:8080/swagger-ui.html
Im trying to document my spring boot proyect, but when i enter the link http://localhost:8080/swagger-ui.html, the page is white and there is only a 404 error. Im using java 8 and spring boot 2.7.0 ...
0
votes
0
answers
34
views
Error migrating from Wildfly 21 to Wildfly 27 with Hibernate 6.3.0
I'm in the process of migrating a system from Wildfly 21 to Wildfly 27. In the previous system, we were using hibernate-core 5, but for Wildfly 27, we've upgraded to version 6.3.0.
I managed to ...
0
votes
0
answers
16
views
How can I properly set Wildfly behind Nginx so I can upload deployments?
I've been struggling to correctly set Wildfly to work behind Nginx. Today it was brought to my attention that new deployments attempts are resulting in a vague error message: "Unexpected status ...
0
votes
1
answer
33
views
can we update any .class file in the running war file in the wildfly?
can we update any .class file in the running war file in the wildfly?
so we need not redeploy the complete project for a single file change.
I have tried Deployment Overlays but it's not useful as per ...
0
votes
1
answer
24
views
Deploying Geoserver War 2.23.2 on jboss EAP 7.4
Hi guys im trying to deploy a geoserver war 2.23.2 on my jboos 7.4 with java 11
i currently deploy with success geoserver war 2.19.2 using jboss 7.4 with java 11
i getting this error when i try to ...
-1
votes
0
answers
56
views
Illegal char <<> at index 0: <NONE>.class
I have a project using apache-maven-3.6.3 and jboss 7.1 and java, that compiles perfectly on Mac and Linux, however when I move it to Windows and compile it, I get the message:
Caused by: java.lang....
0
votes
1
answer
12
views
JBoss-host-controller service stuck in "Stopping" status
I tried to stop the host controller, but it is stuck in the Stopping status... How can I force it to stop and restart?
I have looked at this post: CLI for stop domain/host controller but I'm afraid of ...
0
votes
1
answer
20
views
JPA Criteria API performance Problem JBoss 7.4
I am using JPA Criteria API on JBoss EAP 7.4.9 because I must dynamically produce different SQLs according to filters applied on the GUI.
So far this approach has worked, but after adding several ...
-1
votes
0
answers
11
views
Delay in http-request in JBoss
We have a problem with delay for a http-request (fairly large http-put that takes about 7 minutes) and have not been able to pinpoint what might cause it. The most visible clue is in the browser (...
0
votes
1
answer
26
views
EJBCA 403 forbidden on Wildfly
I have a problem with an EJBCA 8 deployment on Wildfly 26.1.3.Final
Whenever i try to access a public endpoint i get a 403 forbidden HTTP status back.
This is my configuration:
wildfly.service
[Unit]
...
0
votes
0
answers
36
views
JMS message sent to Artemis queue from JBoss 7.4.2 does not get delivered to Camel route using JMS component
A JMS message sent to a dynamic queue on Artemis server in JBoss EAP 7.4.2 does not get delivered to Camel route listener using JMS component
Camel route:
from("jms:queue:XXX")
.process(&...
0
votes
0
answers
18
views
Unexpected element '{urn:jboss:domain:resource-adapters:6.0}config-property'
Caused by: javax.xml.stream.XMLStreamException: org.projectodd.vdx.core.XMLStreamValidationException: ParseError at [row,col]:[1182,67]
Message: ParseError at [row,col]:[1182,67]
Message: WFLYCTL0198: ...
0
votes
0
answers
22
views
JBoss ManagedThreadFactory
I am trying to override the default JBoss 7.3 ManagedThreadFactory through the standalone.xml with my custom factory so to inject on each thread a specific context (shared MDC).
Is this even possible?
...
1
vote
0
answers
33
views
How to integrate JBoss 7.4.10.GA (domain.xml or other configurations) to work with IBM MQ hosted on another server?
Can you help with the IBM MQ integration with JBoss. Currently the resources archive which I am providing is not being picked up by JBoss and I am getting error as below:
"WFLYCTL0412: Required ...
0
votes
1
answer
57
views
Spring @Transactional(propagation = propagation.REQUIRES_NEW) doesn't work if stream is open?
It's going to be hard to provide example code on this one. Let me try to explain it with some pseudo code. If I need to, I'll have to put together a working example.
First I'll demonstrate a ...
0
votes
2
answers
25
views
Securing JBoss admin console with SSL (HTTPS) not working
I'm running jboss-as-7.1.1.Final in a domain mode. When I applied the changes to host.xml and domain.xml, I received the following errors:
[Host Controller] Caused by: javax.xml.stream....
1
vote
0
answers
74
views
Keycloak Docker container (jboss) ran with a compose is not running
Hi everyone I'm trying to do a demo repo to use keycloak but I don't know why it's not running correctly.
Here is my docker compose
version: "3.8"
volumes:
data:
services:
db:
...
0
votes
1
answer
25
views
Define implementation of websocket interface in Jboss 7.4
Following the jBoss 7.4 documentation I can define a websocket with the required annotations
@ServerEndpoint("/websocket/helloworld")
public class MyService {
@OnMessage
String ...
0
votes
0
answers
22
views
Why WildFly 21 logs prints exception stacktrace with datetime on each line?
I am using default WildFly logging, server.log shows stderr with timestamp nanoseconds and at new line always. On the other hand each normal exception trace are always printed with out datetime, but ...
0
votes
0
answers
26
views
How to fix undertow error UT005023 on Jboss server?
In my project(Wildfly and Jboss based) I started getting errors on requests. I took production database and branch and tried to reproduce it locally, but loally everything is fine. After googling I ...
1
vote
0
answers
20
views
How do I enable sql logging using DataNucleus with JBOSS 7.2
I am trying to see all the sql queries generated by DataNucleus:
I am working with a legacy application that uses
<datanucleus.version>5.1.11</datanucleus.version>
<...
-1
votes
0
answers
63
views
Drools Rule Engine - Rule name is missing in case of error for BuildAll method
Using Drools - 7.73.0 Package. The issue I have is during loading of rule to the KieBuilder and in case of any error I can see the error details using KieBuilder.getResults() property in which I can ...
0
votes
0
answers
21
views
Does it make sense to encrypt Wildfly Elytron Credential Storage file?
In Wildfly I want to use Elytron Credential Storage to store passwords. I want to use password aliases instead of clear text.
Does it make sense to encrypt Credential Storage file with passwords? If I ...
0
votes
0
answers
19
views
Jboss migration application issues
iam doing migrating from jdk 8 to 11 and jboss 6.4 to 7.4 ,
after migrating standalone.xml,getting below deployment errors.can anyone help with solutions
[stderr] (Finalizer) javax.net.ssl|DEBUG|03|...
0
votes
1
answer
26
views
How to start and stop Wildfly Application server via Java?
I am working on an application that runs on wildfly. I am trying to start the server from one new Java client as I want to check its status if it started without any errors and based on that want to ...
0
votes
1
answer
43
views
Websocket is not handled correctly in Jboss 7.4
I am following the jBoss documentation to include a websocket in a service built with jBoss 7.
I have created and interface and its implementation with the required annotations:
@ServerEndpoint("/...
2
votes
1
answer
942
views
Spring request matcher issue on JBoss after update to Spring Security 5.8.6
After upgrading from Spring Security 5.8.2 to 5.8.6, I am having an issue with my deployment on JBoss EAP 7.4 (it works fine on embedded Tomcat). I get this error message:
This method cannot decide ...
0
votes
0
answers
37
views
Getting 404 not found in application deployed to Jboss 7.4.0
I am trying to upgrade Jboss 5.2 to Jboss 7.4.0 for my one of the application and I am able to deploy my application successfully as can be seen in the server logs..
23:31:23,113 INFO [org.jboss.as....
2
votes
1
answer
65
views
How to deploy pulsarra.rar in Jboss?
I'm trying to deploy and configure DataStax Apache Pulsar JMS Client Resource Adapter in JBoss but I'm getting the following error:
2023-08-28 11:21:30,684 INFO [org.jboss.weld.deployer] (MSC service ...
0
votes
0
answers
11
views
Getting IzPack - Unpacker thread" java.lang.ExceptionInInitializerError while running JBOSS installer jar
I am currently trying to install JBOSS EAP 7.4 in my RHEL. I am getting the below error while running the JBOSS installer.
Command to run Jboss installer:
java -jar jboss-eap-7.4.0-installer.jar -...
0
votes
1
answer
58
views
Cannot receive JMS messages from external Artemis servers with Camel route using JMS component for parameter concurrentConsumers more than one
A Camel route setup in JBoss EAP 7.4.2 that tries to concurrently receive JMS messages from external ActiveMQ Artemis servers fails with following warning.
2023-xx-xx 16:04:37,066 GMT WARN [org....
0
votes
0
answers
56
views
Jboss (Wildfly) increase timeout for incoming request
I want to increase the timeout for the incoming request in my jboss environment.
I always get current exception in my client after a few minutes in case of the incoming request takes more time.
java....
0
votes
1
answer
49
views
MDB tries to find Destination property in JNDI instead of looking for the queue with that actual name when Java app and IBM MQ are run with Docker
I have
a Docker image providing a IBM MQ queue with the following Dockerfile:
FROM ibmcom/mq
ENV LICENSE=accept
ENV MQ_QMGR_NAME=QMGR
COPY config.mqsc /etc/mqm/
COPY setup.sh /etc/mqm/
USER root
...
0
votes
1
answer
46
views
Using existing ActiveMQ "Classic" JCA RA in JBoss EAP 7.4 to connect to ActiveMQ Artemis remote servers by changes to configuration
Is it possible to repurpose existing code connecting to ActiveMQ "Classic" to connect to ActiveMQ Artemis by changes to configuration? If so what are the important parameters that need to be ...
0
votes
0
answers
21
views
How do I enable JBoss' Sax Error Handler for a deployed app?
I am deploying an application (GeoServer) to JBoss EAP 7.4. It deploys, and runs fine but I'm seeing a lot of these errors logged by the application:
2023-05-23 16:42:43,980 ERROR [stderr] - Warning: ...
0
votes
1
answer
52
views
JBoss 7 not logging Maven property
I have a Maven based WAR module.
In the main pom I've defined a custom property as follows:
<properties>
<prop>TEST</prop>
</properties>
I'm running a local instance of ...
0
votes
1
answer
118
views
Which out of jboss & quay.io Keycloak should be used. Most discussionn online says quay.io but jboss works for me
Running from a docker compose file
keycloak:
image: jboss/keycloak
container_name: keycloak
restart: always
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
...
0
votes
0
answers
30
views
Geoserver 2.21.4 not deploying with Security Manager on JBoss EAP 7.4.9 when upgrading from Java 8 to Java 11
I am trying to deploy GeoServer 2.21.4 in JBoss EAP 7.4.9 with Java 11. The GeoServer application fails to deploy when Java Security Manager is turned on.
I have been using the same Geoserver/JBoss ...
0
votes
0
answers
10
views
Automating Temenos deployment
My goal is to automate the T24 deployment. Therefore I would like to know if the application BUILD.CONTROL (called via sh tRun EX) can be started in a non-interactive mode (as opposed to Input mode), ...
0
votes
0
answers
32
views
Spring Session results in spam: ORA-00942: table or view does not exist
I'm new to Spring and Java. I'm trying to setup session management using Sprint Session but I'm getting error spam on the server. I followed this guide:
https://www.javainuse.com/spring/...