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
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
4 answers

How to catch and wrap exceptions thrown by JTA when a container-managed-tx EJB commits?

I'm struggling with a problem with an EJB3 class that manages a non-trivial data model. I have constraint validation exceptions being thrown when my container-managed transactional methods commit. I want to prevent them from being wrapped in…
Craig Ringer
  • 307,061
  • 76
  • 688
  • 778
22
votes
4 answers

AsynchronousDispatcher error

i am getting the error when i try to upload a file based exactly off the example shown here Sample The error is Allocate exception for servlet com.testapp.rest.JaxRsActivator: java.lang.RuntimeException: Unable to find a public constructor for…
user1438082
  • 2,740
  • 10
  • 48
  • 82
21
votes
4 answers

JBoss AS 7 JMX Console

I spent some time checking out JBoss AS7 today. I am impressed with what I have seen so far but I noticed that good ol' JMX-Console no longer exist. Does anyone know why it was left out? I understand that I can connect through JConsole, MC4J etc.…
helios
  • 2,603
  • 4
  • 21
  • 26
21
votes
3 answers

Single deployment for all test cases in Arquillian

We are using arquillian-junit-container 1.0.0 final version for Junit Test. We have so many test classes and every test class as @Deployment method so when i run all test together then its creating issue of memory and performance. Can anyone help me…
Ranu Jain
  • 577
  • 4
  • 11
21
votes
4 answers

Error when deploying an .ear file containing an MDB to JBoss

I am getting the below error while deploying an enterprise archive jar (.ear) to JBoss 7. Can someone please give me pointers on how to resolve this. The JBoss log is 14:44:30,812 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001:…
Student
  • 4,481
  • 8
  • 27
  • 32
21
votes
4 answers

Serialize Date in a JSON REST web service as ISO-8601 string

I have a JAX-RS application using JBoss AS 7.1, and I POST/GET JSON and XML objects which include Dates (java.util.Date): @XmlRootElement @XmlAccessorType(XmlAccessField.FIELD) public class MyObject implements Serializable { @XmlSchemaType(name…
Zlika
  • 331
  • 1
  • 4
  • 10
20
votes
7 answers

Receiving SSLHandshakeException: handshake_failure despite my client ignoring all certs

I have a Java program that connects to a webserver using SSL/TLS, and sends various HTTP requests over that connection. The server is localhost and is using a self-signed cert, but my code is using custom TrustManagers, and ignores invalid…
Rsaesha
  • 1,104
  • 1
  • 13
  • 25
20
votes
7 answers

Jboss server error : Failed to start service jboss.deployment.unit."jbpm-console.war"

When starting the jboss server, it giving an error Failed to start service jboss.deployment.unit."jbpm-console.war". But when i'm running jbpm6 demo using start.demo its working fine. 23:43:41,042 ERROR [org.jboss.msc.service.fail] (MSC service…
user2848031
  • 187
  • 12
  • 36
  • 69
20
votes
5 answers

IntelliJ Artifact has invalid extension

I have strange a problem with deploying an artifact on jboss. After generating the default spring-mvc project in IntelliJ, I tried to run it, but IntelliJ showed in "Run/Debug Configuration" a message that my "Artifact XYZ:war exploded has invalid…
user902691
  • 1,149
  • 4
  • 20
  • 46
18
votes
3 answers

JBoss AS vs WildFly 8

Can anyone please give me the main difference between JBoss AS 7 and WildFly 8? I'm going to start a very important project and I have to choose between JBoss AS 7 and WildFly 8 (for this project I'm going to use GWT, JPA/Hibernate and jBPM 6).
user2938484
  • 195
  • 1
  • 1
  • 4
17
votes
3 answers

JBoss AS 7 update system property via cli

I can read system properties via the CLI interface by /system-property=propertyname:read-attribute(name="value") Is there a simple way I can update the property via the CLI interface?
bertolami
  • 2,896
  • 2
  • 24
  • 41
17
votes
4 answers

Comparison of JBoss AS 7.x and Glassfish 3.x?

I was wondering if there is a (mostly) objective comparison between the JBoss AS 7 and Glassfish 3.x? I don't care for any differences in standards or their implementation, I was thinking more about startup time, failover, scalability, performance,…
stephanos
  • 3,319
  • 7
  • 33
  • 47
17
votes
2 answers

JBoss EAP 6.x understand the deployment phase - ResourceAdapters, EJB, jar, war

In JBoss, how is the sequence of the deployment phase? What is the order of object being instantiated and available to use? Considering an enterprise application (*.ear), inspecting all deployment log (server.log) the deployment phase looks…
StarsSky
  • 6,721
  • 6
  • 38
  • 63
17
votes
2 answers

Injection of HttpServletRequest

I am using ejb 3 and trying to @Inject HttpServletRequest, but while deploying I occur exception. Code: @Inject private HttpServletRequest httpRequest; Exception: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies…
user1679671