Questions tagged [jboss]

JBoss Application Server (JBoss AS) is a free software/open-source Java EE-based, Cross-platform Application Server.

JBoss Application Server (JBoss AS) is a free software/open-source Java EE-based, Cross-platform Application Server.

The company JBoss is a division of Red Hat, Inc. that charges to provide a support subscription for JBoss Enterprise Middleware e.g. JBoss application server.

JBoss AS is a Java EE certified platform for developing and deploying enterprise Java applications, Web applications, and Portals. JBoss AS provides the full range of Java EE 6 features as well as extended enterprise services including clustering, caching, and persistence.

Starting with version 8, JBoss AS goes under the name .

Consider using a version specific tag:

References

Other Useful Resources

15135 questions
25
votes
4 answers

Maven: how to copy artifact to specific directory?

The "install" goal copies the artifact to the target directory and to the local repository. How can I tell Maven to copy it also to a given directory (like the deploy directory of JBoss for example).
Mr.Eddart
  • 10,050
  • 13
  • 49
  • 77
25
votes
3 answers

Access Spring beans from a servlet in JBoss

I want to write a simple servlet in JBoss which will call a method on a Spring bean. The purpose is to allow a user to kick off an internal job by hitting a URL. What is the easiest way to get hold of a reference to my Spring bean in the…
Sophie Gage
  • 5,391
  • 5
  • 24
  • 25
24
votes
2 answers

JVM Tenured/Old gen reached limit & server hanging

Our application requires very huge memory since it deals with very large data. Hence we increased our max heap size to 12GB (-Xmx). Following are the environment details OS - Linux 2.6.18-164.11.1.el5 JBoss - 5.0.0.GA VM Version - 16.0-b13 Sun…
raksja
  • 3,969
  • 5
  • 38
  • 44
24
votes
5 answers

JMS Messaging Performance: Lots of Topics/Queues vs. Extensive Filtering (Message Selectors)

I'm working on a project that is going to make heavy use of JBoss Messaging (JMS). I'm tasked with building an easy to use wrapper around Messaging for other developers and am thinking about using JMS's Message Selectors to provide a filtering…
James
  • 1,391
  • 2
  • 14
  • 20
24
votes
2 answers

Keycloak Logout Request

I wanted to ask if there is a way to logout from keycloak via a single http request. I already tried to POST /protocol/openid-connect/logout or /tokens/logout, but the result is always a ORIGIN-Problem. But the calling ORIGIN is configured in…
Stack
  • 297
  • 1
  • 4
  • 13
24
votes
3 answers

504 Gateway Time-out The server didn't respond in time. How to fix it?

The client requested to download a compressed log file, using Ext.js a form submission on an embedded iframe. Request was sent to server, which has Apache and JBoss 6. The servlet compresses log files, do some database operation and returns the…
Ricardo
  • 3,696
  • 5
  • 36
  • 50
23
votes
11 answers

java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind (JBOSS)

I'm using JBoss 4.0.5 GA on Windows 7 with Java version 1.5 (I have to use older java version and a JBoss because I'm working with a legacy system). And when I'm starting the server I get the following error: java.net.SocketException: Unrecognized…
Shamal Karunarathne
  • 1,759
  • 3
  • 16
  • 24
23
votes
4 answers

Data consistency in XA transactions

Suppose we have a database (e.g. Oracle) and a JMS provider (e.g. HornetQ) participating in an XA transaction. A message is sent to a JMS queue and some data are persisted in the database in the same distributed transaction. After the transaction is…
Dragan Bozanovic
  • 23,102
  • 5
  • 43
  • 110
23
votes
6 answers

Why does Java code slow down in debugger?

Some CPU intensive routines get dramatically slower when run through a debugger. Why is this? Currently I'm just using IntelliJ to step through code running in JBoss. When I start JBoss, I use these options: set JAVA_OPTS=-Xms512m -Xmx1024m…
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429
23
votes
4 answers

Can I use JBoss EAP 6 without a support license?

JBoss Application Platform has 2 distributions, a community and an enterprise release, community releases are like Beta releases of enterprise releases, JBoss 7.0 is then actually EAP 6 beta 1, 7.0.1 is beta 2, 7.1.0 is beta 3 and 7.1.1 is rc…
JorSol
  • 450
  • 1
  • 4
  • 14
23
votes
6 answers

Real world comparisons of Glassfish and JBoss 5?

Does anyone have experiences with both in the real world? How do they compare in terms of performance (memory usage, speed, etc)? Stability? Does JBoss Seam work well on Glassfish?
jsight
  • 27,819
  • 25
  • 107
  • 140
23
votes
1 answer

Changing context root for a web app under JBoss As 7

I want to change context root from "/war_name" (by default) to "/". Thus, I created a jboss-web.xml file that I pushed in WEB-INF directory. Content of this file is :
Mik378
  • 21,881
  • 15
  • 82
  • 180
22
votes
5 answers

HTTP response header content disposition for attachments

Background Write an XML document to a browser's response stream and cause the browser to display a "Save As" dialog. Problem Consider the following download() method: HttpServletResponse response = getResponse(); BufferedWriter bw = new…
Dave Jarvis
  • 30,436
  • 41
  • 178
  • 315
22
votes
2 answers

Could not index class module-info.class atlog4j-api.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 24

We have updated log4j jar from log4j-api-2.7.jar to log4j-api-2.10.0.jar. We are getting below warning at the startup of JBoss(we are using JBoss-EAP-7.0). 2018-09-05 05:31:28,669 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2)…
prashant
  • 221
  • 1
  • 2
  • 4
22
votes
7 answers

How to add JBoss Server in Eclipse?

I am new to JBoss and have just installed Eclipse. I have added a project to the workspace and now I want to deploy it to a Jboss server. However, in the New Server Runtime Environment list, JBoss is not available: I am using the below Eclipse…
Subodh Joshi
  • 12,717
  • 29
  • 108
  • 202