From graffito-dev-return-321-apmail-incubator-graffito-dev-archive=www.apache.org@incubator.apache.org Sun Jun 19 08:24:01 2005 Return-Path: Delivered-To: apmail-incubator-graffito-dev-archive@www.apache.org Received: (qmail 2753 invoked from network); 19 Jun 2005 08:24:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jun 2005 08:24:00 -0000 Received: (qmail 5364 invoked by uid 500); 19 Jun 2005 08:24:00 -0000 Mailing-List: contact graffito-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: graffito-dev@incubator.apache.org Delivered-To: mailing list graffito-dev@incubator.apache.org Received: (qmail 5326 invoked by uid 99); 19 Jun 2005 08:24:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp16.wxs.nl (HELO smtp16.wxs.nl) (195.121.6.39) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jun 2005 01:23:59 -0700 Received: from TAURI01 (ip3e83ae0f.speed.planet.nl [62.131.174.15]) by smtp16.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with SMTP id <0IIB00E8RONCJW@smtp16.wxs.nl> for graffito-dev@incubator.apache.org; Sun, 19 Jun 2005 10:23:40 +0200 (CEST) Date: Sun, 19 Jun 2005 10:19:50 +0200 From: Herman Reintke Subject: Re: Using Graffito in Jetspeed2 To: graffito-dev@incubator.apache.org Message-id: <000801c574a7$ac4f8460$0100000a@TAURI01> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook Express 6.00.2800.1106 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT X-Priority: 3 X-MSMail-priority: Normal References: <027401c57412$704fabb0$0100000a@TAURI01> <12558828.1119167366493.JavaMail.Herman@tauri06> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Christpohe, Thanks for looking into it. I am off for a short break now so won't be able to do anything in the next 12 days. I'll investigate further when I'm back. Kind regards, Herman ----- Original Message ----- From: "Christophe Lombart" To: Sent: Sunday, June 19, 2005 9:42 AM Subject: Re: Using Graffito in Jetspeed2 > Hi Herman, > > On 6/18/05, Herman Reintke wrote: > > LS, > > > > I am running jetspeed-M3 release on mysql 4-1-12. > > > > When building Graffito the message : > > > > [junit] INFO: ************************ Testing Content Server service **************************** > > [junit] INFO: Add Graffito Store Server > > [junit] INFO: Merging OJB respository: file:/C:/Utilities/graffito/g3/trunk/components/target/classes/META-INF/repo sitory_graffito.xml > > [junit] INFO: Get server > > [junit] INFO: Update server > > [junit] INFO: Get the modified server > > [junit] INFO: Add Graffito Store Server > > [junit] ERROR: Failed to add server object in ContentServerServiceImpl > > [junit] org.apache.portals.graffito.exception.CmsIncorrectServerException: Impossible to instantiate the ContentStore for server test2 - The server scope already exists > > [junit] at org.apache.portals.graffito.persistence.impl.ContentPersistenceServiceImpl.r egisterServer(ContentPersistenceServiceImpl.java:514) > > > > apperad but the maven allClean allBuild proces ended with : Build succesfull. > > > > That's a normal behaviour. This test unit check if it is possible to > add 2 servers with the same scope. > > > > I did the Maven allDeploy and no errors occured. > > > > When using jetspeed > > 1/ the Graffito Content Browser can be used without problems. > > 2/ the tree and document viewer portlets give the error > > > > Failed to load portlet org.apache.portals.graffito.portlets.TreePortlet: java.lang.NullPointerException > > > > Failed to load portlet org.apache.portals.graffito.portlets.DocumentPortlet: java.lang.NullPointerException > > > > In the jetspeed.log file I see the following > > > > 2005-06-18 14:51:25,351 [http-8080-Processor24] ERROR org.apache.jetspeed.factory.JetspeedPortletFactory - PortletFactory: Failed to load portlet org.apache.portals.graffito.portlets.TreePortlet > > java.lang.NullPointerException > > at org.apache.portals.graffito.portlets.util.ServiceAccessor.getService(Service Accessor.java:79) > > at org.apache.portals.graffito.portlets.util.ServiceAccessor.getSearchService(S erviceAccessor.java:54) > > at org.apache.portals.graffito.portlets.AbstractTreePortlet.init(AbstractTreePo rtlet.java:58) > > at org.apache.portals.graffito.portlets.TreePortlet.init(TreePortlet.java:241) > > > > > > Any directions where to look ? > > > > I have to check in the code. I didn't get this error. David can help here ? > >