Chris,
I installed Webware 0.9.2. Then I copied our app under WebKit
directory, because some pages mentioning from WebKit.RIMPages.SomePage
import SomePage.
Then I copy OneShot.cgi to /cgin-bin/ and make:
WebwareDir = '/home/rollinter/www/Webware'
Then I run it:
[Sun Feb 18 21:19:28 2007] [error] [client 222.124.42.101] File
"./WebKit/Adapters/OneShotAdapter.py", line 74, in run, referer:
http://www.rollinter.com/index1.html
[Sun Feb 18 21:19:28 2007] [error] [client 222.124.42.101] File
"./WebKit/OneShotAppServer.py", line 22, in __init__, referer:
http://www.rollinter.com/index1.html
[Sun Feb 18 21:19:28 2007] [error] [client 222.124.42.101] File
"./WebKit/AppServer.py", line 100, in __init__, referer:
http://www.rollinter.com/index1.html
[Sun Feb 18 21:19:28 2007] [error] [client 222.124.42.101] File
"./WebKit/AppServer.py", line 173, in recordPID, referer:
http://www.rollinter.com/index1.html
[Sun Feb 18 21:19:28 2007] [error] [client 222.124.42.101] File
"./WebKit/PidFile.py", line 39, in __init__, referer:
http://www.rollinter.com/index1.html
[Sun Feb 18 21:19:28 2007] [error] [client 222.124.42.101] IOError:
[Errno 13] Permission denied:
'/home/rollinter/www/Webware/WebKit/appserverpid.txt', referer:
http://www.rollinter.com/index1.html
[Sun Feb 18 21:19:28 2007] [error] [client 222.124.42.101] Premature
end of script headers: x.cgi, referer:
http://www.rollinter.com/index1.html
Now, OneShot looked for appserverpid.txt which doesn't exist.
On 2/17/07, Christoph Zwerschke <cito@...> wrote:
> Mico Siahaan wrote:
> > Yes, we developed the application using Webware 0.6. But, the error I
> > mentioned happened when I tried to redeploy using Webware 0.9.2. Can I
> > assumed that the 'MaxServerThreads' key shall be in one of the files?
>
> Your log says:
>
> [Fri Feb 16 16:02:42 2007] [error] [client 202.46.146.180] File
> "/home/rollinter/Webware/WebKit/Application.py", line 104, in
> __init__, referer: http://www.rollinter.com/index1.html
> [Fri Feb 16 16:02:42 2007] [error] [client 202.46.146.180]
> self._instanceCacheSize = self._server.setting('MaxServerThreads'),
>
> This looks like you still have Webware 0.6 installed at
> /home/rollinter/Webware/ since the Application.py module of
> Webware 0.9.x does not refer MaxServerThreads.
>
> You should install Webware 0.9.2, create a new working directory using
> the MakeAppWorkDir script of Webware 0.9.2, and copy your servlets to
> the correspoding location in the new working dir.
>
> -- Christoph
--
Mico Siahaan
---
Mobile: +62-8121025010
Email: Mico.Siahaan@...
Blog: http://www.tentangmico.info/blog
Visit our shop: http://www.immanuelbookstore.com
|