openejb Questions

3

Solved

I am facing a problem connected with deploying two application on Tomcat 5 server. When deploying and running the server I receive an error message, which also prevents the second application to be...
Brierroot asked 24/11, 2010 at 10:30

2

I am building a CLI tool, which integrates with several EJB modules. For this reason, I need to build a fat jar, which is then executed as a standalone application. However, executing this fat ja...
Mazdaism asked 17/2, 2017 at 9:17

3

Solved

I have created very simple app with persistence context (hibernate as provider) to read some value from database. I use Eclipse with Maven. First, I get Caused by: org.apache.openejb.OpenEJBExcep...
Targett asked 1/6, 2012 at 14:21

3

Solved

I am using openEjb in embedded mode to test a stateless session bean, which has an injected EntityManager. However, when I run the test, it fails because it could not initialize the application. Wh...
Lou asked 17/4, 2012 at 8:49

1

I encountered a very strange problem with TomEE 1.5.1 and VisualVM 1.7.0_09 on MAC OSX mountain lion. After TomEE loaded some webapp.Use VisualVM connect local TomEE process take long time, and af...
Middleaged asked 3/12, 2012 at 7:4

2

Solved

Summary I'm trying to run a Java web application JPA 2.0 example. The example application was written to run in Glassfish, using EclipseLink as JPA provider. I would like to convert it to run in T...
Andromache asked 20/5, 2012 at 23:3

4

Solved

I have two persistence.xml files, for the sake of testing: src/main/resources/META-INF/persistence.xml src/test/resources/META-INF/persistence.xml How to instruct Maven to ignore the first file...
Cargian asked 5/10, 2010 at 10:39

6

Solved

I am upgrading a code that uses Jersey JAX-RS to run on an Apache TomEE server. Unfortunately it throws errors when I try to use Jersey with TomEE. I am using eclipse and have the JAX-RS project f...
Gundry asked 14/5, 2012 at 12:41

4

Solved

How can I configure OpenEJB logging format? This is what what I see now in logs: [...] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec Running com.XXX.FooTest Apache Open...
Microclimate asked 14/11, 2010 at 9:32

1

Solved

While executin the test (test looks like this: http://tomee.apache.org/examples-trunk/application-composer/README.html), I always get: java.lang.NoSuchMethodError: org.apache.openejb.jee.ManagedBe...
Shick asked 8/12, 2012 at 19:5

3

Solved

I am doing a small research on Unit Testing of EJB 3.1. At the end my goal is to produce a easy to use solution for Unit Testing EJB 3.1. I do not have much knowledge with big EJB implementations...
Deplume asked 14/10, 2011 at 9:32

1

Solved

I understand that Apache TomEE is a regular Tomcat installation with openejb as a web app. I am trying to understand how all this bootstraps. I will try and ask a few directed questions: Is it i...
Mello asked 18/4, 2012 at 8:42

4

Solved

Can anyone tell me if it is currently possible to "glue together" a partial Java EE 6 Web Profile over Jetty? I've found a lot of articles about integrating standalone EJB 3 containers, JTA provid...
Curium asked 15/4, 2011 at 14:33

2

Solved

I'm a web developer ended up in some Java EE development (Richfaces, Seam 2, EJB 3.1, JPA). To test JPA I use hypersonic and Mockito. But I lack deeper EJB knowledge. Some may argue that we should...
Subcontraoctave asked 9/10, 2011 at 7:1

0

I'm running Jetty (from Maven) with OpenEJB inside. The problem is that they conflict through JNDI context. The problem was explained some time ago by Stephen Connolly with a solution. The solution...
Kacerek asked 2/3, 2011 at 20:7

1

Solved

What value should I place into <jta-data-source> of my persistence.xml? In glassfish admin panel I created a datasource name "abcDS". In my jndi.properties (inside src/test/resources) I defi...
Sharp asked 29/10, 2010 at 11:16

1

Solved

This is my persistence.xml: <persistence> <persistence-unit name="MyUnit"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <jta-data-source>jdbc/abcDS&...
Stagner asked 29/10, 2010 at 14:42

6

Solved

can we replace Glassfish with Tomcat/OpenEJB for lighter applications? What is the performance of OpenEJB comparing to glassfish as EJB container. What is the restrictions of OpenEJB instead of gl...
Sagacity asked 26/7, 2010 at 4:53
1

© 2022 - 2024 — McMap. All rights reserved.