Hi,
I'm working on a bit of a demonstration w/ EE technologies working well
with non-EE techs. I found a bit of an issue w/ TomEE I think.
Take a look at this project:
https://github.com/johnament/bootee/tree/master/spark
If you run this using "mvn clean install tomee:run" TomEE will start up,
GenericEntity is an abstract class. You're instantiating an anonymous
instance of it.
On Mon, Aug 1, 2016 at 8:06 PM mauro2java2011
wrote:
> I try to understand how return a collection of object as response with rest
>
>
>
>
> import javax.ws.rs.core.GenericEntity;
>
Hi,
Camel CDI relies on CDI 1.1 semantics. scan is a CDI 1.1 feature. TomEE
1.7 is Java EE 6, meaning its using CDI 1.0 not CDI 1.1.
Though I do see a typo in their beans.xml, saying the version is 1.0 (that
attribute is mostly ignored).
You should try on the recently released TomEE 7.
John
I know Romain's done some work in this area before. Per the spec, its not
required to work the way you have it defined. JAX-RS injection via
@Context is only mandated to work in JAX-RS managed components.
Try to use @Inject instead of @Context, that may be what was implemented in
TomEE. That
Hi all,
I was wondering, how does EAR support look in 7 M1? I was trying to port
DeltaSpike to run tests against 7.0.0-M1 and it seems that most tests that
rely on EAR deployment fail with this error. Any ideas would be very
useful.
John
SEVERE - EjbTransactionUtil.handleSystemException:
Just wondering, are you working off of a tomee docker image?
https://github.com/tomitribe/docker-tomee
John
On Sun, Nov 29, 2015 at 11:06 AM mauro2java2011
wrote:
> Hi all.
> I am newbie to docker container.
> I would try to install a my web app with tomee using
On Fri, Jul 3, 2015 at 9:02 AM Romain Manni-Bucau rmannibu...@gmail.com
wrote:
Le 3 juil. 2015 04:38, jmutawa jalal.almut...@gmail.com a écrit :
Hello Mr. Romain,
Thank you for your reply. I have added the suggested property in
WEB-INF/application.properties, this is the error I now
://github.com/rmannibucau |
LinkedIn https://www.linkedin.com/in/rmannibucau | Tomitriber
http://www.tomitribe.com
2015-07-03 15:41 GMT+02:00 John D. Ament johndam...@apache.org:
On Fri, Jul 3, 2015 at 9:02 AM Romain Manni-Bucau rmannibu...@gmail.com
wrote:
Le 3 juil. 2015 04:38
On Fri, Jul 3, 2015 at 9:59 AM Romain Manni-Bucau rmannibu...@gmail.com
wrote:
2015-07-03 15:55 GMT+02:00 John D. Ament johndam...@apache.org:
Actually, only normal scoped beans require non-final. @Dependent is not
a
normal scope.
sure but if it is intercepted or decorated it should
Hey all,
First, cudos to Roberto for taking on the TomEE support!
It came to my mind after speaking w/ David @ JavaOne about EE7 status.
So quick question. If we put in hibernate in the TomEE profile, that
should deploy fine right? I'm not saying for you guys to put it in, but
for the sake of
Correct, you're using container managed transactions. You cannot call
commit.
On Thu, Oct 9, 2014 at 8:58 AM, joeleclems joelecl...@free.fr wrote:
i tried different kind of transaction within EJB.
Here are results of my tests :
1. Inject a CMT EJB to receive message.
My EJB :
@Stateless
Hi,
I would say no to #2. Thread != RequestScoped. If you want to start a
request scope with the thread, DeltaSpike has a CDIControl module that can
do this for you.
John
On Mon, Oct 6, 2014 at 11:08 AM, Lars-Fredrik Smedberg itsme...@gmail.com
wrote:
When executing an EJB @Asynchronous
for all intents and purposes, as long as you're using @Local/@LocalBean
@Inject should work the exact same as @EJB, regardless of
SLSB/SFSB/Singleton. Obviously if you're in a Bean Archive you'll want to
give your SFSB a scope so that the containers work with it properly but
last time I tried
You should annotate your REST endpoint to be something, e..g
@Stateless or @RequestScoped
On Wed, Jun 4, 2014 at 11:40 AM, Vamsee Lakamsani
vam...@yahoo.com.invalid wrote:
One of the null injection problems in our main app had to do with the fact
that we are using Quartz directly and as
When you say default is local, do you mean embedded?
It's possible that when in embedded mode, the extension isn't getting
started. Can you try explicitly adding it to your archive?
On Sun, Jun 1, 2014 at 4:51 PM, Alex Soto asot...@gmail.com wrote:
Hi,
I am writing a tutorial about how to
Hi,
Actually when you directly instantiate a class, you bypass CDI. In order
to use CDI, your servlet needs this:
@Inject
private Exam exam;
Within the class itself.
John
On Sun, May 4, 2014 at 5:53 AM, john77eipe john77e...@gmail.com wrote:
I'm a start in CDI.
To test CDI. I created 2
It's odd that it would come over as a query param. Can you check the
actual HTTP request your client is making?
On Sat, Mar 15, 2014 at 3:59 PM, fulltruth dlove...@gmail.com wrote:
If I take out this line:
@Consumes(MediaType.APPLICATION_JSON)
...don't set Content-Type on the AJAX call, and
Hmmm.. I don't know if the JAAS spec or EE specs either state that you can
inject into login modules.
On Thu, Mar 13, 2014 at 12:42 PM, Piercarlo Alberto Beghetto - Diennea
piercarlo.beghe...@diennea.com wrote:
I still have problem in integration with LoginModule and EJBs.
What i've done
Can you post the code for your resource?
On Mon, Feb 24, 2014 at 2:05 PM, José Luis Cetina maxtorz...@gmail.com wrote:
Hi, im doing my first rest service. Im having problem's with retrieving the
json data, when my method is called i get an:
WARNING: javax.xml.bind.UnmarshalException
- with
=com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider
property. :)
2014-02-24 13:47 GMT-06:00 John D. Ament john.d.am...@gmail.com:
Can you post the code for your resource?
On Mon, Feb 24, 2014 at 2:05 PM, José Luis Cetina maxtorz...@gmail.com
wrote:
Hi, im doing my first rest service. Im having problem's
CODI is a set of CDI components, however it's more or less migrated
over to DeltaSpike.
I responded to your question on stack overflow. I generally agree
with Romain's comment, injecting a logger makes very little sense,
since you're just wrapping it (the LOC to make a logger producer far
The link's directly on the page you referenced:
http://openejb.markmail.org/search/?q=type:users
On Sun, Jan 12, 2014 at 12:30 PM, Caterpillar caterpilla...@gmail.com wrote:
Hi, I cannot find a way to read mailing list discussion from a webpage
archive.
I tried to look into
in most app servers you end up with lazy loading issues, especially
for onetomany's or manytomany's.
On Mon, Nov 25, 2013 at 1:44 PM, Thiago Veronezi thi...@veronezi.org wrote:
I guess so, but I'm not sure how the managed entities would behave.
imho, it's better to create DTOs to hold only the
Please include something.. logs, error you're getting, etc.
On Sun, Nov 17, 2013 at 7:28 AM, LG Optimusv lgoptimusv...@gmail.comwrote:
Hi All,
I have a web application without web.xml using Spring MVC and its Java
Config. That application can be deployed in both tomcat and tomee but it
Actually, since hawt.io is simply using jolokia, any mbeans deployed to the
same JVM will be returned to the client.
It's simply a matter of building an angular.js UI that consumes the JSON
and processes the data.
On Thu, Nov 7, 2013 at 6:40 AM, Howard W. Smith, Jr. smithh032...@gmail.com
Also, I believe this is expected behavior per EE specs. The container may
have a default provider, which an app can leverage. In containers like
WebLogic, you can configure a different default but that requires specific
configuration.
Maybe it's possible to configure OpenEJB/TomEE to have a
The issue is that the CDI spec and EJB specs are not in alignment. EJB
injection rules are at play here, and since they both implement the same
interface you are running into this issue.
If your classes were not annotated @Stateless this would not happen.
On Mon, Oct 28, 2013 at 4:13 PM, Chris
Michiel,
Just wondering, are you including hsqldb in your war file?
John
On Thu, Sep 19, 2013 at 11:10 AM, Michiel Graat michiel.gr...@sidn.nl wrote:
Hi guys,
I have been trying to use Arquillian/TomEE but I have run into a strange
problem. Whenever I try to run more than two arquillian
From the java ee 5 tutorial (don't think this changed in 6):
http://docs.oracle.com/javaee/5/tutorial/doc/bncij.html
Required Attribute
If the client is running within a transaction and invokes the
enterprise bean’s method, the method executes within the client’s
transaction. If the client is
Looks like its time to yell at the OWB guys that their logging is too heavy :-)
On Sun, Aug 18, 2013 at 10:20 PM, Howard W. Smith, Jr.
smithh032...@gmail.com wrote:
I am currently using TomEE 1.6.0 snapshot
(apache-tomee-1.6.0-20130803.041148-142-plus.zip) with OmniFaces 1.6
snapshot
Hi,
If you need to use a MessageBodyWriter, it needs to be annotated @Provider
and implement the interface.
http://jackson.codehaus.org/javadoc/jax-rs/1.0/javax/ws/rs/ext/MessageBodyWriter.html
then it should get picked up automatically.
On Fri, Jul 26, 2013 at 3:20 PM, Nick Khamis
The regular wine example should not be an issue on Tomee if you're using
JAX-RS 1.1/1.0. I have no clue what you might need to do with JAX-RS 2.0
(this type of configuration is really not supportable at this time; you may
want to try regular Tomcat + JAX-RS 2.0).
On Fri, Jul 26, 2013 at 3:40
A single application server version only supports a single Java EE
specification revision. Right now, the only Java EE 7 compliant
application server is GlassFish. You can hack together some things (e.g.
CDI 1.1 + JAX-RS 2.0) on Tomcat 7, but it's only going to go so far.
On Fri, Jul 26, 2013
Well, it probably works on Tomcat7 because you have to drop in the
glassfish JSF runtime and JSTL.
Since TomEE ships with JSF, that shouldn't be done here. However, looks
like they have some bad XML. For example, the code tag here should be
escaped:
description
If this attribute
How is it marked? @Local @LocalBean @Remote?
On Tue, Jul 16, 2013 at 10:06 AM, amber ambe...@hotmail.fr wrote:
Hi,
why do I have to inject a @singleton bean only with its interface ? (I mean
if a use the implementation class, OpenEJB failed)
thx :)
--
View this message in context:
I would start on line 40 of this class:
java.lang.NullPointerException
at service.AbstractFacade.findAll(AbstractFacade.java:40)
at service.OkoFacadeREST.findAll(OkoFacadeREST.java:66)
Since you're getting a null pointer.
On Tue, Jul 2, 2013 at 6:41 AM, omisaye_infotech
Isn't the tyrus license problematic for apache?
On Tue, Jul 2, 2013 at 11:38 AM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
atmos or tyrus yes
tomee is waiting for its stack for javaee 7 (tomcat is not released, OWB is
not cdi 1.1 compliant, etc...)
*Romain Manni-Bucau*
*Twitter:
But isn't it first the container that needs to find persistence.xml, since
it needs to instantiate the provider? Don't you really have to pass in all
of this config to the provider? For some reason I recall the provider
being blind to the location of persistence.xml, other than by configuration
*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*
http://rmannibucau.wordpress.com/
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/6/12 John D. Ament john.d.am...@gmail.com
But isn't it first
/12 John D. Ament john.d.am...@gmail.com
spec section 4.4.6 says it goes in META-INF
but you are reading it fine from WEB-INF/classes/META-INF so that's not
an
issue. Spec doesn't list WEB-INF anywhere in it.
Issue is that I'm testing in TomEE 1.5.2, which is the released version
descriptors.
John
On Wed, Jun 12, 2013 at 3:07 PM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
Hmm weird, sure i saw the opposite...if not we have to open an issue since
it would be the only descriptor being here (sure for ejb-jar, web,
validator..)
Le 12 juin 2013 18:45, John D. Ament john.d.am
Sorry, when I refer to META-INF, I'm referring to WEB-INF/classes/META-INF.
/META-INF is really just for JAR wrapper stuff (e.g. maven files) in WARs.
On Wed, Jun 12, 2013 at 5:47 PM, Anthony Fryer apfr...@hotmail.com wrote:
I always thought, for war files you put jee config files in WEB-INF
Don't forget, most of these specs expect javabeans - POJOs w/ private
fields getters/setters/issers.
On Tue, Jun 11, 2013 at 12:54 AM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
Hmm, is it still a cdi bean then? I mean isnt there anything preventing it
to be proxied or anything in the
Is #edit supposed to do something? Everything looks the same to me.
On Tue, Jun 11, 2013 at 8:12 AM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
Right,
if you are motivated to help us getting it you can edit the page (
http://tomee.apache.org/comparison.html#edit ) and add the spec
think I copied some
other people source code and they had public attributes, and I can't
remember right now if I access the public attributes on those POJOs in any
of my managed beans.
On Jun 11, 2013 8:18 AM, John D. Ament john.d.am...@gmail.com wrote:
Don't forget, most of these specs expect
And if you just lookup PooledDataSource (without prefix)?
On Tue, Jun 11, 2013 at 8:13 AM, SPB spatri...@hotmail.com wrote:
Hi,
Using Tomcat Plus WebApp 1.5.2 running in Tomcat 7.0.27
In tomee.xml I have defined my Data Source:
Resource id=PooledDataSource type=javax.sql.DataSource
TomEE + is not a certified stack. TomEE is the Web Profile certified
stack. TomEE + builds on that to add JAX-RS, JMS, JAX-WS etc.
On Tue, Jun 11, 2013 at 8:40 AM, Leonardo K. Shikida shik...@gmail.comwrote:
Hi Jean and Romain
I'll try to help with the docs then.
How TomEE+ got certified
*
*Blog: **http://rmannibucau.wordpress.com/*
http://rmannibucau.wordpress.com/
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/6/11 John D. Ament john.d.am...@gmail.com
TomEE + is not a certified stack. TomEE is the Web Profile certified
Hi all
In section 3.6 of the CDI spec, it indicates that the Validator
(javax.validation.Validator) should be a built in bean, meaning the
container should support injection of it. I was testing something locally
and i noticed that TomEE wasn't injecting this object.
Is this expected?
John
So, where is LoggerBuilder defined? same JAR or a different JAR?
On Mon, Jun 10, 2013 at 9:15 AM, zeddius avalyu...@gmail.com wrote:
Unfortunately this didn't help
Is there any way how to put TomEE into a verbose mode to check why that
bean
is not visible?
--
View this message in
They're in the code, probably excluded for brevity (not sure we care about
a POJO w/ getters and setters).
On Wed, Jun 5, 2013 at 7:45 PM, Jason Zwolak jzwo...@gmail.com wrote:
It seems the examples are missing code on the website.
Here's one case:
Andrew,
Did you try using the setting exclude-unlisted-classes, with the value of
false?
John
On Wed, Jun 5, 2013 at 8:27 PM, Andrew Clarke s...@clarke.ca wrote:
I've set up my database in TomEE such that it works fine with SQL Query.
When I attempted to do a simple entityManager.find() as
/
property name=hibernate.format_sql value=true/
property name=hibernate.hbm2ddl.auto value=update/
/properties
/persistence-unit
/persistence
- Andrew.
On 2013-06-05, at 20:30, John D. Ament john.d.am...@gmail.com wrote:
Andrew,
Did you try using the setting exclude
anotherEJBManager.passItBack(inOut);
}
}
On 2013-06-05, at 20:43, John D. Ament john.d.am...@gmail.com wrote:
Hmm yeah I missed that part.
So wait, is your persistence.xml in your war file somewhere? Where is it?
How do you get a reference to your entity manager?
On Wed, Jun 5, 2013 at 8:39 PM
Good catch, but AFAIK, Hibernate ignores the version of persistence.xml
(typically). Unless TomEE cares...
On Wed, Jun 5, 2013 at 9:39 PM, Howard W. Smith, Jr. smithh032...@gmail.com
wrote:
responses inline below...
On Wed, Jun 5, 2013 at 8:27 PM, Andrew Clarke s...@clarke.ca wrote:
to reproduce it?
Simply add a new server in Eclipse, and then try to start it.
2013/5/28 John D. Ament john.d.am...@gmail.com
Can you post the entire stack trace that is in the console? Based on the
rough output it's taking 111 s to start up.
I increased the timeout to 150 and I had
The answer's in the spec (JSR-299)
A producer method must be a non-abstract method of a managed bean class or
session bean class.
Your abstract class is neither a managed bean nor a session bean.
I also confirmed that your project doesn't run with weld.
On Mon, May 27, 2013 at 9:57 AM, Reinis
://rmannibucau.wordpress.com/*
http://rmannibucau.wordpress.com/
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/5/22 John D. Ament john.d.am...@gmail.com
Yes, everything works fine in 1.5.1
Can you point me to the change (svn commit)?
On Wed, May 22
Perhaps if you shared the stacktrace it would be easier to decipher what's
going on.
On Wed, May 22, 2013 at 6:42 AM, to...@orbit-x.de wrote:
Hi guys,
excuse me for bumping my own message but two days later am still clueless.
Could it possibly be that i may not @Specializes an abstract
makes them hard to configure compared to previous version (and only useful
for our build i guess).
Le 22 mai 2013 04:46, John D. Ament john.d.am...@gmail.com a écrit :
Hi All
I'm testing something locally and I noticed that for TomEE 1.5.2 it
doesn't
seem to be starting automatically
Did you try swapping your form-login-page and form-error-page from
/foo.xhtml to /foo.jsf ? (or whatever you map the faces servlet to)
On Tue, May 21, 2013 at 1:08 PM, José Luis Cetina maxtorz...@gmail.comwrote:
Hi. I have a problem since i move from war to ear (since 4 months ago
aprox.),
-mapping
2013/5/21 John D. Ament john.d.am...@gmail.com
Did you try swapping your form-login-page and form-error-page from
/foo.xhtml to /foo.jsf ? (or whatever you map the faces servlet to)
On Tue, May 21, 2013 at 1:08 PM, José Luis Cetina maxtorz...@gmail.com
wrote:
Hi. I have
Hi All
I'm testing something locally and I noticed that for TomEE 1.5.2 it doesn't
seem to be starting automatically. This is the dependency:
dependency
groupIdorg.apache.openejb/groupId
artifactIdtomee-embedded/artifactId
Howard,
When were you recommended to use @Typed?
@Typed (in that thread) was being used to *remove* objects from being
installed via CDI.
If you want to use @Typed you need to use it as @Typed(pf_
OrderCustomerPointOfContactController.class)
On Mon, May 20, 2013 at 9:08 AM, Howard W. Smith, Jr.
-defined @Descendant. :)
I will try @Typed as you recommended and report back, ASAP. Thanks.
On Mon, May 20, 2013 at 9:13 AM, John D. Ament john.d.am...@gmail.com
wrote:
Howard,
When were you recommended to use @Typed?
@Typed (in that thread) was being used to *remove* objects from being
the underlying class expecting the impl you should be
fine.
On Mon, May 20, 2013 at 9:19 AM, Howard W. Smith, Jr.
smithh032...@gmail.com wrote:
Start here[1] and go to the next page.
[1] http://forum.primefaces.org/viewtopic.php?f=3t=30309#p97538
On Mon, May 20, 2013 at 9:17 AM, John D. Ament
:
There was a separate thread in PrimeFaces forum, where I was suggested to
use @Typed instead of my user-defined @Descendant. :)
I will try @Typed as you recommended and report back, ASAP. Thanks.
On Mon, May 20, 2013 at 9:13 AM, John D. Ament john.d.am...@gmail.com
wrote:
Howard,
When were you
$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
On Mon, May 20, 2013 at 9:26 AM, John D. Ament john.d.am...@gmail.com
wrote:
@Typed isn't a qualifier. It goes on the class definition, not on the
injection point.
@Typed
You get these errors in NetBeans or in TomEE? Or both?
On Mon, May 20, 2013 at 10:06 AM, Howard W. Smith, Jr.
smithh032...@gmail.com wrote:
responses inline, below...
On Mon, May 20, 2013 at 9:41 AM, John D. Ament john.d.am...@gmail.com
wrote:
When you do this..
@Typed
@Named
No Good?
On Sun, May 19, 2013 at 7:18 AM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
What does mean NG?
Le 19 mai 2013 13:16, ZhongGuan guanzh.em...@gmail.com a écrit :
And I also have tested other cases of EJB JNDI name on 1.6.0
Here is the result
1. Local EJB Client looks up
with
@Typed()
LieGrue,
strub
- Original Message -
From: John D. Ament john.d.am...@gmail.com
To: users@tomee.apache.org
Cc:
Sent: Sunday, 19 May 2013, 4:37
Subject: Re: [OWB] CDI - how to realize default producer?
T he easiest way is to actually put a qualifier on the class
it is not an issue no?
Le 19 mai 2013 14:12, John D. Ament john.d.am...@gmail.com a écrit :
No Good?
On Sun, May 19, 2013 at 7:18 AM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
What does mean NG?
Le 19 mai 2013 13:16, ZhongGuan guanzh.em...@gmail.com a écrit :
And I also have
The easiest way is to actually put a qualifier on the class itself, and
then never inject based on that qualifier. CDI 1.0 has no concept of a
veto'd bean, but you could write an extension yourself that veto'd your
class.
Extensions exist out there, I believe CODI has one and Seam3 has one.
Just to have a little better context, you want to go from your local tomee
instance to a remote OpenEJB instance running in a separate JVM?
On Fri, May 17, 2013 at 7:08 AM, Caroline
caroline.van.den.ha...@gmail.comwrote:
Hi,
Romain already helped me tremendously on
CAn you post the stacktrace?
On Fri, May 10, 2013 at 5:30 PM, m1000 martinmil...@gmail.com wrote:
Hi,
I'm a new user of Tomee (1.5.2). I am also kind of a newbie to J2EE. Still
what I got was working
under Glassfish. Now I am trying to get it working under Tomee...
My EJB Timer
Can you post your entire POJO?
On Thu, May 2, 2013 at 7:25 AM, Jack Anamanda
jack.anama...@rocketmail.comwrote:
Hi guys. When I return an @XmlRootElement object in a JAX-RS method, I get
the following format for properties of type long :
width : { $ : 32, @xsi.type : xs:int }
How can I
Try injecting it this way:
@Inject
@Named(socialAuth)
private SocialAuth socialAuth;
On Wed, Apr 24, 2013 at 1:47 PM, Luca Merolla luca.mero...@gmail.comwrote:
H
ello everyone,
I'm having problem to make socialauth (
https://code.google.com/p/socialauth/)
work in TomEE.
I'm using the
The alternative is to just inject the EJB and call the method directly
here.
On Mon, Apr 15, 2013 at 8:14 AM, to...@orbit-x.de wrote:
Hi Romain,
thanks, I already guessed something like this. But is there some pattern
to avoid this or work around or something I could use to make it work?
-related in jpa.
I heard (from Struberg?) that DeltaSpike is goin to offer a solution for
this?
Br
Reinis
-Ursprüngliche Nachricht-
Betreff: Re: Re[2]: JPA issue in combo with @SessionScoped
Von: John D. Ament john.d.am...@gmail.com
An: users@tomee.apache.org
Datum: 2013/04/15 15
What you're seeing is correct (though I'm not a good one to ask why it's
only at the trace level that you see this exception).
I guess, why is HeavyProcessingControllerProdu**cer session scoped? There
is no HTTP Session when this unit test runs, so no it won't be active at
that time.
On Wed,
and weaves, javaasists or whatever dark arts
are there required to allow me to junit-test all sorts of CDI/JSF/EJB
beans, no? :
br
Reinis
On 04/10/2013 09:14 PM, John D. Ament wrote:
What you're seeing is correct (though I'm not a good one to ask why it's
only at the trace level
/*
http://rmannibucau.wordpress.com/
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/4/8 John D. Ament john.d.am...@gmail.com
Right, but it's still a server specific solution. Not a portable
solution.
The use of @Context
*
2013/4/8 John D. Ament john.d.am...@gmail.com
Not from TomEE examples, but by understanding the JAX-RS spec a little
bit.
I think (IMHO) sometimes as open source programmers we jump quickly on
the
OMG someone found an issue I can fix before we think is this really an
issue
(with proper documentation of non portability), or simply
be left null, but not get a proxy to a null object
Best regards,
antoine
On Mon, Apr 8, 2013 at 4:09 PM, John D. Ament john.d.am...@gmail.com
wrote:
Problem here is that maybe only the dev system is TomEE. Maybe
production
Not sure what you mean, Seam works on all app servers AFAIK. It may be EOL
but it's portable across app servers.
On Mon, Apr 8, 2013 at 11:20 AM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
Seam.is not portable at all
Le 8 avr. 2013 16:58, John D. Ament john.d.am...@gmail.com a écrit
instead of tomee.
On Fri, Apr 5, 2013 at 12:34 PM, John D. Ament john.d.am...@gmail.com
wrote:
TomEE is typically a separate installation, not something you install on
top of Tomcat.
On Fri, Apr 5, 2013 at 10:47 AM, rajiv.j...@netbuilder.com
rajiv.j...@netbuilder.com wrote:
Hi
Using CDI, you should be able to write an extension that observes
BeforeBeanDiscovery to add the annotated types using
beanManager.createAnnotatedType(Interface.class) and Impl.class.
On Wed, Apr 3, 2013 at 12:56 PM, ymaraner tpha...@gmail.com wrote:
Romain Manni-Bucau wrote
remote reference
According to your code, line 45 is:
out.println(
Servlet InserimentoServlet at + request.getContextPath() +
);
though it would be easier if you gist'd this since the lines don't
necessary match up correctly. But that would imply that the request is
null at this time. Can you gist
I don't believe that's the EJB. Singleton is still a generic singleton
typed object. You could always test this idea out by putting a log
statement in the constructor and seeing how many times it gets called.
On Wed, Apr 3, 2013 at 1:19 PM, ymaraner tpha...@gmail.com wrote:
John D. Ament
In this database (e.g. according to DBA), what is the max # of cursors set
to?
On Tue, Apr 2, 2013 at 7:01 AM, BKumar bibhuti.ku...@creditpointe.comwrote:
Hi,
We have recently migrated to tomee+ 1.5.1 from Jboss. Until now everything
was working good. But when we are running large
Agreed w/ Jean-Louis.
Usually we do 10x the max open statements to get the max open cursors to
configure the DB with. Plus x the number of app servers.
On Tue, Apr 2, 2013 at 7:59 AM, Jean-Louis MONTEIRO jeano...@gmail.comwrote:
Well, usually, it comes from the ratio pooledPreparedStatements
Cursors are related to the max # of open ResultSets you have.
On Tue, Apr 2, 2013 at 8:48 AM, BKumar bibhuti.ku...@creditpointe.comwrote:
Can anyone tell me what is the use of properties PoolPreparedStatements
and
maxOpenPreparedStatements? I don't see any effect of these resource
Why do you have a context name in dev/test but not in production?
On Fri, Mar 29, 2013 at 3:45 PM, Patel, Sanjay sanjay.pa...@nemours.orgwrote:
I use EJBs in my spring application.
To inject EJB in my controller I do as below.
@EJB(mappedName = java:global/myAppName/MyBean)
MyBean myBean;
So basically your DescriptorResource needs to look like this:
@RequestScoped
@Path(descriptor)
public class DescriptorResource {
But then in your put method, you're doing this:
public Response putXml(String content) {
System.out.println(--Server received from client:--);
Can you gist your test case by any chance?
On Tue, Mar 12, 2013 at 7:51 AM, Antonio anttonij...@gmail.com wrote:
Hi there, I deleted the provider line but I'm still getting an error
---
T E S T S
://rmannibucau.wordpress.com/*
http://rmannibucau.wordpress.com/
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/3/4 John D. Ament john.d.am...@gmail.com
Can you override this using the servlet mapping?
On Mon, Mar 4, 2013 at 12:11
Are you able to query that file to see the contents? What's in there as
your application is running?
On Mon, Mar 4, 2013 at 8:12 AM, dmitry.vol...@eiskonzept.com wrote:
Hi.
CalenderTimers created with following code are not recovered after TomEE
restart. Are there some TomEE properties to
Yes, that file. Where does it end up getting created?
On Mon, Mar 4, 2013 at 10:49 AM, dmitry.vol...@eiskonzept.com wrote:
Sorry, don't get your question. Which file do you mean? Test.db?
-Ursprüngliche Nachricht-
Von: John D. Ament [mailto:john.d.am...@gmail.com]
Gesendet: Montag
a job and
stopped TomEE after a while. Please find attached test.db.log file.
-Ursprüngliche Nachricht-
Von: John D. Ament [mailto:john.d.am...@gmail.com]
Gesendet: Montag, 4. März 2013 16:56
An: users@tomee.apache.org
Betreff: Re: CalendarTimers created with TimerService
).
Regards,
Witold Szczerba
On 28 February 2013 13:00, John D. Ament john.d.am...@gmail.com wrote:
Witold,
The entry I added is based on this page in the Tomcat docs:
http://tomcat.apache.org/tomcat-7.0-doc/jndi-datasource-examples-howto.html#Database_Connection_Pool_(DBCP
1 - 100 of 105 matches
Mail list logo