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
9
votes
2 answers

Dependencies in MANFEST.MF ignored on JBoss 7

We have an EJB module that we are deploying to JBoss 7.1.1 which depends on Infinispan and Infinispan Treecache. I created a module and deployed it in the modules section of jboss. However, there seems to be a problem with it getting picked up…
drone.ah
  • 1,135
  • 14
  • 28
9
votes
3 answers

JBoss as an http server?

I'm trying to write a webapp where the server side provides only json/REST services, and the gui is written in html5, backbone, marionette, etc. using async XHR. The html, js, css, etc. is static and cachable (when deployed to production). I need to…
Software Engineer
  • 15,457
  • 7
  • 74
  • 102
9
votes
2 answers

Debug Arquillian tests in IntelliJ

I have Java EE project in which I use Arquillian tests with JUnit on JBoss 7 (Windows). Tests are working fine however I cannot debug them. From what I've googled (https://community.jboss.org/wiki/WhyDontBreakPointsWorkWhenDebugging) I understand…
Martin Nuc
  • 5,604
  • 2
  • 42
  • 48
9
votes
2 answers

How to have spring security context in child context

I'm trying to have spring security context in child context, so I could have url security on the servlet context file. I have: springSecurityFilterChain
eis
  • 51,991
  • 13
  • 150
  • 199
9
votes
1 answer

Performance costs of having a transaction over multiple EJBs vs. one EJB

I have a question about transaction performance and/or costs in following scenarios. Environment: JBoss 7.1.1 / Oracle 11G / Java 6 Scenario A - 1 EJB: I've created one EJB which saves a record to a database with CMP (Transaction…
Big Bad Baerni
  • 996
  • 7
  • 21
9
votes
1 answer

Excluding module in EAR in JBOSS 7.1.1

I am trying to exclude the modules in JBOSS 7.1.1 and it seems like JBOSS just ignores my jboss-deployment-structure.xml. I have placed this in the META-INF of my EAR. Here's an example of my config file:
Aaron Tan
  • 103
  • 1
  • 4
9
votes
1 answer

How do I build and deploy a Remote EJB with Maven?

I want to use Maven to build and deploy a Remote EJB. Later, I'll want to be able to inject and use this EJB into a separate WAR project. So I thought I'll need a jar file that defines the interface, and use the jar in both projects (ejb and war). I…
Cos64
  • 1,617
  • 2
  • 19
  • 30
9
votes
2 answers

JAAS - Java programmatic Security in Java EE 6 (without @DeclareRoles)

Java Security is my main topic for the last couple of weeks and I archive the following: Custom Valve Authentificator (extends AuthenticatorBase) Custom Login Module for jBoss (extends UsernamePasswordLoginModule) Secured Endpoint (JAX-RS) My…
Tobias Sarnow
  • 1,076
  • 2
  • 12
  • 40
9
votes
3 answers

How to get entity manager or transaction in jpa listener

I was using Hibernate event listener like PostDeleteEventListener, PostInsertEventListener, PostUpdateEventListener to do some operations during insert, delete and update. Now I would like to use JPA listener to do this because if I like to move…
Muzy
  • 505
  • 2
  • 6
  • 16
8
votes
1 answer

Save blob using a stream from EJB to database (in a memory efficient way)

I want to save large attachments (500Mb, maybe, if possible, even > 2Gb) in a database. I know the pros and cons of doing so are discussed very frequently, but that's not the focus of my question. The conventional way of storing Blob fields in EJB3…
Thomas Walther
  • 526
  • 1
  • 6
  • 15
8
votes
2 answers

How do I shutdown JBoss AS 7.1.0 from the command line?

Possible Duplicate: How do I shutdown JBoss AS 7 server? I installed jboss-7.1.0 and linked it to my jboss symbolic link to upgrade it from jboss-7.0.2 on an Ubuntu server. Unfortunately my init.d script no longer works since it seems 7.1.0 does…
cmdematos
  • 883
  • 4
  • 12
  • 24
8
votes
2 answers

Spring module in JBoss 7

I'm trying to set up Spring 3.0.6 libraries as a module in JBoss 7. I have all of the jars in modules/org/springframework/main along with the following module.xml
Mark Sholund
  • 1,273
  • 2
  • 18
  • 32
8
votes
4 answers

How do I set pageEncoding for all my JSPs without touching each JSP file?

I’m using Java 6, JBoss 7.1.3 and Spring 3.2.11.RELEASE. Despite the fact that we set this in our application context
Dave
  • 15,639
  • 133
  • 442
  • 830
8
votes
2 answers

PostgreSQL DB performance issues with thousands of connections and distributed transactions

We are trying to evaluate PostgreSQL DB as an alternative to Oracle database in our application. We use PostgreSQL 9.5 which is installed on a Linux machine with 128 GBs of memory, 32 CPU cores and SSD storage. Connection pools and distributed…
Andriy Kharchuk
  • 1,165
  • 1
  • 13
  • 25
8
votes
1 answer

DeltaSpike ambiguous dependency between DefaultWindowContextQuotaHandler and JsfWindowContextQuotaHandler

I am using DeltaSpike 1.7.1 and CDI 1.0 (Weld 1.1.5) deployed on JBoss 7.1.1. It's a legacy project and I can't change the technologies we're using. The problem happens only when I deploy multiple WAR files (I am aware that CDI has/had a problem…
Diego Urenia
  • 1,620
  • 2
  • 21
  • 28