tomee

What is the difference between Tomcat and TomEE, TomEE and TomEE Plus

本小妞迷上赌 提交于 2020-02-26 04:42:30
问题 I want to deploy EJB ear in a server but I am really confused about choosing a server among tomcat , TomEE and TomEE Plus . What are the differences between Tomcat and TomEE ? What are the new features in TomEE and TomEE Plus ? In which case(s) does it make sense to go for TomEE and TomEE Plus ? so I need some suggestions in order to be able to make an informed decision. 回答1: This is functions comparison matrix between Tomcat , TomEE and TomEE+ : (Source: http://tomee.apache.org/comparison

The absolute uri cannot be resolved in either web.xml or the jar files deployed with this application

橙三吉。 提交于 2020-01-14 10:39:49
问题 I'm converting a web application to use TomEE instead of Jboss 5.1.0 and seeing the following exception: ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].[mlui]- Servlet.service() for servlet [mlui] in context with path [] threw exception [The absolute uri: http://www.springframework.org/spring-social/social/tags cannot be resolved in either web.xml or the jar files deployed with this application] with root cause org.apache.jasper.JasperException: The absolute uri: http

NoClassDefFoundError: javax/faces/component/UIViewAction on TomEE startup

随声附和 提交于 2020-01-06 01:58:08
问题 I'm trying to migrate a web project (all JARs in WEB-INF/lib ) to a maven web project (all JARs in pom.xml ). This project uses following libraries: JSF 2.2 PrimeFaces BootsFaces OmniFaces It runs on TomEE. The following error appears on TomEE startup: NoClassDefFoundError: javax/faces/component/UIViewAction But JSF2 library is provided by TomEE on classpath. Here is my pom.xml . <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi

Using a differnent version of a jar than the one supplied with Tomee

假装没事ソ 提交于 2020-01-05 06:55:42
问题 I am trying to port a web-application to Tomee (Apache TomEE 1.5.2) but I have hit a major hurdle. The version of quartz our application uses clashes with the bundled version of quartz. Tomee comes with quartz-2.1.6.jar which is loaded as part of the container set-up as far as I can tell, But our application relies on a very old version of Quartz and we are unable to update at this point in time. From research I had assumed it would be enough to place the older quarts jar in the WEB-INF/lib

Using a differnent version of a jar than the one supplied with Tomee

余生长醉 提交于 2020-01-05 06:54:33
问题 I am trying to port a web-application to Tomee (Apache TomEE 1.5.2) but I have hit a major hurdle. The version of quartz our application uses clashes with the bundled version of quartz. Tomee comes with quartz-2.1.6.jar which is loaded as part of the container set-up as far as I can tell, But our application relies on a very old version of Quartz and we are unable to update at this point in time. From research I had assumed it would be enough to place the older quarts jar in the WEB-INF/lib

How to resolve 'Api type [java.util.Set] is not found with the qualifiers' Error when starting TomEE 1.6.0 plus?

自闭症网瘾萝莉.ら 提交于 2020-01-05 03:07:50
问题 Following on from this question TomEE on eclipse, How to call a remote EJB from a JSF Managed bean? I get the following error when I try to start the TomEE 1.6.0 plus server. What should i do? I have searched on the internet and found that this is because of Google Guava 15.0 While I understand what they are talking about I don't know how I can apply the solution to TomEE. The link explains that this error should go away by using open web 1.2.1. I can see that TomEE already uses open web 1.2

How to resolve 'Api type [java.util.Set] is not found with the qualifiers' Error when starting TomEE 1.6.0 plus?

守給你的承諾、 提交于 2020-01-05 03:07:17
问题 Following on from this question TomEE on eclipse, How to call a remote EJB from a JSF Managed bean? I get the following error when I try to start the TomEE 1.6.0 plus server. What should i do? I have searched on the internet and found that this is because of Google Guava 15.0 While I understand what they are talking about I don't know how I can apply the solution to TomEE. The link explains that this error should go away by using open web 1.2.1. I can see that TomEE already uses open web 1.2

TomEE arquillian additional library for Hibernate in Testing

孤街浪徒 提交于 2019-12-25 03:44:15
问题 I am trying to do integration testing for JPA ( hibernate and Hikari ) in TomEE 8. As per TomEE documentation I can additional libraries using additionalLibs in pom.xml ( surefire pluggin) , I have added hibernate and Hikari dependencies as mentioned below . But getting error while starting my test case. How to fix this issue ? <systemPropertyVariables> <tomee.additionalLibs> mvn:org.hibernate:hibernate-entitymanager:${hibernate.version} mvn:org.hibernate:hibernate-hikaricp:${hibernate

Eclipse: no shown variables in debugging Java EE

泪湿孤枕 提交于 2019-12-24 21:35:29
问题 Platform I am using : Fedora 20; mariadb-5.5.34-2.fc20.x86_64; Eclipse Kepler Service Release from www.eclipse.org I am implementing example See here and I am trying to manage to work the login interface. Actually I am configuring TomEE to use JAAS auth technology. Since I am having some troubles, I would like to solve them with the help of Eclipse debugging mode. To do that, I: setted breakpoint at line number 79 of LoginController.java; started TomEE in debug mode; executed login.xhtml in

How can I integrate Jersey with TomEE?

若如初见. 提交于 2019-12-24 13:57:55
问题 I attempt to deploy a very simple RESTful Web Service using Jersey 1.18 within Tomee 1.5.2 WebProfile. My project is fully inspired from the tomee-jersey-eclipselink example that I further simplified by removing the persistence part: the Web Service simply retuns "Hello, World!" @Path("/hello") @RequestScoped public class HelloService { public HelloService() { } @GET public String test() { return "Hello, World!"; } } My dependencies in my POM: <dependencies> <dependency> <groupId>javax<