PS: last sentence meant instead of java:global/.... use global/.... and it should work
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-09-04 17:09 GMT+02:00 Romain Manni-Bucau <[email protected]>: > Ok > > issue is you are in tomee and new InitialContext is not resolved to > remote context but to local one cause the name starts with java:. > > > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com/ > LinkedIn: http://fr.linkedin.com/in/rmannibucau > Github: https://github.com/rmannibucau > > > 2014-09-04 17:03 GMT+02:00 Romain Manni-Bucau <[email protected]>: >> just curious: did you try 2 tomee instances? >> >> >> Romain Manni-Bucau >> Twitter: @rmannibucau >> Blog: http://rmannibucau.wordpress.com/ >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >> Github: https://github.com/rmannibucau >> >> >> 2014-09-04 14:55 GMT+02:00 Olivier Paquet <[email protected]>: >>> CATALINA_OPTS is also not working(Linux / Windows), I mean if I provide a >>> bad >>> password it fails, but principal is not handed over to the EJB. >>> >>> Any other hints? >>> Bad Java version (using jdk1.7.0_51)... >>> >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://tomee-openejb.979440.n4.nabble.com/Principal-in-EJB-returns-always-guest-even-with-JAAS-module-tp4670862p4671622.html >>> Sent from the TomEE Users mailing list archive at Nabble.com.
