Questions tagged [apache-tomee]

Apache TomEE is the Java Enterprise Edition of Apache Tomcat that combines several Java enterprise projects.

Definition

From Wikipedia:

Apache TomEE (pronounced "Tommy") is the Java Enterprise Edition of Apache Tomcat (Tomcat + Java EE = TomEE) that combines several Java enterprise projects

Components

  • Apache Tomcat
  • Apache OpenEJB
  • Apache OpenWebBeans
  • Apache OpenJPA
  • Apache MyFaces
  • Apache ActiveMQ
  • Apache CXF
  • Apache Derby
955 questions
4
votes
1 answer

Deploying Wicket CDI on TomEE with OWB

I’m facing a problem when trying do deploy on TomEE (using OWB). I’m getting the following exception: javax.enterprise.inject.UnsatisfiedResolutionException: Api type [org.apache.wicket.cdi.AutoConversation] is not found with the…
ethanfar
  • 3,733
  • 24
  • 43
4
votes
3 answers

java.lang.IllegalAccessError while trying to test a jersey REST webservice deployed on TomEE

I have a Jersey-based REST webservice which is working fine when deployed on Glassfish. When I deploy the same war file on Apache TomEE+ 1.6 version, i get the exception java.lang.IllegalAccessError: tried to access method…
user3465324
  • 121
  • 2
  • 4
4
votes
2 answers

TomEE embedded and custom JAX-RS application deployment

I guys, I'm using TomEE 1.6.0 (jax-rs) with a custom Application : @ApplicationPath("/rest") public class Whatever extends Application {...} I do it in order to customize the base path for my REST services and to add a custom provider for every…
avianey
  • 5,545
  • 3
  • 37
  • 60
4
votes
0 answers

why transaction-type="JTA" cause "WebBeans context with scope type annotation @RequestScoped does not exist within current thread"?

At my persistence.xml when I change from transaction-type="RESOURCE_LOCAL" to transaction-type="JTA" i get this error: WebBeans context with scope type annotation @RequestScoped does not exist within current…
kuba44
  • 1,838
  • 9
  • 34
  • 62
4
votes
2 answers

how to encrypt the data source password or data source in tomee

I want to store password in encrypted format so it is not readable for other user. my tomee.xml file contains JdbcDriver com.mysql.jdbc.Driver JdbcUrl…
user2549122
  • 203
  • 1
  • 5
  • 18
4
votes
1 answer

How do I access TomEE's JTA transaction manager?

I have an application that uses Spring's declarative transaction management. How can I deploy this in a TomEE+ container so that the application uses TomEE's JTA transaction manager? More specifically, how can I refer to the built-in transaction…
Chris Owens
  • 1,107
  • 1
  • 10
  • 15
4
votes
1 answer

Which InitialContextFactory should I use?

I am working on an EJB 3 project using OpenEJB (TomEE++). I have a stateless session bean whose name has been specified with an annotation. @Stateless(mappedName="SlideService", name="SlideService") public class SlideService { public…
Parag
  • 12,093
  • 16
  • 57
  • 75
3
votes
1 answer

Force deploy of web application to fail on Tomcat

We are researching the possibility to migrate some web JSF applications from Payara 5 to Tomcat 9 (TomEE 8). We are using Java 11 and Java EE 7/8. Our applications connect to a backend server using RMI. At the moment, with Payara 5, when the code…
actunderdc
  • 1,448
  • 2
  • 11
  • 20
3
votes
0 answers

JSF Order of operations, should converters be applied before validators?

Are JSF converters supposed to be applied before validators? We have a situation where it seems it's being applied before the converter.
Jonathan S. Fisher
  • 8,189
  • 6
  • 46
  • 84
3
votes
1 answer

Tomcat/TomEE SSL config with Cloudflare

I have been having problems with the correct way to configure tomee with cloudflare provided SSL. First time doing this, so here is the situation: 1) First i create the keystore file: keytool -keysize 2048 -genkey -alias tomee -keyalg RSA -keystore…
niu
  • 95
  • 1
  • 7
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
2 answers

Why is TomEE not able to create JMS connection factory resource?

I am facing an issue, while trying to create a javax.jms.ConnectionFactory resource in TomEE server. i am using tomee.xml file to do write the resource entries. I am able to create javax.jms.Queue and Topic but not this. Getting an error while TomEE…
Jishnu S
  • 71
  • 7
3
votes
0 answers

TomEE | JNDI - javax.naming.spi.ObjectFactory Resource Creation

Okay, so I am very hopeful that this is possible. Many libraries offer implementations of javax.naming.spi.ObjectFactory (MongoDB, HikariCP). I am trying to take these examples, aimed at Tomcat, and code them in TomEE's resources.xml. TomEE veteran…
James
  • 329
  • 2
  • 12
3
votes
0 answers

How to add CorsFilter along with Security-constraints in apache tomee?

I have some RESTful web services developed in java using JAX-RS. I need to enable basic authentication on some of the methods. I am using apache tomee plume 7.0.2 as my application server. I used security-constraint tag in web.xml to secure methods.…
3
votes
1 answer

JPQL keep throwing The expression is not a valid conditional expression

I've reached dead end with this. I keep getting: Exception Description: Syntax error parsing [SELECT a FROM UserEntity u JOIN u.addresses a WHERE u.email =: email]. [52, 69] The expression is not a valid conditional expression. at…
Dux_inf
  • 101
  • 2
  • 8