You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by BB <br...@tfnet.ca> on 2005/07/15 05:44:22 UTC

Generic exceptions, other errors in 1.2.4

I have just installed Lenya 1.2.4 on Debian (Mepis 3.3) box, compiling from 
source, using Tomcat 5

Unfortunately, it doesn't seem to have installed properly. I get the following 
error when trying to edit the page using Kupu, BXE, forms or source editor, 
after logging in as an editor in the default publication:

Generic Exception
Reason: No such file or directory
Check the log files.
File name:  /content/authoring/index/index_en.xml

If I try to create a new page, I get the following error:

An Error Occurred
/home/var/lib/tomcat5/webapps/lenya/lenya/pubs/default/logs/tasks/2005-07-14-23-36-59-036.xml 
(No such file or directory)
Unable to write log file

cause: java.io.FileNotFoundException

Are there additional installation requirements for Debian I've missed?

Thanks,

Bruce

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Generic exceptions, other errors in 1.2.4

Posted by so...@gmail.com.
On 7/15/05, BB <br...@tfnet.ca> wrote:
> On Friday 15 July 2005 04:25, Michael Wechner wrote:
> > is it possible that you have permission problem? What user does run Tomcat?
> That was it, thanks.
> 
> For others similarly inexperienced with java webapps; I have installed a
> couple of other java web programs (Scarab, jWebmail), but in those cases
> built a .war file (generally as root) and put it in my Tomcat webapps folder,
> letting Tomcat5 take care of unpacking it - doing this, Tomcat sets the right
> permissions.
> 
> With Lenya, I followed the instructions and let the build process install the
> lenya files directly; the permissions were then set for the user I was
> building as (i.e., root), which caused the permission problem noted earlier.
> 
> I fixed this by
>  chown -R tomcat5.nogroup lenya
> in my tomcat5/webapps/ folder, though I guess the right thing would have been
> to build lenya as tomcat5. Should this be expressly stated in the
> documentation for the benefit of neophytes such as myself? I checked the
> INSTALL-SRC.txt, didn't see mention of it.
> 
> Works now, thanks,

We discussed adding the user to the installation configuration some
time ago (before I registered with Bugzilla.)  I'll find the old
thread and add the relevant info to Bugzilla.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Generic exceptions, other errors in 1.2.4

Posted by BB <br...@tfnet.ca>.
On Friday 15 July 2005 04:25, Michael Wechner wrote:
> is it possible that you have permission problem? What user does run Tomcat?
>

That was it, thanks. 

For others similarly inexperienced with java webapps; I have installed a 
couple of other java web programs (Scarab, jWebmail), but in those cases 
built a .war file (generally as root) and put it in my Tomcat webapps folder, 
letting Tomcat5 take care of unpacking it - doing this, Tomcat sets the right 
permissions.

With Lenya, I followed the instructions and let the build process install the 
lenya files directly; the permissions were then set for the user I was 
building as (i.e., root), which caused the permission problem noted earlier.

I fixed this by 
 chown -R tomcat5.nogroup lenya
in my tomcat5/webapps/ folder, though I guess the right thing would have been 
to build lenya as tomcat5. Should this be expressly stated in the 
documentation for the benefit of neophytes such as myself? I checked the 
INSTALL-SRC.txt, didn't see mention of it. 

Works now, thanks,

B.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Generic exceptions, other errors in 1.2.4

Posted by Michael Wechner <mi...@wyona.com>.
BB wrote:

>I have just installed Lenya 1.2.4 on Debian (Mepis 3.3) box, compiling from
>Unable to write log file
>
>cause: java.io.FileNotFoundException
>
>Are there additional installation requirements for Debian I've missed?
>  
>

is it possible that you have permission problem? What user does run Tomcat?

HTH

Michi

>Thanks,
>
>Bruce
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>For additional commands, e-mail: user-help@lenya.apache.org
>
>
>  
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org