Hi Jon
Latest snapshot worked a charm. Old gen went from 500MB to 110MB after
deploy completed. Thanks so much
On Tue, 17 Dec 2019, 11:33 Paul Carter-Brown,
wrote:
> Thanks Jon.
>
> I'm away at the moment but will give it a spin in the next few days and
> let you know. Thanks agai
but
>> will confirm.
>>
>> Jon
>>
>> On Mon, Dec 16, 2019 at 11:27 AM Jonathan Gallimore <
>> jonathan.gallim...@gmail.com> wrote:
>>
>>> Thanks for sending those over. I'm digging through this - I *think* I
>>> have pinned down a
at classloader from being
> > released. The behaviour for a war/ear deployed in apps/ seems different
> to
> > deploying in webapps/ - I'm assuming that's what you're doing. If you can
> > confirm, that would help. I'll test out a patch with some bigger
Hi,
The code does seem to use org.apache.openejb.core.TempClassLoader. I can
see one instance in the heap for every war in my ear. + 1.
The TempClassLoader however still has 100's of strong references to it. E.g:
[image: image.png]
[image: image.png]
Paul Carter-Brown
Director
Jini Guru
m
FYI. Graph of the change in heap size on a prod instance after this change:
[image: image.png]
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor, Golf House, Design Quarter, Cnr. William Nicol and Leslie
Johannesburg, South Africa
w: jini.guru
.
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor, Golf House, Design Quarter, Cnr. William Nicol and Leslie
Johannesburg, South Africa
w: jini.guru e: p...@jini.guru
Disclaimer: This message and/or attachment(s) may contain
privileged, confid
Hi Jon,
Unfortunately the snapshot behaves exactly the same way
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor, Golf House, Design Quarter, Cnr. William Nicol and Leslie
Johannesburg, South Africa
w: jini.guru e: p...@jini.guru
Disc
jar in /lib which does have EJB's in it and it seems to obey
this property but it doesn't seem to mean that annotation processing is
skipped for all these other jars in /lib
Thanks!
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor, Golf House, Design Q
}
}
}
Paul
On Sat, Oct 19, 2019 at 1:23 AM David Jencks
wrote:
> IIUC this method is running inside the container managed transaction?
> Does it send the response immediately if it’s not in a container managed
> transaction?
>
> david jencks
>
> > On O
Hi,
In this code sample, why is it that it takes 3s for the "OK" response to
get back to the client.
My expectation would be that the response would go back immediately?
@Path("/abc")
@Stateless
public class BasicResource {
@PersistenceContext()
private EntityManager em;
@GET
being used.
Works for my use case.
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor, Golf House, Design Quarter, Cnr. William Nicol and Leslie
Johannesburg, South Africa
w: jini.guru e: p...@jini.guru
Disclaimer: This message and/or attachment(s) may c
Hi Jon,
I've created a basic example of the issue as attached.
mvn install -Prun
then:
curl "http://localhost:8000/basic-service/basic/async?echo=111;
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor, Golf House, Design Quarter, Cnr. Wi
tribute("someVal"); ...
java.lang.IllegalStateException: No CXF message usable for JAX-RS @Context
injections in that thread so can't use interface
javax.servlet.http.HttpServletRequest
}
...
}
}
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor,
a
different instance on the different thread and this new instance has none
of my eagerly loaded data in it.
Does anyone know how to resolve this issue. Basically I want to somehow get
step 6 to use the exact instance of UserContext as step 2 even though they
are on different threads.
Paul Carter
a normal deployment but our integration tests that use the
> > tomee maven plugin use 2.7.3.
> >
> > Paul
> >
> >
> > On Wed, Sep 25, 2019 at 10:31 PM Paul Carter-Brown
> > wrote:
> >
> > > Thanks Jon
> > >
> > > Wor
Paul Carter-Brown
wrote:
> Thanks Jon
>
> Worked a charm.
>
> Paul
>
>
> On Wed, Sep 25, 2019 at 9:17 PM Jonathan Gallimore <
> jonathan.gallim...@gmail.com> wrote:
>
>> Looks like the update to EclipseLink 2.7.4 I committed this morning fixes
>> it
n lib directory for 2.7.4 and let us know how you get on?
>
>
> https://repo1.maven.org/maven2/org/eclipse/persistence/eclipselink/2.7.4/eclipselink-2.7.4.jar
>
> Thanks
>
> Jon
>
> On Wed, Sep 25, 2019 at 4:57 PM Paul Carter-Brown
> wrote:
>
> > Hi Jo
gt; Jon
>
> On Tue, Sep 24, 2019 at 9:44 PM Paul Carter-Brown
> wrote:
>
> > Hi,
> >
> > Does tomEE 8.0.0 support OpenJDK 11? I've tried and get errors upon boot.
> > Will elaborate if it is supposed to support java 11.
> >
> > Paul
> >
>
Startin
Hi,
Does tomEE 8.0.0 support OpenJDK 11? I've tried and get errors upon boot.
Will elaborate if it is supposed to support java 11.
Paul
Worked a treat. Thanks so much Jon
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor, Golf House, Design Quarter, Cnr. William Nicol and Leslie
Johannesburg, South Africa
w: jini.guru e: p...@jini.guru
Disclaimer: This message and/or attachment(
-maven-plugin:8.0.0-M3 or one of its
dependencies could not be resolved: Failure to find
org.apache.tomee.patch:bval-jsr:jar:2.0.2-69c36fa8-1 in
https://repo.maven.apache.org/maven2
I think this snapshot build for bval is missing in apache maven repo
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83
appropriate context for the request to tomcat. I don't know off hand
> where in the tomcat code this cut point can be found.
>
> Is this a performance issue, or are you building a proxy?
>
> What is the problem you're trying to solve?
>
> On 5/6/19, Paul Carter-Brown wrote:
&g
ote:
> For reference, I did find this after searching "calling a servlet
> programmatically":
> https://docs.oracle.com/cd/E19146-01/819-2634/abxbn/index.html
>
> On 5/6/19, Paul Carter-Brown wrote:
> > I think we are completely missing each other. Forget sockets - t
that without going out and back in on TCP?
On Mon, May 6, 2019 at 5:14 PM John Dale wrote:
> Sockets are an implementation of TCP/UDP inherently.
>
> Perhaps a mountaintop signal fire?
>
> ;)
>
> John
>
>
> On 5/6/19, Paul Carter-Brown wrote:
> > lol on the Sema
t; If these don't work-out for you, rather than using .NET, PHP, Python,
> or some other Java facsimile at best, I recommend using the semaphore
> telegraph:
> https://en.wikipedia.org/wiki/Semaphore_telegraph
>
> Sincerely,
>
> John
> DB2DOM
>
> On 5/6/19,
ing, but without
> knowing more about the tools you're using, I can't say for sure if
> this is the direction you'll want to go.
>
> On 4/29/19, Paul Carter-Brown wrote:
> > Hi
> >
> > I'm trying to design a Kafka consumer and producer that will run inside
> the
>
Hi
I'm trying to design a Kafka consumer and producer that will run inside the
tomcat jvm and pick up messages off a Kafka topic and translate them into a
servlet request and pass it through tomcat and then when the response is
complete then translate it into a Kafka message and put it onto
);
}
@Override
public Jsonb getContext(Class type) {
return jsonb;
}
}
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor, Golf House, Design Quarter, Cnr. William Nicol and Leslie
Johannesburg, South Africa
w: jini.gur
ck below
> > guru.jini.arch.impl.json.JsonImpl.toList/toObject?
> >
> > Thanks
> >
> > Jon
> >
> > On Mon, Feb 25, 2019 at 11:59 PM Paul Carter-Brown
> > wrote:
> >
> >> Hi Daniel,
> >>
> >> For the life of me I canno
Hi Daniel,
For the life of me I cannot recreate the issue in a simple project with a
WAR. My project is an EAR with multiple WARS. I will continue trying but in
the meantime wondered if anyone has any clues where to look?
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427
(method.getModifiers());
}
})
.withAdapters(new ZonedDateTimeAdapter());
jsonb = JsonbBuilder.newBuilder().withConfig(config).build();
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor, Golf House, Design Quarter, Cnr
n and keep up the excellent work!
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor, Golf House, Design Quarter, Cnr. William Nicol and Leslie
Johannesburg, South Africa
w: jini.guru e: p...@jini.guru
Disclaimer: This message and/or attachmen
Yip false alarm. In 7.0.4 I had my own version of Johnzon libs that handled
binding of Java 8 dates/times. For 8.0.0 I changed my docker script to no
longer add these but forgot to remove the step where I deleted all
johnson libs from tomee/libs ;-(
Paul Carter-Brown
Director
Jini Guru
m: +27 (0
Sorry, please ignore this. My bad.
Paul Carter-Brown
Director
Jini Guru
m: +27 (0) 83 442 7179 <+27834427179>
a: 1st Floor, Golf House, Design Quarter, Cnr. William Nicol and Leslie
Johannesburg, South Africa
w: jini.guru e: p...@jini.guru
Disclaimer: This message and/or attachment(
What is your xmx setting and did you force a gc prior to taking the heap
dump?
On your db have you checked if there are any long running transactions
On 7 Feb 2018 5:44 pm, "cocorossello" wrote:
> Hi,
>
> We are having some memory problems in our applications. We are
Try adding this to your setenv.sh or changes system.properties accordingly:
-Dopenejb.deploymentId.format={appId}/{ejbJarId}/{ejbName}
-Dopenejb.wsAddress.format={ejbName}
That will make your deployement Id's for EJB's include the app/jar names
and won't impact any web service endpoints you may
nstead of its jars?
>
> Best regards,
> Alexandre
>
>
> 2017-11-29 13:08 GMT+01:00 Paul Carter-Brown
> <paul.carter-br...@opposablethumbs.io>:
> > The 3 Johnzon jars sit in tomee/lib/ directory. You can delete the old
> ones
> > and copy in the new ones built f
The 3 Johnzon jars sit in tomee/lib/ directory. You can delete the old ones
and copy in the new ones built from source. Works for me.
On Wed, Nov 29, 2017 at 1:32 PM, Alex The Rocker
wrote:
> Hello,
>
> While upgrading one of our webapp from TomEE+ 1.7 to TomEE+ 7, we hit
ill need a Router and dynamic datasources.
> This
> >> is also working very well in my tests.
> >>
> >> We will have hundreds of datasources and a restart to add a new one is
> not
> >> efficient enough.
> >>
> >> - Can we centralize the resour
Romain Manni-Bucau
> @rmannibucau | Blog | Old Blog | Github | LinkedIn
>
>
> 2017-11-08 17:51 GMT+01:00 Paul Carter-Brown <paul.carter-brown@smilecoms.
> com>:
> > Hi,
> >
> > I have a war packaged in an ear.
> >
> > In the war I have a persistence,xm
Hi ,
Steve, I think what Andy is saying is that your results are mainly looking
at the overhead of the library itself (you are persisting to an in-memory
DB). In real world apps the overhead of the persistence library layer
compared to end-to-end latency of network, DB, logic etc etc would make
Ok. I'll work on that in the week
On 14 October 2017 at 16:47, Romain Manni-Bucau <rmannibu...@gmail.com>
wrote:
> we should move all jsonb adapter in mapper module
>
> Romain Manni-Bucau
> @rmannibucau | Blog | Old Blog | Github | LinkedIn
>
>
> 2017-10-14 16:46
ucau
> @rmannibucau | Blog | Old Blog | Github | LinkedIn
>
>
> 2017-10-14 16:09 GMT+02:00 Paul Carter-Brown
> <paul.carter-br...@opposablethumbs.io>:
> > Hi Romain,
> >
> > Any way we can allow it to happily parse boih long and short ISO 8601
>
>
> A small side note: we can probably not break the java.util.Date
> formatter which uses short iso8061 pattern instead of the long one.
>
> Romain Manni-Bucau
> @rmannibucau | Blog | Old Blog | Github | LinkedIn
>
>
> 2017-10-14 15:10 GMT+02:00 Paul Carter-Brown <
ub | LinkedIn
>
>
> 2017-10-14 10:39 GMT+02:00 Paul Carter-Brown <paul.carter-brown@smilecoms.
> com>:
> > Yea bit of a false positive I'm afraid. I ended up getting it to be used
> in
> > a manual mapping operation and saw it was being called but unfortunately
>
axb models ->
> https://github.com/highsource/jaxb2-annotate-plugin .
>
> Romain Manni-Bucau
> @rmannibucau | Blog | Old Blog | Github | LinkedIn
>
>
> 2017-10-14 10:08 GMT+02:00 Paul Carter-Brown <paul.carter-brown@smilecoms.
> com>:
> > Hi Romain,
> >
> &g
Hi Romain,
I managed to get it to work by calling new MapperBuilder().addAdapter(new
JavascriptDate()).build(); far earlier in the bootup process.
On 14 October 2017 at 09:40, Paul Carter-Brown <
paul.carter-br...@smilecoms.com> wrote:
> Hi Romain,
>
> The model is generated
@JohnzonConverter too?
>
> Tomee uses an old johnzon too so can need some enhancements from master.
>
> Le 14 oct. 2017 03:10, "Paul Carter-Brown" <paul.carter-brown@smilecoms.
> com>
> a écrit :
>
> > Hi,
> >
> > I've created an adapter as fol
Hi,
I've created an adapter as follows:
public class JavascriptDate implements Adapter {
@Override
public String to(Instant instance) {
final Calendar cal = GregorianCalendar.getInstance();
cal.setTime(Date.from(instance));
return
> Andy Gumbrecht
>
> http://www.tomitribe.com
> agumbre...@tomitribe.com
> https://twitter.com/AndyGeeDe
>
> TomEE treibt Tomitribe ! | http://tomee.apache.org
> --
> Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-
> f979441.html
Hi,
According to EE7 spec I should be able to do the following:
try {
new
InitialContext().lookup("java:comp/DefaultManagedExecutorService");
} catch (NamingException e) {
log.warn("Error:", e);
}
In TomEE 7.0.4 I get a NamingException:
-Bucau <rmannibu...@gmail.com>
wrote:
> Le 10 oct. 2017 14:26, "Paul Carter-Brown" <paul.carter-brown@smilecoms.
> com>
> a écrit :
>
> Hi,
>
> I've used @ApplicationScoped and @javax.inject.Singleton and both have the
> same behaviour. Seem
research now...
On 10 October 2017 at 15:18, Romain Manni-Bucau <rmannibu...@gmail.com>
wrote:
> But with skinny wars you still get it in the webapp loader and lib part
> right ? It is not about physical model but resolved one.
>
> Le 10 oct. 2017 14:11, "Paul Carter-Brown"
as intended - as thought I mean.
>
> Side note: you surely meant @ApplicationScoped more than singleton.
>
>
> Le 10 oct. 2017 13:44, "Paul Carter-Brown" <paul.carter-brown@smilecoms.
> com>
> a écrit :
>
> > Hi Romain,
> >
> > As a non-stati
)
at java.lang.Thread.run(Thread.java:748)
Let me know if you would prefer me to put any further findings on this
forum or on the ticket.
Paul
On 10 October 2017 at 13:15, Romain Manni-Bucau <rmannibu...@gmail.com>
wrote:
> And removing the static?
>
> Le 10 oct. 2017 11:45, &qu
on?
>
> Maybe javax.ejb.Singleton?
>
> /hw
>
> ti., 10.10.2017 kl. 08.34 +0200, skrev Paul Carter-Brown:
> > Hi,
> >
> > Loaded on github and created ticket:
> >
> > https://issues.apache.org/jira/browse/TOMEE-2134
> >
> > On 10 October 201
fety first, and benefit second, please create a
> > ticket here: https://issues.apache.org/jira/projects/TOMEE
> >
> > Rather than attaching a ZIP here, please consider creating a GitHub
> > project and sharing it in the ticket.
> >
> > Thanks,
> >
> > Andy.
> >
github.com/
> rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2017-09-10 12:13 GMT+02:00 Paul Carter-Brown <
> paul.carter-br...@smilecoms.com>:
>
> > I worked out t
gt; So i ask: how i can ads the configuration of darasource into the tomee.xml?
> I can pit a new tomee.xml using option -v of docker volume . But in this
> case i have to erase the already preaent tomee.xml downloaded into the
> image ?
>
> I hope i explained my problem.
And remember to copy Mysql driver jar into tomee/lib
On 4 September 2017 at 15:08, Paul Carter-Brown <
paul.carter-br...@smilecoms.com> wrote:
> Assuming you are using JPA, here is an example of a JTA persistence.xml in
> your war/ear WEB-INF or META-INF:
>
>
> http:
t; datasource mysql?
>
> Please do you have a exampke of use tomee and mysql and con figure the
> datasource using docker?
>
> Tank you in Advance
> MAURO
>
>
>
>
>
> --
> Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-
> f979441.html
>
ps://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2017-05-03 15:13 GMT+02:00 Paul Carter-Brown <
> paul.carter-br...@smilecoms.com>:
>
> > Sorry Romain, not sure what you mean?
> >
> > On 3 May 2017 at
tory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2017-05-02 23:15 GMT+02:00 Paul Carter-Brown <
> paul.carter-br...@smilecoms.com>:
>
> > Hi,
> >
> > I'm not that familiar with HSQL so maybe my test case is confusing the
> > issue and n
com/rmannibucau> | Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/
> rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://ja
witching and use of completable futures
Any ideas what's going on?
Paul
On 27 April 2017 at 10:39, Paul Carter-Brown <
paul.carter-br...@smilecoms.com> wrote:
> For sure. I will start by pulling openejb source and digging in for
> possible causes. A few log lines here and there and im s
p://rmannibucau.wordpress.com> | Github <https://github.com/rmannibuca
> u> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2017-04-27 6:06 GMT+02:00 Paul Carter-Brown <paul.carter-bro
No. Autocommit is off
Paul
Sent from my phone. Message may be brief and contain typos.
On 27 Apr 2017 12:47 a.m., "Romain Manni-Bucau" <rmannibu...@gmail.com>
wrote:
> Are you in autocommit mode?
>
> Le 26 avr. 2017 22:37, "Paul Carter-Brown" <paul.ca
ucau.rhcloud.com> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibuca
> u> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2017-04-26 16:45
return true;
}
...
Any thoughts?
Paul
On 26 April 2017 at 13:50, Paul Carter-Brown <
paul.carter-br...@smilecoms.com> wrote:
> Thought so. Let me try and create a reproducable test case and let you
> know what i find
>
> Paul
>
> Sent from my phone. Message may
lt;https://blog-rmannibucau.rhcloud.com> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/
> rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com&g
Hi
I have a call flow as follows in tomee:
1. Client calls jaxws service that adds a row into mysql table. EJB is
using JTA with eclipselink JPA entity bean. Seevice returns the primary key
of the row just added.
2. Client uses returned soap message that contains the primary key and
calls a
gt; | Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/
> rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com
Hi,
Currently, my log files are full of warnings from org.apache.cxf.phase.
PhaseInterceptorChain.doDefaultLogging whenever my JAX-WS services return
with a SOAP Fault (even though its an application level fault defined in
the WSDL). This means I get stack traces and dirty logs whenever a SOAP
73 matches
Mail list logo