|
|
[Catalyst] Subsessions?
By Rainer Clasen at Sep 30, 2007, 09:25 am UTC
Hello, there are currently two Problems I could easily solve with subsessions. After saving some data I want to redirect the user back to where he came. So I'd like to keep track where the user came from. As I expect the User to use several Browser windows, neither Cookie based Sessions (incl.... More...
Hello,
there are currently two Problems I could easily solve with subsessions.
After saving some data I want to redirect the user back to where he came. So I'd like to keep track where the user came from. As I expect the User to use several Browser windows, neither Cookie based Sessions (incl. stash) work in all scenarios. Right now I'm using the HTTP Referer, which I'm also considering a bit clumsy.
Furtermore there are users who have access to other users' data. I'd like them to select them *once* which user's data they want to work on and keep this for the current browser window. Again I expect the user to use multiple browser windows (say for working with multiple users' data at the same time).
So I'm searching for something functional similar to: http://paneris.net/cgi-bin/cvsweb.cgi/SubSession/SubSessions.html?rev=1.3
I've had no luck finding something similar for Catalyst. Well, Catalyst::Plugin::Session::State::URI gives me some Ideas on how I could implement this, but if possible I'd prefer to avoid re-inventing the wheel (especially as I expect this to be non-trivial).
Rainer
6 Replies
|
|
|
[Catalyst] How to pass args/data from one controller to another?
By Dustin Suchter at Sep 30, 2007, 03:38 am UTC
So I've thought of a few different ways to pass data between Local methods across two different controllers, but none of them seem like good ideas. I still don't fully get the Catalyst framework yet, so I'm asking a very open question, "What are a few right ways to do this?" TIMTOWTDI, of course.... More...
So I've thought of a few different ways to pass data between Local methods across two different controllers, but none of them seem like good ideas. I still don't fully get the Catalyst framework yet, so I'm asking a very open question, "What are a few right ways to do this?" TIMTOWTDI, of course.
i.e.
Controller "Library" has a function "list_books" that, duh, displays a list of books in the lib. Each book is clickable creating an action in another function in Libarary called "read_book" that's only job in life as a function is to pass the $book_id over to the default action in the "ReadABook" controller. How do you pass the $book_id? Through the stash, though a path arg using 'uri_for' and a redirect, using forward?
thanks, -d
6 Replies
|
|
|
[Catalyst] get the path to the home
By Octavian Rasnita at Sep 29, 2007, 07:22 am UTC
Hi, I have a I18N module in my Catalyst application and I want to get the path to the home directory of the application. Is it possible to get it without hard codding it in that module? The module is: package MyApp::I18N::ro; Thank you. Octavian More...
Hi,
I have a I18N module in my Catalyst application and I want to get the path to the home directory of the application. Is it possible to get it without hard codding it in that module?
The module is:
package MyApp::I18N::ro;
Thank you.
Octavian
8 Replies
|
|
|
[Catalyst] CMS
By Matt Rosin at Sep 29, 2007, 07:10 am UTC
Catalyst makes it easy to build a site with lots of little modules of content composing a single page - the actual content (words/images) being scattered in static apache directories, the database, the templates folders and the code. At some point a content management system of some type is needed.... More...
Catalyst makes it easy to build a site with lots of little modules of content composing a single page - the actual content (words/images) being scattered in static apache directories, the database, the templates folders and the code. At some point a content management system of some type is needed.
While I hand-roll this sort of thing now it might be nice to have a standard module with perhaps a rich editor and HTML form, or it might be more powerful with the ability to manage various stories/images on disk or db, and integrate uploads even, like some of the portal building systems do. Perhaps one integrated well with Catalyst could also allow the user to select template files to use in a given part of the screen to replace not just on a story basis but on a div basis.
I'd just like to ask if anyone uses a CMS (beyond just hand-rolling for each instance) or has been seeing similar needs. I think much development time is spent on creating object management interfaces which perhaps could be boiled down to some repetitive functionality.
Matt Rosin
27 Replies
|
|
|
[Catalyst] setup_home bug (with fix): wrong detection of home directory
By Oleg Pronin at Sep 28, 2007, 7:16 pm UTC
Hello. I put the service script into APP_HOME/script/service/online_users.plx In the script: use FindBin; use lib "$FindBin::Bin/../../lib"; use MyApp; print MyApp->path_to('/'); # prints APP_HOME/script/service/ Fix for Catalyst::Utils (sub Catalyst::Utils::home): 174,176c174,177 < my ($lastdir) =... More...
Hello.
I put the service script into APP_HOME/script/service/online_users.plx
In the script:
use FindBin; use lib "$FindBin::Bin/../../lib"; use MyApp;
print MyApp->path_to('/'); # prints APP_HOME/script/service/
Fix for Catalyst::Utils (sub Catalyst::Utils::home):
174,176c174,177 < my ($lastdir) = $home->dir_list( -1, 1 ); < if ( $lastdir eq '..' ) { < $home = dir($home)->parent->parent; --- > my $i = 0; > $i++ while $home->dir_list( -$i, 1 ) eq '..'; > if ($i) { > $home = dir($home)->parent for 1..($i*2);
in my case at line 174 $home = 'APP_HOME/script/service/../../'
0 Replies
|
|
|
[Catalyst] The model -is- where your business logic lives.
By Ian Docherty at Sep 28, 2007, 4:01 pm UTC
In a previous thread, Matt S Trout said. Based on this I have the following simple code. package MyApp::Model::DBIC; use strict; use base qw(Catalyst::Model::DBIC::Schema); package MyApp::Schema::Demo; use base qw(DBIx::Class); __PACKAGE__->load_components(qw(PK::Auto Core));... More...
In a previous thread, Matt S Trout said.
>The model -is- where your business logic lives. > >The real question is whether your ORM should be directly in the model or >not, but that's a whole different thread.
Based on this I have the following simple code.
#### package MyApp::Model::DBIC;
use strict; use base qw(Catalyst::Model::DBIC::Schema);
#### package MyApp::Schema::Demo;
use base qw(DBIx::Class);
__PACKAGE__->load_components(qw(PK::Auto Core)); __PACKAGE__->table('demo'); __PACKAGE__->add_columns(qw(id name state)); __PACKAGE__->set_primary_key('id');
#### package MyApp::Model::DBIC::Demo;
sub do_some_business_logic_stuff { my ($self) = @_;
if (<some complicated business logic>) { $self->state('pending'); $self->update; } }
#### somewhere in my application
$demo = $c->model('DBIC::Demo')->find($index); $demo->do_some_business_logic_stuff;
-------------
Is this a standard/typical/best-practice way to do this sort of thing?
It seems to me that if I want to use the business logic in an external application (cronjob) then I am having to use the MyApp::Model::DBIC::Demo namespace as decreed by Catalyst (not that this is a big issue).
Regards Ian
10 Replies
|
|
|
[Catalyst] flash - Duplicate entries
By Tobias Kremer at Sep 26, 2007, 3:58 pm UTC
After deploying our new Catalyst application I'm receiving this error quite often per day: "DBIx::Class::ResultSet::find_or_create(): DBI Exception: DBD::mysql::st execute failed: Duplicate entry 'flash:9b11b5354715b56c9395abdf21544e83db5b0814' for key 1 Session/Store/DBIC/Delegate.pm line 52" I'm... More...
After deploying our new Catalyst application I'm receiving this error quite often per day:
"DBIx::Class::ResultSet::find_or_create(): DBI Exception: DBD::mysql::st execute failed: Duplicate entry 'flash:9b11b5354715b56c9395abdf21544e83db5b0814' for key 1 [...] at /usr/local/lib/perl5/site_perl/5.8.8/Catalyst/Plugin/ Session/Store/DBIC/Delegate.pm line 52"
I'm using MySQL and I'm quite sure that this is _NOT_ a locking issue (or MySQL's fault as somebody on the list recently suggested) because the session stuff without the flash works perfectly.
Any ideas what could be wrong here? Thanks!
--Tobias
_______________________________________________ _ _ (web) http://www.funkreich.de (last.fm) http://www.last.fm/user/soulchild77
3 Replies
|
|
|
[Catalyst] Catalyst and chrome url (xul)
By Javier E. Perez P. at Sep 25, 2007, 8:10 pm UTC
Hi all, I'm trying to display xul elements in a page in my proyect in catalyst, i already change the http header content_type to text/xml, but comparing the result with the same file published with apache (no-catalyst) and making use of firebug, i realize that the global.css file isn't the same,... More...
Hi all,
I'm trying to display xul elements in a page in my proyect in catalyst, i already change the http header content_type to text/xml, but comparing the result with the same file published with apache (no-catalyst) and making use of firebug, i realize that the global.css file isn't the same, why this happen? how can i fix it?
Thanks beforehand
7 Replies
|
|
|
[catalyst] status 301 changed to 200 only when deployed with fastcgi/lighty
By Daniel McBrearty at Sep 25, 2007, 7:11 pm UTC
Hi I finally deployed engoi.com live last night, after some protracted bug fixing and stuff One of the things I have in the site is a module which takes URL's for the old site and sends back a status 301 with a redirect to the new url for the same page. For example: if the user requests... More...
Hi
I finally deployed engoi.com live last night, after some protracted bug fixing and stuff
One of the things I have in the site is a module which takes URL's for the old site and sends back a status 301 with a redirect to the new url for the same page.
For example: if the user requests
/public/index.cgm?natlang=nl
they get a 301 and redirect to
/nl/index.html
The code to do this looks (in part) like this;
my $r = "/$natlang/index.html"; $c->stash->{redirect} = $r; $c->res->status( 301, $r ); $c->stash->{template} = '/redirect/redirect.tt';
And this works fine on the dev server.
WHen deployed with lighty/fastcgi, it also works fine - *except* that the status code now becomes a '200'. My $c->res->status( 301, $r ) is silently ignored.
My lighty deployment is basically a variation on this:
http://www.dev411.com/wiki/Installing_lighttpd_and_FastCGI_for_Catalyst
my lighttpd.conf section is a little different :
$HTTP["url"] !~ "\.(html|css|js|png|gif|ico)$" { fastcgi.server = ( "" => ( "Engoi" => ( "socket" => "/tmp/engoi.socket", "check-local" => "disable") ), ".cgm" => ( "Engoi" => ( "socket" => "/tmp/engoi.socket", "check-local" => "disable") ) ) }
Has anyone any idea why my status code should be silently changed?
thanks
Daniel
1 Reply
|
|
|
[Catalyst] CatalystX::CRUD
By Peter Karman at Sep 24, 2007, 8:48 pm UTC
I've been thinking the last couple days about ways to expand Catalyst::Controller::Rose to play more nicely with other models besides C::M::RDBO. This is per mst's request to open up the RHTMLO goodness to non-RDBO users, and because I now find myself wanting the same thing. I have a model that... More...
I've been thinking the last couple days about ways to expand Catalyst::Controller::Rose to play more nicely with other models besides C::M::RDBO. This is per mst's request to open up the RHTMLO goodness to non-RDBO users, and because I now find myself wanting the same thing. I have a model that isn't RDBO that I'd like to use in a project.
So I'm proposing the following -- comments/criticism welcome.
* CatalystX::CRUD::Model (CXCM)
A base class for CRUD-like models. CXCM isa Catalyst::Model. Any CXCM subclass could be used with the C::C::Rose classes (or any other controller that decided to adhere to the CXCM API). C::M::RDBO would become a CXCM subclass.
CXCM subclasses would need to implement at least the following methods:
* new_object - returns CatalystX::CRUD::Object->new() * fetch - returns CatalystX::CRUD::Object->new()->read() * search - returns zero or more CXCO instances as an arrayref * interator - like search() but returns an iterator * count - like search() but returns an integer
(For those following along at home, you'll notice that's basically the C::M::RDBO API.)
* CatalystX::CRUD::Object (CXCO)
A base class for objects returned by CatalystX::CRUD::Model subclasses. In the case of RDBO, this would just be a thin wrapper class that 'hasa' RDBO object. So e.g. calling create() or update() on a CatalystX::CRUD::Object::RDBO object would just look something like:
sub create { my $self = shift; # CXCO object $self->rdbo->save(@_); }
# same thing for update()
CXCO subclasses would need to implement at least the following methods:
* create - write a new object to store * read - load a new object from store * update - save an existing object to store * delete - remove an existing object from store
(How original! CRUD!)
You'll notice that the required CXCO methods are intentionally few. I assume that subclasses would want to also provide accessors to any underlying objects so that controllers could act directly on them (e.g., the rdbo() method in the above create example).
I imagine that there could then be classes like:
CatalystX::CRUD::Model::DBIC CatalystX::CRUD::Object::DBIC CatalystX::CRUD::Model::CDBI CatalystX::CRUD::Object::CDBI
etc., that would all play nicely with C::C::Rose.
Thoughts?
9 Replies
|
|
|
[Catalyst] Can't find my canary
By Dennis Daupert at Sep 24, 2007, 8:29 pm UTC
I have a problem trying to use Catalyst::Plugin::FormCanary. There are 3 routines: sub setup checks to make sure session is up and running. It is. sub finalize_session successfully creates the canary keys and adds a hidden input tag to $c->response->body. I wrote output of $c->response->body to... More...
I have a problem trying to use Catalyst::Plugin::FormCanary.
There are 3 routines:
sub setup checks to make sure session is up and running. It is.
sub finalize_session successfully creates the canary keys and adds a hidden input tag to $c->response->body. I wrote output of $c->response->body to $c->log->debug, so I can see that at the command line. But when my page displays in the browser, view source shows that the hidden input tag is NOT there. I'm probably missing something very basic in what happens to $c->response->body, just not sure what.
So when I (say) try to login, sub prepare_action can't find the canary. Bummer. Help?
/dennis
5 Replies
|
|
|
Re: [Catalyst] New auth stuff and LDAP store...
By Peter Karman at Sep 24, 2007, 5:55 pm UTC
I am now trying to use ::Store::LDAP 0.04 with ::Authentication 0.10002 and I cannot seem to get the config right. I just asked about this on #catalyst and was advised to use the older pre-0.1 base Authentication plugin. I have a feeling I'm just not getting the config right. But if it is is more... More...
On 07/21/2007 10:02 PM, Jay K wrote: > For the benefit of the list: > > This issue has been resolved. It turned out to be a disagreement > between what C::P::Authenticaiton was trying to place in $user->store > () and what LDAP was trying to place in $user->store() > > LDAP was correct, and C::P::Authentication should keep it's grubby > little hands off of $user->store() - I am pushing a maintenance > release of C::P::Authentication to CPAN now. Should be available > from CPAN in a few hours. >
I am now trying to use ::Store::LDAP 0.04 with ::Authentication 0.10002 and I cannot seem to get the config right. I just asked about this on #catalyst and was advised to use the older pre-0.1 base Authentication plugin.
I have a feeling I'm just not getting the config right. But if it is is more systemic than that, and the LDAP plugins need some help getting up to the latest Authentication API, I have tuits to spend on it and would gladly contribute code/tests/docs if I was told those were needed, and given a pointer to where to start.
TIA
6 Replies
|
|
|
[Catalyst] Catalyst::Model::Search
By Peter Karman at Sep 24, 2007, 4:16 pm UTC
I see Catalyst::Model::Search on CPAN now. As the maintainer of Catalyst::Model::SWISH, I'd love to get in on that namespace action. Is Catalyst::Model::Search intentionally undocumented? Are there plans for a formal API to which subclasses of Catalyst::Model::Search must adhere? signed, a search... More...
I see Catalyst::Model::Search on CPAN now. As the maintainer of Catalyst::Model::SWISH, I'd love to get in on that namespace action. Is Catalyst::Model::Search intentionally undocumented? Are there plans for a formal API to which subclasses of Catalyst::Model::Search must adhere?
signed, a search junkie
7 Replies
|
|
|
[Catalyst] Problem using Static::Simple
By Will Hawes at Sep 24, 2007, 3:45 pm UTC
Having upgraded all Catalyst modules to their latest versions today, I think I'm seeing strangeness with Static::Simple. I've boiled it down to the following: 1) $ catalyst.pl MyApp 2) Modify MyApp::Controller::Root::default() as follows: sub default { my( $self, $c ) = @_;... More...
Having upgraded all Catalyst modules to their latest versions today, I think I'm seeing strangeness with Static::Simple. I've boiled it down to the following:
1) $ catalyst.pl MyApp
2) Modify MyApp::Controller::Root::default() as follows:
sub default { my( $self, $c ) = @_; $c->response->status(404); $c->response->body( 'not found' ); }
3) $ PATH_INFO=/static1 perl MyApp/script/myapp_cgi.pl Content-Length: 9 Content-Type: text/html; charset=utf-8 Status: 404
not found
When accessing the app through Apache using Firefox with the LiveHTTPHeaders extension, the response headers are reported as follows:
HTTP/1.x 404 OK Date: Wed, 19 Sep 2007 17:48:48 GMT Server: Apache/2.0.55 (Ubuntu) ... X-Catalyst: 5.7010 Content-Length: 9 Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Content-Type: text/html; charset=utf-8
4) Modify myapp.yml as follows (the intention being to serve static files from /var/www/static/*):
static: dirs: [ 'static' ] include_path: [ '/var/www' ]
5) $ PATH_INFO=/static1 perl MyApp/script/myapp_cgi.pl Status: 404
Note that the Catalyst-generated Content-Length and Content-Type response headers, as well as the response body, have disappeared. Accessing the script via Firefox with LiveHTTPHeaders now shows the following:
HTTP/1.x 404 OK Date: Wed, 19 Sep 2007 17:48:17 GMT Server: Apache/2.0.55 (Ubuntu) ... X-Catalyst: 5.7010 Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/x-perl
I'd have thought a request for "/static1" should be ignored by Static::Simple using the above config and that only URLs like "/static/1" should be treated as pointing to static content.
Have I misunderstood something?
5 Replies
|
|
|
[Catalyst] MojoMojo-0.999005 and mysql
By Josef Chladek at Sep 24, 2007, 3:37 pm UTC
hello, running mojomojo from the mojomojo.db file works, but if I setup a mysql-db and try to populate the db, it hangs with the following error: DBI Exception: DBD::mysql::st execute_array failed: Cannot add or update a child row: a foreign key constraint fails KEY (`page`) REFERENCES `page`... More...
hello,
running mojomojo from the mojomojo.db file works, but if I setup a mysql-db and try to populate the db, it hangs with the following error:
DBI Exception: DBD::mysql::st execute_array failed: Cannot add or update a child row: a foreign key constraint fails (`mojomojo`.`page_version`, CONSTRAINT `page_version_fk_page` FOREIGN KEY (`page`) REFERENCES `page` (`id`)) [err was 1452 now 1] executing 3 generated 3 errors [for Statement "INSERT INTO page_version (comments, content_version_first, content_version_last, created, creator, depth, name, name_orig, page, parent, parent_version, release_date, remove_date, status, version) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"] at /Library/Perl/ 5.8.6/DBIx/Class/Schema.pm line 940
mysql is 5.1.15-beta on OS X 10.4.10 anyone else seeing this?
thanks josef
7 Replies
|
|
|
[Catalyst] Catalyst::Controller::Rose::Simple => CatalystX::RoseIntegrator
By Alexandre Jousset at Sep 24, 2007, 3:25 pm UTC
Hello list, Following the preceding discussion, I scheduled Catalyst::Controller::Rose::Simple for deletion on CPAN and uploaded the same module under the name CatalystX::RoseIntegrator. Please wait the time required for it to show up. I gave it version 0.02 because of this and a fix of a small... More...
Hello list,
Following the preceding discussion, I scheduled Catalyst::Controller::Rose::Simple for deletion on CPAN and uploaded the same module under the name CatalystX::RoseIntegrator. Please wait the time required for it to show up.
I gave it version 0.02 because of this and a fix of a small typo in the POD. I also added a small example on how to use the RDBO feature of it, also in the POD.
Again, feel free to ask me any question you want about this module and its use.
Regards,
1 Reply
|
|
|
[Catalyst] DBIC Inheritance not preserved in Catalyst model
By Scott Thomson at Sep 24, 2007, 1:57 pm UTC
I have a setup similar to this... Class B inherits from class A and class C has a relationship to A. A and B share the same table and use the dynamic sub-classing approach in the DBIC cookbook to get the sub-classing to work. When testing directly with the schema the classes behave as I would... More...
I have a setup similar to this...
Class B inherits from class A and class C has a relationship to A. A and B share the same table and use the dynamic sub-classing approach in the DBIC cookbook to get the sub-classing to work.
When testing directly with the schema the classes behave as I would expect, ie. I can set the relationship on C using an object of class either A or B. However, when I use the schema inside my Catalyst app I get an error like this when trying to set the property using the relationship on A to an object of the sub-class C...
DBIx::Class::MyApp::new(): Object MyApp::Model::DBIC::A::B=HASH(0x392b6a0) isn't a MyAPP::Model::DBIC::A (The error is generated in DBIx::Class::Relationship::Base::set_from_related)
It seems that the B isa A relationship is not preserved within the MyApp::Model namespace.
The model works correctly in all other ways (so far).
Any ideas on how to get round this are extremely welcome :) I can post real code if required.
Cheers,
Scott.
1 Reply
|
|
|
[Catalyst] Catalyst::Controller::Rose::Simple
By Alexandre Jousset at Sep 23, 2007, 5:47 pm UTC
Hello list, I just uploaded on CPAN the module : http://search.cpan.org/dist/Catalyst-Controller-Rose-Simple/ that makes use of Rose::* easier ith Catalyst. It is version 0.01, so use with care and development environment use only. I know, documentation and tests are not very good... Feel free to... More...
Hello list,
I just uploaded on CPAN the module :
http://search.cpan.org/dist/Catalyst-Controller-Rose-Simple/
that makes use of Rose::* easier ith Catalyst.
It is version 0.01, so use with care and development environment use only. I know, documentation and tests are not very good...
Feel free to ask me any question you want.
Cheers,
7 Replies
|
|
|
[Catalyst] Can't start Apache when using Catalyst
By Octavian Rasnita at Sep 23, 2007, 10:31 am UTC
Hello, I am using Windows XP SP2, Apache 2.2.4, Active perl 5.8.8 build 822, mod_perl 2.03, and Catalyst 5.7010. If I want to start apache and if I have a virtualhost that uses Catalyst, most of the times it gives the following errors and doesn't want to start: Exiting. process 36 It is strange... More...
Hello,
I am using Windows XP SP2, Apache 2.2.4, Active perl 5.8.8 build 822, mod_perl 2.03, and Catalyst 5.7010.
If I want to start apache and if I have a virtualhost that uses Catalyst, most of the times it gives the following errors and doesn't want to start:
[Sun Sep 23 00:35:36 2007] [crit] master_main: create child process failed. Exiting. [Sun Sep 23 00:36:06 2007] [notice] Parent: Forcing termination of child process 36 [Sun Sep 23 00:36:06 2007] [info] removed PID file E:/apache/logs/httpd.pid (pid=3840)
It is strange because sometimes even if I use Catalyst, the server starts, but very seldom. If I used just a virtualhost without Catalyst, but only with mod_perl handlers, the server starts fine.
I've searched very much on the web these days about this issue, and I heard that this error can be caused by some antiviruses or antispyware programs, and I've uninstalled Nod32, however these errors still appear. I have a new computer and I haven't used Apache with Catalyst on it until now (Core 2 Duo). I've tried many things, like resetting the TCP/IP settings and configuring them again, changing some settings for the network card, closing some programs that run permanently, however nothing changes. Very rarely Apache starts, but most of the times it gives the errors above.
Yesterday I convinced it to start and it worked with a Catalyst app, but I added the plugin I18N to the application, and it didn't want to start anymore even after I remove that module call from the app.
Do you have any idea if Catalyst can do something that could make Apache give those errors? I think some modules from Catalyst have a kind of incompatibility with something else from my computer, because without Catalyst, the web server always start.
I've also reinstalled perl and installed Catalyst using ppm (a version a little older), and Apache still doesn't want to start. It gives the following errors this time:
[Sun Sep 23 12:31:23 2007] [crit] master_main: create child process failed. Exiting. [Sun Sep 23 12:31:53 2007] [notice] Parent: Forcing termination of child process 36 [Sun Sep 23 12:31:53 2007] [info] removed PID file E:/apache/logs/httpd.pid (pid=3712) [Sun Sep 23 12:32:23 2007] [notice] Apache/2.2.4 (Win32) mod_apreq2-20051231/2.6.2-dev mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations [Sun Sep 23 12:32:23 2007] [notice] Server built: Jan 9 2007 23:17:20 [Sun Sep 23 12:32:23 2007] [notice] Parent: Created child process 2116 [Sun Sep 23 12:32:23 2007] [debug] mpm_winnt.c(481): Parent: Sent the scoreboard to the child [Sun Sep 23 12:32:23 2007] [notice] Child 2116: Child process is running [Sun Sep 23 12:32:23 2007] [info] Parent: Duplicating socket 184 and sending it to child process 2116 [Sun Sep 23 12:32:23 2007] [debug] mpm_winnt.c(402): Child 2116: Retrieved our scoreboard from the parent. [Sun Sep 23 12:32:23 2007] [debug] mpm_winnt.c(599): Parent: Sent 1 listeners to child 2116 [Sun Sep 23 12:32:23 2007] [debug] mpm_winnt.c(558): Child 2116: retrieved 1 listeners from parent [Sun Sep 23 12:32:23 2007] [notice] Child 2116: Acquired the start mutex. [Sun Sep 23 12:32:23 2007] [notice] Child 2116: Starting 250 worker threads. [Sun Sep 23 12:32:23 2007] [notice] Child 2116: Starting thread to listen on port 80. [Sun Sep 23 13:18:48 2007] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun Sep 23 13:18:48 2007] [notice] Child 2116: Exit event signaled. Child process is ending. [Sun Sep 23 13:18:49 2007] [info] Child 2116: Accept thread exiting. [Sun Sep 23 13:18:49 2007] [notice] Child 2116: Released the start mutex [Sun Sep 23 13:18:49 2007] [info] Child 2116: 250 threads blocked on the completion port [Sun Sep 23 13:18:50 2007] [notice] Child 2116: Waiting for 250 worker threads to exit. [Sun Sep 23 13:18:50 2007] [notice] Child 2116: All worker threads have exited. [Sun Sep 23 13:18:50 2007] [notice] Child 2116: Child process is exiting [Sun Sep 23 13:18:50 2007] [notice] Parent: Child process exited successfully. [Sun Sep 23 13:18:50 2007] [info] removed PID file E:/apache/logs/httpd.pid (pid=2092)
Thank you very much for any helpful idea.
Octavian
0 Replies
|
|
 | |