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

Deploying a Jersey webapp on Jboss AS 7

Currently running some webapps on Jboss AS 4/5 and I am testing migration to jboss7. When I try to deploy a jersey based webapp on JBoss AS 7 (full profile with standalone-preview config file), I…
DOS
  • 543
  • 1
  • 5
  • 9
30
votes
2 answers

How do you generate module dependencies in MANIFEST.MF for JBoss AS 7 with maven?

In JBoss AS 7, a Web application that depends on libraries contained in the AS, must declare those dependencies in META-INF/MANIFEST.MF like this: Dependencies: Example: Dependencies: org.slf4j (This is comparable to Import-Package:…
migu
  • 1,371
  • 1
  • 14
  • 23
30
votes
4 answers

Exclude JPA 2.0 from JBoss 7.1 in order to use hibernate 4.3

I want to use hibernate 4.3 for its multitenancy features in JBoss 7.1. I managed to include it in my war by adding the following lines in jboss-deployment-structure and adding a…
andreadi
  • 1,953
  • 1
  • 20
  • 35
30
votes
5 answers

G1 garbage collector: Perm Gen fills up indefinitely until a Full GC is performed

We have a fairly big application running on a JBoss 7 application server. In the past, we were using ParallelGC but it was giving us trouble in some servers where the heap was large (5 GB or more) and usually nearly filled up, we would get very long…
Jose Otavio
  • 303
  • 1
  • 3
  • 6
30
votes
10 answers

A component named 'XXX' is already defined in this module in JBoss 7.1.1

I did not create the spring bean name with TimerServiceDispatcher in my application. But, the JBoss throw exception because of TimerServiceDispatcher is already defined in this module. I don't know what is the problem. What I am missing? What I need…
Zaw Than oo
  • 9,651
  • 13
  • 83
  • 131
27
votes
6 answers

JBoss 7.x or JBoss EAP 6.x

I am installing JBoss but I don't understand which version to choose. Should I download JBoss 7.x or the JBoss EAP 6.x? What is the difference?
LuckyLuke
  • 47,771
  • 85
  • 270
  • 434
27
votes
4 answers

JBoss 7, java.lang.OutOfMemoryError: PermGen space

I've hit this error where the CPU usage goes to its limits and JBoss needs a restart (java.lang.OutOfMemoryError: PermGen space). I found a solution for older JBoss version to increase the MaxPermSize. I guess the same goes for JBoss7. Which value…
MaVRoSCy
  • 17,747
  • 15
  • 82
  • 125
26
votes
1 answer

Best Practice for loading 3rd party JARs in JBoss AS7 standalone deployment?

What is the best practice for loading 3rd party JARs in JBoss-as-7.0.x standalone deployment? I have tried: deploying each JAR as an independent module with it's own module.xml desriptor; deploying the JARs in the WEB-INF/lib directory of a…
travega
  • 8,284
  • 16
  • 63
  • 91
26
votes
2 answers

cleanest way to restart jboss using a script

I am using " ./standalone.sh -c standalone-full.xml " to start JBOSS. What is the cleanest way to restart jboss in this case? Any scripts that you can share?
Saqib Ali
  • 3,953
  • 10
  • 55
  • 100
26
votes
2 answers

Unable to login to the jboss 7.1 admin console on windows

Unable to login to the jboss 7.1 and 7.1.1 admin console on windows Server 2008 HPC Edition. i try also to add a new user(add-user.bat) nothing. Even the default user: admin=admin doesn't work. This problem happens on domain and standalone.
Festus Tamakloe
  • 11,231
  • 9
  • 53
  • 65
26
votes
10 answers

How to retrieve the datasource used by a persistence unit programmatically

...without actually reading and parsing the persistence.xml I can retrieve the name of the persistence unit of an EntityManager using the properties of it's factory. I can retrieve the available datasources using the jboss-as-controller-client. But…
kostja
  • 60,521
  • 48
  • 179
  • 224
24
votes
4 answers

Cannot make @ManyToOne relationship nullable

I have a many-to-one relationship that I want to be nullable: @ManyToOne(optional = true) @JoinColumn(name = "customer_id", nullable = true) private Customer customer; Unfortunately, JPA keeps setting the column in my database as NOT NULL. Can…
vcattin
  • 687
  • 1
  • 4
  • 15
24
votes
1 answer

Is it possible to deploy an exploded war file (unzipped war) in JBoss AS 7

I Have no problem in deploying an 'app.war' file when copied into the below deployments folder : "jboss-as-7.0.0.Final\jboss-as-7.0.0.Final\standalone\deployments"; JBoss7 would deploy it properly. I would like to do the same for an exploded folder…
Vinay Rao
  • 291
  • 1
  • 3
  • 8
24
votes
3 answers

How to start JBOSS 7 in debug mode?

I am getting an error(JBAS014750) when i deploy an app in JBOSS 7.So i need to run it in debug mode to find the exact issue.Any help will be appreciated.
Prasobh.Kollattu
  • 1,665
  • 1
  • 22
  • 32
23
votes
1 answer

No managed connections available within configured blocking timeout (JBoss 7 and Postgres)

Periodically i get error : ERROR JDBCExceptionReporter --> javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:jboss/datasources/myDB 08:12:05,928 ERROR…
Benjamin
  • 531
  • 2
  • 6
  • 18