Questions tagged [jboss7.x]

Version 7 of the JBoss Application Server

JBoss Application Server 7 is a Java EE 6 implementation. Read more about JBoss AS 7 here.

3567 questions
13
votes
1 answer

How to get JDBC binding parameters from Hibernate in JBoss 7?

I'm trying simply to get the values that Hibernate is binding to the queries behind the question marks "?" on JBoss 7. So I'm editing standalone/configuration/logging.properties in order to add this…
Anthony O.
  • 22,041
  • 18
  • 107
  • 163
12
votes
1 answer

How to run jBoss AS 7 with eclipse 3.6(helios)?

For some reason, I need to upgrade my JBOSS server to JBOSS AS 7, but I found that that default latest adapter is just for AS 5. Any Suggestions? Right now I'm using JBOSS AS 4.2 and eclipse 3.6(helios), after a quick search I find I can either…
post2626
  • 239
  • 1
  • 6
  • 16
12
votes
3 answers

Performance issue with AWS Fargate

We have an old Java application running in Jboss As 7.1.1. Currently, this application is running on AWS EC2 instance type t3.medium, which is 2 CPU cores and 4GB memory. We are trying to modernize our applications with CI/CD and AWS Fargate. We…
Bini
  • 321
  • 2
  • 8
12
votes
2 answers

JBoss 7.0 - GWT - Exception while dispatching incoming RPC call

I am currently migrating GWT apps from JBoss 5.1 to JBoss 7.0 EAP server. I have bundled gwt-servlet.jar in the war deployed to server I am getting the below error. 05:11:49,068 ERROR [io.undertow.servlet] (default task-5) Exception while…
Karthik
  • 1,302
  • 5
  • 25
  • 56
12
votes
3 answers

Replace EJBAccessException stacktrace logged by JBoss

I have a REST endpoint in my application that is protected with EJB security. @Path("/somepath") @Produces(MediaType.APPLICATION_JSON) @Stateless @SecurityDomain("mydomain") @RolesAllowed({"user"}) public class MyResource extends…
Aleksandr Kravets
  • 5,750
  • 7
  • 53
  • 72
12
votes
2 answers

JBoss7 setting Cache-Control, Pragma to no-cache for all responses from RESTEasy

I'm trying to add Cache-Control headers to the responses generated in JBoss 7 using the RESTEasy framework. However, all the responses end up getting multiple Cache-Control headers due to JBoss adding a no-cache header by default. I can't find any…
Gary
  • 4,198
  • 2
  • 21
  • 26
12
votes
1 answer

How to get bound server address and port programmatically in Java EE?

At startup we need to get the server address and the http port of the running application. Until now we made it like this: MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer(); ObjectName socketBindingMBean = new…
Marcel
  • 4,054
  • 5
  • 36
  • 50
12
votes
3 answers

what is the default admin console password for Jboss EAP 6

what is the default admin console password for Jboss EAP 6..? Its not allowing me to see the administration console without password. And I can't find the configuration page also. Please advice.
Madhan
  • 671
  • 2
  • 12
  • 25
12
votes
2 answers

javax.security.sasl.SaslException: Authentic Failed while connecting to Jboss 7 server from remote client

I have standalone Java client(Running from within eclipse ) that I wish to connect to an external server . If the server is localhost then i see no problems at all . However whenever i try to connect to the external server where I always gets the…
rockstar
  • 3,512
  • 6
  • 40
  • 63
12
votes
2 answers

Local XARecoveryModule.xaRecovery got XA exception

Any thoughts on what could be causing this exception: 03:54:34,497 WARN [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016027: Local XARecoveryModule.xaRecovery got XA exception XAException.XAER_RMERR: javax.transaction.xa.XAException: Error trying…
Saqib Ali
  • 3,953
  • 10
  • 55
  • 100
12
votes
7 answers

jboss 7 oracle datasource configuration

I'm currently migrating from jboss 4.3 to jboss 7.1.1 (Final) and i'm trying to configure an oracle datasource but it's not working. Following is what I've done to setup an oracle datasource 1)Downloaded ojdbc6-11.jar and placed it inside the folder…
user1066568
  • 717
  • 3
  • 15
  • 32
11
votes
4 answers

JBOSS 7.1.0 error - Unable to find a public constructor for class org.jboss.resteasy.core.AsynchronousDispatcher

I am trying to migrate my spring MVC based REST application to Jboss 7.1.0. At startup, the Jboss initialisation shows that everything was started up correctly with all war files deployed successfully. I had quite a few problems getting the…
ziggy
  • 15,677
  • 67
  • 194
  • 287
11
votes
3 answers

How to manually set the @Version fields with Hibernate 4?

Environment: I have that User entity : @Entity public class User implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer userId; …
Anthony O.
  • 22,041
  • 18
  • 107
  • 163
11
votes
3 answers

JBoss 7: how to dynamically load jars

I am using JBoss 7 (dependency loading was changed in this version). My war-application uploads to server jars and need to use classes inside of them, but it gets ClassNotFoundException. So I can't find a way to add jar-dependencies to modules…
Rage
  • 121
  • 1
  • 6
11
votes
5 answers

JBoss AS7 *.dodeploy files

We package our application as a .war file, we advertise support for JBoss AS5 and instruct our clients to copy the .war into their JBoss 'deploy' directory, and start up their application server in order to deploy the .war. We are introducing…
user619804
  • 2,286
  • 12
  • 46
  • 71