Re: No valid JdbcConnection class available with MySQL

2003-06-02 Thread Alexander Czernay
Is there any trick to un-installing cocoon? I tried removing all its 
folders from Tomcat, but when I put the new cocoon.war file in there it 
didn't do anything. :-/


I ran into this problem, too. I finally found it was only a permissions 
problem. You should check, if you granted read and execute rights on the 
 war to your tomcat process. Maybe just chown it to the tomcat user.

--
_
Alexander Czernay
IT-Consulting & Media Development
fon +49-40-41096742
fax +49-40-41096743
icq 4773650
[EMAIL PROTECTED]
www.czernay.com
_


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Subsitemaps in user's directory

2003-03-03 Thread Alexander Czernay
I'm trying to move a subsitemap to a user's directory, to let him edit 
his files himself. The problem is, that Cocoon always throws a 
"java.io.FileNotFoundException: xxx/sitemap.xmap (Permission denied)". I 
double checked the path and finally set the complete directory's and 
files' permissions to 777. No go.

Any hints?

Alexander

--
_____
Alexander Czernay
IT-Consulting & Media Development
fon +49-40-41096742
fax +49-40-41096743
icq 4773650
[EMAIL PROTECTED]
www.czernay.com
_


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Problems resolving internal paths

2003-01-01 Thread Alexander Czernay


Reinhard Poetz wrote:

Hi Alexander,

Try to use relative paths in your src attributes (your base directory is
always the current sitemap) - this should solve your resource not found
problems.

Regards,
Reinhard




Isn't there any way to get absolute paths? I wanted to keep all the 
needed images in a special directory that I redirect all image-calls to 
via the sitemap, but I don't understand how that would work. And even if 
I had to use relative paths, what file are they relative to (XML, XSLT, 
sitemap, ...)? Is there any way to find out where Cocoon actually tries 
to read the files from? I browsed through the log-files, but I can only 
find information on the URL the browser requested, but not the files 
actually read by Cocoon.

Thanks for your help,

Alexander




-Original Message-----
From: Alexander Czernay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 01, 2003 7:21 PM
To: [EMAIL PROTECTED]
Subject: Problems resolving internal paths


I have a file structure serving two sites with the same XML data, but
with different XSLTs for layout:

/cocoon/<-- Tomcat's application path
/cocoon/k8<--- the main site
/cocoon/k8/xml<--- XML files
/cocoon/k8/alexander<--- first site's XSLTs and CSSs etc...
/cocoon/k8/moritz<--- second site's XSLTs and CSSs etc...

Now I just modified the sample sitemap to mount the new sitemap in
/cocoon/k8:


  

  


Inside the k8/sitemap.xmap I mount the two other sitemaps for the two
sites (why do I have to use k8/moritz/sitemap.xmap instead of just
moritz/sitemap.xmap here?):


  



  


And finally I construct my HTML pages this way:


 
 <-- menu.xml is in /cocoon/k8/alexander
   <-- .xml is in /cocoon/k8/xml
 
  <-- project.xsl is in
/cocoon/k8/alexander
  
  
  
 
 


I always get a resource not found (so I think my paths are wrong). I
also have to always refresh the sitemap in /cocoon/k8 to get Cocoon to
reload the sitemaps in /cocoon/k8/alexander (at least it seems to me).

What am I doing wrong? How do I get some root-relative paths? I tried
cocoon:// and context:// and also /...




-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>







-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Problems resolving internal paths

2003-01-01 Thread Alexander Czernay
I have a file structure serving two sites with the same XML data, but 
with different XSLTs for layout:

/cocoon/<-- Tomcat's application path
/cocoon/k8<--- the main site
/cocoon/k8/xml<--- XML files
/cocoon/k8/alexander<--- first site's XSLTs and CSSs etc...
/cocoon/k8/moritz<--- second site's XSLTs and CSSs etc...

Now I just modified the sample sitemap to mount the new sitemap in 
/cocoon/k8:


  

  


Inside the k8/sitemap.xmap I mount the two other sitemaps for the two 
sites (why do I have to use k8/moritz/sitemap.xmap instead of just 
moritz/sitemap.xmap here?):


  



  


And finally I construct my HTML pages this way:


 
 <-- menu.xml is in /cocoon/k8/alexander
   <-- .xml is in /cocoon/k8/xml
 
  <-- project.xsl is in 
/cocoon/k8/alexander
  
  
  
 
 


I always get a resource not found (so I think my paths are wrong). I 
also have to always refresh the sitemap in /cocoon/k8 to get Cocoon to 
reload the sitemaps in /cocoon/k8/alexander (at least it seems to me).

What am I doing wrong? How do I get some root-relative paths? I tried 
cocoon:// and context:// and also /...




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>



Path confusion

2002-12-29 Thread Alexander Czernay
I'm totally new to this stuff, so this might be stupid...

I have a file structure serving two sites with the same XML data, but 
with different XSLTs for layout:

/cocoon/	<-- Tomcat's application path
/cocoon/k8	<--- the main site
/cocoon/k8/xml	<--- XML files
/cocoon/k8/alexander	<--- first site's XSLTs and CSSs etc...
/cocoon/k8/moritz	<--- second site's XSLTs and CSSs etc...

Now I just modified the sample sitemap to mount the new sitemap in 
/cocoon/k8:


  

  


Inside the k8/sitemap.xmap I mount the two other sitemaps for the two 
sites (why do I have to use k8/moritz/sitemap.xmap instead of just 
moritz/sitemap.xmap here?):


  



  


And finally I construct my HTML pages this way:


 
 <-- menu.xml is in /cocoon/k8/alexander
   <-- .xml is in /cocoon/k8/xml
 
  <-- project.xsl is in 
/cocoon/k8/alexander
  
  
  
 
 


I always get a resource not found (so I think my paths are wrong). I 
also have to always refresh the sitemap in /cocoon/k8 to get Cocoon to 
reload the sitemaps in /cocoon/k8/alexander (at least it seems to me).

What am I doing wrong? How do I get some root-relative paths? I tried 
cocoon:// and context:// and also /...



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>