Questions tagged [embedded-jboss]
6 questions
7
votes
1 answer
Has anyone successfully run integration tests with Jboss embedded, Seam and Maven?
Have been trying to get integration testing working with my seam project and the Jboss embedded container but am not having much success. Have been doing a lot of reading and have been trying what is mentioned in this JIRA but am not having any…

Aaron Chambers
- 1,354
- 2
- 12
- 27
5
votes
3 answers
Help configuring JNDI with embedded JBoss in Tomcat 5.5.x
When I try the following lookup in my code:
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
return (DataSource) envCtx.lookup("jdbc/mydb");
I get the following exception:
java.sql.SQLException:…

Joe Dean
- 3,356
- 5
- 26
- 31
3
votes
1 answer
How can I start an embedded server in jboss cli from java code?
I want to check some cli commands if they are valid from java. I cant use the config file I'm currently running on. Additionally I can't use a running Wildfly at all, since I would have to do reloads every now and then.
So I want to use offline-cli…

Jbartmann
- 1,459
- 4
- 24
- 42
3
votes
1 answer
Getting started with embeddable JBoss EAP 6 / AS 7
I'm trying out embeddable JBoss with the EJBContainer.createEJBContainer API described in the spec (JSR 318: Enterprise JavaBeans, Version 3.1, ch. 22: Embeddable Usage), not any of the various predecessors using JBoss specific APIs.
Overview
When…

EndlosSchleife
- 515
- 7
- 19
1
vote
2 answers
Running JUnit tests with Embedded Jboss
I need to run junit tests for classes using ejb3 beans. In our case setting up jboss just for this purpose is not an option and therefore we need an alternative way to simulate the ejb communication. I've read that this should be possible with…
Kim
0
votes
1 answer
How to add a jar to the server lib for *embedded* JBoss?
I need to add a crypto provider to the embedded JBoss used by Seam for integration tests.
For the regular JBoss it's a simple matter, just drop the files into the /lib folder of the server instance. With the embedded JBoss, however, things seem to…

wishihadabettername
- 14,231
- 21
- 68
- 85