tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie Robert Thompson" <jamiero...@gmail.com>
Subject IIS connector issue?
Date Mon, 01 Sep 2008 11:38:25 GMT
Hi, I'm currently stuck at the last hurdle of a task which involves
integrating JavaHelp into an ASP.net application. I know little about Java,
even less about JSP, but my boss likes server-side JavaHelp *sigh*. I chose
Tomcat 6.0.18 and the connector (1.2.26) as my path to integrating it with
our application. Now, I've set everything up on my XP workstation (IIS5) and
it all works fine, but when I test it on the deployment servers (Win2K3
Server with IIS6), I have a strange problem. Namely, if I go directly to the
Tomcat URL first i.e. "http://localhost:8080/test/Help/help.jsp", it works,
and continues to work if I then go to IIS via "
http://localhost/test/Help/help.jsp". If I go to IIS first however, and then
Tomcat, then both fail with nulls being returned from the help objects.
Something is causing the object to be created differently.....

Now, the reason I get the same response thereafter is probably because the
help objects are being persisted in the session (or so I take it from the
Java bean stuff in the JSP), but I don't know why I get different outcomes
depending on the initial access route.

I'd like to be able to debug this, but as I say, I've not experience with
Java (and no-one else here does), and accordingly, I haven't the foggiest
how to set up a debugger to dig into the matter. Settings-wise, everything
is set to the defaults, and my connector settings are as given in the
associated tutorial (except I changed the uri worker map to only handle jsp
files). Only bit of magic is that I've added a context node to the localhost
in server.xml to match up with the virtual directories used in our IIS
setup.

Can anyone think of things I can try to get this working?

- Jamie

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message