Questions tagged [tomee-8]

Apache TomEE 8 is the Java Enterprise Edition (JEE8) of Apache Tomcat that combines several Java enterprise projects. Use this tag to mark questions which clearly relate to TomEE versions >= 8.0.0-M1.

Definition

The latest release of Apache TomEE 8.0.2, which is based on Apache Tomcat 9.0.35 ...

Apache TomEE 8.0.2 can be downloaded at the official download page.

It combines several software components of different projects of the Apache Foundation:

  • Apache Tomcat
  • Apache OpenEJB
  • Apache OpenWebBeans
  • Apache OpenJPA
  • Apache MyFaces
  • Apache ActiveMQ
  • Apache CXF
  • Apache Derby
47 questions
3
votes
1 answer

Apache TomEE external ActiveMQ resource not rolling back in distributed transaction

I am trying to achieve a distributed transaction in Apache TomEE. In words, the flow is: A message reader (i.e. a message driven bean) reads from a queue (1) and processes one message triggering: one or more inserts/updates on a database…
Ramden
  • 87
  • 2
  • 10
3
votes
1 answer

Blank input String fields submitted as Empty Strings vs Null - JSF 2.3 MyFaces - Tomcat (TomEE)/9.0.12 (8.0.0-M1)

Empty form input fields bound to bean String type are received as empty strings ("") when the expected value is NULL. This is an old problem that seems to get recreated with each version of Oracle EL or Apache EL or Tomcat. @BalusC has addressed…
Ted Spradley
  • 3,414
  • 3
  • 22
  • 26
3
votes
1 answer

TomEE Embedded ActiveMQ Using JMSContext: No ManagedConnections available within configured blocking timeout ( 5000 [ms] )

My application is using ActiveMQ embedded with TomEE Plus-8.0.0-M1. The behavior of running out of pooled connections is the same regardless of using an explicitly defined javax.jms.ConnectionFactory using resources.xml or letting TomEE generate one…
Ted Spradley
  • 3,414
  • 3
  • 22
  • 26
2
votes
0 answers

Possible typo in openwebbeans.properties in openejb-core.jar?

I had been dealing with a deployment issue in a recent TomEE version (8.0.11) that I could not make sense of, to which I finally found a workaround but not quite sure about the integrity of the solution. Before getting into details, I'd like to…
alegria
  • 931
  • 2
  • 10
  • 25
2
votes
1 answer

Apache TomEE Webprofile 8 - Unable to Change JSon Rest Provider from Johnzon to Jackson

I have a web application deployed on Apache TomEE web profile 8.0.12. The application exposes a rest service that returns a json. The default library used from TomEE is Johnzon. I'm trying to change the default Johnzon json provider with the Jackson…
2
votes
1 answer

Running an application with TomEE Maven plugin gives me "Error waiting for multi-thread deployment of WAR files to complete"

The following error is given when I try to deploy a simple app (the default one that IntelliJ provides when you create a new Java EE Web App project): PS C:\Users\Anton\IdeaProjects\demo5> mvn clean; mvn package; mvn tomee:run [INFO] Scanning for…
cidra
  • 374
  • 1
  • 4
  • 16
2
votes
1 answer

Is it possible to use tomee with a newer version of tomcat than it was shipped with?

I'm maintaining a legacy server built on Tomee. Tomee releases lag behind the tomcat releases by a few months. We need to adhere to strict security policies in my company and even the most recent Tomee versions are raising security flags for having…
mmdanziger
  • 4,466
  • 2
  • 31
  • 47
2
votes
0 answers

What does "Some Principal APIs could not be loaded" during TomEE 8.0.x container startup signal?

While migrating several projects from a TomEE-7.x environment to the new TomEE-8.0.x container (8.0.0-M2), I'm finding this message in the logs during startup of the container INFO - Some Principal APIs could not be loaded: …
MWiesner
  • 8,868
  • 11
  • 36
  • 70
2
votes
1 answer

IllegalArgumentException: No handler can be found for the key 'javax.security.auth.Subject.container'

I am basically following this tutorial: https://www.ibm.com/developerworks/java/library/j-javaee8-security-api-4/index.html?ca=drs- My development environment: TomEE 8.0 M1 Plume pom.xml
ThanhLoyal
  • 393
  • 3
  • 11
2
votes
1 answer
2
votes
1 answer

TomEE arquillian embedded for Microprofile

I am switching from TomEE arquillian remote container to embedded. But my microprofile annotations are not recognized by embedded container. After that I noticed TomEE embedded container doesn't have classifier (…
Gnana
  • 2,130
  • 5
  • 26
  • 57
1
vote
0 answers

How to instruct apache Tomee 8 to use Jackson as provider for JAX-RS instead of default Johnzon for my application?

I've a simple test JEE application to test how can I force it to use Jackson instead of Johnzon as Jax-RS provider. Here are the classes that I've added to the project so far: @ApplicationPath("/api") public class HelloApplication extends…
M-Soley
  • 265
  • 1
  • 4
  • 13
1
vote
0 answers

Which version of the JAX-RS API is supported by TomEE 8.0? JAX-RS 2.0 or JAX-RS 2.1?

According to the TomEE Download Page, TomEE 8.0 implements the APIs of Java EE 8 and MicroProfile 2.0. Part of these specifications is the API JAX-RS 2.1. Recently, however, I ran into ClassNotFoundExceptions when trying to use the the Jersey…
Gerhard
  • 285
  • 3
  • 12
1
vote
1 answer

Gmail SMTP works in SpringBoot but not on Tomee Server

I am using exactly the same settings for javax Mail session, which works like charm in SpringBoot App but fails in Tomee Server. On SpringBoot's application.properties, I have the following settings (which…
Singam
  • 443
  • 3
  • 12
1
vote
1 answer

TomEE: Debug JWT Login

I would very much appreciate a little pointer to some TomEE/OpenEjb class for debugging my JWT rest service. I'm facing the problem that TomEE rejects access (403) to my test service despite having a JWT token in the request header. My test service…
Marcus
  • 71
  • 5
1
2 3 4