Re: TomEE/catalina log showing that someone trying to hack into my TomEE/tomcat7 server

2012-11-27 Thread Romain Manni-Bucau
By default in dev more you should get tomee user (but only to access tomee webapp, not tomcat one) if you set openejb.profile to something else (system property) you'll need to define it explicitely *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog:

Re: WARNING: Could NOT lazily initialize session context because of null RequestContext

2012-11-27 Thread Mark Struberg
This also happens sometimes if the container boots and some eagerly created bean (e.g. @Startup) touches a @SessionScoped bean. Obviously there is no session at container boot... LieGrue, strub - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To:

Re: WARNING: Could NOT lazily initialize session context because of null RequestContext

2012-11-27 Thread Romain Manni-Bucau
for the error which is not an error? *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*

@WebServlet in JAR not recognized

2012-11-27 Thread bibhas
Hi, I have a servlet defined using @WebServlet and packaged in a JAR. I put the JAR in my web module's WEB-INF/lib. TomEE doesn't recognize the Servlet. Standalone Tomcat 7 and JBoss 7 scans the JAR and detects the Servlet just fine. Is this a know defect? Thanks. -- View this message in

Re: @WebServlet in JAR not recognized

2012-11-27 Thread bibhas
Hi thanks. I am using apache-tomee-webprofile-1.5.0. The name of the JAR file doesn't seem to have any effect. I have tried test.jar, Pink.jar and so on. I am starting TomEE from Eclipse, if that matters. If you want, I can create a simple WAR and upload it somewhere. -- View this message

Re: @WebServlet in JAR not recognized

2012-11-27 Thread Romain Manni-Bucau
can you give it a try on the snapshot before please ( https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.5.1-SNAPSHOT/ )? *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog:

Re: Access the local instance of a remote ejb

2012-11-27 Thread superhans
Hey, I just wanted to say I solved my problem by using the method described here: http://www.adam-bien.com/roller/abien/entry/beans_with_both_views_local It is almost the same solution as described in the google link before. It works. I have now one instance of my class being a remote and local

Re: @WebServlet in JAR not recognized

2012-11-27 Thread bibhas
I tried with the snapshot. Same problem. Here is a link to a sample WAR file. It works fine with JBoss7 and Tomcat7. https://docs.google.com/open?id=0B_lXBrNTL1s-aGt4QzBwYmljS3c Thanks. -- View this message in context: