[opencms-dev] OpenCms 6.0, Tomcat 5, and Apache 2 help

Randal Cobb cobbr at adelphia.net
Fri Sep 23 01:53:48 CEST 2005


Ok, I found the problem with my setup, I had renamed the opencms folder
to ROOT, but I forgot to rename the opencms.war file.  Now that I have
renamed BOTH to ROOT and ROOT.war, it is working now... sort-of...  I
don't get any images or javascript files downloaded.  According to my
apache log (I'm not getting any errors at all in any of my tomcat logs),
I am getting errors like this:

[Thu Sep 22 19:29:53 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /export/system/workplace/commons/style/workplace.css
denied, referer: http://localhost/system/login/index.html
[Thu Sep 22 19:29:53 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/commons/login.png denied, referer:
http://localhost/system/login/index.html
[Thu Sep 22 19:29:53 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/commons/login_logo.png denied, referer:
http://localhost/system/login/index.html
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/commons/explorer.js denied, referer:
http://localhost/system/workplace/views/workplace.jsp
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/commons/empty.html denied, referer:
http://localhost/system/workplace/views/explorer/explorer_fs.jsp?wpFrame=body
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /export/system/workplace/commons/style/workplace.css
denied, referer:
http://localhost/system/workplace/views/top_foot.jsp?wpFrame=foot
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/commons/tree.js denied, referer:
http://localhost/system/workplace/views/explorer/tree_fs.jsp
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/commons/empty.html denied, referer:
http://localhost/system/workplace/views/explorer/tree_fs.jsp
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /export/system/workplace/commons/style/workplace.css
denied, referer:
http://localhost/system/workplace/views/top_head.jsp?wpFrame=head
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/buttons/publish.png denied, referer:
http://localhost/system/workplace/views/top_head.jsp?wpFrame=head
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/buttons/preferences.png denied, referer:
http://localhost/system/workplace/views/top_head.jsp?wpFrame=head
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/buttons/reload.png denied, referer:
http://localhost/system/workplace/views/top_head.jsp?wpFrame=head
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/buttons/help.png denied, referer:
http://localhost/system/workplace/views/top_head.jsp?wpFrame=head
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/buttons/logout.png denied, referer:
http://localhost/system/workplace/views/top_head.jsp?wpFrame=head
[Thu Sep 22 19:29:54 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to /resources/commons/workplace.png denied, referer:
http://localhost/system/workplace/views/top_head.jsp?wpFrame=head

I've double checked my permissions and everything in the webapps folder
is owned by tomcat:tomcat, and I even chmod'ed everything to 775.

One other thing I would like to double check is, in the how-to, it says
to change 'app.name' in opencms.properties to 'ROOT'.  Since I'm running
OpenCms 6.0, I don't have an 'app.name'... I have a 'server.name',
should that have been the one to change?  (I tried it both ways with the
same results).

Thanks again in advance!
Randy

On Wed, 2005-09-21 at 21:58 -0400, Ron Wheeler wrote:

> You mighht want to post the relevent sections out of your code file and 
> the output from your apache and tomcat logs.
> 
> The truth will be found in the logs. They will tell you exactly what 
> tomcat thought was being requested and why it could not deliver.
> 
> Ron
> 
> Randal Cobb wrote:
> 
> > Can anyone point me to a document or URL that give me the instructions 
> > on how to configure them all using the mod_proxy module?  I've tried 
> > setting up using the 'Integrating OpenCms, Tomcat and the Apache 
> > webserver with mod_proxy' document, but, it doesn't seem to be working 
> > with the versions I have installed.  Everything APPEARS to work, but, 
> > no matter what URL I go to (that worked prior to making the changes if 
> > I did the http://<blah>:8080/opencms/opencms/...) cause a 404 error 
> > out of Tomcat.
> >
> > Any help pointing me in the right direction would be greatly appreciated.
> >
> > Cheers!
> >
> >------------------------------------------------------------------------
> >
> >
> >
> >_______________________________________________
> >This mail is send to you from the opencms-dev mailing list
> >To change your list options, or to unsubscribe from the list, please visit
> >http://mail.opencms.org/mailman/listinfo/opencms-dev
> >
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050922/d17be7f7/attachment.htm>


More information about the opencms-dev mailing list