Ok, I solved the problem by installing tomcat 6.0.24 and using the same
procedure.

Thanks

On Wed, Mar 10, 2010 at 2:39 PM, Adrien Futschik
<[email protected]>wrote:

>
>
> On Wed, Mar 10, 2010 at 2:06 PM, Scott Wilson <
> [email protected]> wrote:
>
>>
>> On 10 Mar 2010, at 12:30, Adrien Futschik wrote:
>>
>>
>>
>> On Wed, Mar 10, 2010 at 1:18 PM, Scott Wilson <
>> [email protected]> wrote:
>>
>>>
>>> On 10 Mar 2010, at 12:08, Adrien Futschik wrote:
>>>
>>>  Hy everyone !
>>>>
>>>> I am trying to make wookie run under Tomcat 5.5 and MySQL 5.0.
>>>> I have followed the instructions in the readme_tomcat.txt file.
>>>>
>>>> The server starts with success and I can access the admin page without
>>>> problem. One thing I noticed wich is different from when I tested wookie
>>>> using ant is that I only have one widget installed : "Unsupported widget
>>>> widget".
>>>>
>>>
>>> Thats a bit odd - did you use ant deploy-webapp to deploy it to tomcat?
>>>
>> No I did it myself :
>> 1) installed tomcat 5.5 and MySQL 5.0 on the server
>> 2) copied the webapp/wookie folder under /var/lib/webapps
>> 3) modified /etc/tomcat5/tomcat-users.xml
>> 4) created a wookie user on MySQL.
>> 5) used the widgetdb.sql script to create the proper database/tables
>> 6) granted full access to widgetdb to the user
>> 7) replaced the original WEB-INF\classes\hibernate.cfg with the one found
>> in scripts/mysql
>> 8) changed user/password in hibernate.cfg
>> 9) tried to start tomcat : Wookie was looking for local.*.properties files
>> in /usr/share/tomcat5
>> 10) added symbolic links from
>> /var/lib/tomcat5/webapps/wookie/WEB-INF/classes/*.properties to
>> /usr/share/tomcat5/local.*.properties
>> 11) restarted tomcat and managed to get into wookie admin console
>>
>> There I noticed that only one widget was available, the unsupported one,
>> and failed to add any other as mentioned before.
>>
>>
>> I'm quite surprised that the admin console shows up at all - with Tomcat
>> 5.5 there is an issue of it using an older version of the Servlet API (2.4).
>> Did you not get a lot of errors in catalina.out?
>>
>> However I can make Wookie work on Tomcat 5.5.28 by replacing tomcat's
>> servlet-api.jar with the servlet-api-2.5.jar that should be in wookie's
>> WEB-INF/lib folder.
>>
> No I am not getting any erros in catalina.out and wookie seams to be
> working but I can't add a new widget.
>
> I am using tomcat 5.5.23
>
> I have tried with this jar
> (./.ant/cache/org.mortbay.jetty/servlet-api-2.5/jars/servlet-api-2.5-6.1.3.jar)
> without success. Now I am getting a lot of errors. I can't find
> servlet-api-2.5.jar
>
>>
>>
>>
>>>
>>> (There may be some conflict between the instructions in readme-tomcat and
>>> at
>>> http://incubator.apache.org/wookie/downloading-and-installing-wookie.html- 
>>> probably that readme should just point to the wiki page)
>>>
>>>
>>>
>>>> In the server log I can see that wookie is scanning for new widgets in
>>>> /usr/share/tomcat5/webapps/wookie/deploy.
>>>>
>>>> When trying to add a new widgets (adding it inside the deploy folder or
>>>> using the web interface) I am getting this message :
>>>>
>>>> ERROR [http-8080-Processor21] (WidgetAdminServlet.java: 508) -
>>>> org.apache.wookie.exceptions.BadManifestException
>>>>
>>>> This happens with all widgets. Even with the example widgets. Not sure
>>>> what's going on there.
>>>>
>>>> Thanks in advance,
>>>>
>>>> Adrien
>>>>
>>>
>>>
>>
>>
>

Reply via email to