On 19/08/2010 04:50, Christopher Schultz wrote: > Robin, > > On 8/18/2010 5:57 PM, Robin Diederen wrote: >> That's interesting to say the least. > > I agree with André's assessment: you have a cookie collision. See below > for hints for removing the conflict. > >> Without cookies enabled, I can't login to either of both applications. > > You probably haven't been properly encoding your URLs.
Or the app designers haven't. Tut.
>> So I "designed" another test: using two browsers I visited both
>> applications. And guess what: it works like a charm! So I guess you
>> are right on the cookies :-).
>
>> The only one thing I do not understand: I've done this a few times
>> before and I never ran into these issues. The only difference is that
>> I'm using a newer version of LifeRay for the first time, but AFAIK
>> the other LifeRay version I used uses JSESSION too..
>
> The difference is probably that in other installations you haven't
> deployed both applications to the root ("/") context path. You never did
> tell us how you deployed the two, so I suspect that both webapps are
> deployed as ROOT. In that case, you get cookies from both webapps that
> look like this:
>
> host=myserver.com, path=/, name=JSESSIONID, value=12345...
Two Tomcats can't both exist in the same domain name space, unless
there's a mapping error in mod_jk.
After a cursory look through the server.xml, (cursory because of the
trauma of wading through comments), I note:
<Listener className="org.apache.jk.config.ApacheConfig"
modJk="/opt/zimbra/httpd/modules/mod_jk.so" />
The OP made reference to the jvmRoute="jvmAlfresco1", so I think we need
to understand what's going on there to find a resolution.
p
> There's no difference between the identifying portions of the cookie
> (host, path, and name) so one overwrites the other.
>
> Simply deploying LifeRay to, say, /liferay and Alfresco to, say,
> /alfresco, you should be good to go.
>
> Note that if you deploy them in this way, you ought to be able to deploy
> them into a single Tomcat instance and save yourself some RAM and some
> administration.
>
> -chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
