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
36 questions
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
  • 3,552
  • 2
  • 24
  • 41
2
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
  • 41
  • 10
2
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,274
  • 3
  • 19
  • 23
2
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,274
  • 3
  • 19
  • 23
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
  • 7,913
  • 11
  • 31
  • 66
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
  • 303
  • 1
  • 11
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
  • 1,662
  • 3
  • 19
  • 48
1
vote
1 answer

How to cure ASM issues with TomEE 8.x, Hibernate 5.4 and Java 8?

According to this page, TomEE 8.0 is compatible with Java 8: http://tomee.apache.org/master/docs/java-compatibility.html However, I am getting some issue setting up a project with TomEE and Hibernate with java 8. I creating a project from the Maven…
1
vote
2 answers

Injecting a Resource in a javax.ws.rs.container.ContainerRequestFilter in TomEE 8

I'm trying to inject a DataSource into a ContainerRequestFilter in TomEE [Apache Tomcat (TomEE)/9.0.20 (8.0.0-M3]. However, I'm getting errors no matter what I do. I see that the JNDI name is being registered in TomEE…
Gerb
  • 583
  • 6
  • 22
1
vote
1 answer

How to differentiate TomEE different versions using jar files?

I have downloaded TomEE plume 8.0.0-M2, TomEE plus 8.0.0-M2, TomEE webprofile 8.0.0-M2, TomEE microprofile 8.0.0-M2 and OpenEJB Standalone 8.0.0-M2 (from http://tomee.apache.org/download-ng.html) I have installed all those TomEE versions and changed…
Mohit Rathore
  • 428
  • 3
  • 10
1
vote
0 answers

Resources auto linking to TomEE EJB beans

I am developing JMS based module which consume message from IBM MQ and persist the data. My app is running in TomEE 8.0.0-M2. While starting my application I notice that Auto-linking resource-ref 'openejb/Resource is happening against all my EJB…
Gnana
  • 1,662
  • 3
  • 19
  • 48
1
vote
1 answer

ActiveMQ configuration: BrokerXMLConfig activemq.xml - relative path file not found

I'm configuring an embedded instance of ActiveMQ using a WEB-INF/resources.xml file in my Dynamic Web Project that references an external activemq.xml file. ActiveMQ starts & functions as expected using an absolute path to activemq.xml placed in…
Ted Spradley
  • 3,274
  • 3
  • 19
  • 23
1
vote
2 answers

Microprofile | Config - Testing with dynamic values

I am using Microprofile Config (@Inject, not ConfigProvider) in my application. I have a configuration that takes different branches for different values. In order to test (Arquillian) all paths in my code, I need to be able to change this value at…
James
  • 197
  • 11
0
votes
0 answers

Start-up error with Websocket on TomEE 8.0.4

I have a class annotate for WebSocket on JavaEE project with TomEE 8.0.4 plume. On project start-up an exception is thrown and the project is not deployed. When I remove @ServerEndpoint("/socket") annotation, the project is deployed without any…
Ale
  • 182
  • 5
  • 13
1
2 3