Thanks a lot for your help! Finally use CXF for this, this Tomcat seems to be too customized :)
On Fri, Apr 18, 2014 at 4:21 PM, Romain Manni-Bucau <[email protected]>wrote: > Hi > > this is this one > > http://svn.apache.org/repos/asf/tomee/tomee/trunk/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/ServerListener.java > > we also have a tomee-embedded class > ( > http://svn.apache.org/repos/asf/tomee/tomee/trunk/tomee/tomee-embedded/src/main/java/org/apache/tomee/embedded/Container.java > ) > so customizing a server.xml it should work > > well in summarize you should look what red5 needs from tomcat and > including it in tomee should be easy IMO > > > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com/ > LinkedIn: http://fr.linkedin.com/in/rmannibucau > Github: https://github.com/rmannibucau > > > 2014-04-18 10:29 GMT+02:00 Maxim Solodovnik <[email protected]>: > > Could you tell me the name of listener class? > > Sorry for such newbe question > > On Apr 18, 2014 3:27 PM, "Romain Manni-Bucau" <[email protected]> > wrote: > > > >> TomEE is more or less a listener for tomcat so adding libs + the > >> listener it should work on red5 > >> > >> > >> Romain Manni-Bucau > >> Twitter: @rmannibucau > >> Blog: http://rmannibucau.wordpress.com/ > >> LinkedIn: http://fr.linkedin.com/in/rmannibucau > >> Github: https://github.com/rmannibucau > >> > >> > >> 2014-04-18 10:25 GMT+02:00 Maxim Solodovnik <[email protected]>: > >> > Actually I was hoping maybe openejb might help. Or sort of tomee > >> embedded. > >> > Or anything that can do all the "magic" for me :) > >> > On Apr 18, 2014 2:05 PM, "Romain Manni-Bucau" <[email protected]> > >> wrote: > >> > > >> >> Hi > >> >> > >> >> Why asking on tomee list if you dont want tomee? > >> >> > >> >> Btw just declare cxf servlets (jaxrs and jaxws) and all should be ok > >> >> > >> >> That said I think tomee embedded / red5 could be integrated too > >> >> Le 18 avr. 2014 05:07, "Maxim Solodovnik" <[email protected]> a > >> écrit : > >> >> > >> >> > Hello All, > >> >> > > >> >> > I would like to create @WebService and make it work on Apache > Tomcat > >> >> 7.0.50 > >> >> > (unfortunately it is impossible for me to switch to TomEE+ right > now). > >> >> > David Blevins helped me a lot and his code works perfectly in > TomEE+ ( > >> >> > https://gist.github.com/solomax/11024398) > >> >> > I moved it to Apache Tomcat (actually it is Red5 server based on > >> Tomcat > >> >> > embedded) > >> >> > copied all libraries and it doesn't work :( > >> >> > > >> >> > Maybe anybody knows if it is possible to create working @WebService > >> with > >> >> > minimum (better none) additional files like interfaces and xml > files? > >> >> > Maybe additional Servlet/Filter need to be added to web.xml file? > >> >> > > >> >> > Thanks a lot for any help on this! > >> >> > > >> >> > -- > >> >> > WBR > >> >> > Maxim aka solomax > >> >> > > >> >> > >> > -- WBR Maxim aka solomax
