TomEE embedded

2020-11-04 Thread Felipe Jaekel
Hi, I'm trying to use TomEE embedded as described here: https://tomee.apache.org/advanced/tomee-embedded/index.html My code looks like this: Configuration configuration = new Configuration(); configuration.setConf("src/main/tomee/conf"); try (final Container container = new

Problem running Spring Boot app with CXF

2019-11-27 Thread Felipe Jaekel
Hi, I have a Spring Boot (2.2.1) app that uses CXF for SOAP contract last web services. It works fine with Tomcat (9.0.24), but when I try to run it on TomEE (7.0.5, 8.0.0), I get the following exception: Caused by: java.lang.ClassCastException: Cannot cast

CXF default exception mapper config

2019-06-19 Thread Felipe Jaekel
Hi, I'm working in a REST service that throws WebApplicationExcepion with custom messages. I need pass the custom exception message to the client, but it is ignored. After some search, I found that the WebApplicationExceptionMapper was the responsible for ignoring the exception message, but it

TomEE maven plugin updateOnlyExtension

2019-05-09 Thread Felipe Jaekel
Hi, I'm testing the TomEE maven plugin on a JSF project. I added .xhtml. When I change a xhtml I see on the console [INFO] [Updating] /home/fjaekel/java/Eclipse/photon/workspace/PacsWeb/src/main/webapp/page/consultaExame.xhtml to

Snapshot download

2018-03-27 Thread Felipe Jaekel
Hi, Id like to test TOMEE-2181 on the current snapshot. Where can I download the distribution archive? I tried these two links: https://repository.apache.org/content/groups/snapshots/org/apache/tomee/tomee/7.0.5-SNAPSHOT/

Disable datasource matching

2018-03-20 Thread Felipe Jaekel
Hi, I noticed that when a datasoure is missing, tomee tries to use another existing one. I'd like to disable this behavior, so the server will throw an error. Motivation: I have a project that uses a mysql and a firebird datasource, it is hosted by my clients. Recently I had some trouble to

Re: Problem with KeyStore.load() after upgrading from 7.0.2 to 7.0.4

2017-10-31 Thread Felipe Jaekel
> 2. the tomcat server.xml configuration - to ensure it is the file one > which is loaded > > Romain Manni-Bucau > @rmannibucau | Blog | Old Blog | Github | LinkedIn > > > 2017-10-26 19:57 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>: > > Same result with 7.0.5-SNAPSHOT,

Re: Problem with KeyStore.load() after upgrading from 7.0.2 to 7.0.4

2017-10-26 Thread Felipe Jaekel
> > at > > org.apache.coyote.AbstractProtocol$ConnectionHandler.process( > AbstractProtocol.java:868) > > at > > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor. > doRun(NioEndpoint.java:1457) > > at > > org.apache.tomcat.util.net.SocketProcessorBase.run( &

Re: Problem with KeyStore.load() after upgrading from 7.0.2 to 7.0.4

2017-10-26 Thread Felipe Jaekel
hat is the stack you get and > > the calling code if you can share it. > > > > Romain Manni-Bucau > > @rmannibucau | Blog | Old Blog | Github | LinkedIn > > > > > > 2017-10-26 14:57 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>: > > > Hi, &g

Re: Problem with KeyStore.load() after upgrading from 7.0.2 to 7.0.4

2017-10-26 Thread Felipe Jaekel
es in last release. Also what is the stack you get and > the calling code if you can share it. > > Romain Manni-Bucau > @rmannibucau | Blog | Old Blog | Github | LinkedIn > > > 2017-10-26 14:57 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>: > > Hi, > > > > I

Problem with KeyStore.load() after upgrading from 7.0.2 to 7.0.4

2017-10-26 Thread Felipe Jaekel
Hi, I have a webapp where the user can upload a PFX file to digitally sign PDF files. After upgrading from 7.0.2 to 7.0.4 I'm getting this exception: java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: pad block corrupted First I

Re: 404 on web services when webapp is deployed as ROOT.war

2017-09-13 Thread Felipe Jaekel
; | Github <https://github.com/ > rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2017-09-13 15:56 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>: > > &

Re: 404 on web services when webapp is deployed as ROOT.war

2017-09-13 Thread Felipe Jaekel
t; > > > > > Le 12 sept. 2017 22:51, "Felipe Jaekel" <fkjae...@gmail.com> a écrit : > > Hi, > > I have several TomEE 7.0.2 plus instances on production running a single > webapp each, so I deploy it as ROOT.war (parallel deployment). I have > imple

404 on web services when webapp is deployed as ROOT.war

2017-09-12 Thread Felipe Jaekel
Hi, I have several TomEE 7.0.2 plus instances on production running a single webapp each, so I deploy it as ROOT.war (parallel deployment). I have implemented some web services, but when I try to access them I get a 404 error. If I deploy the webapp with a different name from ROOT I'm able to

Re: Unable to resolve driver class

2016-08-26 Thread Felipe Jaekel
Recently I had a similar issue when I moved Hibernate from webapp lib to server lib. All required jars where on the folder, but I kept getting class not found exceptions. It turned out the hibernate jar was corrupted during network copy, so you can check if you can open the oracle driver jar

Re: 7.0.1 leak?

2016-08-25 Thread Felipe Jaekel
see version when you go to root page in TomEE or catalina.out). > You > > can download from http://tomcat.apache.org/download-80.cgi. Drop this in > > TOMEE/lib. > > > > In TOMEE/bin/catalina.sh > > > > export CATALINA_OPTS="-Xmx1000m -Dfile.encoding=UTF-8

Re: Recommended Java 8 settings

2016-08-25 Thread Felipe Jaekel
ow/inline, > > On Thu, Jul 28, 2016 at 10:23 AM, Felipe Jaekel <fkjae...@gmail.com> > wrote: > > > I used to run TomEE 1.7.2 with java 7 and the following config: > > -Xms1G > > -Xmx3G (server has 4G) > > -XX:MaxPermSize=1G > > -XX:+UseTLAB > &

Re: Can we run Arquillian Test on a local(not unziped from internet) or real Tomee instance through TomEE Remote Adapter

2016-08-25 Thread Felipe Jaekel
Hi, If you want to use a real instance because of configuration and libs, you can copy them to your project and use the following properties: src/test/tomee/lib src/test/tomee/conf 2016-08-25 13:31 GMT-03:00 Lowe_Shi : > Hi everyone, > I'm new in Arquillian and Tomee. I have

Re: 1.7.x to 7.0.x undeployOldVersions not work anymore

2016-08-02 Thread Felipe Jaekel
Have you uncommented this line on system.properties? openejb.deploymentId.format = {appId}/{ejbJarId}/{ejbName} 2016-08-02 11:36 GMT-03:00 gchauvet : > After moving from 1.7.x to 7.0x.x, I've an issue with > undeployOldVersions="true" who don't work anymore unlike 1.7.x

Re: [TomEE 7.0.1] Is there any CL for monitoring?

2016-07-29 Thread Felipe Jaekel
I used to run Psi Probe on Tomcat. https://github.com/psi-probe/psi-probe When I migrated to TomEE It was not supported, but I think it has been solved... 2016-07-29 11:10 GMT-03:00 Steve Goldsmith : > There's several choices, but most involve JMX monitoring of some sort. I >

Recommended Java 8 settings

2016-07-28 Thread Felipe Jaekel
Hi, I used to run TomEE 1.7.2 with java 7 and the following config: -Xms1G -Xmx3G (server has 4G) -XX:MaxPermSize=1G -XX:+UseTLAB -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSClassUnloadingEnabled I upgraded to Java 8 to use TomEE 7.0.x, so I decided to try different settings: -Xmx3G

Re: 7.0.2-SNAPSHOT artifacts + maven

2016-07-27 Thread Felipe Jaekel
/rmannibucau> | Tomitriber > <http://www.tomitribe.com> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-07-26 22:11 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>: > > > Same thing > > > > I can access on the browser t

Re: 7.0.2-SNAPSHOT artifacts + maven

2016-07-26 Thread Felipe Jaekel
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-07-26 20:47 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>: > > > Hi, > > > > I'm

7.0.2-SNAPSHOT artifacts + maven

2016-07-26 Thread Felipe Jaekel
Hi, I'm interested in running 7.0.2-SNAPSHOT in production, but first I'd like to run my integration tests. When I try to import 7.0.2-SNAPSHOT artifacts with maven I'm getting this error: ArtifactDescriptorException: Failed to read artifact descriptor for

Re: TomEE 1.7.2 + Hibernate Validator 5.2.4

2016-07-22 Thread Felipe Jaekel
om/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-07-22 19:03 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>: > > > Hi, > > > > Is it possible to run TomEE 1.7.2 with Hibernate Validator 5.2.4? Reason > is > > that I'd like to have the same WAR running on 1.7.2 and 7.0.1. > > > > Thanks > > >

TomEE 1.7.2 + Hibernate Validator 5.2.4

2016-07-22 Thread Felipe Jaekel
Hi, Is it possible to run TomEE 1.7.2 with Hibernate Validator 5.2.4? Reason is that I'd like to have the same WAR running on 1.7.2 and 7.0.1. Thanks

Re: 7.0.1 leak?

2016-07-22 Thread Felipe Jaekel
Hi, I added the the heap dump args, next time JVM crashes I'll try MAT. I ran VisualVM with 7.0.1 and 7.0.2 locally 7.0.1 had 1655 org.apache.openejb.Logger instantes (39720 bytes) 7.0.2 had 54 org.apache.openejb.Logger instantes (1296 bytes) I'd like to run VisualVM remotely, but I was not

Re: 7.0.1 leak?

2016-07-21 Thread Felipe Jaekel
| Old Wordpress Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcl

Re: 7.0.1 leak?

2016-07-21 Thread Felipe Jaekel
/www.tomitribe.com> | JavaEE Factory > > <https://javaeefactory-rmannibucau.rhcloud.com> > > > > 2016-07-20 22:36 GMT+02:00 Steve Goldsmith <sgj...@gmail.com>: > > > > > This had to do with using logback and slf4j in my WAR. It was fixed in > > >

7.0.1 leak?

2016-07-20 Thread Felipe Jaekel
Hi, After upgrading from 1.7.2 to 7.0.1, server is crashing after about 10 hours running: OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0007, 1073741824, 0) failed; error='Cannot allocate memory' (errno=12) Found this thread:

Re: TomEE 7.0.1, problem with path

2016-07-20 Thread Felipe Jaekel
| Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-07-19 20:37 GMT+02:00 Felipe Jaekel <fkjae.

Re: TomEE 7.0.1, problem with path

2016-07-19 Thread Felipe Jaekel
gt; <http://www.tomitribe.com> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-07-19 15:58 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>: > > > I think it will be complicated to test on a plain tomcat because my apps > > use TomEE plus features...

Re: TomEE 7.0.1, problem with path

2016-07-19 Thread Felipe Jaekel
etup and naming with a plain tomcat? > > Stack should only imply tomcat code but im surprised issue wasnt identified > already if present > > Le 18 juil. 2016 21:03, "Felipe Jaekel" <fkjae...@gmail.com> a écrit : > > > I'm using the default catalina.propert

Re: TomEE 7.0.1, problem with path

2016-07-18 Thread Felipe Jaekel
log > <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com>

Connection pool exception after upgrading to 7.0.1

2016-07-18 Thread Felipe Jaekel
Hi, After upgrading from 1.7.2 to 7.0.1 I saw some connection exceptions on the log like this: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 35.540.502 milliseconds ago. The last packet sent

Re: Question on JtaQuery

2016-07-12 Thread Felipe Jaekel
.rhcloud.com> | Old Wordpress Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> | JavaEE Factory > <https://javaeefactory-rmannibucau.r

Question on JtaQuery

2016-07-12 Thread Felipe Jaekel
Hi, I have the following method on my JPA base DAO: protected int executeUpdate(final Query... queries) { int total = 0; try { beginTransaction(); for(final Query query : queries) { total += query.executeUpdate(); if(isLoggable()) { LogService.logUpdate(em, query,

Re: TomEE and Web Services

2016-06-29 Thread Felipe Jaekel
I was thinking about this today. Main reason would be don't need to manual copy system.properties and tomee.xml, avoiding issues if you forgot or didn't know that the files needed to be copied, specially when you are new to TomEE. 2016-06-29 10:46 GMT-03:00 Romain Manni-Bucau

Re: Use hibernate as jpa provider. Into tomee7 plus

2016-06-22 Thread Felipe Jaekel
Actually I'm using 5.0 org.hibernate hibernate-entitymanager 5.0.9.Final 2016-06-22 13:08 GMT-03:00 mauro2java2011 : > please the exact dependency ? > > dependency> > ??? > ??? > 5.1 > pom > test > > > > > > -- > View

Re: Use hibernate as jpa provider. Into tomee7 plus

2016-06-22 Thread Felipe Jaekel
Hi, I'm using Hibernate 5.1 with TomEE 7 plus as a maven dependency. No additional config required. 2016-06-22 8:50 GMT-03:00 mauro2java2011 : > Hi all. > Hi would try to use hibernate as jpa 2.1 provider into tomee 7. > I have questiobs on it: > > 1) hibernate jpa

Re: TomEE 7: problem with @WebXXX annotations

2016-06-13 Thread Felipe Jaekel
Tomitriber > <http://www.tomitribe.com> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-06-13 15:53 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>: > > > Hi, > > > > Sorry the issue is with parallel deployment. Same app works fin

Re: TomEE 7: problem with @WebXXX annotations

2016-06-13 Thread Felipe Jaekel
//www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-06-13 14:13 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>: > > > Hi, > > > > When I parallel deploy a web

TomEE 7: problem with @WebXXX annotations

2016-06-13 Thread Felipe Jaekel
Hi, When I parallel deploy a webapp on TomEE 7, @WebXXX annotations are ignored. It's the same issue I had when I tried to use TomEE 1.7.1 with symbolic links. Do I need additional config for TomEE 7? Thanks *Reference:* https://issues.apache.org/jira/browse/TOMEE-1370

Re: Arquillian + TomEE 7 remote

2016-06-01 Thread Felipe Jaekel
lt;https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-06-01 16:18 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>: > > > I think so, the war file I'm using

Re: Arquillian + TomEE 7 remote

2016-06-01 Thread Felipe Jaekel
Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> | JavaEE Fa

Arquillian + TomEE 7 remote

2016-06-01 Thread Felipe Jaekel
Hi, I'm migrating from 1.7.2 to 7.0. Webapp is running fine on a local installation, but arquillian tests are not working, I get a ConnectException. Do I need additional config for 7.0? Thanks *current config:* -1 -1 -1 plus src/test/tomee/bin src/test/tomee/conf src/test/tomee/lib true

Re: get {ejbJarId} value programmatically

2016-03-23 Thread Felipe Jaekel
> > 2016-03-23 14:22 GMT+01:00 Felipe Jaekel <fkjae...@gmail.com>: > > Hi, > > > > I use parallel deployment, and when I log exceptions I add the webapp > > version too... > > > > Currently I'm using this to get the version: > > > > >

How to remove a lib from arquillian tomee remote adapter?

2016-01-15 Thread Felipe Jaekel
Hi, On my production TomEE 1.7.2 plus I remove geronimo-javamail_1.4_mail-1.8.3.jar, then I use JavaMail 1.5 that is packed with the webapp. With arquillian tomee remote adapter I only know to add libraries. Is there a way to remove? Thanks

Re: what omnifaces version use with tomee 1.7??

2016-01-05 Thread Felipe Jaekel
yFaces 2.2.x or 2.1.x? > On Jan 4, 2016 7:27 AM, "Felipe Jaekel" <fkjae...@gmail.com> wrote: > > > I had problems with OmniFaces 2.x + TomEE 1.7.2 > > > > https://issues.apache.org/jira/browse/TOMEE-1634 > > > > Currently I'm using OmniFaces 1.11 &

Re: what omnifaces version use with tomee 1.7??

2016-01-04 Thread Felipe Jaekel
I had problems with OmniFaces 2.x + TomEE 1.7.2 https://issues.apache.org/jira/browse/TOMEE-1634 Currently I'm using OmniFaces 1.11 2016-01-04 9:57 GMT-02:00 Howard W. Smith, Jr. : > Mauro, the latest OmniFaces showcase should work with tomee 1.7.2. > > if you look at,

Re: CDI unit test

2015-12-08 Thread Felipe Jaekel
Done: https://github.com/fkjaekel/CdiViewScopeTest Thanks for your time 2015-12-08 7:38 GMT-02:00 Mark Struberg : > +1 for a sample please. Then it will be pretty easy to identify your > problem. > > txs and LieGrue, > strub > > > Am 07.12.2015 um 20:37 schrieb Romain

Re: CDI unit test

2015-12-08 Thread Felipe Jaekel
| Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> > > 2015-12-08 12:37 GMT+01:00 Felipe Jaekel <fkjae...@gmail.com>: > > > Done: https://github.com/fkjaekel/

Re: CDI unit test

2015-12-07 Thread Felipe Jaekel
t; Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com>

Re: CDI unit test

2015-12-07 Thread Felipe Jaekel
gt; > sure, you just need to start/stop the context using > > > WebBeansContext.current().getContextsService() then you have start/stop > > and > > > you pass ViewScoped.class as scope type. > > > > > > > > > Romain Manni-Bucau > > > @rmannibucau <

Re: CDI unit test

2015-12-04 Thread Felipe Jaekel
) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175) 2015-12-03 17:52 GMT-02:00 Romain Manni-Bucau <rmannibu...@gmail.com>: > Hi > > 2015-12-03 20:43 GMT+01:00 Felipe Jaekel <fkjae...@gmail.com>: > &

Re: CDI unit test

2015-12-04 Thread Felipe Jaekel
; > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitri

Re: CDI unit test

2015-12-04 Thread Felipe Jaekel
; @rmannibucau <https://twitter.com/rmannibucau> | Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> > > 2015-12-04 17:07

CDI unit test

2015-12-03 Thread Felipe Jaekel
Hi, I believe this was already discussed on this list, but I didn't found the topic on google. I'm able to test EJBs using the EJBContainer as mentioned on TomEE examples. But when I try to test a CDI bean I'm getting a UnsatisfiedResolutionException. I tried to add a beans.xml to

Problem wih context name not unique

2015-09-18 Thread Felipe Jaekel
Hi, I'm using parallel deployment with TomEE 1.7.2 for some months without problem, but since the end of the last month, sometimes I get an exception when I try to deploy a newer version, telling that the context name is not unique. But if after some minutes I try to deploy the same webapp with a

Re: Problem wih context name not unique

2015-09-18 Thread Felipe Jaekel
> On Fri, Sep 18, 2015 at 8:47 AM, Felipe Jaekel <fkjae...@gmail.com> wrote: > > > Hi, > > > > I'm using parallel deployment with TomEE 1.7.2 for some months without > > problem, but since the end of the last month, sometimes I get an > exception > > when I tr

Questions about TomEE embedded

2015-08-14 Thread Felipe Jaekel
Hi, I've been seeing some posts on the list about TomEE embedded, so I decided to search what was it. This concept is new to me, and the idea of not needing to have the server installed seemed very interesting. I read some articles about it, but I'd like to clarify some points: - Is it intended

Re: Context lookup problems

2015-07-27 Thread Felipe Jaekel
If you add a reference to the datasource on context.xml it will be available under comp/env too. This was useful to me when I needed that one of my webapps to work on Tomcat and TomEE. 2015-07-27 9:26 GMT-03:00 Arthur Portas arthur.por...@itsector.pt: Hi, try this JNDI string: java:openejb/

Re: Conditional properties to EntityManagerFactory

2015-07-17 Thread Felipe Jaekel
/Movies.java#L29-L30 See the sample (try running, test and explore it): https://github.com/apache/tomee/tree/master/examples/jpa-hibernate On Wed, Jul 15, 2015 at 2:36 PM, Felipe Jaekel fkjae...@gmail.com wrote: Hi, I need to enable Hibernate SQL output only when my webapp in running on my

Re: Conditional properties to EntityManagerFactory

2015-07-17 Thread Felipe Jaekel
On Fri, Jul 17, 2015 at 10:55 AM, Felipe Jaekel fkjae...@gmail.com wrote: Hi, Persistence is working fine... My demand is to enable hibernate's generated sql output only when the webapp is running locally. persistence.xml is not an option because I cannot

Conditional properties to EntityManagerFactory

2015-07-15 Thread Felipe Jaekel
Hi, I need to enable Hibernate SQL output only when my webapp in running on my dev environment. On Tomcat since I could do something like this: MapString, String properties = new HashMapString, String(); if(ServerUtil.isLocal()) { properties.put(hibernate.show_sql, true);

TomEE 1.7.2 + CXF 3

2015-07-08 Thread Felipe Jaekel
Hi, I'd like to run a webapp that uses CXF 3.1 on TomEE 1.7.2. I saw on previous messages from the list that is not possible to change CXF version from the server, but is there any workaround to use it inside WEB-INF/lib? If not, would this webapp have any relevant loss running with CXF 2.6?

Problem with NonexistentConversationException

2015-06-25 Thread Felipe Jaekel
Hi, I'm trying to migrate an existing JSF 2 webapp that currently runs on Tomcat 7 to TomEE 1.7.2. Unfortunately in some pages the developer created a request parameter named cid, causing a *NonexistentConversationException*. It will take a while until I rename this parameter everywhere it is

Re: Tomcat-8, java-8 etc

2015-03-26 Thread Felipe Jaekel
RPM packages would be highly appreciated too. Have you checked with Amazon to see if they pack TomEE for Amazon Linux? 2015-03-26 7:13 GMT-03:00 David Goodenough david.goodeno...@linkchoose.co.uk: OK. I thought there were DEBs for 1.7.1 somewhere on the apache site, but maybe I

Re: primefaces5-1.war not work

2015-03-23 Thread Felipe Jaekel
I pack PrimeFaces inside WEB-INF/lib, works fine with 1.7.1. 2015-03-21 7:20 GMT-03:00 mauro2java2011 mauro2java2...@gmail.com: Hi all. i have tired to use the primefaces 5.1 war into tomee but it not working. i ahave removed the fiels for validation 1.,1 ( already rpesent the validation 1.o

Help with parallel deployment + EJB webservice

2015-02-10 Thread Felipe Jaekel
Hi, I'm able to successfully use EJBs + parallel deployment with the following configuration: openejb.deploymentId.format = {ejbJarId}/{ejbName} openejb.jndiname.format = {deploymentId}{interfaceType.annotationName} Now I'd like to add a EJB webservice to this webapp that is parallel deployed,

Re: install tomee plume on existing tomcat

2015-01-27 Thread Felipe Jaekel
Hi, In that case I guess you need the drop-in WAR: http://tomee.apache.org/installation-drop-in-war.html 2015-01-27 2:57 GMT-02:00 rastinrastini programmer@gmail.com: hi all have an tomcat installed and now wanna to install tomee on it. download tar.gz and copied tomee from web apps of

Re: ActiveMQ web console

2015-01-07 Thread Felipe Jaekel
...@gmail.com: Hi, and *.log neither? Is it a portable message (ie not an ObjectMessage)? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-05 17:01 GMT+01:00 Felipe Jaekel fkjae...@gmail.com: Hi, I'll reply

Re: ActiveMQ web console

2015-01-05 Thread Felipe Jaekel
Exception occurred while processing this request, check the log for more information! error message, but there is nothing in catalina.out. Any ideas? Thanks 2014-10-23 14:55 GMT-02:00 Felipe Jaekel fkjae...@gmail.com: Removing activemq-spring-5.10.0.jar and activemq-web-5.10.0.jar from

Re: Eclipse TomEE Serve modules without publishing

2014-12-11 Thread Felipe Jaekel
Thanks for the tip. Does it work for Java classes too? 2014-12-11 14:35 GMT-02:00 Alexander Wagner alexander.wag...@inside-m2m.de : A simple workaround is to create a symlink from the deployed web project to the jsf module project: ln -s

Remote access to internal broker

2014-10-22 Thread Felipe Jaekel
Hi, Is it possible to access a queue inside TomEE internal broker from a regular Tomcat 7? Thanks

ActiveMQ web console

2014-10-22 Thread Felipe Jaekel
Hi, I saw Romain's post about ActiveMQ web console (http://goo.gl/JmyaXi), but I didn't figured out if I need to install something else and what is the url to access on the browser. Thanks

Re: Remote access to internal broker

2014-10-22 Thread Felipe Jaekel
Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-10-22 15:39 GMT+02:00 Felipe Jaekel fkjae...@gmail.com: Hi, Is it possible to access a queue inside TomEE internal broker

Re: ActiveMQ web console

2014-10-22 Thread Felipe Jaekel
deploy it) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-10-22 17:57 GMT+02:00 Felipe Jaekel fkjae...@gmail.com: Hi, I saw Romain's post about ActiveMQ web

Re: Listeners annotated outside webapp are ignored

2014-10-01 Thread Felipe Jaekel
- and context.xml if used) it will help us to check faster. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-09-30 21:42 GMT+02:00 Felipe Jaekel fkjae...@gmail.com

Re: Listeners annotated outside webapp are ignored

2014-10-01 Thread Felipe Jaekel
: https://github.com/rmannibucau 2014-10-01 14:31 GMT+02:00 Felipe Jaekel fkjae...@gmail.com: Hi, I've installed TomEE in */home/ec2-user*. This is the *ls -Al* output: lrwxrwxrwx 1 ec2-user ec2-user 24 Set 17 17:34 apache-tomee-plus - apache-tomee-plus-1.7.1/ drwxrwxr-x 10 ec2

Re: Listeners annotated outside webapp are ignored

2014-09-30 Thread Felipe Jaekel
latest version) 2014-09-30 11:12 GMT-03:00 Felipe Jaekel fkjae...@gmail.com: Hi, I also tried to add metadata-complete=false to web.xml, same thing. Here is the sample: WAR: https://dl.dropboxusercontent.com/u/66737052/mavenproject.war Source: https://dl.dropboxusercontent.com/u/66737052

Restart internal broker?

2014-09-25 Thread Felipe Jaekel
Hi, Suppose activemq crash for some reason. Is it possible to restart the internal broker without restarting the whole server? Thanks

Re: How to inject EJB into SOAPHandler?

2014-09-15 Thread Felipe Jaekel
/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-09-12 22:04 GMT+02:00 Felipe Jaekel fkjae...@gmail.com: Hi, According to this link http://stackoverflow.com/questions/14099350/how-to-inject-ejb-into-soaphandler it should be possible

DuplicateDeploymentIdException in parallel deployment

2014-09-08 Thread Felipe Jaekel
Hi, I'm migrating from Tomcat to TomEE. In Tomcat parallel deployment is working fine, but in TomEE I noticed two things: 1. An extra unversioned entry of my webapp appears in the manager application 2. If restart the server only the most recent version of the application starts.

Re: Problem with NoClassDefFoundError: CometProcessor

2014-09-05 Thread Felipe Jaekel
are using tomee + atmosphere runtime native + (tomcat7 native) comet? does your app require comet, because some of your enduser browsers require comet and do not support websocket? tomee/tomcat7 + atmosphere runtime + websocket works great On Thu, Sep 4, 2014 at 1:27 PM, Felipe Jaekel

Re: Does anyone uses atmosphere-runtime in production?

2014-09-05 Thread Felipe Jaekel
hmmm, what do you mean, when you say that it was impossible to use the server? server == tomcat7 or tomee 1.x? tomcat 7, I haven't started using tomee in production yet what do you mean when you say, removing the application with it from the server immediately solved the problem?

Problem with NoClassDefFoundError: CometProcessor

2014-09-04 Thread Felipe Jaekel
Hi, I'm trying to run an existing application in TomEE plus 1.7.0. It uses atmosphere runtime native 2.1.8. Unless I copy atmosphere JARs to TomEE lib folder, I get a java.lang.NoClassDefFoundError: org/apache/catalina/CometProcessor. The same application run fine in a regular Tomcat 7.0.55

Re: 1.6-SNAPSHOT unavailable (was: Using a different javax.mail provider)

2014-09-03 Thread Felipe Jaekel
I had a lot of strange issues with JavaMail in TomEE when I was migrating from a regular Tomcat 7. The solution was to delete geronimo-javamail_1.4_mail-1.8.3.jar, add geronimo-osgi-locator-1.1.jar, and finally add mail.jar to tomee_home/lib (when I added it to WEB-INF/lib some email routines of

Does anyone uses atmosphere-runtime in production?

2014-09-03 Thread Felipe Jaekel
Hi, Does anyone uses atmosphere-runtime in production with TomEE plus 1.7.0? I had some problems when I tried it in a regular Tomcat 7 some time ago. Thanks

Re: Upgrade myfaces version in Tomee 1.7.0

2014-08-29 Thread Felipe Jaekel
For better performance, I use these context parameters: context-param param-nameorg.apache.myfaces.COMPRESS_STATE_IN_SESSION/param-name param-valuefalse/param-value /context-param context-param param-nameorg.apache.myfaces.SERIALIZE_STATE_IN_SESSION/param-name param-valuefalse/param-value

Help with MDB ActivationConfig

2014-08-27 Thread Felipe Jaekel
Hi, When I try to set *redeliveryUseExponentialBackOff* on my MDB I'm getting the following exception: Exception: class org.apache.openejb.OpenEJBException: Unable to create activation spec: No setter found for the activation spec properties: [redeliveryUseExponentialBackOff]: Unable to create

Re: Best way to upgrade?

2014-08-26 Thread Felipe Jaekel
for you to try it, test it, reply with stacktrace if anything occurs, and/or share your library/dependencies list, and/or pom. On Fri, Aug 22, 2014 at 1:47 PM, Felipe Jaekel fkjae...@gmail.com wrote: What about older versions of libraries, do I need to delete them? I still haven't tested my

Best way to upgrade?

2014-08-22 Thread Felipe Jaekel
In Tomcat I used to check the file differences here http://tomcat.apache.org/migration-7.html#Upgrading_7.0.x and override the JAR files. I recently started to use TomEE Plus 1.6.0.2, and now I'd like to upgrade it to 1.7.0. What would be the best way to do it? Thanks