Re: JMS and login/password

2015-03-12 Thread Alex Soto
Well I have fixed the problem of the use rpassword but now I have another problem look I have this tomee.xml ?xml version=1.0 encoding=UTF-8? tomee !-- see http://tomee.apache.org/containers-and-resources.html -- !-- activate next line to be able to deploy applications in apps -- !--

Re: JMS and login/password

2015-03-12 Thread Alex Soto
it seems we need to configure logimodule or something like this Caused by: javax.security.auth.login.LoginException: No LoginModules configured for activemq-domain at javax.security.auth.login.LoginContext.init(LoginContext.java:264) at

Re: JMS and login/password

2015-03-12 Thread Romain Manni-Bucau
Just to be sure can you use url tcp://foo:1245? Le 12 mars 2015 15:34, Alex Soto asot...@gmail.com a écrit : Well I have fixed the problem of the use rpassword but now I have another problem look I have this tomee.xml ?xml version=1.0 encoding=UTF-8? tomee !-- see

Re: JMS and login/password

2015-03-12 Thread Alex Soto
Yes because in TomEE I have two war files, one that publish the message and the other one that consumes it. Both applications are sharing the same tomee.xml configuration and so same ActiveMQ external instance. The message is published (we can see it in the console) but there is no consumers

Re: testing strategy wars and cdi

2015-03-12 Thread Romain Manni-Bucau
Silly no, smooth no too ;). I love app composer and tomee embedded rule but this last one is snapshot only atm. Le 12 mars 2015 13:14, hwaastad he...@waastad.org a écrit : Hi, just a short question regarding embedded cdi testing. I have a cdi enabled war (web-inf/beans.xml) So using app

JMS and login/password

2015-03-12 Thread Alex Soto
Hi I am trying to deploy an application on Apache TomEE that uses an external ActiveMQ instance. I have configured in tomee.xml in this way: ?xml version=1.0 encoding=UTF-8? tomee !-- see http://tomee.apache.org/containers-and-resources.html -- !-- activate next line to be able to deploy

Re: Apache TomEE and symlinks

2015-03-12 Thread Jean-Louis Monteiro
Hi, I can recall a weird scanning issue but I thought Romain fixed it, but sounds like no. @Romain? JLouis -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Thu, Mar 12, 2015 at 9:39 PM, jieryn jie...@gmail.com wrote: I have a fresh Apache TomEE 1.7.1 PLUS

Apache TomEE and symlinks

2015-03-12 Thread jieryn
I have a fresh Apache TomEE 1.7.1 PLUS unpacked. My ROOT.war web application has many @WebServlets in WEB-INF/lib/*jar files. If I start the application they are automatically discovered. If I now symlink the apache-tomee-plus-1.7.1 to be apache-tomee-wtf, and then start up exactly the same way,

Re: Apache TomEE and symlinks

2015-03-12 Thread Romain Manni-Bucau
Yes. Not released yet. Le 12 mars 2015 21:45, Jean-Louis Monteiro jlmonte...@tomitribe.com a écrit : Hi, I can recall a weird scanning issue but I thought Romain fixed it, but sounds like no. @Romain? JLouis -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro

Re: testing strategy wars and cdi

2015-03-12 Thread Romain Manni-Bucau
Hehe, that is in progress. Also plan to doc it - all testing solution - on tomee website but not before this summer - out of time. If you are not afraid of code: https://github.com/apache/tomee/blob/develop/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/junit/TomEEEmbeddedRule.java

Re: Apache TomEE and symlinks

2015-03-12 Thread Jean-Louis Monteiro
allright. Thanks -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Thu, Mar 12, 2015 at 10:38 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Yes. Not released yet. Le 12 mars 2015 21:45, Jean-Louis Monteiro jlmonte...@tomitribe.com a écrit : Hi,

Re: testing strategy wars and cdi

2015-03-12 Thread hwaastad
Well, if you have'nt blogged about it, it does'nt exist :-) br hw -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/testing-strategy-wars-and-cdi-tp4674035p4674047.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: testing strategy wars and cdi

2015-03-12 Thread Romain Manni-Bucau
Ps: http://tomee-openejb.979440.n4.nabble.com/some-hacks-for-test-td4673855.html Le 12 mars 2015 22:40, Romain Manni-Bucau rmannibu...@gmail.com a écrit : Hehe, that is in progress. Also plan to doc it - all testing solution - on tomee website but not before this summer - out of time. If you

testing strategy wars and cdi

2015-03-12 Thread hwaastad
Hi, just a short question regarding embedded cdi testing. I have a cdi enabled war (web-inf/beans.xml) So using app composer its OK (cdi=true) However when using ejb container, I need beans.xml in src/resources/meta-inf instead to get injection working during tests. beans.xml in