[Building Sakai] Wicket 1.5+ in Sakai?
Steve Swinsburg
steve.swinsburg at gmail.com
Thu Feb 21 04:34:25 PST 2013
The servlet API is part of Tomcat so start over with a fresh tomcat (trunk/2.9 + tomcat 7): http://tomcat.apache.org/whichversion.html
This web.xml hasn't been adjusted. Please adjust to servlet spec 2.5 (you'll find there requirements online), retry, and post any errors.
cheers,
Steve
On 21/02/2013, at 11:09 PM, David Torres <david.torres at renuda.com> wrote:
> I am sorry, please find it attached here.
>
> I detected other thing. I deleted servlet-api.jar from tomcat/common/lib. And I rebuilt my tool but is not dowloading it back. So I get a effective-pom from Sakai root, and despite the property says 2.5 the dependency is 2.4
>
> Should I override the dependency in sakai/pom.xml, or maybe in sakai/master/pom.xml?
>
> David Torres
>
> Computer Scientist
> Renuda UK
>
> tel: +44 (0)20 3371 1709
> web: www.renuda.com
>
> Renuda UK is registered in England and Wales. Company number 6218863.
> VAT registration number 918 6490 91. Registered office: 35 Charleville Road, London W14 9JJ, UK.
> From: Steve Swinsburg [steve.swinsburg at gmail.com]
> Sent: 21 February 2013 12:00
> To: David Torres
> Cc: sakai-dev
> Subject: Re: [Building Sakai] Wicket 1.5+ in Sakai?
>
> Hi David,
>
> That is the tomcat web.xml. I meant the web.xml for the Wicket tool you are making.
>
> cheers,
> Steve
>
> On 21/02/2013, at 10:56 PM, David Torres <david.torres at renuda.com> wrote:
>
>> I did that. Now effective-pom is showing 2.5. But the error persists.
>>
>> I tried to change <web-app> version from 2.4 to 2.5 in web.xml. Should I change anything else?
>>
>> Please find attached my web.xml
>>
>> Cheers,
>>
>> David Torres
>>
>> Computer Scientist
>> Renuda UK
>>
>> tel: +44 (0)20 3371 1709
>> web: www.renuda.com
>>
>> Renuda UK is registered in England and Wales. Company number 6218863.
>> VAT registration number 918 6490 91. Registered office: 35 Charleville Road, London W14 9JJ, UK.
>> From: Steve Swinsburg [steve.swinsburg at gmail.com]
>> Sent: 21 February 2013 11:35
>> To: David Torres
>> Cc: sakai-dev
>> Subject: Re: [Building Sakai] Wicket 1.5+ in Sakai?
>>
>> Just override that dependency in the tool to 2.5, adjust the web.xml as required and see if it works.
>>
>> cheers,
>> Steve
>>
>>
>> On 21/02/2013, at 10:19 PM, David Torres <david.torres at renuda.com> wrote:
>>
>>> I am using Sakai 2.8.2 (Tomcat 5.5). But I also have Sakai 2.9.0 (Tomcat 7).
>>>
>>> In both , the effective pom of the Wicket archetype shows this:
>>> <dependency>
>>> <groupId>javax.servlet</groupId>
>>> <artifactId>servlet-api</artifactId>
>>> <version>2.4</version>
>>> <scope>provided</scope>
>>> </dependency>
>>>
>>> I tried to change it but I don't know where is this obtained from. I changed the parent pom to sakai/master/pom.xml and change there
>>> <sakai.servletapi.version>2.4</sakai.servletapi.version>
>>> to
>>> <sakai.servletapi.version>2.5</sakai.servletapi.version>
>>>
>>> But after clean and rebuild everything (included sakai/master), the effective pom is still showing the above dependency.
>>>
>>> Does somebody know where to change it?
>>>
>>> Thank you so much in advance
>>>
>>> David Torres
>>>
>>> Computer Scientist
>>> Renuda UK
>>>
>>> tel: +44 (0)20 3371 1709
>>> web: www.renuda.com
>>>
>>> Renuda UK is registered in England and Wales. Company number 6218863.
>>> VAT registration number 918 6490 91. Registered office: 35 Charleville Road, London W14 9JJ, UK.
>>> From: Steve Swinsburg [steve.swinsburg at gmail.com]
>>> Sent: 20 February 2013 21:36
>>> To: David Torres
>>> Cc: sakai-dev
>>> Subject: Re: [Building Sakai] Wicket 1.5+ in Sakai?
>>>
>>> I like the name of that archetype.
>>>
>>> I haven't migrated my wicket tools to 1.5 yet, but the error is probably correct. Wicket 1.5 needs servlet spec 2.5, what version tomcat and Sakai are you using? I would be adjusting your web.xml to see if you can get the webapp started.
>>>
>>> Cheers
>>> Steve
>>>
>>> Gesendent von meinem iPhone
>>>
>>> On 21/02/2013, at 5:37, David Torres <david.torres at renuda.com> wrote:
>>>
>>>> Hello list!
>>>>
>>>> Somebody knows somebody who has used Wicket 1.5+ in Sakai?
>>>> I tried some months ago to migrate the Steve's archetype example to 1.5. Now that I have a bit better knowledge about Wicket I tried to do it again (using the corresponding guide, of course). I managed to build it with Maven, but there is a runtime error related with a tomcat filter, which most likely is not the true problem.
>>>>
>>>> Is anybody actually using 1.5+ in the community? When I started to develop, everybody recommended me to choose Wicket. But now I am asking to many people and everybody is using 1.4, despite interesting functionality like tree views or charts are not available in that version.
>>>>
>>>> Thank you!
>>>> Best regards,
>>>>
>>>> David Torres
>>>>
>>>> Computer Scientist
>>>> Renuda UK
>>>>
>>>> tel: +44 (0)20 3371 1709
>>>> web: www.renuda.com
>>>>
>>>> Renuda UK is registered in England and Wales. Company number 6218863.
>>>> VAT registration number 918 6490 91. Registered office: 35 Charleville Road, London W14 9JJ, UK.
>>>> _______________________________________________
>>>> sakai-dev mailing list
>>>> sakai-dev at collab.sakaiproject.org
>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>
>>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>>
>> <web.xml>
>
> <web.xml>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130221/6181eb0e/attachment.html
More information about the sakai-dev
mailing list