Manuel, I wasn't referring to ur sample application (which is good).
I was referring to 'examples/src/webapp/web.xml' in Mahout trunk which still refers to an old DTD and the Mahout pom files which r still at servlet 2.5 spec. It would be nice if there was a patch to fix that. On Wednesday, December 4, 2013 1:40 PM, Manuel Blechschmidt <[email protected]> wrote: Hi Suneel, what file are you referring to? taste-web? Actually I already wrote a sample application that uses Java EE 6 API (EJB, JAX-RS, JAX-WS): https://github.com/ManuelB/facebook-recommender-demo /Manuel On 04.12.2013, at 18:04, Suneel Marthi wrote: > Thinking loud here. > > Mahout's still using servlet 2.5 and jsp 2.1 api (from what's in the pom > today), may be its time to upgrade to be JEE 6 compliant - viz. support > servlet 3.x and jsp 2.2. > > Looking at the web.xml, it still refers to web app 2.3 DTD; which could be > the reason for the CDI deployment failure on Glassfish 4. > > {Code} > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application > 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > {Code} > > > It would be a welcome contribution if somebody volunteers to fix this and > bring Mahout to JEE 6 standards. > > > > > > > On Wednesday, December 4, 2013 11:33 AM, Mario Levitin > <[email protected]> wrote: > > Hi Manuel, thank you for both of your answers. > I have checked your dacebook-recommender-demo, it uses GlassFish 3, my > problem occurs with GlassFish 4. > > > > > On Tue, Dec 3, 2013 at 9:23 PM, Manuel Blechschmidt < > [email protected]> wrote: > >> The following project might help: >> >> https://github.com/ManuelB/facebook-recommender-demo >> >> If you need more support I would recommend to contact one of > the >> supporting companies like MapF, Cloudera or Apaxo (my own company). >> >> /Manuel >> >> On 02.12.2013, at 22:49, Mario Levitin wrote: >> >>> Hi, >>> I'm trying to build a web service for Mahout. >>> If I use GlassFish 3.x there is no problem. However, when I change to >>> GlassFish 4, during deployment the following error occurs: (by the way, >>> GlassFish 4 works fine for my other web service implementations, my >>> suspicion is that there is some inconsistency between GlassFish 4 and the >>> dependencies needed for Mahout) >>> >>> SEVERE: Exception during lifecycle processing >>> > org.glassfish.deployment.common.DeploymentException: CDI deployment >>> failure:WELD-001408 Unsatisfied dependencies for type [Set<Service>] with >>> qualifiers [@Default] at injection point [[BackedAnnotatedParameter] >>> Parameter 1 of [BackedAnnotatedConstructor] @Inject >>> com.google.common.util.concurrent.ServiceManager(Set<Service>)] >>> Any help will be greatly appreciated. >> >> -- >> Manuel Blechschmidt >> M.Sc. IT Systems Engineering >> Dortustr. 57 >> 14467 Potsdam >> Mobil: 0173/6322621 >> Twitter: http://twitter.com/Manuel_B >> -- Manuel Blechschmidt M.Sc. IT Systems Engineering Dortustr. 57 14467 Potsdam Mobil: 0173/6322621 Twitter: http://twitter.com/Manuel_B
