[opencms-dev] Workplace login-problem, wants to popup on port :8081 and not :80

Yves Glodt yg at mind.lu
Mon Mar 3 17:56:02 CET 2008


Hello,

I just exported/imported my whole site and its module, and reinstalled tomcat 
and the OpenCms 7.0.4 from scratch. I deleted all the tomcat-related folders 
and configfiles, purged the packages, and installed them again.

So far my problem does still exist.

For resuming:

I can use the site with apache as a proxy, but I can not use the workplace.

It seems the login succeeds, but for an unknown reason I am thrown back to the 
login-window. The opencms.log shows a successful login as you can see here:

03 Mar 2008 17:47:32,835  INFO [rg.opencms.jsp.CmsJspLoginBean: 209] 
Successful login of user "yglodt": Request from IP 192.168.0.1 using 
uri "/system/login/index.html".

tail -f /var/log/apache2/localhost-access.log gives the following:

192.168.0.1 - - [03/Mar/2008:14:26:18 +0100] "POST /system/login/index.html 
HTTP/1.1" 200 4164
192.168.0.1 - - [03/Mar/2008:14:26:19 
+0100] "GET /system/workplace/views/workplace.jsp HTTP/1.1" 302 -
192.168.0.1 - - [03/Mar/2008:14:26:19 
+0100] "GET /system/login/index.html?__loginform=true&requestedResource=%2Fsystem%2Fworkplace%2Fviews%2Fworkplace.jsp 
HTTP/1.1" 200 4304

My problem seems to be located between the 2nd and 3rd line.

What could happen here?

Best regards,
Yves




On Monday 03 March 2008, Yves Glodt wrote:
> Hello,
>
> I tracked down this problem into 2 pieces...
> The first one was that on my debian etch the
> file /var/lib/tomcat5.5/conf/server.xml was *not* a symlink
> to /etc/tomcat5.5/server.xml I made it a symlink and now the popup opens on
> the correct url.
>
> However, I can still not log in.
> I get the popup, but it shows the loginform again, in this fashion:
>
> http://www.mysite.com/system/login/index.html?__loginform=true&requestedRes
>ource=%2Fsystem%2Fworkplace%2Fviews%2Fworkplace.jsp
>
> The opencms.log shows the following:
>
> 03 Mar 2008 10:48:45,301  INFO [rg.opencms.jsp.CmsJspLoginBean: 209]
> Successful login of user "yglodt": Request from IP 192.168.0.1 using
> uri "/system/login/index.html".
>
> Subsequent login tries fail as well.
>
> What could be the problem?
>
> best regards,
> Yves
>
> On Sunday 02 March 2008, Yves Glodt wrote:
> > Hello list,
> >
> > I followed the documentation "Integrating OpenCms, Tomcat and the Apache
> > webserver with mod_proxy" precisely, but I have still one problem... I
> > can not log into the workplace...
> >
> > Log in seems to work in fact, but the popup wants to open on port
> > servername:8081/... and not on servername/... which fails of course...
> >
> > I know only about the opencms-system.xml config where I have set:
> > <workplace-server>http://www.mysite.com</workplace-server>
> >
> > I set it without :8081
> >
> > Whereelse could this port be set up? Maybe in some jsp-cache?
> >
> >
> >
> > Also, could it be that there is a typo in the static-export howto...?:
> >
> > It's written:
> > RewriteRule       .*
> > http://127.0.0.1:8081/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING}
> > [P]
> >
> > But I guess it should be:
> > RewriteRule       .*
> > http://127.0.0.1:8081/opencms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_
> >ST RING} [P]
> >
> >
> > Best regards,
> > Yves
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list