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
10
votes
5 answers

The controller is not available at localhost JBOSS.7.1.1.FINAL

When i run the jboss-cli.sh, I get this message. [root bin]# sh jboss-cli.sh You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /] connect localhost The…
Alind Billore
  • 696
  • 2
  • 10
  • 24
10
votes
5 answers

Jersey 2 on Jboss 7

Has anyone had success deploying Jersey 2.x with JBoss 7.x? I've tried deploying Jersey 2.5 with JBoss 7.1.1 but encountered errors like: "java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map;" I believe this…
Minh Nguyen
  • 273
  • 1
  • 4
  • 14
10
votes
1 answer

JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period

I am migrating an application from JBOSS 4 to JBOSSAS 7. I followed the guide for migration, converted all the ejbs to ejb3 fixed the JNDI names. After I deploy the ear I see message that the EJBs are bound. After that it goes in a wait state and…
rrpr
  • 95
  • 1
  • 1
  • 6
10
votes
4 answers

Connect to JBoss 7 using VisualVM

I have remote JBoss 7.1 server and I would like to connect to this server by using VisualVM or JConsole. I googled a bit and found several threads/tutorials on how to connect to JBoss 7.1 by using VisualVM or JCoonsole, e.g.:…
Ernestas Kardzys
  • 1,719
  • 2
  • 16
  • 21
10
votes
6 answers

The tag named passThroughAttribute from namespace http://xmlns.jcp.org/jsf/core has a null handler-class defined

i am trying to use JSF 2.2.2 on Jboss 7.1.1.Final i followed the solution 1 in this link: http://www.mastertheboss.com/jsf/installing-jsf-22-on-jboss-as-7 that is based on replacing the current jboss jsf libraries and after that i changed the faces…
Mahmoud Saleh
  • 33,303
  • 119
  • 337
  • 498
10
votes
6 answers

@JsonIgnore and @JsonBackReference are being Ignored

I'm working with RestEasy, Jboss 7 and EJB 3.1. I'm creating a RESTful web service that returns data in JSON format. The problem is that I have a @ManyToOne relationship on one of my entities which causes an infinite recursion during serialization.…
Ghada
  • 193
  • 1
  • 5
  • 18
10
votes
5 answers

Conditional Envers Auditing

I have a requirement where I want to audit records only on change of Status field. I've followed documentation chapter tutorial "15.8. Conditional auditing". Step 1: Turn off automatic Envers event listeners registration. I have following:
Shirish Bathe
  • 627
  • 9
  • 22
10
votes
1 answer

Performance impact of using CDI

I am writing a Java EE 6 web application and I am noticing a significant performance impact when using an injected object versus creating and using the object directly. The overhead appears to be of the order of 50 - 60ms per method call. For…
Troup
  • 573
  • 5
  • 17
10
votes
5 answers

IllegalArgumentException: expecting IdClass mapping

During deploying my app I occurs on that exception. I have a lot of class in my app and I dont know where I must to place @IdClass and what does this exception mean anyway. I am using Hibernate 4.1 and JBoss AS 7.1 12:10:23,761 INFO …
user1679671
10
votes
2 answers

JBoss AS 7.1.1 not picking up my JSF implementation

When I deploy my .war file in JBoss AS 7.1.1 and call FacesContext.class.getPackage().getImplementationTitle() and FacesContext.class.getPackage().getImplementationVersion() I get a different version then when I deploy it on tomcat. JBoss: …
roel
  • 2,005
  • 3
  • 26
  • 41
9
votes
7 answers

Creating module in jBoss AS

I’m using jBoss AS 7 to publish my various projects, and all of them use the Jersey API, so instead of deploying it in every project I wanted to create a module for it. For that, I created the folder JBOSS_HOME\modules\com\sun\Jersey\main and in…
Gonçalo Cardoso
  • 2,253
  • 4
  • 34
  • 63
9
votes
2 answers

SLF4J + logback + JBoss 7?

Has anyone got SLF4J / logback to work with JBoss 7? Previously, I was able to get my app to work in JBoss 5.1 by putting my "logback.groovy" in [server]/conf, and the logback core, classic (0.9.28), and Groovy (1.8.0) JARs in [server]/lib. For…
Andrew Regan
  • 5,087
  • 6
  • 37
  • 73
9
votes
6 answers

ClassCastException when casting looked-up EJB view in AS7

I have am deploying 2 EARs onto JBoss AS 7.1.0.Alpha1-SNAPSHOT (post 7.0.1.Final version). Both deploy fine. I have an EJB Singleton class packaged within a JAR, within one of the EARs: @Startup @Singleton // one of @Local(Store.class),…
Ben Kirby
  • 904
  • 2
  • 11
  • 29
9
votes
1 answer

HTTP Session in Load Balancer

We have two servers for load balancing. Sometimes we get an invalid session after successful login into our application and the user session is expired even though the session timeout is configured as 30 minutes. We are not sure whether the…
Premanand K
  • 632
  • 8
  • 18
9
votes
4 answers

How do I exclude the JBoss provided javax.persistence module?

I’m using JBoss 7.1.3.Final. I want to package my own Hibernate 4.3.0.Final Jars and the JPA 2.1 spec JARs within my WAR. It is not an option to replace the hibernate (or any other) module in JBoss. How do I exclude the JPA 2.1 from my WAR? I…
Dave
  • 15,639
  • 133
  • 442
  • 830