.
I made a sample maven project
https://bitbucket.org/zmirc/tomee-omnifaces-bug
https://bitbucket.org/zmirc/tomee-omnifaces-bug
You can see that I tried to do it in 3 ways, but I keep getting the same
error.
If you just comment Omnifaces from pom.xml, you can see that TomEE starts
properly
Thank you, hwaastad!
It works with Omnifaces 1.7. Pfew! :)
I saw Romain's article with @Jars, but I can't use dev TomEE in production.
--
View this message in context:
A huge thank you to everyone involved.
I am using TomEE for all my projects and my customers' projects.
Keep going with the great work.
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/Apache-TomEE-1-7-0-Release-tp4671162p4671260.html
Sent from the TomEE Users
.
From: Romain Manni-Bucau [via OpenEJB]
ml-node+s979440n4669654...@n4.nabble.com
To: zmirc m_chi...@yahoo.com
Sent: Monday, May 26, 2014 7:35 AM
Subject: Re: webbeans on high load: java.util.EmptyStackException
and you can't reproduce it ina smaller project?
PS
Hi!
I am using @RequestScoped.
I've tried to download the JAX-RS snapshot from tomee.apache.org, but I got
this error:
500 - Internal Server Error
Exception during reading up an item from FS storage!
--
View this message in context:
Nice! The new snapshot doesn't have the web.xml filter problem.
The java.util.EmptyStackException isn't thrown neither.
It seems perfect and stable! Thank you, Romain!
I am experiencing a memory leak in high load after 10 minutes (it happens
the same with 1.6.0 JAX-RS), but it might be in
: Romain Manni-Bucau [via OpenEJB]
ml-node+s979440n4669651...@n4.nabble.com
To: zmirc m_chi...@yahoo.com
Sent: Sunday, May 25, 2014 5:59 PM
Subject: Re: webbeans on high load: java.util.EmptyStackException
Hi
do you have a working sample (mvn package tomee:run to start it)?
Romain Manni-Bucau
Hi everyone!
I'm simulating high load on a Java EE application running on Tomee 1.6.0.
The load is: 9 API requests / millisecond, ~540.000 requests / minute,
running just on 1 Tomee instance that's running on my personal machine.
Until I increased the load to this point, I didn't have any
That's how the error looks when Tomcat is set on NIO (in the previous case it
wasn't).
It is almost the same, just 1-2 lines differ at the end, but I thought I
might help to identify the cause.
24-May-2014 08:16:47.323 WARNING [http-nio-8080-exec-1]
Here is StatelessSecurityFilter Java class that it's mentioned in the
stacktrace, so that you can see what happens there as well.
tomee-EmptyStackException-onHighLoad-StatelessSecurityFilter.java
Hi!
I have been using NetBeans for years. The latest versions made me love it
even more.
I'm using it (myself and the companies I work with) for:
- Java EE projects
- Java FX projects
- HTML CSS JS projects
- PHP projects
- many other things
I'm using using Tomee in NetBeans by adding it as a
After spending a couple of hours trying to achieve this in 1.6.0, I've
finally found this thread. :(
I look forward to having the stable version 1.6.1.
--
View this message in context:
http://openejb.979440.n4.nabble.com/tomee-jax-rs-and-logback-tp4667241p4669344.html
Sent from the OpenEJB
Any information on this, please?
It would be really appreciated.
--
View this message in context:
http://openejb.979440.n4.nabble.com/Release-date-of-1-6-1-GA-stable-tp4667939p4668039.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Hi awesome team of Tomee!
I'm really interested in a stable version of 1.6.1, because I'm currently
using 1.6.0 in production, but 1.6.1-SNAPSHOT in tests because of some
problems.
This is not a great scenario, therefore I'd like to run both production and
tests with the same stable version.
Is
Broken link. Scenario to reproduce:
1. Go to http://tomee.apache.org/downloads.html
http://tomee.apache.org/downloads.html
2. Click on all previous releases and current snapshot builds.
3. Click on 1.6.0 or 1.5.2 from Released section.
4. Scroll down to Examples section, and click on Browse
Very good post! I was thinking the same.
Tomee team should be really proud and let everyone know about their effort.
--
View this message in context:
http://openejb.979440.n4.nabble.com/Missing-TomEE-1-6-0-announce-at-http-tomee-apache-org-index-html-tp4666596p4666599.html
Sent from the
I've put all the necessary steps in a StackOverflow answer, so that others
could see it easier.
Here it is: http://stackoverflow.com/a/19653753/1385906
http://stackoverflow.com/a/19653753/1385906
--
View this message in context:
Happy news - better integration with NetBeans:
https://blogs.oracle.com/geertjan/entry/tomee_integration_in_netbeans_next
--
View this message in context:
http://openejb.979440.n4.nabble.com/Happy-news-better-integration-with-NetBeans-tp4665782.html
Sent from the OpenEJB User mailing list
Hi!
Mark might have a good point, which can be shown with the current example
(see code).
By removing @Asynchronous from this EJB, Tomee does blocks for ever.
If @Asynchronous is not commented out, then it works perfectly, with async
doingHardWork() method being executed after the @PostConstruct
Hi!
Shouldn't async methods not block even if they are called in @PostConstruct?
Here is the sample code, which blocks if ran in Tomee 1.6.0 2013.10.23 / 05
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import javax.ejb.Asynchronous;
Nice trick!
Thanks a lot for the sample and for the quick answer.
--
View this message in context:
http://openejb.979440.n4.nabble.com/Async-call-blocks-in-PostConstruct-tp4665703p4665707.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Can you please elaborate a little?
Isn't what's on trunk available in the snapshot version?
How can the app configuration be done?
From: Romain Manni-Bucau [via OpenEJB]
ml-node+s979440n4665584...@n4.nabble.com
To: zmirc m_chi...@yahoo.com
Sent: Sunday
Moreover, if I don't specify JAX-RS in web.xml and I try to extend JAX-RS
Application, Tomee doesn't do anything at all, and returns 404.
Yet...this example works on plain Tomcat 7.0.42.
I've attached both maven projects, for easier access.
tomee-jersey-bug-extending-Application.zip
than a plain Maven project
with Jersey and Jackson, a web.xml file, an entity and a boundary (JAX-RS)
class. The project is tested through NetBeans 7.4 RC1.
https://github.com/zmirc/tomee-jersey-bug
https://github.com/zmirc/tomee-jersey-bug
I know there is Tomee + Apache CXF, but Jersey is what
Hi!
Here it is the updated source:
https://github.com/zmirc/tomee-jersey-bug
I stopped trying Jersey JAX-RS 2, and I downgraded, but now I get:
Oct 13, 2013 3:07:08 PM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.lang.RuntimeException
...@n4.nabble.com
To: zmirc m_chi...@yahoo.com
Sent: Sunday, October 13, 2013 3:50 PM
Subject: Re: Tomee 1.6.0 2013.10.05 + Jersey 2.3.X - openejb class loader error
you didn't configure jersey to use a provided bean manager (see -D
com.sun.jersey.server.impl.cdi.lookupExtensionInBeanManager
Hi!
I've been trying the whole day to get Tomee 1.6 JAX-RS distribution having
Jackson as JaxbJson provider, but with no success.
What am I missing? I've read all possible resources about it.
Here's the sample project:
https://github.com/zmirc/tomee-cxf-jackson-sample
https://github.com/zmirc
classes in a package or something similar?
It's really nice that it can work, but it's a true pain to have manual config
for each resource class.
From: Romain Manni-Bucau [via OpenEJB]
ml-node+s979440n466558...@n4.nabble.com
To: zmirc m_chi...@yahoo.com
Sent
I would really want to know that, too.
--
View this message in context:
http://openejb.979440.n4.nabble.com/1-6-0-release-plans-tp4665437p4665447.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Everything seems to work flawlessly now with 1.6.0 from 2013.10.05. I love
it!!!
Moreover,
AbstractHttp11Processor-process-Error-processing-request-td4665383.html
http://openejb.979440.n4.nabble.com/AbstractHttp11Processor-process-Error-processing-request-td4665383.html
doesn't appear
This error appeared once during deployment.
I did a lot of tries and deployed / redeployed 15-20 times, but it didn't
appear again.
Maybe the stack trace will help.
The interesting part is: the error complains about EJB EmailC, but the
second log line (Retrieved 0 unsent e-mails from DB) shows
Hi!
I've just seen the following log in one of the production servers running
Tomee 1.6.0 2013.09.20.
It's the first time I see this error. It appeared just once.
The first line (DEBUG) is a Filter that redirects from non-www to www.
That's it. The second one (the error) might be executing the
methods
that shouldn't exist anymore in Tomee, because that project was undeployed
before the new one was deployed.
Thank you for such a nice and fast support!
From: Romain Manni-Bucau [via OpenEJB]
ml-node+s979440n4665387...@n4.nabble.com
To: zmirc m_chi
Hi!
I'm back with feedback for 1.6.0 2013.10.01.
1. I don't see the leak log anymore.
2. @Schedule seems to be properly working after restart.
2.1. During redeployment, all @Schedule executions crash once, which
generates a huge amount of logs. That's something new that happens. They
shouldn't
.nabble.com
To: zmirc m_chi...@yahoo.com
Sent: Monday, September 30, 2013 7:03 AM
Subject: Re: Memory leak by openejb.pool.scheduler
just pushed some hacks about it
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http
Hi!
I can confirm that @Schedule is not stopped anymore after redeploying.
That's great.
Now, regarding the leak problem, I've managed to semi-reproduce the error
with a sample project.
https://github.com/zmirc/tomee-memory-bug
https://github.com/zmirc/tomee-memory-bug
Steps for reproducing:
1
Moreover, with the original project, the one where I discovered this Tomee's
bug, by repeating this cycle more times (run,undeploy,deploy,redeploy
etc...), Tomee can't be stopped anymore. The only solution is to kill the
process.
I didn't get this behavior with this small sample, but I just wanted
catalina.sh to operate Tomee, so no NetBeans or any other tools.
From: Romain Manni-Bucau [via OpenEJB]
ml-node+s979440n4665338...@n4.nabble.com
To: zmirc m_chi...@yahoo.com
Sent: Saturday, September 28, 2013 1:07 PM
Subject: Re: Memory leak by openejb.pool.scheduler
A few more logs related to that, but this ones are taken from production
server.
They appear at stop / restart / undeploy. I think most of them happened when
I was undeploying the app.
I hope they will help.
Sep 20, 2013 7:59:03 AM org.apache.catalina.loader.WebappClassLoader
I've just seen the LEAK error logs of Tomme now on another production server,
which runs 1.6.0 from 29.07.13.
I'll try now with the latest Snapshot and come with feedback ASAP.
Thanks.
--
View this message in context:
redeploy the
app once.
From: Romain Manni-Bucau [via OpenEJB]
ml-node+s979440n4665267...@n4.nabble.com
To: zmirc m_chi...@yahoo.com
Sent: Wednesday, September 25, 2013 6:43 AM
Subject: Re: Memory leak by openejb.pool.scheduler
Hi
Do you configure quartz?
Le
failed to stop it. This is very likely to
create a memory leak.
This should be enough for testing. Otherwise I'll try to make a demo project,
but maybe it's not necessary.
From: Romain Manni-Bucau [via OpenEJB]
ml-node+s979440n4665276...@n4.nabble.com
To: zmirc
Where is that ~/.openejb/system.properties?
I have @Singleton EJB with @Schedule methods.
I'm trying right now to reproduce the bug with a new small project. While
working on it, I found 2 more bugs:
1. Supposing that we have an app deployed. I add one more @Schedule method
inside one if its
The only solution for no.2 is to stop Tomee and start it again. Redeploying x
times won't help to get those @Schedule methods start automatically inside
the @Singleton @Startup EJB.
That's actually quite a big problem.
--
View this message in context:
I'm happy that you fixed that bug. Thank you!
I'm under huge pressure because of a very random and not reproducible bug,
therefore I have to post-pone a little bit isolating the leaking error into
a sample project.
I would really appreciate if someone could help. I'm desperate because of
it. The
Hi!
Using Tomee 1.6.0 2013.09.20, I get this when I try to stop Tomee, which has
a ROOT application that uses EJB @Schedule:
25-Sep-2013 00:06:09.745 WARNING [localhost-startStop-2]
org.apache.openejb.assembler.classic.Assembler.destroyApplication
Application id 'ROOT' not found in: [openejb]
Ha…even more interesting.
If h:form is after c:forEach, the POST method is not triggered at first
try. It works just from the second try. That’s the original problem.
If h:form is before c:forEach, the Post method (action of the form) is
executed properly from the first time/click.
--
View
@smithh032772: no, it does not. It's just for displaying a list of comments
in a nice way. No server connection/action.
--
View this message in context:
http://openejb.979440.n4.nabble.com/1-5-2-first-Post-not-executed-error-works-in-1-6-0-29-07-13-tp4664590p4664665.html
Sent from the OpenEJB
Hi!
I've just dnd the latest snapshot, but it seems something doesn't work.
I have a @Singleton @Startup bean with a @Schedule method. The scheduled
method is not triggered in Tomee web 1.6.0 from 05.08.2013, the build that
is currently available today.
I have tested with build 1.6.0 from
Hi!
When can we expect a new Snapshot?
I've just discovered one more bug in build 29.07.2013 for JSF, which seems
do be fixed in build 05.08.13, but the later has this bug with @Schedule.
1.5.2 production build has a bug with CDI, so I'm in the point where I can't
use any of them in production.
...@n4.nabble.com
To: zmirc m_chi...@yahoo.com
Sent: Sunday, August 11, 2013 12:37 PM
Subject: Re: 1.5.2 first Post not executed error works in 1.6.0 29.07.13
Your post on stackoverflow included the following:
CDI bean:
@Named(test)
@RequestScoped
public class TestB
Hi!
I've had a very strange error.
While using PrimeFaces, PrettyFaces and Tomee 1.5.2, Post request triggered
from pages with URL rewritten by PrettyFaces didn't execute at first
request, but from the second one. (while using a @RequestScoped CDI bean -
more details in the following links)
I
I encounter a similar error on 1.6.0 build 27.07. It does not always happen.
I have a filter that redirects everything from /lm/* to /login-lm.xhtml if
@SessionScoped UserSessionB does not have authenticated field true (see
isAuthenticated()). This field is primitive (boolean not Boolean) and
I have been searching the whole day about how to get CDI @SessionScoped being
persisted into session on disk, because that's how my log in system works.
Finally, I've found the solution thanks to this thread.
This property openejb.session-context=http should be listed on
Thank you so much Neale Rudd.
I had the same error user lacks privilege or object not found: with Tomee
1.5.2.
Adding the resource in tomee.xml fixed it.
I have to mention that this app worked perfectly on Tomcat, but on Tomee I
got this error. Why is this necessary? Shouldn't moving from Tomcat
Hi, guys!
I am struggling with getting ObjectDB 2.5.0 to work with clean Apache Tomee
1.5.2 with transaction-type=JTA. I don't have any configurations in Tomee
(objectdb.jar is in Tomee's classpath) nor other parts, excepting the
following persistence.xml:
?xml version=1.0 encoding=UTF-8?
Thanks a lot for such a fast reply.
That's why I switched from Glasfish to TomEE, for its nice support.
It seemed that actually I was putting objectdb.jar in the classpath in a
wrong way.
Now I use common.loader from catalina.properties and it works properly.
It was my mistake. Thanks and keep
57 matches
Mail list logo