It turns out that the "endorsed" feature still works in 7.x if you
explicitly add -Djava.endorsed.dirs=... to $CATALINA_OPTS. But when
I tried the same thing in Java 9-ea, it complained and aborted.
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> (and geronimo-osgi
7.0.x this workaround doesn't seem to work though.
--
Bjorn Danielsson
Cuspy Code AB
jyerrami wrote:
> Hi,Our application is using TomEE 1.7.X version and java version 1.6.We are
> using java mailing services to send mail. I have looked at all the posts
> online and configured the
tion tends to be a recurring question on all
kinds of Java platform forums, since many years. And I think the
/dev/./urandom thing is something that deserves to be put to sleep now.
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> Does it mean it is better cause faster? For cry
-generate-random-numbers/
--
Bjorn Danielsson
Cuspy Code AB
Andy Gumbrecht wrote:
> I've found that this can help:
>
> CATALINA_OPTS=-Djava.security.egd=file:/dev/./urandom
>
> Your path might be different, but you get the idea.
>
> Andy.
>
> http://www.tomitri
your mileage may vary of course.
--
Bjorn Danielsson
Cuspy Code AB
Jonathan Fisher wrote:
> Just wanted to make sure everyone saw this (http://osv.io/), since it will
> likely have a large impact on how your virtualize your Java workloads in
> the future.
>
> Essentially OSv is
TomEE and any other services required. This would be the
minimal Dockerfile:
ADD opt /opt
ADD etc /etc
ADD start.sh /root/
EXPOSE 443
WORKDIR /root
CMD ./start.sh
--
Bjorn Danielsson
Cuspy Code AB
mauro2java2011 wrote:
> Hi all.
> I am newbie to docker container.
> I would try to in
org.apache.openejb.core.timer.TimerImpl.getTimeRemaining(TimerImpl.java:52)
This is in a loop that calls getTimeRemaining() for all timers
returned by TimerService.getTimers(), so occasional race conditions
are expected. But shouldn't it be NoMoreTimeoutsException for that
situation?
TomEE version is apache-tomee-jaxrs-1.7.0
--
EJB 3.1 (stateless local)
JPA
JTA
JAX-RS
Servlet 3.0
JavaMail
JAXB
JSP
--
Bjorn Danielsson
Cuspy Code AB
TomEE gives me dynamic weaving by default, no configuration needed.
Putting
in persistence.xml shows "Weaved" log entries, so I just assume
that it works.
--
Bjorn Danielsson
Cuspy Code AB
Karl Kildén wrote:
> Another Q
>
> What do you eclipselink guys use for weaving?
Wow! That was fast ;-)
Could you also please answer a stupid question: the bug only
affected Eclipselink monitoring, am I correct here? Because
I never saw any problems, just this strange warning.
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> https://issues.apache.org/j
ull. That's the "MBeanRuntimeServices" mbean if you look
in the eclipselink source code. But here my understanding stops
unfortunately.
--
Bjorn Danielsson
Cuspy Code AB
Andy Gumbrecht wrote:
> Are you setting the properties -Declipselink.register.run.mbean=true,
> or -Declipselink.
/conf/system.properties makes the warning
go away:
eclipselink.register.run.mbean=false
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> Guys saying there is an issue is useless, we are still waiting to something
> to reproduce and at least a stack. Surely a path issue or jmx charac
I missed this, but I see now that I too have this warning in my logs.
For me it started appearing in the 1.7.0 release. It didn't occur in
my 20140721 snapshot.
Running Ubuntu 12.04.4 server, Java 1.7, eclipselink 2.4.2, Mysql.
--
Bjorn Danielsson
Cuspy Code AB
"Howard W. Smith, J
selink jar from that distribution.
--
Bjorn Danielsson
Cuspy Code AB
Karl Kildén wrote:
> Hello, I know this is supposed to be trivial. This shows config changes:
>
> http://tomee.apache.org/examples-trunk/jpa-eclipselink/README.html
>
> But what about lib changes? Anyone have
Thanks Hendrik, that is great!
I'll check it out and test my stuff and report back.
--
Bjorn Danielsson
Cuspy Code AB
Hendrik Dev wrote:
> Regarding geronimo javamail:
>
> I am on it. Currently i am developing a greenmail replacement to have
> a reliable testframework (wil
Hi Howard,
Adding the Sun/Oracle javamail to the WAR works for my app in 1.7.0.
I gave up trying to make Geronimo Javamail work a long time ago,
it was clearly broken and there was no one who could fix it.
--
Bjorn Danielsson
Cuspy Code AB
"Howard W. Smith, Jr." wrote:
> oka
OK, I just compiled r1612637 and now it works. Thanks Romain!
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> Hi
>
> finally found https://issues.apache.org/jira/browse/TOMEE-1275
>
>
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http:
removes all four threads. Start recreates the first one
but no EjbTimerPool threads appear.
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> Hi
>
> I tried but when I hit F5 I get "app already deployed". If I stop it or
> remove it and restart/redeploy it works
-tomee-1.7.0-20140722.041427-62-jaxrs
apache-tomee-1.7.0-20140722.041427-62-plus (tested separately)
jdk-7u60-linux-x64
Ubuntu 12.04
--
Bjorn Danielsson
Cuspy Code AB
watch how tomee
undeploys it, then I deploy it again by copying the same war file
to webapps. The same spooky behaviour is manifested:
With "org.terracotta.quartz.skipUpdateCheck=true" Quartz stops
working, without it everything works as expected.
--
Bjorn Danielsson
Cuspy Code AB
Ro
I redeploy by copying it a second time to tomee/webapps as
explained here:
https://github.com/cuspycode/apache-stuff/blob/master/schedule-bug/readme.txt
Just touching the .war also reproduces it for me.
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> How do you deploy
Andy,
No I was just trying to be clever and give a subversion link to
a Github subdirectory. It works with svn but apparently not in
a browser. Try the root link instead and ignore the other stuff:
https://github.com/cuspycode/apache-stuff
--
Bjorn Danielsson
Cuspy Code AB
Andy Gumbrecht
it is initialized during deployment. With an empty
system.properties I get no such messages during redeployment,
only at start and stop of tomee itself.
Here is a small ant project that reproduces the behaviour:
svn co https://github.com/cuspycode/apache-stuff/trunk/schedule-bug
--
Bjorn Danielsson
="*/5", minute="*", hour="*")
public void spam() {
logger.info("Spam spam spam");
}
}
--
Bjorn Danielsson
Cuspy Code AB
Andy Gumbrecht wrote:
> I'll check why this would block your deployment. It really should not hang.
>
>
This strange behaviour remains in today's 1.7.0-SNAPSHOT.
Removing the line makes everything work again.
I just thought I'd mention it here for the search engines.
--
Bjorn Danielsson
Cuspy Code AB
,
partly because the docs weren't consistent with the release,
and during the process I also realized that the whole thing
was a bit of overkill for my current requirements anyway.
Bash & curl will do wonders if you can keep things simple :)
--
Bjorn Danielsson
Cuspy Code AB
Jean-Louis
Just what the Subject says. I am looking into various scalable
cloud platforms for TomEE and this one caught my eye since it's
an Apache thingy.
--
Bjorn Danielsson
Cuspy Code AB
flexible.
Happy new year to everyone :)
--
Bjorn Danielsson
Cuspy Code AB
Matej wrote:
> Hello everyone and happy new year.
>
> In the comapny where I am working we are slowly migrating our AS server
> from GF to something different. Currently we are in a evaluation process.
>
I got it twice actually. One spam copy was to a non-subscribed
address. So from now on all e-mails from gurkanerdo...@yahoo.com
are permanently routed to /dev/null on my servers.
--
Bjorn Danielsson
Cuspy Code AB
combination of cookies and SQL storage.
--
Bjorn Danielsson
Cuspy Code AB
"Howard W. Smith, Jr." wrote:
> Bjorn, for some time now, i've been wondering how to have 2 separate TomEE
> servers (for failover) and one copy of your database per TomEE? are you
> replicating databa
etwork layer, you avoided network problems ;)
>
>
> On Sun, Mar 24, 2013 at 1:35 PM, Bjorn Danielsson <
> bjorn-apa...@lists.cuspycode.com> wrote:
>
>> Well, I still have networking between my two (for failover)
>> TomEE servers and the SQL service that holds the qu
Well, I still have networking between my two (for failover)
TomEE servers and the SQL service that holds the queue and
commits the transactions. But I eliminated a middle-man :)
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> Yes, you squeezed the network layer, you avoi
, and the
overall configuration also become notably simpler.
--
Bjorn Danielsson
Cuspy Code AB
"Howard W. Smith, Jr." wrote:
> On Sat, Mar 23, 2013 at 5:55 PM, Romain Manni-Bucau
> wrote:
>
>> just to be sure: @Schedule != @Asynchronous
>>
>>
> True/understoo
anything else.
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> hmm,
>
> about tomee maven plugin skip example, just build using
>
> mvn clean install -pl tomee/apache-tomee -am -Dmaven.test.skip=true
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <http
ies.
Then Maven got stuck on sxc-jaxb-core-0.8-20130125.012630-3-sources.jar
which seems to be trashed due to some bogus redirect which is never
detected during the download, it's only detected much later.
But Maven and I never got along. Maybe someone else is more lucky?
--
Bjorn Danielsso
Do you ever sleep Romain? ;-)
I'll try bundling mail.jar with the webapp and report back
as soon as the builds start working again.
Thanks a lot!
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> wonder if https://issues.apache.org/jira/browse/TOMEE-834 fixes it
give it a try myself, but unfortunately I can't
motivate spending too much time on it since using Sun's version
is a reasonable workaround for my project at this time.
--
Bjorn Danielsson
Cuspy Code AB
"Howard W. Smith, Jr." wrote:
> Bjorn,
>
> Please click UR
ar in tomee/endorsed.
This seems to make everything work without any bad side effects.
--
Bjorn Danielsson
Cuspy Code AB
Romain Manni-Bucau wrote:
> IIRC there is a system property to do so in the spec.
>
> If not just share a small sample wuth a servlet or so to qhiw it doesnt
> work
ossible I would prefer to just keep this
temporary workaround within the webapp itself.
--
Bjorn Danielsson
Cuspy Code AB
Are you by any chance using Safari on a Mac? Safari gives me
a phishing warning followed by an Apache-ID login prompt when
I click "No" in the first dialog. Firefox and Chrome both
proceed with an anonymous login.
--
Bjorn Danielsson
Cuspy Code AB
James Green wrote:
> Am being
For me the most important fix since 1.5.1 was TOMEE-703.
I upgraded to newer snapshots a couple of times in january,
for reasons I don't remember. For the past four weeks I have
been running the snapshot labeled 20130201.041145-56, and I
have been very happy with it.
--
Bjorn Danielsson
41 matches
Mail list logo