Data Exchange CFML-Java: Using Session and/or Application Variables: Reloaded

15 views
Skip to first unread message

verlsnake

unread,
Nov 21, 2011, 3:59:16 PM11/21/11
to Railo
Original Thread:
- Data Exchange CFML-Java: Using Session and/or Application Variables
- http://groups.google.com/group/railo/browse_thread/thread/fa0e8c71bcafd8dc/54019b905bd96c5a?lnk=gst&q=verlsnake#54019b905bd96c5a

I posted into the original thread first; but though I received the
message "Your Post was successful", the post does NOT appear ...

So I am creating this revival thread ...

The data exchange mechanism between Java and CFML described in the
original thread does NOT function anymore !
In Java:
- Object attributeValue = session.getAttribute("attributeKey");
- Although the session attribute "attributeKey" is set in CFML, in
Java a 'null' value is returned ...

I use the latest Railo on Tomcat 7 installation on Windows XP Pro.
With a Host declaration like so:

<Host name="myHost" appBase="myApps">
<Context path="" docBase="firstshot" crossContext="true" />
<Context path="/tomcathome" docBase=".." crossContext="true" />
</Host>

What could go wrong ?

verlsnake

unread,
Nov 21, 2011, 4:08:45 PM11/21/11
to Railo
New Google Group insight:
- The older original thread only offered a 'Reply to author' button
- To post into the thread itself, one must use the 'Reply' button
- I used the 'Reply to author' button blindly; and received those
posts myself because I replied to my own post ...
- Is there perhaps a Google Group Configuration Setting wrt older
threads and a 'Reply' button ?


On Nov 21, 9:59 pm, verlsnake <k...@kaitischler.de> wrote:
> Original Thread:
> - Data Exchange CFML-Java: Using Session and/or Application Variables

> -http://groups.google.com/group/railo/browse_thread/thread/fa0e8c71bca...

Todd Rafferty

unread,
Nov 21, 2011, 4:13:14 PM11/21/11
to ra...@googlegroups.com

Replies are sent to the whole group. <-- is checked. That's not using the web interface tho, that's for email deliveries.

The only thing new in the google admin is now I can turn off "allow posting from the web", which, I'm tempted to do. ;P
--
~Todd Rafferty
Volunteer
Community Manager
Railo Server - Open Source
----

verlsnake

unread,
Nov 21, 2011, 4:20:39 PM11/21/11
to Railo
The Google Group topic was only a side effect ... My main interest
really lies in the CFML-Java data exchange !

> ~Todd Rafferty*
> Volunteer** *Community Manager

Judah McAuley

unread,
Nov 21, 2011, 4:21:40 PM11/21/11
to ra...@googlegroups.com
Except that I'm using Gmail, which is webmail, which means that I am
posting from the web...via email :P

Todd Rafferty

unread,
Nov 21, 2011, 4:22:45 PM11/21/11
to ra...@googlegroups.com
Except that you're not using Google Group's website to post anything, so, you're exempt. :)

On Mon, Nov 21, 2011 at 4:21 PM, Judah McAuley <judah....@gmail.com> wrote:
Except that I'm using Gmail, which is webmail, which means that I am
posting from the web...via email :P
 
 
~Todd Rafferty

Denny

unread,
Nov 21, 2011, 6:06:18 PM11/21/11
to ra...@googlegroups.com
On 11/21/11 1:59 PM, verlsnake wrote:
...

> What could go wrong ?

Are you sure you're using J2EE sessions? CFML sessions won't work.

:Denny

--
Railo Technologies: getrailo.com Professional Open Source
Skype: valliantster (505)510.1336 de...@getrailo.com
GnuPG-FP: DDEB 16E1 EF43 DCFD 0AEE 5CD0 964B B7B0 1C22 CB62

verlsnake

unread,
Nov 22, 2011, 5:34:42 PM11/22/11
to Railo
Hello Denny !

Thank You very much for this helpful response !

Switching to J2EE sessions instead of CFML sessions was the first step
into the right direction. But the session IDs in the Java App were
still different from the session ID in the Railo App; fortunately I
could figure out why :-) ... And now the CFML-Java data exchange
mechanism works as brilliant as before ...


Cheers and Tschüss

Kai

Reply all
Reply to author
Forward
0 new messages