Ben Well, that was the definite hint. Now I can see what expected. Eleven threads.
Next I try to get the the application up. After that I clean up my notes and post the whole procedure to this list. Thanks to all who helped so far. Regargds Georg Balmer Ben Parker wrote: > > Georg, > > make sure your ps is showing threads. I noticed that on a stock RH 8 install > the ps command does not show threads by default. > > Try: > ps -amf f > > I am running RH8, Python 2.2.2 (Apr 23 2003), Webware 0.8, Apache 2, > mod_webkit2 without any problems. We just need to figure out the differences > in your machine. > > Ben > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Georg > Balmer > Sent: Wednesday, May 07, 2003 12:13 PM > To: Aaron Held > Cc: Webware discuss > Subject: Re: [Webware-discuss] Installing mod_webkit(0.8) with RH80 and > apache2 > > 1. > There is definitely just 1 Python (python2) process. > The remaining get launched and die silently at least that's > then way it looks. > > Is there a way to activate trace statements? > > 2. > I did not change anything in the Application.conf and AppServer.conf > after I run MakeAppWorkDir. > > Regards > Georg Balmer > > Aaron Held wrote: > > > > Check your Application.conf and AppServer.conf - > > webware is returning a bad redirect to the client somehow. > > > > You should see 11 Python processes, try a full ps -aux and look around. > > > > -Aaron > > > > Georg Balmer wrote: > > > > >1. > > >The default context is: "MyContext" > > > > > >2. > > >http://localhost/WK/main > > >navigates to the "Welcome to Webware" Page :-) > > >and from there to .... > > > > > >Question: > > >Why do I see just one python2 process? > > > > > >Regards > > >Georg Balmer > > > > > >Aaron Held wrote: > > > > > > > > >>What is in the default context? > > >> > > >>Try > > >>http://localhost/WK/main > > >> > > >>Also please REPLY-ALL so other on the list can help. > > >> > > >>-Aaron > > >> > > >>Georg Balmer wrote: > > >> > > >> > > >> > > >>>1. > > >>>I am using Webware release, not the CVS. > > >>> > > >>>2. > > >>>http://localhost/WK/ > > >>> > > >>>Output: > > >>> > > >>>06 <date> /WK//// > > >>>06 0.00 secs /WK//// > > >>> > > >>>07 <date> /WK///// > > >>>07 0.00 secs /WK///// > > >>> > > >>>.... > > >>> > > >>>until Redirection limit is exceeded > > >>> > > >>> > > >>>3. > > >>>I need to port a runnung application > > >>>from > > >>>Webware-0.6 RH70 apache 1.3 > > >>>to > > >>>Webware-0.8 RH80 apache 2.0 > > >>> > > >>>using mod_webkit > > >>> > > >>>Who has this configuration up and runnung? > > >>> > > >>>Help is needed. > > >>> > > >>>Regards > > >>>Georg Balmer > > > >>>------------------------------------------------------------------------- > -- > > >>> > > >>>Aaron Held wrote: > > >>> > > >>> > > >>> > > >>> > > >>>>So it looks like Webware is running, but Apache is not connecting > properly. > > >>>>What happens when you try > > >>>>http://localhost/WK/ > > >>>> > > >>>>Also move the cgi adapter from your wWK directory and try to get that > > >>>>working first. > > >>>> > > >>>>Also you should try Webware release, not the CVS for now. > > >>>> > > >>>>-Aaron > > >>>> > > >>>>Georg Balmer wrote: > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > >>>>>I followed your instructions > > >>>>> > > >>>>>AppServer output: > > >>>>> > > >>>>> 1 <date> > > >>>>>Error: Invalid AppServer protocol > > >>>>> > > >>>>>------------------------------------------------------------------- > > >>>>> > > >>>>> > > >>>>>Aaron Held wrote: > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>>>Webware is listening to port 8086 > > >>>>>>so try to telnet directly to that port and make a request. > > >>>>>> > > >>>>>>First relaunch Webware via > > >>>>>>../AppServer > > >>>>>>(No & so it runs in the forground) > > >>>>>> > > >>>>>>and they try > > >>>>>>telnet localhost 8086 > > >>>>>>type some stuff and hit enter a few times > > >>>>>> > > >>>>>>You should see an error in the webware console like: > > >>>>>> > > >>>>>> dict_length = loads(chunk) > > >>>>>>ValueError: bad marshal data > > >>>>>> > > >>>>>>If you do, then Webware is running and the problem is probably the > Adapter > > >>>>>> > > >>>>>>-Aaron > > >>>>>> > > >>>>>>Georg Balmer wrote: > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>>>.... python2 Launch.py (once) > > >>>>>>> > > > >>>>>>>--------------------------------------------------------------------- > --------- > > >>>>>>>Aaron Held wrote: > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>> > > >>>>>>>>How do you know that Webware is dead? > > >>>>>>>> > > >>>>>>>>What does > > >>>>>>>>ps -aux | grep python > > >>>>>>>>yield? > > >>>>>>>> > > >>>>>>>>Georg Balmer wrote: > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>> > > >>>>>>>>>Here are the last few lines: > > >>>>>>>>> > > >>>>>>>>>Loading plug-in: MiddleKit at /usr/local/Webware/MiddleKit > > >>>>>>>>>Loading context: MKBrowser at > /usr/local/Webware/MiddleKit/WebBrowser > > >>>>>>>>>Loading plug-in: MiscUtils at /usr/local/Webware/MiscUtils > > >>>>>>>>>Loading plug-in: PSP at /usr/local/Webware/PSP > > >>>>>>>>>Loading context: PSPExamples at /usr/local/Webware/PSP/Examples > > >>>>>>>>>Loading plug-in: TaskKit at /usr/local/Webware/TaskKit > > >>>>>>>>>Loading plug-in: UserKit at /usr/local/Webware/UserKit > > >>>>>>>>>Loading plug-in: WebUtils at /usr/local/Webware/WebUtils > > >>>>>>>>> > > >>>>>>>>>Listening on ('127.0.0.1', 8086) > > >>>>>>>>>Creating 10 threads.......... > > >>>>>>>>>Ready (0.16 seconds after launch) > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>>Regards > > >>>>>>>>>GB > > > >>>>>>>>>------------------------------------------------------------------- > ----------- > > >>>>>>>>>Aaron Held wrote: > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>> > > >>>>>>>>>>Georg Balmer wrote: > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>>>After upgrading the httpd-packages from the installation CD to > > >>>>>>>>>>> > > >>>>>>>>>>>. httpd-2.0.40-11.3 > > >>>>>>>>>>>. httpd-devel-2.0.40-11.3 > > >>>>>>>>>>> > > >>>>>>>>>>>from > > >>>>>>>>>>> > > >>>>>>>>>>>https://rhn.redhat.com/errata/RHSA-2003-139.html > > >>>>>>>>>>> > > >>>>>>>>>>>I was able to compile and install the mod_webkit module in > > >>>>>>>>>>>./Adapters/mod_webkit2. > > >>>>>>>>>>> > > >>>>>>>>>>>------------ > > >>>>>>>>>>>Then I adjusted the apache configuration file (httpd.conf). > > >>>>>>>>>>> > > >>>>>>>>>>>" > > >>>>>>>>>>>LoadModule webkit-module modules/mod_webkit.so > > >>>>>>>>>>>" > > >>>>>>>>>>>was added at the end of the "LoadModule" list. > > >>>>>>>>>>> > > >>>>>>>>>>><Location /WK> > > >>>>>>>>>>>WKServer localhost 8086 > > >>>>>>>>>>>SetHandler webkit-handler > > >>>>>>>>>>></Location> > > >>>>>>>>>>> > > >>>>>>>>>>>was placed just after the "default" directory directive. > > >>>>>>>>>>> > > >>>>>>>>>>>------------ > > >>>>>>>>>>> > > >>>>>>>>>>>I created a new application directory ./wwA with > MakeAppWorkDir. > > >>>>>>>>>>> > > >>>>>>>>>>>Then I changed python to python2 in the startup script > > >>>>>>>>>>>./wwA/AppServer > > >>>>>>>>>>> > > >>>>>>>>>>>The appliction directory ./wwA was sybolically linked > > >>>>>>>>>>>to the httpd DocumentRoot. > > >>>>>>>>>>> > > >>>>>>>>>>>------------ > > >>>>>>>>>>> > > >>>>>>>>>>>I restarted the httpd-server as root: > > >>>>>>>>>>> > > >>>>>>>>>>>/etc/rc.d/init.d/httpd restart > > >>>>>>>>>>> > > >>>>>>>>>>>------------ > > >>>>>>>>>>> > > >>>>>>>>>>>To launch Webeware I changed to ./wwA and entered > > >>>>>>>>>>> > > >>>>>>>>>>>./AppServer & > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>>Now the default 10 ThreadedApplicationServers get launched and > die. > > >>>>>>>>>>>No message. No nothing. > > >>>>>>>>>>> > > >>>>>>>>>>>First guess > > >>>>>>>>>>>. the httpd.conf file is not correct > > >>>>>>>>>>> > > >>>>>>>>>>>I definitely do need some help to track the error. > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>>Regards > > >>>>>>>>>>>Georg Balmer > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>> > > >>>>>>>>>>What are the last few lines of the console output? > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > >>>>>>>>>> > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss