Hey guys, I have a pretty simple JAX-RS application that I'm trying to deploy
on a virtualhost. TomEE 1.5.2+ really freaks out:
@ApplicationPath(/api)
public class NetQuoteApplication extends Application {
/**
* {@inheritDoc}
*/
@Override
public
I got tired so I tried the easiest way: using EclipseLink instead of OpenJPA
(as suggested on the TomEE site). Now it works. Thanks for the good will and
spending time trying to help me! Keep up with the good work on TomEE!
--
View this message in context:
Hi
It works on trunk i think
1.5 got issues with root context
Le 11 juin 2013 08:22, exabrial12 exabr...@gmail.com a écrit :
Hey guys, I have a pretty simple JAX-RS application that I'm trying to
deploy
on a virtualhost. TomEE 1.5.2+ really freaks out:
@ApplicationPath(/api)
public class
Can you please give it a try?
javaee-common-1.0.0.jar
http://openejb.979440.n4.nabble.com/file/n4663614/javaee-common-1.0.0.jar
I've checked both 1.5.1 and 1.5.2 and either of them didn't work.
We are still getting the same error as in the first message even having put
beans.xml into the
God that helped!!! We've spent two days figuring this out! I can't imagine we
ever fix it without your help, thanks a lot!
Is that because of javaee being a magical word?
--
View this message in context:
all these prefixes
http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/resources/default.exclusions
are
excluded (so no cdi, ejb..., just libs)
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog:
OK, here's a minimal maven web app.
https://github.com/cthorburn/LoaderExample.git
Works fine in Tomcat 7.0.40. running under Eclipse 4.2
/current webapp classloader is org.loader.MyClassLoader
expected classloader is org.loader.MyClassLoader
/
but in TOMEE 1.6.0-SNAPSHOT I get
/current
hi
https://issues.apache.org/jira/browse/TOMEE-970
please see the info i put on this jira.
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn:
Hi
is there, somewhere, a table with each acronym version of tomEE+?
I mean, tomEE+ 1.5.2 implements JSF 2.1, JMS x.x, JPA y.y... etc?
TIA
Leo
Hi
you have some info here http://tomee.apache.org/downloads.html and more
here http://tomee.apache.org/comparison.html
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn:
would be great to get another try with current trunk (just commited)
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github:
Hi Romain
these links only lists the acronyms, but don't provide the versions.
For example, from glassfish documentation
https://wikis.oracle.com/display/GlassFish/PlanForGlassFish4.0
JBOSS has the same
https://docs.jboss.org/author/display/AS7/Getting+Started+Guide
Weblogic too
Right,
if you are motivated to help us getting it you can edit the page (
http://tomee.apache.org/comparison.html#edit ) and add the spec versions,
we'll then commit it to the main site
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog:
Don't forget, most of these specs expect javabeans - POJOs w/ private
fields getters/setters/issers.
On Tue, Jun 11, 2013 at 12:54 AM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
Hmm, is it still a cdi bean then? I mean isnt there anything preventing it
to be proxied or anything in the
Is #edit supposed to do something? Everything looks the same to me.
On Tue, Jun 11, 2013 at 8:12 AM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
Right,
if you are motivated to help us getting it you can edit the page (
http://tomee.apache.org/comparison.html#edit ) and add the spec
Hi Romain
sure, I can spend some time contributing, but it's not a solution. I'd have
to do this each new release.
the solution is to assign someone to do some product management and plan
for the new versions and make this planning public on the site
[]
Leo
On Tue, Jun 11, 2013 at 9:12 AM,
I do private attributes and public getter/setters. I think I copied some
other people source code and they had public attributes, and I can't
remember right now if I access the public attributes on those POJOs in any
of my managed beans.
On Jun 11, 2013 8:18 AM, John D. Ament
#edit open a popup when you can after having given you apache id a form
(maybe a browser isssue)
@Leonardo: TomEE is an open source project living thanks to the
contributions, if you assign somebody nothing ensure you he will do it.
*Romain Manni-Bucau*
*Twitter: @rmannibucau
It's not possible to (work with attributes). In most CDI instances, you're
working with a proxy. You cannot proxy a field, but you can proxy a method.
On Tue, Jun 11, 2013 at 8:26 AM, Howard W. Smith, Jr.
smithh032...@gmail.com wrote:
I do private attributes and public getter/setters. I
You can also help us in that sense Leonardo.
We all fully agree that we need to pay attention to documentation,
communication on so ...
If you are interested in such a role, we would be more than happy.
Contributors not only commit code, but also documentation, etc
JLouis
2013/6/11 Romain
Hi,
Using Tomcat Plus WebApp 1.5.2 running in Tomcat 7.0.27
In tomee.xml I have defined my Data Source:
Resource id=PooledDataSource type=javax.sql.DataSource
.
/Resource
JMX shows:
Catalina - Resource - Global -
org.apache.openejb.resource.jdbc.DataSourceFactory - PooledDataSource
never said it was right but it doesn't prevent bean deployment (current
error if i understood - not sure to be honest)
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn:
+1
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/6/11 Jean-Louis MONTEIRO
hi
try openejb:Resource/
or use java:global/foo in the id (writting it i doubt of the need of java:
here)
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn:
And if you just lookup PooledDataSource (without prefix)?
On Tue, Jun 11, 2013 at 8:13 AM, SPB spatri...@hotmail.com wrote:
Hi,
Using Tomcat Plus WebApp 1.5.2 running in Tomcat 7.0.27
In tomee.xml I have defined my Data Source:
Resource id=PooledDataSource type=javax.sql.DataSource
Jose, when was the last time you did a 'maven download' of TomEE 1.6.0
snapshot and did 'not' see this issue/behavior?
Did something else change? maybe new bean, properties, etc...? you have any
code you can share, maybe a stub or something?
On Mon, Jun 10, 2013 at 8:58 PM, José Luis Cetina
I will asap :-)
Another issue, perhaps.
I've updated my sample project
I've added a border layer between jsf managed beans and ejb layer
Maybe this is a little odd scenario, but anyhow.
topology (I've skipped the debug statements):
RequestScoped Bean - Bordercontroller EJB - BusinessBean EJB
Hi Jean and Romain
I'll try to help with the docs then.
How TomEE+ got certified with JEE Web Profile? Is there a set of tests it
must pass?
[]
Leo
On Tue, Jun 11, 2013 at 9:32 AM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
+1
*Romain Manni-Bucau*
*Twitter: @rmannibucau
TomEE + is not a certified stack. TomEE is the Web Profile certified
stack. TomEE + builds on that to add JAX-RS, JMS, JAX-WS etc.
On Tue, Jun 11, 2013 at 8:40 AM, Leonardo K. Shikida shik...@gmail.comwrote:
Hi Jean and Romain
I'll try to help with the docs then.
How TomEE+ got certified
Hello everyone.
I have a problem with user authentication in my web application, with
getting particular rights being applied to users individually. With every
new user having logged in, all the other users get their effective rights
the same as the last one that logged in.
I guess that something
TomEE JAXRS is certified BTW
For that we passed Test Compatibility Kit (TCKs) provided by Oracle
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn:
hmm, a sample is always better than a lot of copy/paste ;)
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github:
Right, but there is no rest profile.
On Tue, Jun 11, 2013 at 9:13 AM, Romain Manni-Bucau
rmannibu...@gmail.comwrote:
TomEE JAXRS is certified BTW
For that we passed Test Compatibility Kit (TCKs) provided by Oracle
*Romain Manni-Bucau*
*Twitter: @rmannibucau
Hi Sergey,
TomEE relies on the JAAS and Tomcat authentication mechanism. If you are
working with a web application, you shouldn't need to create the
InitialContext yourself. You should use JAAS just like you would do in a
regular web application (
Sure,
thats why I updated my github sample project accordingly :-)
https://github.com/hwaastad/WebSecurity.git
--
View this message in context:
http://openejb.979440.n4.nabble.com/Tomee-and-security-role-mapping-tp4663567p4663647.html
Sent from the OpenEJB User mailing list archive at
Will do. bear with me.
--
View this message in context:
http://openejb.979440.n4.nabble.com/Context-Loader-element-ignored-TOMEE-1-5-2-tp4663593p4663613.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
that's a JavaEE 7 preview. My point was just it was certified for what is
in (WebProfile + JAXRS) and not only web profile
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn:
Hmm, did i get right your issue: you login then on another http request you
don't get the right role?
If i looked correctly you didn't configure JAAS in server.xml to use it in
Tomcat.
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog:
Many thanks to you, sir, for your prompt reply.
The openejb:Resource/ value works. I had tried something similar, but to no
avail.
--
View this message in context:
http://openejb.979440.n4.nabble.com/Struggling-with-JNDI-lookup-tp4663626p4663651.html
Sent from the OpenEJB User mailing list
I was trying to reproduce a primefaces bug, and i start creating a
managedbean with their respective xhtml and i forgot to mark my attributes
as privates (again I FORGOT, i never use public attributes in my
managedbeans) then i see this error message in the log.
2013/6/11 Howard W. Smith, Jr.
I mean my apps is running ok, i was recreating a bug and then i see this
by mistake thats all.
2013/6/11 José Luis Cetina maxtorz...@gmail.com
I was trying to reproduce a primefaces bug, and i start creating a
managedbean with their respective xhtml and i forgot to mark my attributes
as
OK. I can certainly subclass the TOMEE classloader as described, but how to
configure TOMEE to recognise my subclass since it doesn't appear to be
reacting to the presence of the Loader element at all. Or is it just
failing silently?
--
View this message in context:
Understood. So the caused by exception needs to be improved or it's already
appropriate?
On Jun 11, 2013 10:13 AM, José Luis Cetina maxtorz...@gmail.com wrote:
I mean my apps is running ok, i was recreating a bug and then i see this
by mistake thats all.
2013/6/11 José Luis Cetina
Hi,
the user gets the correct role after login (SuperAdmin)
Then the user calls the bordercontroller.sayhelloborder.
The bordercontroller has @RunAs(InternalGroup) and the method
sayhelloborder
has @RolesAllowed(SuperAdmin)
If I remove @rolesallowed, output is:
ViewController Start
Not sure i got you, you mean runas doesn't respect @RoleAllowed?
*Romain Manni-Bucau*
*Twitter: @rmannibucau https://twitter.com/rmannibucau*
*Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github:
Sorry, is not a compilation error, is only a Netbeans hint. But it happen
the same problem
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
I will share you a project.
2013/6/11 José Luis Cetina maxtorz...@gmail.com
Sorry, is not a compilation error, is only a Netbeans hint. But it
happen the same problem
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
Yes, i know.
The problem occurs with named or managedbean, the shared project use @Named.
2013/6/11 Romain Manni-Bucau rmannibu...@gmail.com
This @managedbean is not in cdi IIRC so dependent will not help
Le 11 juin 2013 18:30, José Luis Cetina maxtorz...@gmail.com a écrit :
I will share
So, are you saying yes, subclass the TOMEE classloader and do Loader
loadClas=tomeeClassLoader/ or just that this is what should happen but it
doesn't work! :)
--
View this message in context:
Set a custom loader too
Le 11 juin 2013 18:49, CThorburn cthorbu...@gmail.com a écrit :
So, are you saying yes, subclass the TOMEE classloader and do Loader
loadClas=tomeeClassLoader/ or just that this is what should happen but
it
doesn't work! :)
--
View this message in context:
Hi,
not sure myself, but it seems that the runas role is being applied before
the rolesallowed is checked, hence the call will be denied.
If I add the InternalGroup to Rolesallowed, it's OK
--
View this message in context:
Yes thats the case, dont see an issue
Le 11 juin 2013 20:51, hwaastad he...@waastad.org a écrit :
Hi,
not sure myself, but it seems that the runas role is being applied before
the rolesallowed is checked, hence the call will be denied.
If I add the InternalGroup to Rolesallowed, it's OK
OK,
I rest my case.
Probably need to read up on JavaEE specs again.
I was just wondering since it was working i glassfish 3.1.2.
Thanks again for taking your time.
br hw
--
View this message in context:
Hello,
I want to add security to my applications and I tried to configure JAAS.
For development I want to use files like it is described on the website
(http://tomee.apache.org/tomee-jaas.html). Later I want to replace this
by LDAP. What did I do?
* I added the Realm tag to the server.xml;
Hi
Can you reproduce it?
I used it several times without issues
Le 11 juin 2013 22:26, Marco de Booij marco.develo...@debooy.eu a
écrit :
Hello,
I want to add security to my applications and I tried to configure JAAS.
For development I want to use files like it is described on the website (
Yes I can reproduce it. I tried several things but I get more errors
when I changed something. Here are my 2 property files and they are both
readable to everybody (not a good idea but it is development):
users.properties:
me=password
tomee=tomee
groups.properties:
my-role=me
manager-gui=tomee
Just create a maven project on github runnable with tomee mvn plugin, then
well build, start and you should provide an url showing the issue
Le 11 juin 2013 22:46, Marco de Booij mdeb...@scarlet.be a écrit :
Yes I can reproduce it. I tried several things but I get more errors when
I changed
I do not understand. It is already with the standard tomee application.
It is with the url http://localhost:8080/manager/html that gives the
list of applications. Without JAAS I just type the username and password
that is defined in the tomcat-users.xml. Now I use the one defined in
the
Ahhh, did you set up jaas realm in server.xml?
Le 11 juin 2013 22:59, Marco de Booij marco.develo...@debooy.eu a
écrit :
I do not understand. It is already with the standard tomee application. It
is with the url
http://localhost:8080/manager/**htmlhttp://localhost:8080/manager/htmlthat
Yes. Like describe on the site (http://tomee.apache.org/tomee-jaas.html)
just before the Host tag:
!-- JAAS Security Realm --
Realm className=org.apache.catalina.realm.JAASRealm
appName=PropertiesLoginModule
Hi all
In section 3.6 of the CDI spec, it indicates that the Validator
(javax.validation.Validator) should be a built in bean, meaning the
container should support injection of it. I was testing something locally
and i noticed that TomEE wasn't injecting this object.
Is this expected?
John
On Tue, Jun 11, 2013 at 8:17 AM, John D. Ament john.d.am...@gmail.comwrote:
Don't forget, most of these specs expect javabeans - POJOs w/ private
fields getters/setters/issers.
I wanted John's earlier point mentioned again. this is how i learned
itas I learned Java EE via Java EE 6
John,
Wow, this is a coincidence and interesting. We have been discussing
TomEE/CDI topics, and now you bring this up. Please click the following URL
and read that. :)
http://code.google.com/p/omnifaces/issues/detail?id=183
Howard
On Tue, Jun 11, 2013 at 10:23 PM, John D. Ament
63 matches
Mail list logo