Hi,
> with IIS as web Server.
thank you very much for this problem report. I have
created a ticket for this, please see PR1500143
(http://sourceforge.net/tracker/index.php?func=detail&aid=1500143&group_id=117793&atid=679233).
As a workaround, until this problem is solved (if it
can be solved) please start java as a service, outside
of the HTTP server domain, please click on
http://mirror.serversupportforum.de/apache/tomcat/tomcat-5/v5.5.17/bin/apache-tomcat-5.5.17.exe
and complete the tomcat installation.
After that please edit the php.ini file, for example
c:\windows\php.ini as follows:
extension=php_java.dll
[java]
java.hosts=127.0.0.1:8080
java.servlet=On
> problem comes when I close the session, then the
> "java.exe" process disappears (the web server keeps
> running, of course), and never is re-started.
If I understand this correctly, IIS manages its childs
and terminates all childs, even those that were
started when IIS was started. Apache on Unix has the
same behaviour, it regularly sends out a SIGTERM to
all members of its process group. But on Unix we can
simply fork() off our Java daemon and detach from the
HTTP daemon process group, when the HTTP daemon starts
. IMHO this is not possible on windows; on windows a
service cannot be started from within another service.
I think the only reason why our autostart service
works with Apache/Windows is that Apache doesn't have
access to the Windows internal data structures.
If that's the case, I will simply disable the back-end
autostart functionality on windows for all server
API's other than CLI.
Please see PR1500143 for details.
Regards,
Jost Boekemeier
___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher
kostenlos - Hier anmelden: http://mail.yahoo.de
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|