[Building Sakai] FW: Error when deployed yaft post-2-5 after changing pom.xml 's parent to 2.6.2

Yzelle, Sonette SYzelle at unisa.ac.za
Fri Jun 11 00:26:04 PDT 2010


This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details.

Hi Adrian,

After your corrections we checked out pre_2-6 deployed and startup tomcat and it is working 100%

Thank you for your assistance!

Regards
Sonette

Sonette Yzelle
Analyst Developer
ICT
UNISA
South Africa
email: syzelle at unisa.ac.za

-----Original Message-----
From: Adrian Fish [mailto:a.fish at lancaster.ac.uk]
Sent: Thursday, June 10, 2010 5:31 PM
To: Yzelle, Sonette
Cc: 'sakai-dev at collab.sakaiproject.org'; Ngoepe, Phuti
Subject: Re: FW: Error when deployed yaft post-2-5 after changing pom.xml 's parent to 2.6.2

Hi again Sonette,

I've just built Sakai 2.6.2 and Yaft pre_2-6. Initially this failed due to the incorrect flavour of profile being built against. I've fixed this now and committed the changes to the pom files.

I'd recommend trying a build of pre_2-6. If you have problems get back to me by copying me in directly as well as the list, and I'll do what I can to help.

Cheers again,

Adrian.

Yzelle, Sonette wrote:
> This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details.
>
> Adrian,
>
> We got post_2-5 to work locally.  We are now going to see if it works on our Development server.
> If it works I think we should stick to post_2-5 or do you think it will cause problems.  I see you now recommend pre_2-6.
> We are so glad to have it working after almost 3 days that we are scared to try a new checkout!
> Will let you know if we were successful on our development server.
>
> Sonette
>
> Sonette Yzelle
> Analyst Developer
> ICT
> UNISA
> South Africa
> email: syzelle at unisa.ac.za
>
>
> -----Original Message-----
> From: Adrian Fish [mailto:a.fish at lancaster.ac.uk]
> Sent: Thursday, June 10, 2010 3:28 PM
> To: Yzelle, Sonette
> Cc: 'sakai-dev at collab.sakaiproject.org'; Ngoepe, Phuti
> Subject: Re: FW: Error when deployed yaft post-2-5 after changing
> pom.xml 's parent to 2.6.2
>
> Hi Sonette,
>
> Sorry, the version I'd recommend for 2.6.2 would be pre_2-6. Give me a chance to build 2.6.2 and test pre_2-6 against it and I'll hopefully have some concrete info for you.
>
> Cheers,
>
> Adrian.
>
> Yzelle, Sonette wrote:
>
>> This message (and attachments) is subject to restrictions and a
>> disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for
>> full details.
>> ---------------------------------------------------------------------
>> -
>> --
>>
>> Hi Adrian,
>>
>>
>> I am trying to get Yaft post_2-5 to work and my colleague is trying
>> pre-2_6.
>>
>>
>>
>> What we want to know is in the main pom.xml of yaft can we change the
>> parent sakai version to 2.6.2?
>>
>> <parent>
>>
>> * * <artifactId>*base*</artifactId>
>>
>> * * <groupId>*org.sakaiproject*</groupId>
>>
>> * * <version>*2.6.2*</version>
>>
>> * * </parent>
>>
>>
>>
>> For pre-2_6 this causes the following error on deployement:
>>
>> java.lang.NoClassDefFoundError:
>> org/sakaiproject/yaft/api/YaftForumService
>>
>>       at
>> org.sakaiproject.yaft.tool.SynopticYaftTool.init(_SynopticYaftTool.ja
>> v
>> a:154_)
>>
>>
>>
>> See full error below.
>>
>>
>>
>> For post_2-5 it is not causing any deployment errors.  But as I said
>> in an earlier email it stops tomcat from building.  I am still
>> redeploying the whole of sakai to see if it helps.
>>
>>
>>
>> Regars
>>
>> Sonette
>>
>> Sonette Yzelle
>>
>> Analyst Developer
>>
>> ICT
>>
>> UNISA
>>
>> South Africa
>>
>> email: syzelle at unisa.ac.za <mailto:syzelle at unisa.ac.za>
>>
>>
>>
>> *From:* Ngoepe, Phuti
>> *Sent:* Thursday, June 10, 2010 2:13 PM
>> *To:* Yzelle, Sonette
>> *Subject:* Error when deployed yaft post-2-5 after changing pom.xml
>> 's parent to 2.6.2
>>
>>
>>
>>
>>
>> java.lang.NoClassDefFoundError:
>> org/sakaiproject/yaft/api/YaftForumService
>>
>>       at
>> org.sakaiproject.yaft.tool.SynopticYaftTool.init(_SynopticYaftTool.ja
>> v
>> a:154_)
>>
>>       at
>> org.apache.catalina.core.StandardWrapper.loadServlet(_StandardWrapper.
>> java:1139_)
>>
>>       at
>> org.apache.catalina.core.StandardWrapper.load(_StandardWrapper.java:9
>> 6
>> 6_)
>>
>>       at
>> org.apache.catalina.core.StandardContext.loadOnStartup(_StandardConte
>> x
>> t.java:3996_)
>>
>>       at
>> org.apache.catalina.core.StandardContext.start(_StandardContext.java:
>> 4
>> 266_)
>>
>>       at
>> org.apache.catalina.core.ContainerBase.addChildInternal(_ContainerBas
>> e
>> .java:760_)
>>
>>       at
>> org.apache.catalina.core.ContainerBase.addChild(_ContainerBase.java:7
>> 4
>> 0_)
>>
>>       at
>> org.apache.catalina.core.StandardHost.addChild(_StandardHost.java:544
>> _
>> )
>>
>>       at
>> org.apache.catalina.startup.HostConfig.deployWAR(_HostConfig.java:831
>> _
>> )
>>
>>       at
>> org.apache.catalina.startup.HostConfig.deployWARs(_HostConfig.java:72
>> 0
>> _)
>>
>>       at
>> org.apache.catalina.startup.HostConfig.deployApps(_HostConfig.java:49
>> 0
>> _)
>>
>>       at
>> org.apache.catalina.startup.HostConfig.check(_HostConfig.java:1218_)
>>
>>       at
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(_HostConfig.jav
>> a
>> :293_)
>>
>>       at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(_Lifecyc
>> l
>> eSupport.java:120_)
>>
>>       at
>> org.apache.catalina.core.ContainerBase.backgroundProcess(_ContainerBa
>> s
>> e.java:1306_)
>>
>>       at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
>> r
>> ocessChildren(_ContainerBase.java:1570_)
>>
>>       at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
>> r
>> ocessChildren(_ContainerBase.java:1579_)
>>
>>       at
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
>> u
>> n(_ContainerBase.java:1559_)
>>
>>       at java.lang.Thread.run(_Thread.java:595_)
>>
>>
>
> --
> ==================================
> Adrian Fish
> Software Engineer
> Centre for e-Science
> Bowland Tower South C Floor
> Lancaster University
> Lancaster
> LA1 4YW
> email: a.fish at lancaster.ac.uk
>
> http://confluence.sakaiproject.org/display/YAFT/Yaft
> http://confluence.sakaiproject.org/display/BLOG/Home
> http://confluence.sakaiproject.org/display/AGORA/Home
>
>
>

--
==================================
Adrian Fish
Software Engineer
Centre for e-Science
Bowland Tower South C Floor
Lancaster University
Lancaster
LA1 4YW
email: a.fish at lancaster.ac.uk

http://confluence.sakaiproject.org/display/YAFT/Yaft
http://confluence.sakaiproject.org/display/BLOG/Home
http://confluence.sakaiproject.org/display/AGORA/Home



More information about the sakai-dev mailing list