Version 4.2.x of the JBoss Application Server.
Questions tagged [jboss-4.2.x]
177 questions
15
votes
2 answers
How to limit the number of MDB instances listening to a Jboss JMS queue
I'm having a problem with the following setup:
A Java application send email msg to a JMS queue, then an MDB listening to the queue get the email msg with the onMessage method, it open a connection on the Gmail SMTP, send the email to the SMTP and…

Alain
- 237
- 1
- 4
- 13
14
votes
1 answer
JBoss: WAR file in EAR can't find JAR library on classpath
I am having a problem deploying an ear with bundled wars, jars, and configuration files (.properties files) on JBoss 4.3-eap. Here is my ear structure:
+app.ear
+lib
*.jar libraries that the war's use
+classes
…

Mike
- 307
- 1
- 4
- 10
9
votes
2 answers
java.lang.NoSuchMethodError during invoking quartz job declared inside jboss mbean
I've two ears deployed on one jboss instance. I'm using quartz configured inside mbean. Both of the ears are using StatefulJobs. Unfortunately one is using library antlr-runtime-3.0, but the second one antlr-runtime-3.2. When JBoss is invoking the…

Marcin Erbel
- 1,597
- 6
- 32
- 51
8
votes
2 answers
Target runtime JBoss v4.2 is not defined
I have imported a project and got the error "Target runtime JBoss v4.2 is not defined".
I have added the JBoss 4.2 Runtime library. However, the error is still there.
In my Java Build Path, I have the followling libraries added already.
What other…

Johnny
- 633
- 3
- 9
- 21
7
votes
2 answers
How to forward from a JAX-RS service to JSP?
JBoss Version: 4.2.3GA. This works in apache tomcat 6.0. In JBoss, I had to add the following setting: -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=false to get the forward to work, but now when I load the page I get the error below. It feels…

Bob B
- 4,484
- 3
- 24
- 32
6
votes
1 answer
Impossible tech stack? Jboss/Seam/Resteasy/Hibernate/Maven
Hello good people of StackOverflow!
I've tried many tutorials on using JBoss Seam and looked at the "Restbay" example in the Seam distro. But I cannot get a working REST web service with the following tech stack:
JBoss 4.2.3
Seam 2.2.*
Resteasy…

Reuben Peter-Paul
- 1,550
- 3
- 15
- 25
4
votes
2 answers
Try to deploy a web application using latest hibernate version to jboss4.2.3.GA
I am trying to deploy a web application using hibernate to Jboss 4.3.2.GA but I am receiving following error.
Invocation of init method failed; nested exception…

dursun
- 1,861
- 2
- 21
- 38
4
votes
1 answer
How to get the current HttpServletResponse in JBoss 4.2.3.GA login module
How can I get the current HttpServletResponse in JBoss 4.2.3.GA login module?
For HttpServletRequest I can do:
PolicyContext.getContext("javax.servlet.http.HttpServletRequest");
Have tried changing the string but no luck, an exception is thrown.
Is…

Jorge Ferreira
- 96,051
- 25
- 122
- 132
4
votes
1 answer
Improving Jboss 4.2 very slow startup
Jboss takes hell lot of time for startup. Same Jboss settings and app takes no time to start in my collegaue system.
E:\jboss-4.2.2.GA\bin>run -c ags7.3Ingrn
===============================================================================
JBoss…

Rakesh Goyal
- 3,117
- 8
- 39
- 69
4
votes
1 answer
JMS bridge between HornetQ (Jboss EAP 6.3) and Jboss messaging (Jboss 4.2.2)
I try to setup JMS bridge between HornetQ built in Jboss EAP 6.3 and Jboss Messaging topic hosted on Jboss 4.2.2. The bridge is configured on the Jboss EAP 6.3 side - in standalone.xml and the aim is to listen to local HornetQ topic and publish to…

Vit Ias
- 725
- 4
- 16
4
votes
3 answers
RMI calls by multiple concurrent users to JBoss AS 4.2.3
I want to write a web frontend that wants to "propagate" the HTTP authentication received from the browser to a JBoss AS 4.2.3 that exposes numerous @Remote interfaces.
Consider the following trivial simulation of RMI call concurrency:
Properties…

Bittrance
- 2,202
- 2
- 20
- 29
4
votes
1 answer
Building with jdk 1.7, Unable to call web service using jboss 4.2.3.GA ( runtime environment java 1.7). Error: Cannot build JAXB context
In eclipse, I am building my project with jdk 1.5, I am using jre 1.5 and it is working fine with jboss 4.2.3.GA (if i am using jboss runtime environment java 1.5)...no issue
In eclipse, I am building my project with jdk 1.7, I am using jre 1.7 and…

cavi
- 41
- 1
- 3
4
votes
3 answers
JBOSS deployment having HibernateException on oracle major version 11
Trying to deploy application ear file with following settings in JBoss-4.2.3.GA
jboss-app.xml
com.xxxx.xxx:loader=
java2ParentDelegation=false
…

raksja
- 3,969
- 5
- 38
- 44
3
votes
3 answers
Custom JBoss DataSorurce password encryption?
I'm working with JBoss 4.2.1GA.
As you might now there is a way to avoid having JBoss DataSoruce's password in plain text. However this technique has a fundamental security flaw which becomes obvious when you look at how…

Chepech
- 5,258
- 4
- 47
- 70
3
votes
2 answers
JBoss 4: where do I deploy global filters?
I want to use "global" HTTP filters.
Therefor, I edited deploy/jboss-web.deployer/conf/web.xml and added:
StatisticsFilterHitCount
…

Ivivi Vavava
- 723
- 1
- 8
- 11