Yes. Running Tomcat 6 as a Windows service... Ok, this is
interesting. On a whim, I ran tomcat6w, and when it came up, it appears
to using the "C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll",
which implies to me that the JVM it's attempting to use is the 32-bit
version.
High five, Mr. Kobly.
I searched around and, under C:\Program Files, I found a couple of
jvm.dll's. I tried pointing Tomcat to each of them, but the service
died with an error code of #1. Not sure what that is, but it occurs to
me that I might fix this by simply reinstalling Tomcat and, when it asks
for a JRE, I'll point it to the other JVM DLLs and see what it does.
TG
Patrick J Kobly wrote:
Running the binary dist of Tomcat?
tomcat.exe / tomcatw.exe
PK
Todd Grigsby wrote:
Patrick J Kobly wrote:
Todd Grigsby wrote:
Other native apps. The Java apps are being migrated from a 32-bit
environment (WinXP and Java 32-bit + Struts 1.1), and they worked
there. I don't want to point to any one thing, since every part of
the equation is a newer version of what was there before, but at
this point the only things that can't use the connections are the
web apps.
But the web apps are the only things that use Java. You don't have
standalone Java apps or Java webapps built on a different framework
than Struts... The issue is almost certainly a 32-bit JRE trying to
access a 64-bit ODBC driver.
I'll buy that, but I'm confused -- I installed 64-bit Java, and when
I open a command prompt and do "java -version", it identifies itself as:
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
But I'll see if I have anything on my system that is getting loaded
that's 32-bit.
Thanks!
TG
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org