Hi.

I know there's already a thread about Ubuntu, but I didn't find
anything for my problem.

I have default installed tomcat6 and mysql with aptitude.

Everything goes fine until deploying Wookie.

First i got error in catalina.out, that ContextListener could not
create config files in "/var/lib/tomcat6/. Since it's a dev machine, I
gave folder 777 permissons, it solved this problem.
Atleast it seems so, i can browse /wookie/ and /wookie/admin in browser.

Second problem is that i can't deploy widgets, it's broken every way i've tried

a) move widgets to deploy folder gives:

 ERROR [Thread-9] (ContextListener.java:189) - youdecide.wgt:Hot
deploy error: Unable to move dropped .wgt file to upload folder
12:04:30,029 ERROR ContextListener:189 - youdecide.wgt:Hot deploy
error: Unable to move dropped .wgt file to upload folder
ERROR [Thread-9] (ContextListener.java:189) - notsupported.wgt:Hot
deploy error: Unable to move dropped .wgt file to upload folder
12:04:30,042 ERROR ContextListener:189 - notsupported.wgt:Hot deploy
error: Unable to move dropped .wgt file to upload folder
ERROR [Thread-9] (ContextListener.java:189) - sharedraw.wgt:Hot deploy
error: Unable to move dropped .wgt file to upload folder
12:04:30,043 ERROR ContextListener:189 - sharedraw.wgt:Hot deploy
error: Unable to move dropped .wgt file to upload folder
ERROR [Thread-9] (ContextListener.java:189) - camera.wgt:Hot deploy
error: Unable to move dropped .wgt file to upload folder
12:04:30,044 ERROR ContextListener:189 - camera.wgt:Hot deploy error:
Unable to move dropped .wgt file to upload folder

I've tried chmod 777 trick on upload and deploy folder but now help,
if i do that then the result is "error, saying something about invalid
manifest".

ERROR [Thread-9] (ContextListener.java:197) - sudoku.wgt:Hot deploy
error: widget has invalid manifest
12:11:35,547 ERROR ContextListener:197 - sudoku.wgt:Hot deploy error:
widget has invalid manifest
ERROR [Thread-9] (ContextListener.java:197) - test.wgt:Hot deploy
error: widget has invalid manifest
12:11:35,565 ERROR ContextListener:197 - test.wgt:Hot deploy error:
widget has invalid manifest
ERROR [Thread-9] (ContextListener.java:197) - butterfly.wgt:Hot deploy
error: widget has invalid manifest
12:11:35,576 ERROR ContextListener:197 - butterfly.wgt:Hot deploy
error: widget has invalid manifest


After doing that trying upload widget via web interface gives:

There was a problem encountered when trying to upload the package.
Cause: Invalid Widget: Config.xml is not a valid W3C Widgets
configuration document

Then i figured out that wservices/ folder needs some permissions too,
gave it also 777 and widgets deployed.

One last issue is Wookie proxy, Widgets that request outside world
like Weather widget produce error:

ERROR [http-8080-1] (ProxyServlet.java:117) - Invalid argument or
cannot assign requested address
12:15:02,620 ERROR ProxyServlet:117 - Invalid argument or cannot
assign requested address
ERROR [http-8080-5] (ProxyServlet.java:117) - Invalid argument or
cannot assign requested address

In short how to get going:

a) chmod 777 /var/lib/tomcat6

b) ant deploy-widget (as normal user)

c) chmod 777 /var/lib/tomcat6/webapps/wookie/deploy/
   chmod 777 /var/lib/tomcat6/webapps/wookie/upload/
   chmod 777 /var/lib/tomcat6/webapps/wookie/wservices/

d) sudo cp build/widgets/* /var/lib/tomcat6/webapps/wookie/deploy

Anyone knows anything about the proxy issue?


--
Raido

Reply via email to