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

Bernd Wolfsegger bw at code-create.com
Mon Sep 26 06:48:11 CEST 2005


Don't see the problem.
My Apache Document Root is .../webapps/.
So everything is found.
I use SuSE 9.3 Standard installation.
"/export" folder is the first folder below the folder "ROOT", which intself is 
below .../webapps/.

There are so much documentations around how to properly make changes in apache 
vhost config, server.xml, opencms-system.xml, opencms-importexport.xml
Just make a search in the mailinglist articles.
Alkacon's own documentation for this case shipped with the 6.0 is still 
somewhat buggy in my opinion.

If apache says "Permissions denied", than probably permisions ARE denied 
somewhere in your Apache conf / apache vhost conf for these folders/files 
mentioned in the error message.

kind regards, Bernd Wolfsegger

On Saturday, 24. September 2005 00:58, Randal Cobb wrote:
> I can do the linking, however, I can't seem to find where the '/export'
> folders are located.  I know they have to be there somewhere, I was able
> to run everything perfectly before making the changes to move it to the
> root application.  Can anyone point me to where they might reside?
>
> Thanks,
> Randy
>
> On Fri, 2005-09-23 at 17:09 +0200, Claus Priisholm wrote:
> > I've seen something similar (only on SuSE though) - Apache won't access
> > anything outside its default document root. I haven't looked into what
> > is different in Apache on SuSE compared to say Windows or Debian, but a
> > quick fix is to link the 'export' directories to appropriate places in
> > the apaches document root. Tomcat won't mind and Apache is happy and
> > serves statically exported resources...
> >
> > Randal Cobb wrote:
> > > 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?wpFram
> > >e=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
> > >
> > > -----------------------------------------------------------------------
> > >-
> > >
> > >
> > >
> > > _______________________________________________
> > > 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

-- 

[  Code Create
[  Web Content Management and Presentation


[  Bernd Wolfsegger
[  Sun Certified Programmer for Java(TM) 2 Platform


[  Lohmeyerstrasse 13
[  10587 Berlin
[  Germany
[  Fon +49 (0)30 26555788
[  Fax +49 (0)30 2651835
[  Mobile +49 (0)163 6505622

[  bw at code-create.com
[  http://www.code-create.com/




More information about the opencms-dev mailing list