Hello,
Currently i have an application which is launched with tomcat 8.
I have a maven dependency for my project :
dependency
groupIdcom.sun.mail/groupId
artifactIdjavax.mail/artifactId
version1.5.1/version
/dependency
I have try to force the loading of this dependency with a
i would like to use the com.sun.mail:javax.mail:1.5.1 implementation.
i put the jar in the lib directory of tomEE but it's seems that the selected
implementation isn't com.sun.mail.
does i have to had declaration in the conf/system.properties file ?
--
View this message in context:
Hi
how do you use it? if that's a server resource - tomee.xml - you can't.
Best way would be to put it in the container to replace geronimo javamail
Generally having javax.* in webapp libs is forbidden
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn:
Hi
do you provide cxf in your war?
where do you create this client?
can you share a sample?
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-09-03 12:41 GMT+02:00
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
Hi,
do you expect a war ;-)
No,
this is actually an ear containing a ejb module which provide the service.
The endpoints are generated from wsdl and the client is generated in a
producer.
I have provided deps on openejb-cxf.
If I use compile its ok. (I found out right now.)
The only cxf
Hello guys!
I am trying to use a pessimistic lock to assign master in a cluster. It
seems fine in my tests but I feel worried because the timeout is not
working.
Basically my first thread locks and then the second thread seems to be
hanging forever? Details here:
OpenJPA knows what's up...
openjpa-2.4.0-nonfinal-1598334-r422266:1599166 fatal general error
org.apache.openjpa.persistence.PersistenceException: The database
dictionary in use (class org.apache.openjpa.jdbc.sql.HSQLDictionary)
reports that it does not have feature SupportsSelectForUpdate. This
well depends what it is. If you use cxf it is, if you don't rely on
proprietary API you don't have to.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-09-03 14:37
in fact, my problem is when i launch my application with tomcat, and so with
com.sun.mail:javax.mail my code which send a mail works.
But when i run the same code on tomEE (with geronimo-javamail), i have
receive a blank mail.
code link https://gist.github.com/herau/2449d246c8d6dd9e0df0
i use this library in my code.
i try to put the lib (with the tomee plugin) but it doesn't work
plugin
groupIdorg.apache.openejb.maven/groupId
artifactIdtomee-maven-plugin/artifactId
version1.6.0/version
configuration
add in libs:
libremove:geronimo-javamail/lib
liborg.apache.geronimo.specs:geronimo-osgi-locator:1.1/lib
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-09-03 16:18
ok i will try it.
and what about production configuration ?
i have to delete the geronimo-javamail jar in the lib directory of tomEE ?
or is it possible to do it with configuration
2014-09-03 17:38 GMT+02:00 Romain Manni-Bucau [via TomEE OpenEJB]
ml-node+s979440n467156...@n4.nabble.com:
add
it works thanks !
but what is the equivalent of
libremove:geronimo-javamail/lib
in the TomEE configuration (if i launch TomEE without the maven plugin)?
2014-09-03 17:51 GMT+02:00 Aurélien Leboulanger
leboulanger.aurel...@gmail.com:
ok i will try it.
and what about production
I think if you put your mail.jar in /opt/mylibs/ then putting in
catalina.properties /opt/mylibs/*.jar in common.loader before other
paths would work
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github:
The lib is in my war file. If i include The Geronimo-spec dependency in my
pom and i physicaly remove geronimo-javaxmail.jar from the lib directory,
it could be works like with the configured maven plugin ?
Le 3 sept. 2014 19:10, Romain Manni-Bucau [via TomEE OpenEJB]
if you only use it from your app and tomee doesnt see it at all yes
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-09-03 19:20 GMT+02:00 herau
The jar is present in tomee/webapps/myApp/WEB-INF/lib so i think TomEE see
it right ?
But it's the same war used for the TomEE maven plugin.
Le 3 sept. 2014 19:25, Romain Manni-Bucau [via TomEE OpenEJB]
ml-node+s979440n4671569...@n4.nabble.com a écrit :
if you only use it from your app and
It's not possible to configure TomEE to be able to skip The
geronimo-javaxmail jar present in the TomEE lib directory ?
Le 3 sept. 2014 19:25, Romain Manni-Bucau [via TomEE OpenEJB]
ml-node+s979440n4671569...@n4.nabble.com a écrit :
if you only use it from your app and tomee doesnt see it at
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
I use it, since I am using PrimeFaces Push in my web app.
what problems are you having? how are you deploying and/or packaging
atmosphere-runtime?
On Wed, Sep 3, 2014 at 3:16 PM, Felipe Jaekel fkjae...@gmail.com wrote:
Hi,
Does anyone uses atmosphere-runtime in production with TomEE plus
Hi, i was trying to use MyFaces 2.2.4 with TomEE 1.7.0 JAX-RS,
finally i remove all CODI sttuf from my webapp, i want to use myfaces 2.2.4
because i want to use the @javax.faces.view.ViewScoped (i use the omnifaces
viewscoped) and the f:viewAction.
But again im getting
think so but more a MF issue this time I think
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-09-03 22:27 GMT+02:00 José Luis Cetina maxtorz...@gmail.com:
Hi, i was
Does Leonardo follow this list when people discuss MyFaces (2.2)? I think
Mark Struberg monitors this list when MyFaces is discussed here.
José, it will definitely be good to post this issue on the myfaces user
list.
On Wed, Sep 3, 2014 at 4:50 PM, Romain Manni-Bucau rmannibu...@gmail.com
I'm have been trying out using cxf3 with apache-tomee-webprofile-1.7.0 and
testing to see if i can create some jaxrs services. I've hit a problem when
i use a jax-rs annotation.
In my pom.xml i have this...
dependency
groupIdorg.apache.cxf/groupId
artifactIdcxf-integration-cdi/artifactId
Hi
No jaxrs 1 actually. You need to upgrade this api.
Le 4 sept. 2014 03:23, Anthony Fryer apfr...@hotmail.com a écrit :
I'm have been trying out using cxf3 with apache-tomee-webprofile-1.7.0 and
testing to see if i can create some jaxrs services. I've hit a problem
when
i use a jax-rs
26 matches
Mail list logo