 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
cpanon Guest
|
Posted: Thu Mar 15, 2007 8:13 am Post subject: tiles/ide oddity? |
|
|
Hello
This one is a head banger, really, I look like I shaved my forehead
I have a strut app in JB05 deployed to TC5.0.28 perfectly on WinXPP &
W2KPro.
Is a thing of beauty, with Tiles working perfectly. The vexing, 20hrs
now, problem is when I deploy to W2KSrv, fastidiously the same config
along the full vertical, it works perfectly EXCEPT the tile never show.
The page renders without errors however the Tile that is(and does on
other deployments) show the session data does not show. I have tried
everything, twice. It is now bordering on insanity of trying everything
again and expecting it to change. Any ideas? tia |
|
| Back to top |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Thu Mar 15, 2007 3:05 pm Post subject: Re: tiles/ide oddity? |
|
|
cpanon wrote:
| Quote: | The page renders without errors however the Tile that is(and does on
other deployments) show the session data does not show.
|
It sounds very much like the session ID is being corrupted in transit. If
you do "session.isNew()", do you get "true" every time?
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html |
|
| Back to top |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Thu Mar 15, 2007 6:02 pm Post subject: Re: tiles/ide oddity? |
|
|
cpanon wrote:
| Quote: | Thanks. I will try it and if the case how do I fix it? It would make
sense as I can see the data from printout before I findForward to the page
with the problem tile. It would also consistently explain all the
behavior. This is happening in the IDE or from a browser with both 5.0.30
and even Struts 1.3.8.
|
I'm not sure. The problem likely isn't in Tomcat, Struts, or Tiles. Are
you accessing this through IIS? If so, the problem is likely in the
connector, which is corrupting or removing the session ID. Try accessing
the application directly through port 8080 (bypassing the connector) to
see if that's the problem.
It is possible to write applications that don't rely on the session ID
cookie by using encodeURL and encodeRedirectURL; see this link for a
summary:
http://www.theserverside.com/discussions/thread.tss?thread_id=6039
Struts should do this for you automatically in anything that it creates a
link for (e.g. a FORM POST).
Follow-up set to borland.public.jbuilder.servlets-jsp.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html |
|
| Back to top |
|
 |
cpanon Guest
|
Posted: Fri Mar 16, 2007 5:04 am Post subject: Re: tiles/ide oddity? |
|
|
Hi Kevin
Sorry for the double post, I genuinely didnt do it intentionally
Thanks. I will try it and if the case how do I fix it? It would make
sense as I can see the data from printout before I findForward to the
page with the problem tile. It would also consistently explain all the
behavior. This is happening in the IDE or from a browser with both
5.0.30 and even Struts 1.3.8.
Kevin Dean [TeamB] wrote:
| Quote: | cpanon wrote:
The page renders without errors however the Tile that is(and does on
other deployments) show the session data does not show.
It sounds very much like the session ID is being corrupted in transit.
If you do "session.isNew()", do you get "true" every time?
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|