Re: Mahout Web Service GlassFish 4 Deployment Error

2013-12-04 Thread Mario Levitin
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 manuel.blechschm...@gmx.de wrote: The following project might help:

Re: Mahout Web Service GlassFish 4 Deployment Error

2013-12-04 Thread Suneel Marthi
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

Re: Mahout Web Service GlassFish 4 Deployment Error

2013-12-04 Thread Manuel Blechschmidt
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,

Re: Mahout Web Service GlassFish 4 Deployment Error

2013-12-04 Thread Manuel Blechschmidt
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

Re: Mahout Web Service GlassFish 4 Deployment Error

2013-12-04 Thread Suneel Marthi
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

Re: Mahout Web Service GlassFish 4 Deployment Error

2013-12-04 Thread Manuel Blechschmidt
Hallo Mario, so as far as I know there is nothing special in the mahout-core.jar So you should easily be able to bundle it in a war. We are deploying a ~100mb ear on our glassfish cluster including mahout and this is working but I also have to admit that we are having from time to time

Re: Mahout Web Service GlassFish 4 Deployment Error

2013-12-04 Thread Manuel Blechschmidt
Hi Suneel, I just tried to build this example directory: $ mvn package [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building Mahout Examples

Re: Mahout Web Service GlassFish 4 Deployment Error

2013-12-03 Thread Manuel Blechschmidt
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