Re: Conflicts with TomEEClassLoaderEnricher

2012-12-16 Thread Marco de Booij
? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/16 Marco de Booij mdeb...@scarlet.be: I used TomEE for development. But everytime there was a new version of TomEE I had

Conflicts with TomEEClassLoaderEnricher

2012-12-15 Thread Marco de Booij
Hello, *Tomcat* 7.0.26 *Tomee* 1.5.0 *Sonar*3.2 *Debian* 6.0.6 I try to deploy sonar in the same tomcat7 service as Tomee. They work in a separate tomcat7 but not together. Can there be something (easy) done to solve this problem? (If this works then I want to do the same thing with

Re: SQL update while doing get

2012-11-15 Thread Marco de Booij
Strange. What are you doing right after the findAll()? Are you changing something in the/some EJBs that you get back before you detach them? Op 15-11-12 13:56, Jerome schreef: Hi guys, I just have a project which retrieves values from database (jpa + ejb). So a simply big getter I just add

Re: drop-in war install instructions

2012-11-05 Thread Marco de Booij
/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/4 Marco de Booij marco.develo...@debooy.eu I checked and I use tomcat-jdbc. I copied this file after I got the error message Caused by: java.lang.**NoClassDefFoundError: org/apache/tomcat/jdbc/pool/**PoolProperties (See my mail

Re: drop-in war install instructions

2012-11-04 Thread Marco de Booij
/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/11/4 Marco de Booij marco.develo...@debooy.eu Hello, Just back from a small break. I had the same problem last week. I opened a thread and got help to solve it. I was planning to 'finish

Re: Fatal Error

2012-10-28 Thread Marco de Booij
=org.apache.tomee.catalina.ServerListener /) in the shutdown part. Regards, Marco Op 28-10-12 00:24, Romain Manni-Bucau schreef: How is tomee installed? Is your sercer.xml ok (does it contain server listener)? Le 27 oct. 2012 23:20, Marco de Booij marco.develo...@debooy.eu a écrit : Hello, I have installed Tomcat

Re: Fatal Error

2012-10-28 Thread Marco de Booij
event threw exception java.lang.ClassNotFoundException: org.apache.tomee.catalina.ServerListener Regards, Marco Op 28-10-12 10:52, Jacek Laskowski schreef: On Sun, Oct 28, 2012 at 11:36 AM, Marco de Booij marco.develo...@debooy.eu wrote: ?xml version='1.0' encoding='utf-8'? Server port=8005

Re: Fatal Error

2012-10-28 Thread Marco de Booij
oct. 2012 11:58, Marco de Booij marco.develo...@debooy.eu a écrit : So how do I solve this? I already copied tomee-catalina-1.5.0.jar and tomee-loader-1.5.0.jar (because the tomee-catalina-1.5.0.jar was not enough) and it misses another class (org/apache/openejb/loader/** SystemInstance

Re: Fatal Error

2012-10-28 Thread Marco de Booij
I found it myself :) :) The tomcat7 installation does not contain a tomcat-jdbc.jar. I copied the one from the stand-alone tomee and after the restart my applications work. Regards, Marco Op 28-10-12 15:40, Marco de Booij schreef: I nearly gave up :( Then I saw that the listener that I

Fatal Error

2012-10-27 Thread Marco de Booij
Hello, I have installed Tomcat 7.0.28 (from the Wheezy test branch) on a server with Debian Squeeze. I copied the postgresql-8.4-703.jdbc4.jar to the /usr/share/tomcat7/lib lib. I deployed the tomee-plus-webapp-1.5.0.war and I start tomcat7 as a service the file openejb.xml is created in

Re: HttpServletResponse

2012-08-27 Thread Marco de Booij
bean a bit and make it work with common Input/OutputStream. Then, the caller can strean the output from the export bean in the servlet response and does not need to send the response itself. Hope I got the question and it helps. JLouis 2012/8/26 Marco de Booij marco.develo...@debooy.eu Hello, I

HttpServletResponse

2012-08-26 Thread Marco de Booij
Hello, I have a technical question. I use: - apache-tomee-plus-1.1.0-SNAPSHOT from August 24 - Ubuntu 12.04 - java version 1.6.0_24 OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.12.04.1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) I have an

Re: EJB in other application via JNDI

2012-06-26 Thread Marco de Booij
Thanks, I thought that if they are both on the same Tomee (same JVM) that @Local was sufficient and that @Remote was only needed if you deploy your application on another application server. I had to change the initialisation of the InitialContext. I use the 'Remote Client with HTTP (in

EJB in other application via JNDI

2012-06-25 Thread Marco de Booij
Hello, I am a bit puzzled with the JNDI. I have a bean that has the following entries in the log file: 24-jun-2012 22:15:52 org.apache.openejb.assembler.classic.JndiBuilder bind INFO: Jndi(name=I18nTekstManagerLocal) -- Ejb(deployment-id=I18nTekstManager) 24-jun-2012 22:15:52

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Marco de Booij
For me I would say not to add a bug to get market share. A bug is a bug and should be fixed. It is better to create a simple working example that follows the rules. People like me who try to create applications with only a limited knowledge depend on examples and help like Neale says. We run

Tomee Plus instead of Glassfish

2012-06-03 Thread Marco de Booij
Hello, Nearly 2 years ago I tried OpenEJB. I wanted to use it with Tomcat. It was not such a big success for me :-( Lack of knowledge from my side. I went to Glassfish and there I managed to get an application running. I used EJB3.1 so I could pack the whole application in a single WAR and

Re: Tomee Plus instead of Glassfish

2012-06-03 Thread Marco de Booij
Hello, My EJB is like: @Local @Stateless(mappedName = CodeDao) public class I18nCodeDao extends DaoI18nCodeDto { static Logger logger = LoggerFactory.getLogger(I18nCodeDao.class); @PersistenceContext(unitName=doos, type=PersistenceContextType.TRANSACTION) private EntityManager em;

Re: Tomee Plus instead of Glassfish

2012-06-03 Thread Marco de Booij
Thanks. The errors disappeared. Op 03-06-12 18:49, Romain Manni-Bucau schreef: 2notes: 1) @local needs an interface (remove it) 2) mappedname is container dependent (remove it) Le 3 juin 2012 18:23, Marco de Booijmdeb...@scarlet.be a écrit : Hello, My EJB is like: @Local