Return-Path: Delivered-To: apmail-shindig-dev-archive@www.apache.org Received: (qmail 15875 invoked from network); 12 Jul 2010 12:29:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Jul 2010 12:29:18 -0000 Received: (qmail 73955 invoked by uid 500); 12 Jul 2010 12:29:18 -0000 Delivered-To: apmail-shindig-dev-archive@shindig.apache.org Received: (qmail 73759 invoked by uid 500); 12 Jul 2010 12:29:15 -0000 Mailing-List: contact dev-help@shindig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shindig.apache.org Delivered-To: mailing list dev@shindig.apache.org Received: (qmail 73751 invoked by uid 99); 12 Jul 2010 12:29:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 12:29:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ftankoua@gmail.com designates 209.85.215.52 as permitted sender) Received: from [209.85.215.52] (HELO mail-ew0-f52.google.com) (209.85.215.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jul 2010 12:29:07 +0000 Received: by ewy20 with SMTP id 20so942238ewy.39 for ; Mon, 12 Jul 2010 05:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=h2jv452DbnIoxZwditB/aEMbmBnFrRIMoQxqnYaWUnA=; b=oPmgc3fR8PGrv0zXNI9BkHz130KzvH47lovOg5b6QzuQal9shrudsCCITezSLKaCr0 zLJpWZzr4AromvtJzZx4uXgqnDi6dsd2Fd1oxTm8J77TreBL42EazFW1w+trw9bVG5GN Re7GhCaggqYEYa5gL92U5/Bmv75bLzOdgg2Ms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=sjc/bQx3LrtR4lCYEwzhIljH4BWDk7i8iLLyesvECs7qLmgbYx9jWmqDIAtFQ+JxKa MaERH/lKe+jsCsxDd8SCdKiNpFcyADLMy5ayce1/RBZr41VWH11HvJap8hAAAKFTyMvd xDKpx00Kugmvm+Xjz9ULjOznXQD818G0r9Hjw= MIME-Version: 1.0 Received: by 10.213.15.206 with SMTP id l14mr1380465eba.20.1278937678188; Mon, 12 Jul 2010 05:27:58 -0700 (PDT) Received: by 10.213.32.142 with HTTP; Mon, 12 Jul 2010 05:27:58 -0700 (PDT) In-Reply-To: <4C3B09BB.3000209@epfl.ch> References: <001636c5952b8a2eaa048b2d6ad4@google.com> <4C3AF52D.4030709@epfl.ch> <4C3B04E7.20705@epfl.ch> <4C3B09BB.3000209@epfl.ch> Date: Mon, 12 Jul 2010 14:27:58 +0200 Message-ID: Subject: Re: Adding database to Java Shindig From: franck tankoua To: dev@shindig.apache.org Content-Type: multipart/alternative; boundary=0015174be934ff8f7a048b2fe17e X-Virus-Checked: Checked by ClamAV on apache.org --0015174be934ff8f7a048b2fe17e Content-Type: text/plain; charset=ISO-8859-1 what if you remove the space line before JPASocialModule? On Mon, Jul 12, 2010 at 2:25 PM, Evgeny Bogdanov wrote: > > > On 12.07.10 14:19, franck tankoua wrote: > >> Just out of curiosity. which version are you using? >> >> > Do you mean shindig? (latest trunk shindig) > $ mvn --version > Apache Maven 2.2.0 (r788681; 2009-06-26 15:04:01+0200) > Java version: 1.6.0_20 > Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home > Default locale: en_US, platform encoding: MacRoman > OS name: "mac os x" version: "10.6.4" arch: "x86_64" Family: "mac" > >> could you paste also the web.xml param-value for your param-name * >> guice-modules* . >> >> > > guice-modules > > org.apache.shindig.common.PropertiesModule: > org.apache.shindig.gadgets.DefaultGuiceModule: > org.apache.shindig.social.core.config.SocialApiGuiceModule: > org.apache.shindig.social.sample.SampleModule: > > org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule: > org.apache.shindig.gadgets.oauth.OAuthModule: > org.apache.shindig.common.cache.ehcache.EhCacheModule: > org.apache.shindig.sample.shiro.ShiroGuiceModule: > org.apache.shindig.sample.container.SampleContainerGuiceModule: > org.apache.shindig.extras.ShindigExtrasGuiceModule: > org.apache.shindig.extras.as.ActivityStreamsGuiceModule > > > > >> >> >> On Mon, Jul 12, 2010 at 2:04 PM, Evgeny Bogdanov> >wrote: >> >> >> >>> Probably misunderstood you before ... >>> I did now: >>> $cd java/samples >>> $mvn >>> Build Successful >>> >>> >>> On 12.07.10 13:02, franck tankoua wrote: >>> >>> >>> >>>> were you able to successfully run mvn at /java/samples level? >>>> >>>> On Mon, Jul 12, 2010 at 12:57 PM, Evgeny Bogdanov >>>> wrote: >>>> >>>> >>>> >>>> >>>> >>>>> Sorry for spamming but I still can't get a working version. >>>>> >>>>> This is what I did based on the suggestions here. >>>>> >>>>> 1) I've checked out a latest shindig version. >>>>> 2) I added a Guice module >>>>> "org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule:" >>>>> into java/server/src/main/webapp/WEB-INF/web.xml >>>>> 3) I added java/samples into shindig/pom.xml for profile "all" >>>>> >>>>> all >>>>> >>>>> true >>>>> >>>>> >>>>> features >>>>> java/common >>>>> java/gadgets >>>>> java/social-api >>>>> java/samples >>>>> java/server >>>>> extras >>>>> >>>>> >>>>> >>>>> 4) I compile the code with command >>>>> mvn package -Dmaven.test.skip >>>>> >>>>> 5) Than I go to the java/server and run "mvn jetty:run" >>>>> >>>>> However it can't find a class >>>>> org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule >>>>> >>>>> java.lang.RuntimeException: java.lang.ClassNotFoundException: >>>>> org.apache.shindig.social.opensocial.jpa.spi.JPASocialModule >>>>> at >>>>> >>>>> >>>>> org.apache.shindig.common.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:63) >>>>> >>>>> I would be very happy if somebody could help or give a hint on what I >>>>> am >>>>> doing wrong >>>>> >>>>> Thanks in advance >>>>> Evgeny >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >> >> >> > -- Franck --0015174be934ff8f7a048b2fe17e--