Hi Manuel, I will try to change the embedded GlassFish. But the problem appears to be an inherent problem of Mahout. Because what I do is a very simple thing: create a new maven web project in Netbeans 7.3 and add a new Restful web service from patterns. If you deploy the project, it works. But if you also add Mahout-core as a dependency to the project and then try to deploy the project then it gives the error I posted before.
On Wed, Dec 4, 2013 at 8:37 PM, Manuel Blechschmidt < [email protected]> wrote: > Hi Miro, > yes, try to replace the embedded glassfish with glassfish 4 and checkout > if the problem also appears there. > > https://blogs.oracle.com/brunoborges/entry/glassfish_4_beta_and_maven > > If so send me a pull request and open an issue and I will try to fix it. > > /Manuel > > On 04.12.2013, at 17:33, Mario Levitin 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 > >
