tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46658] New: tomcat5.exe (x64) V2.0.4 aka procrun loads different registry hive than V2.0.3
Date Tue, 03 Feb 2009 13:48:41 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46658

           Summary: tomcat5.exe (x64) V2.0.4 aka procrun loads different
                    registry hive than V2.0.3
           Product: Tomcat 5
           Version: 5.5.25
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:Integration
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: t.strauss@srs-management.de


Version 2.0.3 of the service starter (version according to file-properties in
windows) (version for x64) will read the settings for tomcat startup from the
registry key HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun
2.0\<SERVICE NAME>

The Version 2.0.4 (also version for x64) will read the settings from the win32
compatibility branch of the registry
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun
2.0\<SERVICE NAME>

This and should not be that way. When migrating from an x32 environment, the
settings are in the same path as the x64 are expected to be. The second path
(WOW6432Node) is only to be used by x32 applications running on x64 and
accessing the registry (actually windows will realize the 32bitness of the
accessor and redirect the access into the Wow6432node hive).

I suppose that someone configured using tomcat5w.exe x32 and then the
tomcat5.exe x64 did not find the settings?
A possible fix might be that both hives are sought, first the x64 standard path
and if it is not found there, then the x32 WOW hive is checked.

Remark: 
I tried to give the fix a try for myself, but I was not able to identify the
Version 2.0.3 or 2.0.4 in the commons-daemon project. There I only found 1.0.1
or 1.0 versions, this leaves the question: which version is integrated in
Tomcat?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message