Questions tagged [embedded-container]
12 questions
3
votes
1 answer
WebSphere 8.5: unit testing & embeddable container
I'm trying to run the following unit test in a Maven project using a WebSphere 8.5 embeddable container:
import javax.ejb.embeddable.EJBContainer;
...
private EJBContainer ec;
@Before
public void setUp() {
final Map…

Puce
- 37,247
- 13
- 80
- 152
2
votes
1 answer
Spring Boot: Embedded Tomcat using RewriteValve
Background
I am using Spring Boot 1.4 in a simple Java application. As an experiment, I have decided to write my own servletContainer() bean to inject Tomcat's RewriteValve into the container. This valve is added as global context valve, and should…

Misagh Moayyed
- 4,154
- 2
- 15
- 25
2
votes
0 answers
Cannot start Spring Boot without an embedded container
I cannot deploy a Spring Boot war file without Embedded Container errors. I followed the instruction on the spring.io (http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#howto-create-a-deployable-war-file) site and attempted…

edward saab
- 31
- 4
2
votes
0 answers
Is embeddable container working with JBoss 7?
Some time ago, I tried out the embeddable container API of EJB 3.1 with GlassFish.
Now I tried to do the same thing with JBoss 7.1, but could not make it work. I spent some time researching the problem, but only found others having this problems and…

Alexander Rühl
- 6,769
- 9
- 53
- 96
1
vote
3 answers
Why testing ejb3 in a embedded container?
It could be a stupid question since almost everyone is preffering embedded container technique to test EJBs, but I have to clarify this because of my lack of experience.
Also, some my argue that embedded containers my not reproduce the real life…

mariu
- 151
- 2
- 3
- 10
1
vote
0 answers
How to include JNDI context file into spring-boot embedded container
I have a context file which contains a JNDI datasource information as follows

Achaius
- 5,904
- 21
- 65
- 122
1
vote
0 answers
Grails 3.0.15 running embedded war / jar vs running in a container
Is running Grails in embedded mode (meaning the server is embedded in the application) safe and ready for production?
Are there any known issues that shall prevent from using this mode?
Is embedded jar better than embedded war file?

galusben
- 5,948
- 6
- 33
- 52
1
vote
2 answers
Methods of testing EJB 3.1
I am working currently with the theme of testing EJBs in the version 3.1 and I do have only some experience with it. So I take look at the literature and found out three different ways/methods of testing EJBs (Version 3.0 and newer)
1) Use of simple…

FredFloete
- 627
- 2
- 13
- 33
0
votes
1 answer
Embedded container tests Spring Boot fail on bitbucket pipeline
Running Playtika embedded postgres container cause bitbucket pipeline to fail with
com.github.dockerjava.api.exception.DockerException: Status 403: {"message":"authorization denied by plugin pipelines: Invalid content length provided"}
The full…

Javarian
- 127
- 2
- 13
0
votes
1 answer
Getting cryptic "org.apache.openjpa.persistence.PersistenceException: null" exception when using entity manager with OpenJPA in embedded TomEE 8.0
I was trying to write tests for a Java Enterprise web application developed using the Apache TomEE Maven plugin. The application works just fine and everything seems to be functioning correctly. I thought of using JUnit Jupiter 5 and the…

Alex
- 79
- 1
- 9
0
votes
2 answers
Exception Received When Not Using Embedded Tomcat Servlet Container in spring boot
I am using Spring Boot for the first time and I've noticed something odd. The starter web dependency has the starter Tomcat in it, but I am just making a normal WAR. I excluded Tomcat and then began receiving the following while building:
[INFO]…
user2252882
0
votes
3 answers
Is JavaEE6 (embedded)container implementations available for experiments?
Is javaee6/ejb3.1 implementation available from openejb?
Is javaee6/jpa2.0 implementation available from openjpa?
I am trying to evaluate javaee6 and ejb3.1 and jpa2.0 with maven as a build tool; so trying to find the maven artifacts for it. Please…
user237673