Hi Ray,

thanks for your thoughts.

It was running under "local system" before, and now I tried with my  
personal account.
-> Didn't change the behavior.
Also I added explicit rules to the windows firewall.

Redirecting stdout and stderr to files gives this:

stdout.txt :
   Option no-compression is implied because wthttp was built without
   zlib support.

stderr.txt
   [2009-Jun-02 14:58:46.690503] 512 - [notice] "Starting server:
   http://0.0.0.0:8080";
   [2009-Jun-02 15:22:48.381711] 512 - [notice] "Shutdown: stopping
sessions."


Using Sysinternals Process Monitor, I discovered something interesting:

Somewhere around "WServer::start();" 10 new threads are being created.
Shortly afterwards, 11 threads exit. One of them had some processor  
time, the others had none.

When I start the commandline version, the threads are created as well,  
but they exit only when I close the application.

So, the threads exit too early in the service version.
So far I found no indication as to why these threads exit.


Another interesting phenomena is, that Firefox waits for a while to  
time out. But when I stop the service, during this time, Firefox will  
immediately switch from the hourglass icon to the normal arrow, and go  
to www.localhost.com.

Thankful for any hints...


Rgds
Richard

Quoting [email protected]:
> Date: Thu, 28 May 2009 20:16:05 -0300
> From: "Ray Burkholder" <[email protected]>
> Subject: Re: [Wt-interest] Wt in a Windows Service
> To: <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain;     charset="us-ascii"
>
>
> I don't know if this is applicable, but check to see under which
account the
> service is running.  I seem to recall that services under certain
accounts
> won't have network access.  Be sure your service is running under a
full
> access account, and then slowly refine privileges.
>
> But then again, I could be way off base.
>
> One other thing to do... Make the software send something just to see
that
> there is something happening.
>
>


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to